]> sourceware.org Git - glibc.git/blob - ChangeLog
1195de4701555d1f37186df34edc437568274b64
[glibc.git] / ChangeLog
1 2017-07-17 DJ Delorie <dj@redhat.com>
2
3 * nss/nss_test.h: New.
4 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
5 tests. Parameterize to allow multiple instances.
6 * nss/nss_test2.h: New. Second instance.
7 * nss/nss_test.ver: New.
8 * nss/nss_test1.c: Update to use new framework.
9 * nss/nss_test2.c: New.
10 * nss/nss_test3.c: New.
11 * nss/nss_test4.c: New.
12 * nss/nss_test5.c: New.
13 * nss/Makefile: Build new tests.
14 * shlib-versions: Add libnss_test2.
15
16 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17
18 [BZ #21512]
19 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
20 passing to syscall exit.
21
22 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
23
24 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
25 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
26
27 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
28
29 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
30 if _dl_fixup fails.
31
32 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
33 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
34 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
35 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
36
37 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
38 offset for r19 load.
39
40 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
41
42 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
43 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
44 pointer offset. Correct PIC register offset. Don't mention frame
45 related instructions in epilogue.
46 (PUSHARGS_1): Correct offset.
47 (PUSHARGS_2): Likewise.
48 (PUSHARGS_3): Likewise.
49 (PUSHARGS_4): Likewise.
50 (PUSHARGS_5): Likewise.
51 (PUSHARGS_6): Likewise.
52 (POPARGS_1): Don't mention register restore.
53 (POPARGS_2): Likewise.
54 (POPARGS_3): Likewise.
55 (POPARGS_4): Likewise.
56 (POPARGS_5): Likewise.
57 (POPARGS_6): Likewise.
58 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
59 copy of PIC register.
60 (LOAD_PIC): Likewise don't mention restore.
61 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
62 .cfi_offset. Don't record stack pointer offset. Correct PIC register
63 offset. Don't mention frame related instructions in epilogue.
64
65 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
66
67 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
68
69 [BZ 20098]
70 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
71 (_dl_lookup_address): Return address if it is not consistent with
72 being a linker defined function pointer. Likewise, return address
73 if address and function descriptor addresses are not accessible.
74
75 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
76
77 * po/libc.pot: Regenerate.
78
79 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
80
81 [BZ locale/19838]
82 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
83
84 * nptl/allocatestack.c (allocate_stack): Align old and new guard
85 addresses to page boundaries when the stack grows up.
86
87 * sysdeps/hppa/math-tests.h: New.
88
89 2017-07-14 DJ Delorie <dj@redhat.com>
90
91 [BZ #21654]
92 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
93 alignment not char alignment.
94 (__merge_grp): Likewise.
95
96 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
97 Florian Weimer <fweimer@redhat.com>
98
99 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
100 * libio/wmemstream.c (open_wmemstream): Likewise.
101 * nptl/tst-memstream.c: New.
102
103 2017-07-12 Jiong Wang <jiong.wang@arm.com>
104
105 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
106 of pcrel_address under Thumb mode.
107
108 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
109
110 [BZ #21207]
111 * locale/iso-639.def: Add Fiji Hindi (hif).
112
113 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
114
115 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
116
117 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
118
119 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
120 -fstack-protector-all.
121
122 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
123
124 [BZ #20496]
125 * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
126
127 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
130 to iterate over all possible object suffixes. Add a comment
131 explaining the use of sysdep-CFLAGS instead of CFLAGS.
132
133 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
134
135 [BZ #12189]
136 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
137 (tests): Add tst-ssp-1 if -fstack-protector works.
138 * debug/fortify_fail.c: Include <stdbool.h>.
139 (_fortify_fail_abort): New function.
140 (__fortify_fail): Call _fortify_fail_abort.
141 (__fortify_fail_abort): Add a hidden definition.
142 * debug/stack_chk_fail.c: Include <stdbool.h>.
143 (__stack_chk_fail): Call __fortify_fail_abort, instead of
144 __fortify_fail.
145 * debug/tst-ssp-1.c: New file.
146 * include/stdio.h (__libc_message_action): New enum.
147 (__libc_message): Replace int with enum __libc_message_action.
148 (__fortify_fail_abort): New hidden prototype.
149 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
150 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
151 with enum __libc_message_action. Call BEFORE_ABORT only if
152 action includes do_backtrace.
153 (__libc_fatal): Update __libc_message call.
154
155 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
156
157 [BZ #21738]
158 * manual/llio.texi (RWF_NOWAIT): New item.
159 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
160 Add RWF_NOWAIT check.
161 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
162
163 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
164
165 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
166 Support running on kernels without PTRACE_SINGLEBLOCK.
167
168 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
169
170 [BZ #21742]
171 * elf/Makefile (dl-routines): Move dl-conflict to ...
172 (rtld-routines): Here.
173
174 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
175
176 [BZ #21741]
177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
178 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
179 in libc.so.
180
181 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
182
183 * sysdeps/hppa/fpu/libm-test-ulps: Update.
184
185 [BZ #21016]
186 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
187 Fix typo.
188 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
189 bits/types/struct_timespec.h.
190 (PTHREAD_MUTEX_INITIALIZER): Revise define.
191 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
192 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
193 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
194 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
195 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
196 (PTHREAD_COND_INITIALIZER): Likewise.
197 Remove old definitions.
198 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
200 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
201 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
202 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
203 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
204
205 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
206
207 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
208 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
209 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
210 * sysdeps/x86_64/multiarch/memset.c: Likewise.
211 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
212 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
213 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
214 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
215 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
216 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
217 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
218 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
219 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
220 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
221 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
222 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
223
224 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
225
226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
227
228 2017-07-09 Helge Deller <deller@gmx.de>
229
230 [BZ #21049]
231 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
232 up to avoid clobbering r26.
233
234 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
235
236 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
237 profiled objects.
238
239 2017-07-06 DJ Delorie <dj@redhat.com>
240
241 * manual/tunables.texi: Add missing @end deftp.
242
243 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
244
245 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
246 (do_test): Call it.
247
248 2017-07-06 DJ Delorie <dj@redhat.com>
249
250 * config.make.in: Enable experimental malloc option.
251 * configure.ac: Likewise.
252 * configure: Regenerate.
253 * manual/install.texi: Document it.
254 * INSTALL: Regenerate.
255 * malloc/Makefile: Likewise.
256 * malloc/malloc.c: Add per-thread cache (tcache).
257 (tcache_put): New.
258 (tcache_get): New.
259 (tcache_thread_freeres): New.
260 (tcache_init): New.
261 (__libc_malloc): Use cached chunks if available.
262 (__libc_free): Initialize tcache if needed.
263 (__libc_realloc): Likewise.
264 (__libc_calloc): Likewise.
265 (_int_malloc): Prefill tcache when appropriate.
266 (_int_free): Likewise.
267 (do_set_tcache_max): New.
268 (do_set_tcache_count): New.
269 (do_set_tcache_unsorted_limit): New.
270 * manual/probes.texi: Document new probes.
271 * malloc/arena.c: Add new tcache tunables.
272 * elf/dl-tunables.list: Likewise.
273 * manual/tunables.texi: Document them.
274 * NEWS: Mention the per-thread cache.
275
276 2017-07-06 Joseph Myers <joseph@codesourcery.com>
277
278 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
279 * misc/tst-tsearch.c (TIMEOUT): Remove.
280 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
281 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
282 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
283 * string/tst-cmp.c (TIMEOUT): Define to 600.
284
285 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
286
287 [BZ #21715]
288 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
289 on definition.
290
291 2017-07-06 Florian Weimer <fweimer@redhat.com>
292 H.J. Lu <hongjiu.lu@intel.com>
293
294 [BZ #21609]
295 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
296 (gen-as-const-headers): Add rtld-offsets.sym.
297 * sysdeps/x86_64/dl-tls.c: New file.
298 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
299 * sysdeps/x86_64/tls_get_addr.S: Likewise.
300 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
301 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
302 (TI_OFFSET_OFFSET): Likwise.
303
304 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
305
306 [BZ# 21697]
307 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
308
309 2017-07-05 Florian Weimer <fweimer@redhat.com>
310
311 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
312 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
313 * resolv/tst-resolv-threads.c: New file.
314
315 2017-07-05 Florian Weimer <fweimer@redhat.com>
316
317 support: Add resolver testing mode which does not patch _res.
318 * support/resolv_test.h (struct resolv_redirect_config): Add
319 disable_redirect, server_address_overrides.
320 * support/resolv_test.c (make_server_sockets_for_address): New
321 function.
322 (resolv_test_start): Call it.
323
324 2017-07-05 Florian Weimer <fweimer@redhat.com>
325
326 * support/namespace.h (struct support_chroot_configuration)
327 (struct support_chroot): Define.
328 (support_chroot_create, support_chroot_free): New functions.
329 * support/support_chroot.c: New file.
330 * support/Makefile (libsupport-routines): Add support_chroot.
331 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
332 (path_resolv_conf): Remove definitions.
333 (chroot_env): New variable.
334 (prepare): Call support_chroot_create.
335 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
336 (special_test_callback, do_test): Likewise.
337
338 2017-07-05 Florian Weimer <fweimer@redhat.com>
339
340 Add subtest to check isolation of multiple loopback addresses.
341 * support/tst-support-namespace.c (test_localhost_bind): New function.
342 (do_test): Call it.
343
344 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
345
346 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
347 * libio/libioP.h (_IO_enable_locks): Declare.
348 * libio/Versions (_IO_enable_locks): New symbol.
349 * libio/genops.c (_IO_enable_locks): Define.
350 (_IO_old_init): Initialize flags2.
351 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
352 * libio/ferror.c (_IO_ferror): Likewise.
353 * libio/fputc.c (fputc): Likewise.
354 * libio/putc.c (_IO_putc): Likewise.
355 * libio/getc.c (_IO_getc): Likewise.
356 * libio/getchar.c (getchar): Likewise.
357 * libio/ioungetc.c (_IO_ungetc): Likewise.
358 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
359 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
360 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
361
362 2017-07-04 Florian Weimer <fweimer@redhat.com>
363
364 [BZ #21542]
365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
366 two if no accurate information is available.
367 * posix/tst-sysconf-empty-chroot.c: New file.
368 * posix/Makefile (tests): Add it.
369
370 2017-07-04 Florian Weimer <fweimer@redhat.com>
371
372 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
373 server and sort list counts. Fix improper check for empty search
374 path (completely missing domain name) leading to assertion failure
375 in update_from_conf.
376 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
377 hostname member.
378 (run_res_init): Set host name if requested.
379 (test_cases): Update.
380
381 2017-07-04 Joseph Myers <joseph@codesourcery.com>
382
383 * scripts/build-many-glibcs.py (Context.checkout): Default
384 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
385 kernel version to 4.12.
386
387 2017-07-04 Florian Weimer <fweimer@redhat.com>
388
389 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
390 list management and the role of free_list_start.
391 (decrement_at_index): Put zero at the end of the free list.
392 (__resolv_conf_attach): Fix bogus assert.
393 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
394 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
395
396 2017-07-03 Florian Weimer <fweimer@redhat.com>
397
398 resolv: Introduce free list for resolv_conf index slosts.
399 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
400 type to uintptr_t.
401 (struct resolv_conf_global): Add free_list_start member.
402 (resolv_conf_get_1): Check for free list entry.
403 (decrement_at_index): Put freed slot on the free list.
404 (__resolv_conf_attach): Obtain new slot from the free list.
405 * resolv/tst-resolv-res_ninit.c: New file.
406 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
407 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
408 (generated): Add mtrace-tst-resolv-res_ninit.out,
409 tst-resolv-res_ninit.mtrace.
410 (mtrace-tst-resolv-res_ninit.out): Add target.
411
412 2017-06-30 Florian Weimer <fweimer@redhat.com>
413
414 [BZ #984]
415 Reload /etc/resolv.conf if has been changed on disk.
416 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
417 (__resolv_conf_load, __resolv_conf_get_current): Declare.
418 * resolv/resolv_conf.c (struct resolv_conf_global): Add
419 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
420 (__resolv_conf_get_current): New function.
421 (__resolv_conf_allocate): Do not initialize initstamp.
422 (freeres): Deallocate global->conf_current.
423 * resolv/resolv.h (RES_NORELOAD): Define.
424 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
425 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
426 * resolv/resolv_context.c (replicated_configuration_matches): New.
427 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
428 the current configration.
429 * resolv/res_init.c (__res_initstamp): Remove variable definition.
430 (has_preinit_values): New function.
431 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
432 parameter and do not call __resolv_conf_attach.
433 (__res_vinit): Reimplement based __resolv_conf_load.
434 (res_options): Handle no-reload.
435 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
436 (lock): Remove.
437 (res_int): Do not update __res_initstamp.
438 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
439 RES_NORELOAD.
440 (test_cases): Test no-reload.
441 (special_test_call_res_init): Remove.
442 (special_test_callback): Rely on automated reloading. Add tests
443 for no-reload.
444
445 2017-06-30 Florian Weimer <fweimer@redhat.com>
446
447 Mirror the entire resolver configuration in struct resolv_conf.
448 * resolv/resolv_context.h (__resolv_context_nameserver_count)
449 (__resolv_context_nameserver): New functions.
450 (__resolv_context_sort_count, __resolv_context_sort_entry):
451 Likewise.
452 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
453 resolv_context parameter.
454 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
455 (addrsort): Switch to struct resolv_context.
456 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
457 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
458 sort_list, sort_list_size, options, retrans, retry, ndots members.
459 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
460 (same_address): New functions.
461 (resolv_conf_matches): Compare the new array members.
462 (__resolv_conf_allocate): Allocate and copy the new array members.
463 (update_from_conf): Copy the entire configuration.
464 * resolv/res_init.c (struct nameserver_list, struct sort_list):
465 Define using dynarray.
466 (struct resolv_conf_parser): Add nameserver_list, sort_list,
467 template members.
468 (resolv_conf_parser_init): Add preinit argument. Initialize the
469 new members.
470 (resolv_conf_parser_free): Deallocate the new arrays.
471 (allocate_address_v4): New function.
472 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
473 (res_vinit_1): Drop res_state parameter. Write all parsed date to
474 the parser object instead. Use allocate_address_v4 to allocate
475 IPv4 addresses.
476 (__res_vinit): Adjust.
477 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
478 extended name server list.
479 (test_cases): Adjust.
480
481 2017-06-30 Florian Weimer <fweimer@redhat.com>
482
483 [BZ #19569]
484 [BZ #21475]
485 Support an arbitrary number of search domains.
486 * resolv/resolv_context.h (__resolv_context_search_list): New.
487 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
488 search_list_size members.
489 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
490 (__resolv_conf_allocate): Allocate and and copy search list.
491 (update_from_conf): Copy the search list.
492 * resolv/res_init.c (struct search_list): Define using dynarray.
493 (struct resolv_conf_parser): Define.
494 (resolv_conf_parser_init, resolv_conf_parser_free)
495 (domain_from_hostname): New functions.
496 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
497 struct search_list to collect search list entries. Call
498 domain_from_hostname to obtain the fallback domain name.
499 (__res_vinit): Create and destroy parser object. Pass search list
500 to __resolv_conf_allocate.
501 * resolv/res_query.c (__res_context_search): Use
502 __resolv_context_search_list to obtain search list entries.
503 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
504 from extended resolver context.
505 (test_cases): Update.
506
507 2017-06-30 Florian Weimer <fweimer@redhat.com>
508
509 Add extended resolver state/configuration (struct resolv_conf).
510 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
511 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
512 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
513 (__res_vinit): Call __resolv_conf_allocate and
514 __resolv_conf_attach.
515 * resolv/resolv_context.h (struct resolv_context): Add conf member
516 of type struct resolv_conf.
517 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
518 resolv_conf. Update conf member after initialization.
519 * resolv/Makefile (routines): Add resolv_conf.
520 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
521 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
522 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
523 _u._ext.__glibc_reserved.
524
525 2017-06-30 Florian Weimer <fweimer@redhat.com>
526
527 [BZ #21668]
528 Introduce temporary resolver contexts (struct resolv_conf).
529 * resolv/resolv-internal.h (__res_context_mkquery)
530 (__res_context_searchl __res_context_query, __res_context_send)
531 (__res_context_hostalias): Declare.
532 (__res_nopt): Switch to struct resolv_context.
533 * resolv/res_use_inet6.h: New file.
534 * resolv/resolv_context.h: Likewise.
535 * resolv/resolv_context.c: Likewise.
536 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
537 Renamed from res_gethostbyname2. Use struct resolv_context.
538 (res_gethostbyname2): New function. Implement using
539 res_gethostbyname2_context.
540 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
541 struct resolv_context.
542 (res_gethostbyaddr): New function. Implement using
543 res_gethostbyaddr_context.
544 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
545 resolv_context.
546 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
547 _nss_dns_gethostbyname3_r. Use struct resolv_context.
548 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
549 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
550 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
551 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
552 (_nss_dns_getnetbyaddr_r): Likewise.
553 * resolv/res-close.c (res_thread_freeres): Call
554 __resolv_context_freeres.
555 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
556 maybe_init in resolv/resolv_context.c.
557 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
558 res_nmkquery. Use struct resolv_context.
559 (context_mkquery_common): New function.
560 (res_nmkquery, res_mkquery): Use it.
561 (res_nopt): Switch to struct resolv_context.
562 * resolv/res_query.c (__res_context_querydomain): Renamed from
563 __libc_res_nquerydomain. Use struct resolv_context.
564 (__res_context_query): Renamed from __libc_res_nquery. Use struct
565 resolv_context.
566 (context_query_common): New function.
567 (res_nquery, res_query): Use it.
568 (__res_context_search): Renamed from __libc_res_nsearch. Use
569 struct resolv_context.
570 (context_search_common): New function.
571 (res_nsearch, res_search): Use it.
572 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
573 Use struct resolv_context.
574 (context_querydomain_common): New function.
575 (res_nquerydomain, res_querydomain): Use it.
576 (__res_context_hostalias): Rename from res_hostalias. Use struct
577 resolv_context.
578 (context_hostalias_common): New function.
579 (res_hostalias, hostalias): Use it.
580 * resolv/res_send.c (__res_context_send): Renamed from
581 __libc_res_nsend. Use struct resolv_context.
582 (context_send_common): New function.
583 (res_nsend, res_send): Use it.
584 * resolv/Makefile (routines): Add resolv_context.
585 * resolv/Versions (libc): Export __resolv_context_get,
586 __resolv_context_get_preinit, __resolv_context_get_override,
587 __resolv_context_put. Remove __res_maybe_init.
588 (libresolv): Export __res_context_query, __res_context_search,
589 __res_context_hostalias. Remove __libc_res_nquery,
590 __libc_res_nsearch.
591 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
592 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
593 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
594 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
595 prototypes.
596 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
597 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
598 from __nss_hostname_digits_dots. Use struct resolv_context.
599 (__nss_hostname_digits_dots): New function.
600 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
601 struct resolv_context object. Call new function
602 __nss_hostname_digits_dots_context.
603 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
604 * nss/getnssent_r.c (__nss_setent): Likewise.
605 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
606 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
607 instead of direct _res manipulation.
608 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
609
610 2017-07-03 Florian Weimer <fweimer@redhat.com>
611
612 * resolv/tst-resolv-res_init-skeleton.c
613 (special_tests_count, special_test_call_res_init)
614 (special_test_callback, special_test_thread_func)
615 (run_special_test_on_thread, special_test): Define.
616 (do_test): call special_test.
617 (test_init_names): Fix typo.
618
619 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
620
621 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
622 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
623
624 2017-07-01 Florian Weimer <fweimer@redhat.com>
625 H.J. Lu <hongjiu.lu@intel.com>
626
627 [BZ #21696]
628 * posix/sched_cpucount.c: Don't include <limits.h>.
629 (__sched_cpucount): Use __builtin_popcount.
630
631 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
632
633 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
634 Fix typo.
635
636 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
637
638 * include/math.h (__signbitf128): Define as hidden.
639 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
640 Reimplement without builtins.
641 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
642 (__builtin_signbitf128): Define to __signbitf128.
643 * sysdeps/powerpc/bits/floatn.h: Likewise.
644 * sysdeps/x86/bits/floatn.h: Likewise.
645
646 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
647
648 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
649 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
650 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
651 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
652 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
653 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
654 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
655 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
658 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
660 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
661 fcntl_common and add check for F_GETOWN.
662 (__libc_fcntl): Use SYSCALL_CANCEL macro.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
664 use default implementation.
665
666 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
667
668 * elf/dl-tunables.h (tunable_is_name): Move from...
669 * elf/dl-tunables.c (is_name): ... here.
670 (parse_tunables, __tunables_init): Adjust.
671 * manual/tunables.texi: Document glibc.tune.cpu.
672 * sysdeps/aarch64/dl-tunables.list: New file.
673 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
674 cpu_list): New type.
675 (cpu_list): New list of CPU names and their MIDR.
676 (get_midr_from_mcpu): New function.
677 (init_cpu_features): Override MIDR if necessary.
678
679 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
680 (__libc_ifunc_impl_list): Unconditionally select thunderx
681 routine for testing.
682
683 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
684
685 [BZ #21120]
686 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
687 * sysdeps/generic/malloc-alignment.h: Here. New file.
688 * sysdeps/i386/malloc-alignment.h: Likewise.
689 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
690
691 2017-06-30 Florian Weimer <fweimer@redhat.com>
692
693 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
694 variable.
695 (test_file_contents): Use it.
696
697 2017-06-30 Florian Weimer <fweimer@redhat.com>
698
699 * resolv/res_init.c (res_setoptions): Remove source argument.
700 (res_vinit_1): Adjust.
701
702 2017-06-30 Florian Weimer <fweimer@redhat.com>
703
704 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
705
706 2017-06-30 Florian Weimer <fweimer@redhat.com>
707
708 * resolv/res_data.c: Reformat to GNU style.
709 (res_close): Update comments.
710
711 2017-06-30 Florian Weimer <fweimer@redhat.com>
712
713 * resolv/res_data.c (res_query, res_search, res_querydomain)
714 (hostalias): Move to ...
715 * resolv/res_Send.c (res_query, res_search, res_querydomain)
716 (hostalias): here.
717
718 2017-06-30 Florian Weimer <fweimer@redhat.com>
719
720 * resolv/res_data.c (res_isourserver, res_send): Move to ...
721 * resolv/res_send.c (res_isourserver, res_send): here.
722
723 2017-06-30 Florian Weimer <fweimer@redhat.com>
724
725 * resolv/res_debug.c (_res_opcodes): Rename ...
726 (res_opcodes): ... as compatibility symbol.
727 (fp_nquery): Use res_opcodes.
728 * include/resolv.h (_res_opcodes): Remove declaration.
729
730 2017-06-30 Florian Weimer <fweimer@redhat.com>
731
732 * include/resolv.h (res_pquery): Remove declaration.
733 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
734 functions.
735 (_res_opcodes): Remove variable.
736 * resolv/res_debug.c (do_section): Receive pfcode instead of
737 statp.
738 (res_pquery): Rename ...
739 (fp_nquery): to this function. Skip unnecessary _res
740 initialization.
741 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
742
743 2017-06-30 Florian Weimer <fweimer@redhat.com>
744
745 * resolv/res_debug.h: Remove file.
746 * resolv/README: Adjust.
747
748 2017-06-30 Florian Weimer <fweimer@redhat.com>
749
750 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
751 conditionals.
752 (Aerror, Perror): Remove function definitions.
753
754 2017-06-30 Florian Weimer <fweimer@redhat.com>
755
756 * resolv/res_data.c (res_mkquery): Move ...
757 * resolv/res_mkquery.c (res_mkquery): to here.
758
759 2017-06-30 Florian Weimer <fweimer@redhat.com>
760
761 * resolv/res_mkquery.c: Reformat to GNU style.
762 (T_OPT): Remove definition. It is present in the header file.
763
764 2017-06-30 Florian Weimer <fweimer@redhat.com>
765
766 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
767 conditionals.
768
769 2017-06-30 Florian Weimer <fweimer@redhat.com>
770
771 * support/support_capture_subprocess_check.c
772 (support_capture_subprocess_check): Report actual exit status.
773
774 2017-06-30 Florian Weimer <fweimer@redhat.com>
775
776 [BZ #19570]
777 * resolv/res_send.c (nameserver_offset): New function.
778 (__libc_res_nsend): Use it to implement RES_ROTATE.
779 (get_nsaddr): Add assert with name server
780 range check.
781 * resolv/Makefile (xtests): Add tst-resolv-rotate.
782 (tst-resolv-rotate): Link against libpthread.
783 * resolv/tst-resolv-rotate.c: New file.
784
785 2017-06-29 Joseph Myers <joseph@codesourcery.com>
786
787 [BZ #21457]
788 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
789 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
790 [__WORDSIZE == 64] (MC_PC): Likewise.
791 [__WORDSIZE == 64] (MC_NPC): Likewise.
792 [__WORDSIZE == 64] (MC_Y): Likewise.
793 [__WORDSIZE == 64] (MC_G1): Likewise.
794 [__WORDSIZE == 64] (MC_G2): Likewise.
795 [__WORDSIZE == 64] (MC_G3): Likewise.
796 [__WORDSIZE == 64] (MC_G4): Likewise.
797 [__WORDSIZE == 64] (MC_G5): Likewise.
798 [__WORDSIZE == 64] (MC_G6): Likewise.
799 [__WORDSIZE == 64] (MC_G7): Likewise.
800 [__WORDSIZE == 64] (MC_O0): Likewise.
801 [__WORDSIZE == 64] (MC_O1): Likewise.
802 [__WORDSIZE == 64] (MC_O2): Likewise.
803 [__WORDSIZE == 64] (MC_O3): Likewise.
804 [__WORDSIZE == 64] (MC_O4): Likewise.
805 [__WORDSIZE == 64] (MC_O5): Likewise.
806 [__WORDSIZE == 64] (MC_O6): Likewise.
807 [__WORDSIZE == 64] (MC_O7): Likewise.
808 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
809 __MC_NGREG if [__USE_MISC].
810 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
811 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
812 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
813 Define fields using __ctx.
814 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
815 using __ctx.
816 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
817 (REG_PSR): Define only for [__USE_MISC].
818 (REG_PC): Likewise.
819 (REG_nPC): Likewise.
820 (REG_Y): Likewise.
821 (REG_G1): Likewise.
822 (REG_G2): Likewise.
823 (REG_G3): Likewise.
824 (REG_G4): Likewise.
825 (REG_G5): Likewise.
826 (REG_G6): Likewise.
827 (REG_G7): Likewise.
828 (REG_O0): Likewise.
829 (REG_O1): Likewise.
830 (REG_O2): Likewise.
831 (REG_O3): Likewise.
832 (REG_O4): Likewise.
833 (REG_O5): Likewise.
834 (REG_O6): Likewise.
835 (REG_O7): Likewise.
836 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
837 [__WORDSIZE == 64] (REG_FPRS): Likewise.
838 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
839 (gregset_t): Define using __NGREG.
840 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
841 __SPARC_MAXREGWINDOW if [__USE_MISC].
842 (struct rwindow): Rename to struct __rwindow. Define fields using
843 __ctx.
844 (rw_fp): Define only for [__USE_MISC].
845 (rw_rtn): Likewise.
846 (gwindows_t): Remove struct tag. Define fields using __ctx and
847 __SPARC_MAXREGWINDOW.
848 (MAXFPQ): Define only for [__USE_MISC].
849 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
850 (struct fq): Rename to struct __fq. Define fields using __ctx.
851 (FPU_REGS_TYPE): Define only for [__USE_MISC].
852 (FPU_DREGS_TYPE): Likewise.
853 (V7_FPU_FSR_TYPE): Likewise.
854 (V9_FPU_FSR_TYPE): Likewise.
855 (V9_FPU_FPRS_TYPE): Likewise.
856 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
857 using __ctx.
858 [__WORDSIZE != 64] (fpregset_t): Likewise.
859 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
860 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
861 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
862 Rename field filler to __glibc_reserved1.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
864 (MC_FILLER): Remove.
865
866 2017-06-29 Florian Weimer <fweimer@redhat.com>
867
868 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
869 Adjust format string.
870 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
871 dependency.
872
873 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
874
875 * sysdeps/posix/spawni.c (__spawni_child): New function.
876 (__spawni): Rename to __spawnix.
877
878 2017-06-29 Florian Weimer <fweimer@redhat.com>
879
880 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
881 Use it to make the temporary copy at the start of the work buffer.
882 (process_arg): Adjust call to group_number.
883
884 2017-06-29 Florian Weimer <fweimer@redhat.com>
885
886 * stdio-common/vfprintf.c (printf_positional): Use struct
887 scratch_buffer to allocate backing storage for the args_value,
888 args_size, args_type arrays.
889
890 2017-06-29 Florian Weimer <fweimer@redhat.com>
891
892 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
893 scratch_buffer.
894
895 2017-06-29 Florian Weimer <fweimer@redhat.com>
896
897 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
898 wchar_t builds.
899
900 2017-06-29 Florian Weimer <fweimer@redhat.com>
901
902 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
903 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
904
905 2017-06-29 Florian Weimer <fweimer@redhat.com>
906
907 * stdio-common/tst-vfprintf-user-type.c: New file.
908 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
909
910 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
911
912 * posix/tst-spawn2.c (do_test): Use libsupport.
913 * posix/tst-spawn3.c (do_test): Likewise.
914
915 2017-06-28 Joseph Myers <joseph@codesourcery.com>
916
917 * math/gen-tgmath-tests.py (Tests.__init__): Define
918 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
919
920 * math/tgmath.h: Include <bits/libc-header-start.h> and
921 <bits/floatn.h>.
922 (__TGMATH_F128): New macro.
923 (__TGMATH_CF128): Likewise.
924 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
925 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
926 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
927 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
928 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
929 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
930 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
931 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
932 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
933 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
934 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
935 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
936 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
937 (__TGMATH_BINARY_REAL_IMAG): Likewise.
938 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
939 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
940 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
941 _FloatNx types if the corresponding HUGE_VAL macros are defined.
942
943 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
944 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
945 complex arguments.
946
947 [BZ #21687]
948 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
949 (totalorder): Use it.
950 (totalordermag): Likewise.
951 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
952 totalorder and totalordermag.
953 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
954 totalordermag in arguments of calls to those functions.
955 (NCALLS): Change to 134.
956
957 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
958 cast to return type argument.
959 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
960 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
961 (llrint): Likewise.
962 (lround): Likewise.
963 (llround): Likewise.
964 (ilogb): Likewise.
965 (llogb): Likewise.
966 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
967 (ufromfp): Likewise.
968 (fromfpx): Likewise.
969 (ufromfpx): Likewise.
970
971 [BZ #21607]
972 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
973 [LDBL_MANT_DIG > DBL_MANT_DIG].
974 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
975 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
976 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
977 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
978 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
979 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
980 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
981 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
982 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
983 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
984 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
985 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
986 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
987 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
988 * math/test-tgmath.c: Include <float.h>.
989 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
990 DBL_MANT_DIG].
991 * math/test-tgmath2.c: Include <float.h>.
992 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
993 DBL_MANT_DIG].
994
995 * math/gen-tgmath-tests.py: New file.
996 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
997 [PYTHON] (generated): Add test-tgmath3.c.
998 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
999 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1000
1001 * configure.ac (AS): Require binutils 2.25 or later.
1002 (LD): Likewise.
1003 * configure: Regenerated.
1004 * sysdeps/s390/configure.ac (AS): Remove version check.
1005 * sysdeps/s390/configure: Regenerated.
1006 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1007 * sysdeps/x86_64/configure: Regenerated.
1008 * manual/install.texi (Tools for Compilation): Document
1009 requirement for binutils 2.25 or later.
1010 * INSTALL: Regenerated.
1011
1012 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 [BZ #14995]
1015 * configure.ac: Allow gold 1.14 or above to configire glibc
1016 * configure: Regenerated.
1017
1018 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1019
1020 [BZ #21457]
1021 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1022 struct tag.
1023 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1024 Likewise.
1025 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1028 Declare struct type with __ctx.
1029 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1030 tag.
1031 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1032 and regs field name.
1033
1034 2017-06-27 Joseph Myers <joseph@codesourcery.com>
1035
1036 * elf/loadtest.c (OUT): Define using do { } while (0).
1037
1038 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1039 (DO_NUMBER_SPACEPAD): Likewise.
1040
1041 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
1042
1043 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1044 sysdep_routines.
1045 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1046 __memchr_neon.
1047 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1048 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1049 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1050 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1051
1052 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1053
1054 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1055 Use vector and cu21 instruction.
1056 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1057 Add __to_utf8_loop_vx_cu in ifunc resolver.
1058
1059 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1060
1061 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1062 Use vector and cu24 instruction.
1063
1064 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1065
1066 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1067 Use vector and cu42 instruction.
1068 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1069 Add __to_utf16_loop_vx_cu in ifunc resolver.
1070
1071 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1072
1073 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1074 Use vector and cu41 instruction.
1075 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1076 in ifunc resolver.
1077
1078 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1079
1080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1081 Add vxd, vxe, gs flag.
1082 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1083 HWCAP_S390_GS capability.
1084 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1085 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1086
1087 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1090 the first 32 bytes before checking size when size >= 32 bytes.
1091 Replace vpmovmskb/subl/jnz with vptest/jnc.
1092
1093 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1094
1095 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1096 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1097
1098 2017-06-27 Florian Weimer <fweimer@redhat.com>
1099
1100 Work around test timeouts with ICMP rate limiting on localhost.
1101 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1102 function.
1103 (do_test): Call it.
1104
1105 2017-06-27 Florian Weimer <fweimer@redhat.com>
1106
1107 Call _res_hconf_init from __res_vinit.
1108 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1109 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1110 (NEED__RES): Define.
1111 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1112 (NEED__RES): Define.
1113 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1114 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1115 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1116 (NEED__RES): Define.
1117 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1118 _res_hconf_init.
1119 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1120 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1122 _res_hconf_init.
1123
1124 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1125
1126 * sysdeps/ia64/Implies: Add ieee754/float128.
1127 * sysdeps/ia64/bits/floatn.h: New file.
1128 * sysdeps/ia64/float128-abi.h: Likewise.
1129 * manual/math.texi (Mathematics): Document support for _Float128
1130 on ia64.
1131 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1132 Makefile variable.
1133 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1134 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1135 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1136 * sysdeps/ia64/math-tests.h: New file.
1137 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1138 based on TEST_COND_binary128 for [__ia64__].
1139 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1140 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1141
1142 [BZ #21457]
1143 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1144 ucontext_t.
1145 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1146 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1147 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1148 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1149 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1150 ucontext): Likewise.
1151 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1154 Likewise.
1155 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1156 Likewise.
1157 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1158 Likewise.
1159 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1160 Likewise.
1161 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1162 Likewise.
1163 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1164 Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1166 ucontext): Likewise.
1167 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1168 Likewise.
1169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1170 Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1172 Likewise.
1173 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1174 Likewise.
1175 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1176 Likewise.
1177 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1178 rt_signal_frame_32): Likewise.
1179 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1180 Likewise.
1181 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1182 kernel_rt_sigframe): Likewise.
1183 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1184 Likewise.
1185 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1186 Likewise.
1187 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1188 Likewise.
1189 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1190 (__profil_counter): Likewise.
1191 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1192 (SIGCONTEXT): Likewise.
1193 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1194 kernel_rt_sigframe): Likewise.
1195 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1196 kernel_rt_sigframe): Likewise.
1197 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1198 Likewise.
1199 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1200 Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1202 (__start_context): Likewise.
1203 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1204 Likewise.
1205 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1206 Likewise.
1207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1208 Likewise.
1209
1210 * sysdeps/i386/Implies: Add ieee754/float128.
1211 * sysdeps/x86_64/Implies: Likewise.
1212 * sysdeps/x86/bits/floatn.h: New file.
1213 * sysdeps/x86/float128-abi.h: Likewise.
1214 * manual/math.texi (Mathematics): Document support for _Float128
1215 on x86_64 and x86.
1216 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1217 (math_opt_barrier): Do not put _Float128 values in floating-point
1218 registers.
1219 (math_force_eval): Likewise.
1220 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1221 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1222 to Makefile variable.
1223 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1224 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1225 * sysdeps/x86/math-tests.h: New file.
1226 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1227 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1228 XFAIL_FLOAT128_PAYLOAD.
1229 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1230 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1231 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1234 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1239 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1240 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1242
1243 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1244
1245 [BZ #21512]
1246 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1247 syscall instead of jump to _exit.
1248 (CLONE_VM_BIT): Remove unused define.
1249 (CLONE_VM): Likewise.
1250 (CLONE_THREAD_BIT): Likewise.
1251 (CLONE_THREAD): Likewise.
1252 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1253 (CLONE_VM): Remove unused define.
1254 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1255 (CLONE_VM): Remove unused define.
1256 (CLONE_THREAD): Likewise.
1257 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1258 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1259 syscall instead of jump to _exit.
1260 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1261 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1262 (CLONE_VM): Remove unused define.
1263 (CLONE_THREAD): Likewise.
1264 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1265 (CLONE_VM): Remove unused define.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1267 Likewise.
1268 (CLONE_VM): Remove unused define.
1269 (CLONE_THREAD): Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1271 Likewise.
1272 (CLONE_VM): Remove unused define.
1273 (CLONE_THREAD): Likewise.
1274 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1276 (CLONE_VM): Remove unused define.
1277 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1278 (CLONE_VM): Remove unused define.
1279 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1280 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1281 (CLONE_VM): Remove unused define.
1282 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1283 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1284
1285 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1286 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1287
1288 * manual/math.texi (Mathematics): Mention the enabling of float128
1289 for powerpc64le.
1290 * sysdeps/powerpc/bits/floatn.h: New file.
1291 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1292 * sysdeps/powerpc/fpu/math_private.h:
1293 (__ieee754_sqrtf128): New inline override.
1294 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1295 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1296 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1297 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1298 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1300 Updated.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1302 Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1304 New file.
1305
1306 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1309 * sysdeps/powerpc/powerpc64le/configure: Update.
1310
1311 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1312 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1313
1314 * INSTALL: Regenerate.
1315 * manual/install.texi (Recommended Tools for Compilation): Mention
1316 the powerpc64le-specific requirement in the manual.
1317 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1318 for the compiler features required for building float128.
1319 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1320
1321 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1322
1323 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1324 before comparing with another char.
1325
1326 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1327
1328 * manual/math.texi: Fix a grammatical error.
1329
1330 2017-06-24 Florian Weimer <fweimer@redhat.com>
1331
1332 [BZ #21295]
1333 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1334
1335 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1336
1337 [BZ #21295]
1338 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1339 Append addresses at the end of the list.
1340
1341 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 [BZ #21666]
1344 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1345 (loc2): Likewise.
1346 (locs): Likewise.
1347
1348 2017-06-23 Florian Weimer <fweimer@redhat.com>
1349
1350 [BZ #16637]
1351 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1352 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1353 digits between colons.
1354 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1355
1356 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1357 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1358
1359 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1360 (__sched_get_prioriry_min): Likewise.
1361 * include/sys/mman.h (__mmap): Likewise.
1362 (__mmap64): Likewise.
1363 (__munmap): Likewise.
1364 (__mprotect): Likewise.
1365 * include/termios.h (__tcsetattr): Likewise.
1366 * include/time.h (__nanosleep): Use hidden_proto instead of
1367 libc_hidden_proto.
1368 * posix/nanosleep.c (__nanosleep): Likewise.
1369 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1370 __sched_get_priority_min, and __sched_get_priority_max under
1371 GLIBC_PRIVATE.
1372 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1373 libc symbols.
1374 (change_stack_perm): Likewise.
1375 (change_stack_perm): Likewise.
1376 (allocate_stack): Likewise.
1377 * sysdeps/posix/gethostname.c: Likewise.
1378 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1379 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1381 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1382 (__pthread_key_delete): Likewise.
1383 (__pthread_detach): Likewise.
1384 (__pthread_cancel): Likewise.
1385 (__pthread_mutex_trylock): Likewise.
1386 (__pthread_mutexattr_init): Likewise.
1387 (__pthread_mutexattr_settype): Likewise.
1388 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1389 create alias for exported one.
1390 * nptl/pthread_join.c (pthread_join): Likewise.
1391 * nptl/pthread_detach.c (pthread_detach): Likewise.
1392 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1393 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1394 * nptl/pthread_create.c: Change static requirements for pthread
1395 symbols.
1396 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1397 for internal definition.
1398 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1399 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1400 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1401 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1402 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1403 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1404 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1405 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1406 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1407 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1408 Likewise.
1409 * nptl/pthread_self.c (__pthread_self): Likewise.
1410 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1411 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1412 * misc/mmap.c (__mmap): Add internal symbol definition.
1413 * misc/mmap.c (__mmap64): Likewise.
1414 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1415 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1416 (__mmap64): Likewise.
1417 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1418 Add __uname.
1419
1420 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1421
1422 * sysdeps/i386/fpu/libm-test-ulps: Update.
1423 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1424
1425 * libm-test-support.c (check_float_internal): Clear exceptions at
1426 end of function.
1427 (check_int): Likewise.
1428 (check_long): Likewise.
1429 (check_bool): Likewise.
1430 (check_longlong): Likewise.
1431 (check_intmax_t): Likewise.
1432 (check_uintmax_t): Likewise.
1433
1434 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1435 Do not declare.
1436 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1437 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1438 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1439
1440 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1443 Replace movzbl and orl with movb.
1444
1445 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1446
1447 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1448 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1449 and HUGE_VAL_FNx.
1450 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1451 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1452 are in math.h, to avoid having to list the _FloatN and _FloatNx
1453 variants as well. Likewise for the cabs functions.
1454 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1455 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1456 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1457 come from TS 18661-3, since this section explicitly states that
1458 these functions come from BSD.
1459 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1460 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1461 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1462 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1463 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1464 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1465 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1466 remainderfNx.
1467 (Setting and modifying single bits of FP values): Document
1468 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1469 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1470 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1471 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1472 (Floating-Point Comparison Functions): Document totalorderfN,
1473 totalorderfNx, totalordermagfN, totalordermagfNx.
1474 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1475 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1476 fdimfN, fdimfNx, fmafN, fmafNx.
1477 (Complex Numbers): Document the complex types: _FloatN complex and
1478 _FloatNx complex.
1479 (rojections, Conjugates, and Decomposing of Complex Numbers):
1480 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1481 cargfN, cargfNx, cprojfN, cprojfNx.
1482 * manual/math.texi (Mathematics): Mention that the _FloatN and
1483 _FloatNx variants of the math functions come from TS 18661-3,
1484 unless otherwise stated.
1485 (Predefined Mathematical Constants): Document the _FloatN and
1486 _FloatNx variants of the macros prefixed with M_.
1487 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1488 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1489 ccosfNx, ctanfN, ctanfNx.
1490 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1491 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1492 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1493 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1494 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1495 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1496 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1497 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1498 cpowfNx.
1499 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1500 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1501 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1502 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1503 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1504 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1505 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1506 ynfN, ynfNx.
1507
1508 2017-06-23 Florian Weimer <fweimer@redhat.com>
1509
1510 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1511
1512 2017-06-23 Florian Weimer <fweimer@redhat.com>
1513
1514 * resolv/res_libc.c: Reformat to GNU style.
1515
1516 2017-06-23 Florian Weimer <fweimer@redhat.com>
1517
1518 * resolv/resolv-internal.h (__res_initstamp): Declare.
1519 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1520 It is implied by the declaration.
1521 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1522
1523 2017-06-23 Florian Weimer <fweimer@redhat.com>
1524
1525 [BZ #21662]
1526 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1527 Use only 24 bits of the register before the subtraction.
1528 * string/test-memcmp.c (check1): Check with different lengths.
1529
1530 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1531
1532 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1533 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1534
1535 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1536
1537 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1538 Enable generation of float128 entries on the error table.
1539
1540 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1541
1542 * include/float.h: Include libc-header-start.h to get the
1543 definition of __GLIBC_USE.
1544
1545 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1546
1547 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1548 rearranged code and doubles float types.
1549
1550 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1551
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1553 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1554
1555 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1556
1557 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1558 to errno, and simplify remaining related code.
1559
1560 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1561
1562 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1563 PPC_FEATURE2_SCV.
1564 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1565 and darn.
1566
1567 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1568
1569 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1570 the implementation-specific function name and remove unneeded macros
1571 definition.
1572 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1573 function name if not defined and pass as parameter to macros
1574 accordingly.
1575
1576 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1577
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1579 (libm-sysdep_routines): Add s_llroundf-ppc64.
1580 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1581 (__llroundf): Define as strong alias of __llround.
1582 (llroundf): Define as weak alias of __llround.
1583 (__lroundf): Define as strong alias of __llround.
1584 (lroundf): Define as weak alias of __llround.
1585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1592
1593 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1594
1595 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1596 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1597
1598 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1599 (MATH_TESTS_TG): New macro.
1600 (SNAN_TESTS_float128): Likewise.
1601 (ROUNDING_TESTS_float128): Likewise.
1602 (EXCEPTION_TESTS_float128): Likewise.
1603 (SNAN_TESTS): Define using MATH_TESTS_TG.
1604 (ROUNDING_TESTS): Likewise.
1605 (EXCEPTION_TESTS): Likewise.
1606
1607 * sysdeps/ieee754/float128/float128_private.h
1608 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1609 pass it to SET_RESTORE_ROUNDF128.
1610
1611 * sysdeps/ieee754/float128/float128_private.h: Include
1612 <ieee754.h>.
1613
1614 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1615 typeof to argument passed to __builtin_types_compatible_p.
1616 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1617
1618 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1619 <errno.h>.
1620 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1621 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1622 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1623 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1624 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1625 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1626 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1627 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1628 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1629 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1630 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1631 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1632 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1633 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1634 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1635 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1636 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1637 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1638 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1639 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1640 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1641 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1642
1643 * sysdeps/ieee754/float128/strtof128_l.c: Include
1644 <bits/types/locale_t.h> instead of <xlocale.h>.
1645 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1646 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1647
1648 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1649
1650 * benchtests/scripts/benchout_strings.schema.json: New file.
1651 * benchtests/scripts/compare_strings.py: New file.
1652
1653 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1654 (do_one_test): Print json.
1655 (do_test): Likewise.
1656 (test_main): Likewise.
1657 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1658 (do_one_test): Print json.
1659 (do_test): Likewise.
1660 (test_main): Likewise.
1661 * benchtests/bench-memcpy.c: Include json-lib.h.
1662 (do_one_test): Print json.
1663 (do_test): Likewise.
1664 (test_main): Likewise.
1665
1666 * benchtests/json-lib.h: Include inttypes.h.
1667 (json_attr_int, json_attr_int, json_element_string,
1668 json_element_int, json_element_uint): New functions.
1669 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1670 json_element_string, json_element_int, json_element_uint): New
1671 functions.
1672
1673 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1674
1675 * manual/arith.texi (Remainder Functions): Describe remainder as
1676 primary and drem as an alternative name. Change the comment on
1677 remainder to ISO, since it is defined in ISO C99.
1678
1679 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1680
1681 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1682 macro expansion.
1683 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1684
1685 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1686
1687 [BZ #21533]
1688 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1689 201706L for Unicode 10.0.
1690
1691 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1692
1693 [BZ #21657]
1694 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1695 on node-local addresses.
1696 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1697
1698 2017-06-21 Florian Weimer <fweimer@redhat.com>
1699
1700 * intl/loadmsgcat.c: Remove alloca support.
1701 (_nl_load_domain): Use calloc instead of alloca.
1702
1703 2017-04-21 Florian Weimer <fweimer@redhat.com>
1704
1705 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1706 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1707 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1708 alloc_buffer_create_failure.
1709 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1710 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1711 (__libc_alloc_buffer_copy_string)
1712 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1713 * malloc/alloc_buffer_alloc_array.c: New file.
1714 * malloc/alloc_buffer_allocate.c: Likewise.
1715 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1716 * malloc/alloc_buffer_copy_string.c: Likewise.
1717 * malloc/alloc_buffer_create_failure.c: Likewise.
1718 * malloc/tst-alloc_buffer.c: Likewise.
1719
1720 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1723 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1724 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1725 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1726 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1727 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1728 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1729 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1730 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1731 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1732 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1733 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1734 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1735 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1736 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1737 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1738 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1739 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1740 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1741 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1742 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1743 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1744 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1745 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1746 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1748 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1749 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1750 "locale-defines.h".
1751 (UPDATE_STRNCMP_COUNTER): New.
1752 (SECTION): Likewise.
1753 (GLABEL): Likewise.
1754 (LABEL): Likewise.
1755 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1756 for libc.a.
1757
1758 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1759
1760 [BZ #21622]
1761 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1762 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1763 __USE_MISC].
1764 (SA_NODEFER): Likewise.
1765 (SA_RESETHAND): Likewise.
1766
1767 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1770 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1771 Remove security_level on all fields.
1772 * manual/tunables.texi: Replace ifunc with hwcaps.
1773 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1774 Renamed to ..
1775 (TUNABLE_CALLBACK (set_hwcaps)): This.
1776 (init_cpu_features): Updated.
1777 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1778 data_cache_size, data_cache_size and non_temporal_threshold to
1779 unsigned long int.
1780 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1781 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1782 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1783 use DEFAULT_STRLEN.
1784
1785 2017-06-21 Florian Weimer <fweimer@redhat.com>
1786
1787 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1788 asprintf to construct an absolute pathname.
1789
1790 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1791
1792 * misc/tst-preadvwritev2-common.c: New file.
1793 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1794 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1795
1796 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1797
1798 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1799 annotation.
1800 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1801
1802 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1803
1804 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1805 hidden __GI__dl_argv symbol.
1806
1807 2017-06-21 Florian Weimer <fweimer@redhat.com>
1808
1809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1810 to parse addresses with IPv6 scope IDs.
1811
1812 2017-06-21 Florian Weimer <fweimer@redhat.com>
1813
1814 Add the __inet_pton_length helper function.
1815 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1816 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1817 Add length argument.
1818 (__inet_pton): New function.
1819 (inet_pton4): Add length argument.
1820 (hex_digit_value): New function.
1821 (inet_pton6): Add length argument. Call hex_digit_value. Use
1822 memmove and memset to fill :: gap.
1823 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1824 tst-inet_pton.
1825 * resolv/tst-inet_pton.c: New file.
1826 * support/Makefile (libsupport-routines): Add xmprotect.
1827 * support/xunistd.h (xmprotect): Declare.
1828 * support/xmprotect.c: New file.
1829
1830 2017-06-21 Florian Weimer <fweimer@redhat.com>
1831
1832 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1833 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1834 (call_gai, check_ai): New functions.
1835 (expect_failure, expect_success): Use them. Add logging.
1836
1837 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1838
1839 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1840 (sysdep_routines): Add memchr_power8.
1841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1842 (memchr): Add __memchr_power8 to list of memchr functions.
1843 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1844 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1845 (memchr): Add __memchr_power8 to ifunc list.
1846 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1847
1848 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1849
1850 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1851 (__llrintf): Define as strong alias of __llrint.
1852 (llrintf): Define as weak alias of __llrint.
1853 (__lrintf): Define as strong alias of __llrint.
1854 (lrintf): Define as weak alias of __llrint.
1855 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1857 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1859
1860 2017-06-20 Zack Weinberg <zackw@panix.com>
1861
1862 * bits/signum-generic.h: Renamed from bits/signum.h.
1863 Add proper multiple include guard and misuse check.
1864 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1865 Move definition of SIGIO to "archaic names for compatibility" section.
1866 * bits/signum.h: New file which just includes bits/signum-generic.h.
1867 * sysdeps/unix/bsd/bits/signum.h
1868 * sysdeps/unix/sysv/linux/bits/signum.h
1869 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1870 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1871 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1872 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1873 Just include <bits/signum-generic.h> and then add or adjust
1874 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1875
1876 * signal/Makefile: Install bits/signum-generic.h.
1877 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1878
1879 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1880 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1881
1882 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1883 * sysdeps/unix/sysv/linux/Makefile: Run it.
1884
1885 2017-06-20 Zack Weinberg <zackw@panix.com>
1886
1887 * locale/xlocale.h: Rename to...
1888 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1889 Only define struct __locale_struct and __locale_t, not locale_t.
1890 * locale/bits/types/locale_t.h: New file; define locale_t here.
1891 * locale/Makefile (headers): Update to match.
1892
1893 * include/xlocale.h: Delete wrapper.
1894 * include/bits/types/__locale_t.h: New wrapper.
1895 * include/bits/types/locale_t.h: New wrapper.
1896
1897 * ctype/ctype.h, include/printf.h, include/time.h
1898 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1899 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1900 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1901 Correct outdated comments regarding the standardization status of
1902 the functions that take locale_t arguments.
1903
1904 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1905 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1906 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1907 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1908 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1909 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1910 Don't include xlocale.h. If necessary, include locale.h instead.
1911
1912 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1913
1914 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1915 * include/monetary.h, include/stdlib.h, include/time.h
1916 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1917 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1918 * locale/localeinfo.h, locale/newlocale.c
1919 * locale/nl_langinfo_l.c, locale/uselocale.c
1920 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1921 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1922 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1923 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1924 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1925 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1926 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1927 * sysdeps/ieee754/float128/strtof128_l.c
1928 * sysdeps/ieee754/float128/wcstof128.c
1929 * sysdeps/ieee754/float128/wcstof128_l.c
1930 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1931 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1932 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1933 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1934 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1935 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1936 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1938 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1939 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1940 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1941 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1942 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1943 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1944 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1945 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1946 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1947 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1948 Change all uses of __locale_t to locale_t.
1949
1950 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1951
1952 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1953 for !__OFF_T_MATCHES_OFF64_T.
1954 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1955 implementation based on open64.
1956 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1957 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1958
1959 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * elf/dl-tunables.list: Move x86 specific tunables to ...
1962 * sysdeps/x86/dl-tunables.list: Here. New file.
1963
1964 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1965
1966 [BZ #21635]
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1968 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1969 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1970 powerpc32-linux.
1971 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1972
1973 [BZ #21634]
1974 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1975 (conformtest-xfail-conds): New variable.
1976 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1977 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1978
1979 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1980
1981 * benchtests/powf-inputs: Add reduced trace from wrf.
1982
1983 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1984 Erich Elsen <eriche@google.com>
1985
1986 * elf/dl-tunables.list (tune): Add ifunc,
1987 x86_non_temporal_threshold,
1988 x86_data_cache_size and x86_shared_cache_size.
1989 * manual/tunables.texi: Document glibc.tune.ifunc,
1990 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1991 and glibc.tune.x86_non_temporal_threshold.
1992 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1993 * sysdeps/x86/cpu-tunables.c: Likewise.
1994 * sysdeps/x86/cacheinfo.c
1995 (init_cacheinfo): Check and get data cache size, shared cache
1996 size and non temporal threshold from cpu_features.
1997 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1998 New.
1999 [HAVE_TUNABLES] Include <unistd.h>.
2000 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2001 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2002 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2003 IFUNC selection, data cache size, shared cache size and non
2004 temporal threshold.
2005 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2006 shared_cache_size and non_temporal_threshold.
2007
2008 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2009
2010 * benchtests/README: Describe workload feature.
2011 * benchtests/bench-skeleton.c (main): Add support for
2012 benchmarking traces from workloads.
2013
2014 2017-06-20 Zack Weinberg <zackw@panix.com>
2015
2016 * string/string.h (__mempcpy_inline): Delete.
2017 * sysdeps/x86_64/multiarch/mempcpy.c
2018 * sysdeps/x86_64/multiarch/stpcpy.c:
2019 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2020 before including string.h.
2021
2022 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
2023
2024 * benchtests/Makefile (bench-math): Add powf.
2025 * benchtests/powf-inputs: New file.
2026
2027 2017-06-20 Zack Weinberg <zackw@panix.com>
2028
2029 * bits/string.h, string/bits/string.h
2030 * sysdeps/aarch64/bits/string.h
2031 * sysdeps/m68k/m680x0/m68020/bits/string.h
2032 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2033 * sysdeps/x86/bits/string.h: Delete file.
2034
2035 * string/string.h: Don't include bits/string.h.
2036 * string/bits/string3.h: Rename to bits/string_fortified.h.
2037 No need to undef various symbols that the removed headers
2038 might have defined as macros.
2039 * string/Makefile (headers): Remove bits/string.h, change
2040 bits/string3.h to bits/string_fortified.h.
2041 * string/string-inlines.c: Update commentary. Remove definitions
2042 of various macros that nothing looks at anymore. Don't directly
2043 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2044 compiler-predefined macros.
2045 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2046 _is_ defined, provide internal hidden alias __strncat.
2047 * include/string.h: Declare internal hidden alias __strncat.
2048 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2049 not defined.
2050 * include/bits/string3.h: Rename to bits/string_fortified.h,
2051 update to match above.
2052
2053 * sysdeps/i386/string-inlines.c: Define compat symbols for
2054 everything formerly defined by sysdeps/x86/bits/string.h.
2055 Make existing definitions into compat symbols as well.
2056 Remove some no-longer-necessary messing around with macros.
2057
2058 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2059 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2060 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2061 * sysdeps/s390/multiarch/mempcpy.c
2062 No need to define _HAVE_STRING_ARCH_mempcpy.
2063 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2064
2065 * sysdeps/i386/i686/multiarch/strncat-c.c
2066 * sysdeps/s390/multiarch/strncat-c.c
2067 * sysdeps/x86_64/multiarch/strncat-c.c
2068 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2069
2070 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
2071
2072 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2073 (LDBL_DIG): Likewise.
2074 (LDBL_MIN_EXP): Likewise.
2075 (LDBL_MIN_10_EXP): Likewise.
2076 (LDBL_MAX_EXP): Likewise.
2077 (LDBL_MAX_10_EXP): Likewise.
2078 (LDBL_MAX): Likewise.
2079 (LDBL_MIN): Likewise.
2080 (LDBL_EPSILON): Likewise.
2081 (FLT_ROUNDS): Change standard from ISO to C90.
2082 (FLT_RADIX): Likewise.
2083 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2084 (FLT_DIG, DBL_DIG): Likewise.
2085 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2086 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2087 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2088 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2089 (FLT_MAX, DBL_MAX): Likewise.
2090 (FLT_MIN, DBL_MIN): Likewise.
2091 (FLT_EPSILON, DBL_EPSILON): Likewise.
2092
2093 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2094
2095 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2096 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2097 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2098 * sysdeps/mips/math-tests.h
2099 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2100 conditional code.
2101
2102 2017-06-19 Florian Weimer <fweimer@redhat.com>
2103
2104 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2105 It cannot change while __libc_setlocale_lock is acquired.
2106
2107 2017-06-19 Florian Weimer <fweimer@redhat.com>
2108
2109 * elf/rtld.c (audit_list_string): New variable.
2110 (audit_list): Update comment.
2111 (struct audit_list_iter): Define.
2112 (audit_list_iter_init, audit_list_iter_next): New function.
2113 (dl_main): Use struct audit_list_iter to process audit modules.
2114 (process_dl_audit): Call dso_name_valid_for_suid.
2115 (process_envvars): Set audit_list_string instead of calling
2116 process_dl_audit.
2117
2118 2017-06-19 Florian Weimer <fweimer@redhat.com>
2119
2120 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2121 (dso_name_valid_for_suid): New function.
2122 (handle_ld_preload): Likewise.
2123 (dl_main): Call it. Remove alloca.
2124
2125 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2126
2127 [BZ #21625]
2128 * posix/sys/wait.h (strust rusage forward declaration): Change
2129 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2130 !__USE_XOPEN2K].
2131 (wait3): Likewise.
2132
2133 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2134 * configure: Regenerated.
2135 * manual/install.texi (Tools for Compilation): Document
2136 requirement for GCC 4.9 or later.
2137 * INSTALL: Regenerated.
2138
2139 2017-06-19 Florian Weimer <fweimer@redhat.com>
2140
2141 [BZ #21624]
2142 CVE-2017-1000366
2143 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2144 __libc_enable_secure.
2145
2146 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2147
2148 [BZ #21539]
2149 * NEWS: Mention s390 ptrace request changes.
2150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2151 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2152 PTRACE_SETFPREGS): Remove enum constant.
2153 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2154 Remove defines.
2155 (PTRACE_SINGLEBLOCK): New enum constant.
2156 (PT_STEPBLOCK): New define.
2157 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2158 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2159 PTRACE_TE_ABORT_RAND): New enum constant and define.
2160 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2161 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2162 New file.
2163 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2164
2165 2017-06-16 Florian Weimer <fweimer@redhat.com>
2166
2167 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2168 configuration file.
2169 (__res_vinit): Adjust.
2170
2171 2017-06-19 Florian Weimer <fweimer@redhat.com>
2172
2173 * resolv/res_init.c (res_vinit_1): New function.
2174 (__res_vinit): Call it. Handle file open and memory allocation
2175 failures.
2176 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2177 erno from __res_maybe_init failure.
2178 (_nss_dns_gethostbyname4_r): Likewise.
2179 (_nss_dns_gethostbyaddr2_r): Likewise.
2180 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2181 (_nss_dns_getnetbyaddr_r): Likewise.
2182
2183 2017-06-19 Florian Weimer <fweimer@redhat.com>
2184
2185 * resolv/res_init.c: Reformat to GNU style.
2186
2187 2017-06-19 Florian Weimer <fweimer@redhat.com>
2188
2189 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2190 (is_sort_mask): New function.
2191 (__res_vinit): Use it.
2192
2193 2017-06-19 Florian Weimer <fweimer@redhat.com>
2194
2195 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2196 conditionals.
2197
2198 2017-06-19 Florian Weimer <fweimer@redhat.com>
2199
2200 * resolv/res-close.c: New file.
2201 * resolv/res_init.c (__res_iclose, res_nclose)
2202 (res_thread_freeres): Remove definitions.
2203 * resolv/Makefile (routines): Add res-close.
2204
2205 2017-06-19 Florian Weimer <fweimer@redhat.com>
2206
2207 * resolv/res_randomid.c: New file.
2208 * resolv/res_init.c (res_randomid): Remove definition.
2209 * resolv/Makefile (routines): Add res_randomid.
2210
2211 2017-06-19 Florian Weimer <fweimer@redhat.com>
2212
2213 * include/resolv.h (__res_vinit): Declare as hidden.
2214 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2215 * resolv/res_libc.c (res_init): Likewise.
2216
2217 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2218
2219 [BZ #21457]
2220 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2221 _libc_xmmreg): Use __ctx in defining field.
2222
2223 [BZ #21597]
2224 * signal/signal.h (siginterrupt): Make declaration conditional on
2225 [__USE_XOPEN_EXTENDED || __USE_MISC].
2226
2227 [BZ #21584]
2228 * signal/signal.h: Make includes of <bits/sigstack.h> and
2229 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2230 __USE_MISC].
2231 (sigaltstack): Make declaration conditional on
2232 [__USE_XOPEN_EXTENDED || __USE_MISC].
2233
2234 [BZ #21575]
2235 * resource/bits/types/struct_rusage.h: New file.
2236 * include/bits/types/struct_rusage.h: Likewise.
2237 * bits/resource.h (struct rusage): Include
2238 <bits/types/struct_rusage.h> instead of defining here.
2239 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2240 Likewise.
2241 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2244 Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2246 Likewise.
2247 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2248 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2249 Include <bits/types/struct_rusage.h>
2250
2251 2017-06-19 Florian Weimer <fweimer@redhat.com>
2252
2253 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2254
2255 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2256
2257 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2258
2259 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2260
2261 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2262
2263 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2264
2265 [BZ #21537]
2266 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2267 Check SHARED instead of PIC.
2268 (SYSCALL_PIC_SETUP): Add missing semicolons.
2269 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2270 Check SHARED instead of PIC.
2271 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2272 (__makecontext_ret): Adjust code to jump to exit.
2273
2274 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2275
2276 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2277 Simplify code by always using SVC 0 instead of EX.
2278 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2279
2280 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * elf/Versions (ld): Remove _dl_out_of_memory.
2283
2284 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2285
2286 * timezone/private.h: Update from tzcode 2017b.
2287 * timezone/tzfile.h: Likewise.
2288 * timezone/tzselect.ksh: Likewise.
2289 * timezone/zdump.c: Likewise.
2290 * timezone/zic.c: Likewise.
2291 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2292 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2293 * time/tzset.c (SECSPERDAY): New macro.
2294
2295 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2296
2297 * manual/string.texi (strdup): Complete header and standards
2298 annotation.
2299 (strncpy): Likewise.
2300
2301 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2302
2303 * manual/arith.texi (FP_NAN): Add or complete header and standard
2304 annotations.
2305 (FP_INFINITE): Likewise.
2306 (FP_ZERO): Likewise.
2307 (FP_SUBNORMAL): Likewise.
2308 (FP_NORMAL): Likewise.
2309 (SNAN): Likewise.
2310 (SNANL): Likewise.
2311 (totalorderf): Likewise.
2312 (totalorderl): Likewise.
2313 (totalordermagf): Likewise.
2314 (totalordermagl): Likewise.
2315 (_Complex_I): Likewise.
2316 (I): Likewise.
2317
2318 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2319
2320 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2321 standard annotation.
2322 (ARGP_HELP_SHORT_USAGE): Likewise.
2323 (ARGP_HELP_SEE): Likewise.
2324 (ARGP_HELP_LONG): Likewise.
2325 (ARGP_HELP_PRE_DOC): Likewise.
2326 (ARGP_HELP_POST_DOC): Likewise.
2327 (ARGP_HELP_DOC): Likewise.
2328 (ARGP_HELP_BUG_ADDR): Likewise.
2329 (ARGP_HELP_LONG_ONLY): Likewise.
2330 (ARGP_HELP_EXIT_ERR): Likewise.
2331 (ARGP_HELP_EXIT_OK): Likewise.
2332 (ARGP_HELP_STD_ERR): Likewise.
2333 (ARGP_HELP_STD_USAGE): Likewise.
2334 (ARGP_HELP_STD_HELP): Likewise.
2335
2336 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2337
2338 * manual/Makefile: Generate summary.texi with summary.pl. Force
2339 use of the C locale. Update Perl dependency comment.
2340 * manual/header.texi: Update reference to summary.awk.
2341 * manual/macros.texi: Refer authors to `summary.pl --help'.
2342 * manual/summary.awk: Remove file.
2343 * manual/summary.pl: New file. Generate summary.texi, and check
2344 for @standards-related syntax errors.
2345 * manual/argp.texi: Convert header and standards @comments to
2346 @standards.
2347 * manual/arith.texi: Likewise.
2348 * manual/charset.texi: Likewise.
2349 * manual/conf.texi: Likewise.
2350 * manual/creature.texi: Likewise.
2351 * manual/crypt.texi: Likewise.
2352 * manual/ctype.texi: Likewise.
2353 * manual/debug.texi: Likewise.
2354 * manual/errno.texi: Likewise.
2355 * manual/filesys.texi: Likewise.
2356 * manual/getopt.texi: Likewise.
2357 * manual/job.texi: Likewise.
2358 * manual/lang.texi: Likewise.
2359 * manual/llio.texi: Likewise.
2360 * manual/locale.texi: Likewise.
2361 * manual/math.texi: Likewise.
2362 * manual/memory.texi: Likewise.
2363 * manual/message.texi: Likewise.
2364 * manual/pattern.texi: Likewise.
2365 * manual/pipe.texi: Likewise.
2366 * manual/process.texi: Likewise.
2367 * manual/resource.texi: Likewise.
2368 * manual/search.texi: Likewise.
2369 * manual/setjmp.texi: Likewise.
2370 * manual/signal.texi: Likewise.
2371 * manual/socket.texi: Likewise.
2372 * manual/startup.texi: Likewise.
2373 * manual/stdio.texi: Likewise.
2374 * manual/string.texi: Likewise.
2375 * manual/sysinfo.texi: Likewise.
2376 * manual/syslog.texi: Likewise.
2377 * manual/terminal.texi: Likewise.
2378 * manual/threads.texi: Likewise.
2379 * manual/time.texi: Likewise.
2380 * manual/users.texi: Likewise.
2381
2382 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2383
2384 * manual/macros.texi (@standards): New macro. Provide placeholder
2385 for header and standards annotations.
2386 (@standardsx): New macro. Likewise, for lists of @*x elements.
2387
2388 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2389
2390 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2392 rule.
2393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2394 sync_file_range.
2395
2396 * support/support_test_main.c (support_test_main): Use optstring
2397 member for option string in getopt_long.
2398 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2399 (CMDLINE_OPTSTRING): New define.
2400 * support/test-driver.h (test_config): Add optstring member.
2401
2402 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2403
2404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2405 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2406 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2407 Check USE_AS_STRPBRK instead of STRPBRK_P.
2408 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2409 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2410 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2411 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2412 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2413 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2414 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2415 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2416 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2417 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2418 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2419 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2420 and "#endif".
2421
2422 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2425 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2426
2427 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2430 strcat-sse2.
2431 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2432 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2433 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2434 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2435 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2436
2437 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2438 Erich Elsen <eriche@google.com>
2439
2440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2441 memcmp-sse2.
2442 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2443 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2444 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2445 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2446 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2447 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2448
2449 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2450 Erich Elsen <eriche@google.com>
2451
2452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2453 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2455 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2456 Update comments.
2457 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2458 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2459 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2460 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2461 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2462 * sysdeps/x86_64/multiarch/memset.S: Removed.
2463 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2464 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2465 (__memset_chk_erms): New function.
2466
2467 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2468
2469 * configure.ac(--enable-tunables): Enable by default.
2470 * configure: Regenerate.
2471 * NEWS: Mention change.
2472 * manual/install.texi (enable-tunables): Adjust documentation.
2473 * INSTALL: Regenerate.
2474
2475 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2476
2477 [BZ #18988]
2478 * benchtests/thread_create-inputs: New file.
2479 * benchtests/thread_create-source.c: Likewise.
2480 * support/xpthread_attr_setguardsize.c: Likewise.
2481 * support/Makefile (libsupport-routines): Add
2482 xpthread_attr_setguardsize object.
2483 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2484 * benchtests/Makefile (bench-pthread): Add thread_create.
2485 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2486 then mprotect the required area.
2487 (guard_position): New function.
2488 (setup_stack_prot): Likewise.
2489
2490 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2491 Erich Elsen <eriche@google.com>
2492 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2493
2494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2495 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2496 mempcpy_chk-nonshared and memmove_chk-nonshared.
2497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2498 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2499 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2500 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2501 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2502 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2503 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2504 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2505 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2506 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2508 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2509 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2510 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2511 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2512 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2513 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2514 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2515 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2516 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2517 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2518 (__mempcpy_chk_erms): New function.
2519 (__memmove_chk_erms): Likewise.
2520 (__memcpy_chk_erms): New alias.
2521
2522 2017-06-14 Florian Weimer <fweimer@redhat.com>
2523
2524 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2525 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2526
2527 2017-06-14 Zack Weinberg <zackw@panix.com>
2528
2529 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2530 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2531 defined, don't declare anything other than the E-constants.
2532
2533 * include/errno.h: Change conditional for exposing internal
2534 declarations to (not _ISOMAC and not __ASSEMBLER__).
2535 * bits/errno.h: Remove logic for __need_Emath. Document
2536 requirements for a port-specific bits/errno.h.
2537
2538 * sysdeps/unix/sysv/linux/bits/errno.h
2539 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2540 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2541 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2542 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2543 Add multiple-include guard and check against improper inclusion.
2544 Remove __need_Emath logic. Don't declare errno here. Ensure all
2545 constants are defined as simple integer literals. Consistent
2546 formatting.
2547 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2548 enum __error_t_codes if __ASSEMBLER__ is not defined.
2549 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2550
2551 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2552 including errno.h.
2553 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2554 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2555 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2556 * sysdeps/x86_64/fpu/s_cosf.S
2557 * sysdeps/x86_64/fpu/s_sincosf.S
2558 * sysdeps/x86_64/fpu/s_sinf.S:
2559 Just include errno.h; don't define __need_Emath or include
2560 bits/errno.h directly.
2561
2562 2017-06-14 Zack Weinberg <zackw@panix.com>
2563
2564 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2565 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2566 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2567
2568 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2569 for IOV_MAX.
2570 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2571 Don't install bits/uio.h.
2572 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2573 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2574 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2575
2576 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2577 and __need_IOV_MAX. Don't define IOV_MAX at all.
2578 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2579
2580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2581 Include bits/types/struct_iovec.h, not bits/uio.h.
2582 Use __ssize_t, not ssize_t, in function prototypes.
2583 Don't use hard TAB for double space after period in comments.
2584
2585 2017-06-14 Alan Modra <amodra@gmail.com>
2586
2587 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2588 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2589 refsym and sym parameters. Adjust callers.
2590 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2591 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2592 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2593 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2594 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2595 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2596 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2597 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2598 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2599 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2600 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2601 Likewise.
2602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2604 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2605 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2607 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2608 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2609 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2610 (_dl_reloc_overflow): Increase buffser size. Formatting.
2611 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2612 Delete reloc param, add refsym and sym. Check optimized plt
2613 call stubs for localentry:0 functions. Adjust callers.
2614 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2615 and sym parameters. Adjust callers.
2616 (_dl_reloc_overflow): Move attribute.
2617 (_dl_error_localentry): Declare.
2618 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2619 refsym and sym to elf_machine_fixup_plt.
2620 * elf/testobj6.c (preload): Call printf.
2621
2622 2017-06-14 Alan Modra <amodra@gmail.com>
2623
2624 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2625 (NOPS, ENTRY_3): New macros.
2626 (ENTRY): Rewrite.
2627 (ENTRY_TOCLESS): Define.
2628 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2629 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2631 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2648 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2654 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2657 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2660 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2665 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2666 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2667 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2668 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2682 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2683 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2685 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2686 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2688 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2690 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2692 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2694 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2695 Likewise.
2696 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2697 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2698 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2699 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2710 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2711 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2725 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2727 add nop when SHARED.
2728 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2729 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2730 define.
2731 (ENTRY_TOCLESS): Define.
2732 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2733 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2734 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2735
2736 2017-06-14 Alan Modra <amodra@gmail.com>
2737
2738 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2739 MEMSET_is_local.
2740 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2743 Define MEMSET.
2744 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2745 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2746 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2747 nop after local calls.
2748 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2749 Don't add nop after local call.
2750 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2751 CALL_MCOUNT.
2752
2753 2017-06-14 Alan Modra <amodra@gmail.com>
2754
2755 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2756 (FUNC_LABEL): Rename from DOT_LABEL.
2757 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2758 Use .p2align rather than .align.
2759 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2760 (ABORT_TRANSACTION): Likewise.
2761 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2762 particularly at end. Add semicolon at invocation as necessary.
2763 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2764 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2765 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2766 END): Adjust to suit.
2767
2768 2017-06-14 Alan Modra <amodra@gmail.com>
2769
2770 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2771 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2772 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2773 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2774 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2776 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2777
2778 2017-06-14 Alan Modra <amodra@gmail.com>
2779
2780 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2781 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2782
2783 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2784
2785 [BZ #21548]
2786 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2787 8 and use it when copying general purpose registers.
2788 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2789 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2790 mips o32.
2791 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2792 new test for mips o32.
2793 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2794 8 and use it when copying general purpose registers.
2795 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2796
2797 2017-06-13 Florian Weimer <fweimer@redhat.com>
2798
2799 * configure.ac (find_cxx_header): Suppress compiler error message.
2800
2801 2017-06-13 Florian Weimer <fweimer@redhat.com>
2802
2803 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2804 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2805 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2806 begin/end.
2807 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2808 dynarray_int_end.
2809 (test_str): Test dynarray_str_begin, dynarray_str_end.
2810
2811 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 [BZ #21573]
2814 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2815 $(common-objpfx)bits/std_abs.h.
2816 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2817 New target.
2818 * config.make.in (c++-bits-std_abs-h): New.
2819 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2820 (CXX_BITS_STD_ABS_H): New.
2821 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2822 * configure: Regenerated.
2823
2824 2017-06-13 Zack Weinberg <zackw@panix.com>
2825
2826 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2827 directives.
2828
2829 2017-06-12 Zack Weinberg <zackw@panix.com>
2830
2831 * bits/sched.h: Remove __need_schedparam logic and replace with a
2832 normal multiple-include guard. Change field name in struct
2833 sched_param from __sched_priority to sched_priority. Delete
2834 everything under #ifndef __cpu_set_t_defined.
2835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2836 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2837
2838 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2839 For compatibility, #define sched_priority to itself, and #define
2840 __sched_priority as sched_priority.
2841 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2842 that was under #ifndef __cpu_set_t_defined in
2843 sysdeps/unix/sysv/linux/bits/sched.h.
2844 * include/bits/cpu-set.h: New wrapper.
2845 * posix/Makefile: Install bits/cpu-set.h.
2846
2847 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2848 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2849 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2850
2851 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2852 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2853 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2854 * math/libm-test-isfinite.inc (finite_test): Likewise.
2855 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2856 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2857 (nexttoward_test_data}: Likewise.
2858 * math/libm-test-remainder.inc (drem_test): Likewise.
2859 * math/libm-test-scalb.inc (scalb_test): Likewise.
2860 (scalb_test_data): Likewise.
2861 * math/libm-test-significand.inc (significand_test): Likewise.
2862 (significand_test_data): Likewise.
2863 * math/libm-test-support.c (check_complex): Replace __complex__
2864 FLOAT with CFLOAT to get the support for old compiler.
2865 * math/libm-test-support.h (check_complex): Likewise.
2866 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2867 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2868 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2869 * math/test-float128.h: New file.
2870 * math/test-math-floatn.h: New file.
2871
2872 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2873
2874 * include/float.h: Allow the definition of macros prefixed with
2875 FLT128 even if _ISOMAC is defined, but provided that
2876 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2877
2878 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2879
2880 * manual/math.texi (Mathematics): Add description for _FloatN and
2881 _FloatNx types and mentions that they are not support in glibc for
2882 any architecture, so far.
2883 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2884 stdlib.h with wchar.h.
2885 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2886 (Printing of Floats): Add description for strfromfN.
2887
2888 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2889 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2890 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2891
2892 * include/gmp.h (__mpn_construct_float128): New declaration.
2893 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2894 (__strtof128_l): New declaration.
2895 (__strtof128_nan): Likewise.
2896 (__wcstof128_nan): Likewise.
2897 (__strtof128_internal): Likewise.
2898 (____strtof128_l_internal): Likewise.
2899 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2900 (__wcstof128_l): New declaration.
2901 (__wcstof128_internal): Likewise.
2902
2903 * stdlib/Makefile (bug-strtod2): Link libm too.
2904
2905 * stdlib/stdlib.h (strtof128): New declaration.
2906 (strtof128_l): Likewise.
2907
2908 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2909 tst-strtod.h macros to ensure float128 gets tested too.
2910
2911 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2912
2913 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2914 tests.
2915 (IF_FLOAT128): New macro.
2916 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2917 the tests.
2918 (STRTOD_TEST_FOREACH): Likewise.
2919
2920 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2921 wcstof128 functions into libc.
2922
2923 * sysdeps/ieee754/float128/Versions: Add exports for the above
2924 new functions.
2925
2926 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2927 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2928 * sysdeps/ieee754/float128/strtof128.c: New file.
2929 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2930 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2931 * sysdeps/ieee754/float128/wcstof128.c: New file.
2932 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2933 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2934 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2935 (CFLAGS-wcstof128_l): Likewise.
2936
2937 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2938 (wcstof128): New declaration.
2939 (wcstof128_l): Likewise.
2940
2941 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2942
2943 [BZ #21552]
2944 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2945 not [__USE_XOPEN].
2946 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2947
2948 [BZ #21550]
2949 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2950
2951 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2952
2953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2954 strcpy-sse2 and stpcpy-sse2.
2955 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2956 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2957 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2958 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2959 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2960 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2961 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2962 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2963 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2964 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2965 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2966 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2967 (libc_hidden_def): Always defined as empty.
2968 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2969 Always Defined as empty.
2970
2971 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2972
2973 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2974
2975 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2976
2977 [BZ #15105]
2978 [BZ #19463]
2979 * include/string.h: Add internal redirect for __stpcpy.
2980 * string/Makefile: Remove bits/string2.h.
2981 * string/string.h: Update comment.
2982 * string/string-inlines.c: Remove bits/string2.h include and comment.
2983 * string/bits/string2.h: Remove file.
2984
2985 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2986
2987 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2988 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2989 * sunrpc/des_impl.c (_des_crypt): Likewise.
2990 * sunrpc/key_call.c (key_gendes): Likewise.
2991 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2992 * sunrpc/svc_simple.c (universal): Likewise.
2993 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2994 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2995 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2996
2997 2017-06-10 Zack Weinberg <zackw@panix.com>
2998
2999 * stdlib/errno.h: Correct an outdated comment.
3000
3001 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
3002
3003 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3004 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3005 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3006 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3007 New file. Invoke newly supported sysconf values for powerpc,
3008 and report results. If none are supported, report so.
3009 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3010 tst-sysconf.
3011
3012 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3013
3014 * include/sys/auxv.h (__getauxval): Add a prototype and its
3015 libc_hidden_proto.
3016 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3017
3018 2017-06-09 Joseph Myers <joseph@codesourcery.com>
3019
3020 [BZ #21561]
3021 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3022 [__USE_XOPEN_EXTENDED].
3023 (id_t): Likewise.
3024 (include of <bits/types/siginfo_t.h): Likewise.
3025 (waitid): Likewise.
3026 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3027 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3028 (WEXITED): Likewise.
3029 (WCONTINUED): Likewise.
3030 (WNOWAIT): Likewise.
3031 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3032 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3033 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3034
3035 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3036 libc.so PLT entry optional.
3037 (__gtsf2): Likewise.
3038 (__unorddf2): Likewise.
3039 (__unordsf2): Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3041 New optional libc.so PLT entry.
3042
3043 [BZ #21554]
3044 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3045 not [__USE_XOPEN].
3046
3047 [BZ #21560]
3048 * posix/sys/wait.h: Condition include of <signal.h> on
3049 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3050 unconditionally.
3051 [!__pid_t_defined] (pid_t): Define typedef.
3052
3053 2017-06-09 Zack Weinberg <zackw@panix.com>
3054
3055 * include/errno.h (__errno_location): Use __attribute_const__
3056 instead of bare __attribute__.
3057
3058 2017-06-09 Zack Weinberg <zackw@panix.com>
3059
3060 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3061 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3062 more appropriate location. Also add dl-tunable-list.h and
3063 dl-tunable-list.stmp.
3064
3065 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3066
3067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3068
3069 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3072 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3074 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3075 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3076 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3077 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3078 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3079 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3080 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3081 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3082
3083 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3086 memrchr-sse2 and memrchr-avx2.
3087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3088 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3089 __memrchr_sse2.
3090 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3091 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3092 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3093
3094 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3097 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3098 wcschr-sse2 and wcschr-avx2.
3099 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3100 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3101 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3102 __wcschr_sse2.
3103 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3104 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3105 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3106 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3107 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3108 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3109 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3110 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3111 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3112 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3113
3114 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3117 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3118 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3120 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3121 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3122 __wcslen_sse2 and __wcsnlen_avx2.
3123 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3124 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3125 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3126 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3127 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3128 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3129 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3130 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3131 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3132 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3133 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3134 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3135 vzeroupper is preferred and AVX unaligned load is fast.
3136
3137 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3140 USE_AS_WMEMCHR is defined.
3141 (PCMPEQ): Likewise.
3142 (memchr): Renamed to ...
3143 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3144 Replace pcmpeqb with PCMPEQ.
3145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3146 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3147 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3148 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3149 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3150 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3151 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3152 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3153 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3154 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3155 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3156 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3157 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3159 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3160 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3161 __wmemchr_sse2.
3162
3163 2017-06-09 Florian Weimer <fweimer@redhat.com>
3164
3165 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3166 tst-dynarray-fail.
3167
3168 2017-06-09 Florian Weimer <fweimer@redhat.com>
3169
3170 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3171 * support/support_test_verify_impl.c
3172 (support_test_verify_exit_impl): Split from
3173 support_test_verify_impl.
3174 * support/check.h (TEST_VERIFY): Drop status argument from
3175 support_test_verify_impl call.
3176 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3177 (support_test_verify_impl): Remove status argument.
3178 (support_test_verify_exit_impl): Declare.
3179
3180 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3181
3182 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3183 mention of magic numbers in comments.
3184 (_dl_procinfo): Fix undefined behavior
3185
3186 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3187
3188 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3189 [XPG4].
3190 (WEXITED): Likewise.
3191 (WSTOPPED): Likewise.
3192 (WCONTINUED): Likewise.
3193 (WNOHANG): Likewise.
3194 (WNOWAIT): Likewise.
3195 (idtype_t): Likewise.
3196 (P_ALL): Likewise.
3197 (P_PID): Likewise.
3198 (P_PGID): Likewise.
3199 (id_t): Likewise.
3200 (siginfo_t): Likewise.
3201 (wait3): Likewise.
3202 (waitid): Likewise.
3203 (signal.h): Do not allow header for [XPG4].
3204 (sys/resource.h): Likewise.
3205 (si_*): Do not allow for [XPG4].
3206 (W*): Likewise.
3207 (P_*): Likewise.
3208 (BUS_): Likewise.
3209 (CLD_): Likewise.
3210 (FPE_): Likewise.
3211 (ILL_): Likewise.
3212 (POLL_): Likewise.
3213 (SEGV_): Likewise.
3214 (SI_): Likewise.
3215 (TRAP_): Likewise.
3216 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3217 variable.
3218
3219 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3220
3221 [BZ #21528]
3222 * elf/dl-minimal.c (__strtoul_internal): Removed.
3223 (strtoul): Likewise.
3224 * elf/dl-misc.c (_dl_strtoul): New function.
3225 * elf/dl-tunables.c (tunables_strtoul): Removed.
3226 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3227 * elf/rtld.c (process_envvars): Likewise.
3228 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3229 Likewise.
3230 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3231
3232 2017-06-08 Zack Weinberg <zackw@panix.com>
3233
3234 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3235 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3236 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3237 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3238 between wctype.h and wchar.h.
3239
3240 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3241 Install them.
3242
3243 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3244 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3245 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3246 New wrappers.
3247 * include/stdio.h, include/wchar.h, include/wctype.h:
3248 No need to handle __need macros.
3249
3250 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3251 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3252 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3253 * wcsmbs/wchar.h, wctype/wctype.h
3254 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3255 Use the new files instead of __need macros.
3256
3257 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3258
3259 * string/test-memrchr.c (test_main): Add tests for len == 0
3260 and tests for positions close to the beginning, which are
3261 equivalent to positions close to the end for memchr.
3262
3263 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3266 comments.
3267 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3268 instead of wmemset.h.
3269 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3270 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3271 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3272
3273 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3274
3275 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3276 spec->info.is_binary128 to zero.
3277 * stdio-common/printf.h (printf_info): Add new member is_binary128
3278 to indicate that the number being converted to string is compatible
3279 with the IEC 60559 binary128 format.
3280 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3281 _Float128 numbers.
3282 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3283 ldbl-128/printf_fphex_macros.h
3284 (__printf_fphex): Add code to deal with _Float128 numbers.
3285 * stdio-common/printf_size.c (__printf_size): Likewise.
3286 * stdio-common/vfprintf.c (process_arg): Initialize member
3287 info.is_binary128 to zero.
3288 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3289 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3290 (strfromf128): New declaration.
3291 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3292 to one.
3293 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3294 * sysdeps/ieee754/float128/Versions: Likewise.
3295 * sysdeps/ieee754/float128/strfromf128.c: New file.
3296
3297 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3298
3299 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3300 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3301 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3302 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3303 (PRINT_FPHEX): New function-like macro that can be used for long
3304 double, as well as for _Float128
3305
3306 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3307
3308 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3309 (__printf_fp_l): Use the new macro to avoid duplicating code.
3310 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3311 (__printf_fphex): Use the new macro to avoid duplicating code.
3312 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3313 (__printf_size): Use the new macro to avoid duplicating code.
3314
3315 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3316
3317 * include/gmp.h: Include bits/floatn.h
3318 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3319 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3320 including stack-alloc.h. It could have been defined by other header
3321 which not necessarily defines HAVE_ALLOCA.
3322 * sysdeps/ieee754/float128/Makefile: New file.
3323 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3324 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3325 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3326 redefine __mpn_extract_long_double to __mpn_extract_float128.
3327 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3328 _Float128 to allow float128_private.h overrides.
3329
3330 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3331
3332 * stdlib/fpioconst.h: Include bits/floatn.h.
3333 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3334 power of ten table should be.
3335 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3336 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3337 to include larger tables when _Float128 support is enabled.
3338 (_fpioconst_pow10): Likewise.
3339
3340 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3341
3342 * include/bits/types/clock_t.h: Use #include <path> instead of
3343 #include "../../path".
3344 * include/bits/types/clockid_t.h: Likewise.
3345 * include/bits/types/struct_iovec.h: Likewise.
3346 * include/bits/types/struct_itimerspec.h: Likewise.
3347 * include/bits/types/struct_osockaddr.h: Likewise.
3348 * include/bits/types/struct_sigstack.h: Likewise.
3349 * include/bits/types/struct_timespec.h: Likewise.
3350 * include/bits/types/struct_timeval.h: Likewise.
3351 * include/bits/types/struct_tm.h: Likewise.
3352 * include/bits/types/time_t.h: Likewise.
3353 * include/bits/types/timer_t.h: Likewise.
3354
3355 [BZ #14096]
3356 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3357 America/New_York.
3358
3359 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3362 into ...
3363 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3364 ifunc-sse4_1.h.
3365
3366 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3367
3368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3369 Remove check for NULL 'buf'.
3370 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3371
3372 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3373
3374 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3375 include test-skeleton.c.
3376 Include support/check.h and support/test-driver.c.
3377
3378 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3379
3380 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3381 (_dl_aarch64_cap_flags): New array.
3382 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3383 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3384 functions.
3385
3386 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3387 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3388 Likewise.
3389 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3390 up hwcap and hwcap_mask.
3391
3392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3393 (init_cpu_features): Use glibc.tune.hwcap_mask.
3394 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3395
3396 * elf/dl-hwcaps.h: New file.
3397 * elf/dl-hwcaps.c: Include it.
3398 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3399 glibc.tune.hwcap_mask.
3400 * elf/dl-cache.c: Include dl-hwcaps.h.
3401 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3402 glibc.tune.hwcap_mask.
3403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3404 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3405 _dl_hwcap_mask.
3406 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3407 _dl_hwcap_mask.
3408 (process_envvars)[HAVE_TUNABLES]: Likewise.
3409 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3410 Likewise.
3411 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3412 initialize dl_hwcap_mask when tunables are enabled.
3413
3414 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3415 guard.
3416 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3417
3418 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3419 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3420 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3421
3422 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3423 * elf/dl-tunables.c: Likewise.
3424 (do_tunable_update_val): New function.
3425 (__tunable_set_val): New function.
3426 (__tunable_get_val): Call CB only if the tunable was externally
3427 initialized.
3428 (tunables_strtoul): Replace strval with initialized.
3429 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3430 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3431 prevent collision.
3432 (__tunable_set_val): New function.
3433 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3434 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3435 (TUNABLE_SET_VAL): Remove.
3436 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3437 * README.tunables: Document the new macros.
3438 * malloc/arena.c (ptmalloc_init): Adjust.
3439
3440 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3443 wcsnlen-sse4_1 and wcsnlen-c.
3444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3445 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3446 __wcsnlen_sse2.
3447 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3448 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3449 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3450 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3451 * sysdeps/x86_64/wcsnlen.S: Removed.
3452
3453 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3454
3455 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3456 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3457 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3458 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3459
3460 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3461
3462 * NEWS: Mention new spinlock implementation.
3463 * include/atomic.h:
3464 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3465 (atomic_exchange_acq): Likewise.
3466 (atomic_load_relaxed): Likewise.
3467 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3468 * nptl/pthread_spin_init.c (pthread_spin_init):
3469 Use atomic_store_relaxed.
3470 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3471 Use C11-like atomic macros.
3472 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3473 Likewise.
3474 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3475 Use atomic_store_release.
3476 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3477 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3478 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3479 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3480 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3481 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3482 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3483 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3484 * sysdeps/alpha/atomic-machine.h: Likewise.
3485 * sysdeps/arm/atomic-machine.h: Likewise.
3486 * sysdeps/i386/atomic-machine.h: Likewise.
3487 * sysdeps/ia64/atomic-machine.h: Likewise.
3488 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3489 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3490 * sysdeps/microblaze/atomic-machine.h: Likewise.
3491 * sysdeps/mips/atomic-machine.h: Likewise.
3492 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3493 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3494 * sysdeps/s390/atomic-machine.h: Likewise.
3495 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3496 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3497 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3498 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3499 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3500 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3501 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3502 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3503 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3504 * sysdeps/x86_64/atomic-machine.h: Likewise.
3505
3506 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3509 and use it instead of dl_x86_cpu_features.
3510 (handle_intel): Replace maxidx with cpu_features. Pass
3511 cpu_features to intel_check_word.
3512 (__cache_sysconf): Pass cpu_features to handle_intel.
3513 (init_cacheinfo): Likewise. Use cpu_features instead of
3514 dl_x86_cpu_features.
3515
3516 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3520 memcmp-avx2 and wmemcmp-avx2.
3521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3522 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3523 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3524 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3525 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3526 2 machines if AVX unaligned load is fast and vzeroupper is
3527 preferred.
3528 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3529 2 machines if AVX unaligned load is fast and vzeroupper is
3530 preferred.
3531
3532 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * include/wchar.h (__wmemset_chk): New.
3535 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3536 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3537 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3538 (WMEMSET_CHK_SYMBOL): Likewise.
3539 (WMEMSET_SYMBOL): Likewise.
3540 (__wmemset): Add hidden definition.
3541 (wmemset): Add weak hidden definition.
3542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3543 wmemset_chk-nonshared.
3544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3545 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3546 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3547 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3548 and __wmemset_chk_avx512_unaligned.
3549 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3550 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3551 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3552 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3553 (WMEMSET_SYMBOL): Likewise.
3554 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3555 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3556 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3557 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3558 (WMEMSET_SYMBOL): Likewise.
3559 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3560 (WMEMSET_CHK_SYMBOL): New.
3561 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3562 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3563 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3564 (libc_hidden_builtin_def): Also define __GI_wmemset and
3565 __GI___wmemset.
3566 (weak_alias): New.
3567 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3568 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3569 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3570 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3571 * sysdeps/x86_64/wmemset.c: Likewise.
3572 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3573
3574 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3575 H.J. Lu <hongjiu.lu@intel.com>
3576
3577 * sysdeps/x86/init-arch.h (PASTER1): New.
3578 (EVALUATOR1): Likewise.
3579 (PASTER2): Likewise.
3580 (EVALUATOR2): Likewise.
3581 (REDIRECT_NAME): Likewise.
3582 (OPTIMIZE): Likewise.
3583 (IFUNC_SELECTOR): Likewise.
3584
3585 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/x86_64/strlen.S (PMINU): New.
3588 (PCMPEQ): Likewise.
3589 (SHIFT_RETURN): Likewise.
3590 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3591 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3592 pminub with PCMPEQ and PMINU.
3593 * sysdeps/x86_64/wcsnlen.S: New file.
3594
3595 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3596
3597 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3598 the lower 32 bits. Remove redundant instructions.
3599
3600 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3603 0 as the high part of offset.
3604 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3605
3606 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #21538]
3609 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3610 [__USE_UNIX98].
3611 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3612 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3613 Likewise.
3614 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3615 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3616 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3617 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3618 Likewise.
3619
3620 [BZ #21517]
3621 * bits/types/stack_t.h (stack_t): Remove struct tag.
3622 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3625 Likewise.
3626 * debug/segfault.c (install_handler): Use stack_t instead of
3627 struct sigaltstack.
3628 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3629 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3630 * include/signal.h (__sigaltstack): Likwise.
3631 * signal/sigaltstack.c (__sigaltstack): Likewise.
3632 * signal/signal.h (sigaltstack): Likewise.
3633 * sysdeps/mach/hurd/i386/signal-defines.sym
3634 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3635 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3636 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3637 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3638 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3639 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3640 elf_prstatus): Likewise.
3641 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3644 Likewise.
3645 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3646 Likewise.
3647 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3648 elf_prstatus): Likewise.
3649 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3650 Likewise.
3651 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3652 Likewise.
3653
3654 2017-06-04 Zack Weinberg <zackw@panix.com>
3655
3656 * sysdeps/gnu/errlist.c: Regenerate.
3657
3658 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * benchtests/bench-memchr.c (do_test): Print out both length
3661 and position.
3662 (test_main): Also test the position close to the beginning for
3663 memrchr.
3664
3665 2017-06-04 Zack Weinberg <zackw@panix.com>
3666
3667 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3668 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3669 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3670 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3671 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3672 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3673 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3674 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3675 * nis/nis_print_group_entry.c, nis/nis_remove.c
3676 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3677 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3678 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3679 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3680 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3681 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3682 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3683 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3684 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3685 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3686 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3687 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3688 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3689 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3690 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3691 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3692 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3693 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3694 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3695 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3696
3697 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3698 abi-versions.h as well as shlib-compat.h.
3699 * sunrpc/get_myaddr.c: Remove obsolete comment.
3700 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3701 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3702 * resolv/res_libc.c: Include shlib-compat.h only once.
3703
3704 2017-06-03 Florian Weimer <fweimer@redhat.com>
3705
3706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3707 of strdup.
3708
3709 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3712 Set to the 3/4 of the total shared cache size.
3713
3714 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3715
3716 * manual/errno.texi: Remove redundant error strings.
3717 * manual/macros.texi (@errno): Render the error string in every
3718 description.
3719
3720 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #21543]
3723 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3724 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3725 [__USE_XOPEN_EXTENDED].
3726
3727 2017-06-02 Florian Weimer <fweimer@redhat.com>
3728
3729 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3730 strdupa.
3731 (getcanonname): Use __strdup instead of strdup.
3732
3733 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3734
3735 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3736 (CFLAGS-preadv64v2.c): Likewise.
3737 (CFLAGS-pwritev2.c): Likewise.
3738 (CFLAGS-pwritev64v2.c): Likewise.
3739
3740 2017-06-02 Florian Weimer <fweimer@redhat.com>
3741
3742 Test res_init with several configuration files.
3743 * resolv/Makefile [build-shared] (tests-internal): Add
3744 tst-resolv-res_init, tst-resolv-res_init-thread.
3745 (tst-resolv-res_init): Link against libdl, libresolv.
3746 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3747 libpthread.
3748 * resolv/tst-resolv-res_init.c: New file.
3749 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3750 * resolv/tst-resolv-res_init-thread.c: Likewise.
3751 * support/Makefile (libsupport-routines): Add support-xstat,
3752 support_can_chroot, support_capture_subprocess_check,
3753 support_isolate_in_subprocess, support_shared_allocate,
3754 support_write_file_string, xchroot, xmkdir, xopen.
3755 * support/capture_subprocess.h (enum support_capture_allow): Define.
3756 (support_capture_subprocess_check): Declare.
3757 * support/namespace.h (support_can_chroot)
3758 (support_isolate_in_subprocess): Declare.
3759 * support/support-xstat.c: New file.
3760 * support/support.h (support_shared_allocate, support_shared_free)
3761 (support_write_file_string): Declare.
3762 * support/support_can_chroot.c: New file.
3763 * support/support_capture_subprocess_check.c: Likewise.
3764 * support/support_isolate_in_subprocess.c: Likewise.
3765 * support/support_shared_allocate.c: Likewise.
3766 * support/support_write_file_string.c: Likewise.
3767 * support/xchroot.c: Likwise.
3768 * support/xmkdir.c: Likwise.
3769 * support/xopen.c: Likwise.
3770 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3771
3772 2017-06-02 Florian Weimer <fweimer@redhat.com>
3773
3774 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3775 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3776
3777 2017-06-02 Florian Weimer <fweimer@redhat.com>
3778
3779 * malloc/Makefile (routines): Add dynarray_at_failure,
3780 dynarray_emplace_enlarge, dynarray_finalize.
3781 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3782 tst-dynarray-at-fail.
3783 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3784 (tests-special): Add tst-dynarray-mem.out,
3785 tst-dynarray-mem-fail.out.
3786 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3787 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3788 mtrace.
3789 * malloc/Versions (__libc_dynarray_at_failure)
3790 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3791 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3792 GLIBC_PRIVATE.
3793 * malloc/dynarray.h: New file.
3794 * malloc/dynarray-skeleton.c: Likewise.
3795 * malloc/dynarray_at_failure.c: Likewise.
3796 * malloc/dynarray_emplace_enlarge.c: Likewise.
3797 * malloc/dynarray_finalize.c: Likewise.
3798 * malloc/dynarray_resize.c: Likewise.
3799 * malloc/dynarray_resize_clear.c: Likewise.
3800 * malloc/tst-dynarray.c: Likewise.
3801 * malloc/tst-dynarray-fail.c: Likewise.
3802 * malloc/tst-dynarray-at-fail.c: Likewise.
3803 * malloc/tst-dynarray-shared.h: Likewise.
3804 * support/Makefile (libsupport-routines): Add
3805 support_capture_subprocess, xdup2, xpipe.
3806 (tests): Add tst-support_capture_subprocess.
3807 * support/capture_subprocess.h: New file.
3808 * support/support_capture_subprocess.c: Likewise.
3809 * support/tst-support_capture_subprocess.c: Likewise.
3810 * support/xdup2.c: Likewise.
3811 * support/xpipe.c: Likewise.
3812 * support/xunistd.h (xdup2, xpipe): Declare.
3813
3814 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3815
3816 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3817 macros MAX and MIN.
3818
3819 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3820
3821 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3822 [XPG4].
3823 (SA_SIGINFO): Likewise.
3824 (SA_ONSTACK): Likewise.
3825 (SA_RESETHAND): Likewise.
3826 (SA_RESTART): Likewise.
3827 (SA_NOCLDWAIT): Likewise.
3828 (SA_NODEFER): Likewise.
3829 (SS_ONSTACK): Likewise.
3830 (SS_DISABLE): Likewise.
3831 (MINSIGSTKSZ): Likewise.
3832 (SIGSTKSZ): Likewise.
3833 (ucontext_t): Likewise.
3834 (stack_t): Likewise.
3835 (struct sigstack): Likewise.
3836 (SI_USER): Do not expect for [XPG4 || XPG42].
3837 (SI_QUEUE): Likewise.
3838 (SI_TIMER): Likewise.
3839 (SI_ASYNCIO): Likewise.
3840 (SI_MESGQ): Likewise.
3841 (bsd_signal): Do not expect for [XPG4].
3842 (killpg): Likewise.
3843 (sigaltstack): Likewise.
3844 (sighold): Likewise.
3845 (sigignore): Likewise.
3846 (siginterrupt): Likewise.
3847 (sigpause): Likewise.
3848 (sigrelse): Likewise.
3849 (sigset): Likewise.
3850 (sigwait): Do not expect for [XPG4 || XPG42].
3851
3852 2017-06-01 Zack Weinberg <zackw@panix.com>
3853
3854 [BZ #21514]
3855 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3856 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3857
3858 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3859
3860 [BZ #21457]
3861 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3862 NGREG to __NGREG if [__USE_MISC].
3863 (gregset_t): Define using __NGREG.
3864 (__ctx): New macro.
3865 (mcontext_t): Use __ctx in defining fields.
3866 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3867 define NGREG to __NGREG if [__USE_MISC].
3868 (gregset_t): Define using __NGREG.
3869 (__ctx): New macro.
3870 (__ctxt): Likewise.
3871 (fpregset_t): Use __ctx and __ctxt in defining fields.
3872 (mcontext_t): Likewise.
3873 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3874 define NGREG to __NGREG if [__USE_MISC].
3875 (gregset_t): Define using __NGREG.
3876 (__ctx): New macro.
3877 (mcontext_t): Use __ctx in defining fields.
3878 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3879 define NGREG to __NGREG if [__USE_MISC].
3880 (gregset_t): Define using __NGREG.
3881 (__ctx): New macro.
3882 (fpregset_t): Use __ctx in defining fields.
3883 (mcontext_t): Likewise.
3884 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3885 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3886 (gregset_t): Define using __NGREG.
3887 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3888 [__USE_MISC].
3889 (fpregset_t): Define using __NFPREG.
3890 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3891 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3892 (gregset_t): Define using __NGREG.
3893 (__ctx): New macro.
3894 (fpregset_t): Use __ctx in defining fields.
3895 (mcontext_t): Likewise.
3896 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3897 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3898 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3899 [__USE_MISC].
3900 (gregset_t): Define using __NGREG.
3901 (__ctx): New macro.
3902 (fpregset_t): Use __ctx in defining fields.
3903 (mcontext_t): Likewise.
3904 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3905 (mcontext_t): Use __ctx in defining fields.
3906 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3907 macro.
3908 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3909 __NGREG if [__USE_MISC].
3910 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3911 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3912 (mcontext_t): Likewise.
3913 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3914 __NGREG if [__USE_MISC].
3915 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3916 to __NFPREG if [__USE_MISC].
3917 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3918 to __NVRREG if [__USE_MISC].
3919 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3920 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3921 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3922 [__WORDSIZE != 32] (vrregset_t): Likewise.
3923 [__WORDSIZE != 32] (mcontext_t): Likewise.
3924 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3925 (__psw_t): Use __ctx in defining fields.
3926 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3927 [__USE_MISC].
3928 (gregset_t): Define using __NGREG.
3929 (fpreg_t): Use __ctx in defining fields.
3930 (fpregset_t): Likewise.
3931 (mcontext_t): Likewise.
3932 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3933 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3934 (gregset_t): Define using __NGREG.
3935 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3936 [__USE_MISC].
3937 (fpregset_t): Define using __NFPREG.
3938 (__ctx): New macro.
3939 (mcontext_t): Use __ctx in defining fields.
3940 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3941 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3942 __NGREG if [__USE_MISC].
3943 [__x86_64__] (gregset_t): Define using __NGREG.
3944 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3945 [__x86_64__] (struct _libc_fpstate): Likewise.
3946 [__x86_64__] (mcontext_t): Likewise.
3947 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3948 __NGREG if [__USE_MISC].
3949 [!__x86_64__] (gregset_t): Define using __NGREG.
3950 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3951 [!__x86_64__] (struct _libc_fpstate): Likewise.
3952 [!__x86_64__] (mcontext_t): Likewise.
3953
3954 2017-06-01 Zack Weinberg <zackw@panix.com>
3955
3956 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3957 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3958 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3959 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3960 libpthread.so no longer references __errno_location.
3961
3962 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3963
3964 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3965 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3966 pwritev64v2.
3967 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3968 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3969 pwritev64v2.
3970 * misc/preadv2.c: New file.
3971 * misc/preadv64v2.c: Likewise.
3972 * misc/pwritev2.c: Likewise.
3973 * misc/pwritev64v2.c: Likewise.
3974 * misc/tst-preadvwritev2.c: Likewise.
3975 * misc/tst-preadvwritev64v2.c: Likewise.
3976 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3977 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3978 prototype.
3979 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3980 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3981 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3982 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3983 (PWRITEV): Likewise.
3984 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3985 ENOSYS.
3986 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3987 (tf_preadv2): Likewise.
3988 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3989 * sysdeps/posix/preadv2.c: Likewise.
3990 * sysdeps/posix/preadv64v2.c: Likewise.
3991 * sysdeps/posix/pwritev2.c: Likewise.
3992 * sysdeps/posix/pwritev64v2.c: Likewise.
3993 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3994 support in kernel.
3995 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3996 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3997 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3998 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3999 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4000 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4001 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4002 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4003 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4004 support flags on Linux.
4005 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4006 preadv2, preadv64v2, pwritev2, pwritev64v2.
4007 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4008 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4009 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4010 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4011 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4012 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4013 Likewise.
4014 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4015 Likewise.
4016 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4017 Likewise.
4018 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4019 Likewise.
4020 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4021 Likewise.
4022 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4023 Likewise.
4024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4025 Likewise.
4026 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4028 (GLIBC_2.26): Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4030 (GLIBC_2.26): Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4032 Likewise.
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4034 (GLIBC_2.26): Likewise.
4035 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4036 Likewise.
4037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4038 Likewise.
4039 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4041 Likewise.
4042 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4043 Likewise.
4044 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4045 Likewise.
4046 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4047 Likewise.
4048 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4049 Likewise.
4050 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4051 Likewise.
4052 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4053 Likewise.
4054
4055 2017-05-31 Andreas Schwab <schwab@suse.de>
4056
4057 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4058 (main): Rename to do_test and make static.
4059
4060 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4061
4062 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4063 ARCH_INIT_CPU_FEATURES.
4064 (LIBC_START_MAIN): Call it.
4065 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4066 (__libc_start_main): Remove.
4067 (ARCH_INIT_CPU_FEATURES): New macro.
4068 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4069 (ARCH_INIT_CPU_FEATURES): New macro.
4070
4071 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4072 RĂŒdiger Sonderfeld <ruediger@c-plusplus.de>
4073
4074 * include/stdlib.h (__libc_reallocarray): New declaration.
4075 * malloc/Makefile (routines): Add reallocarray.
4076 (tests): Add tst-reallocarray.c.
4077 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4078 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4079 function.
4080 * malloc/malloc.h (reallocarray): New declaration.
4081 * stdlib/stdlib.h (reallocarray): Likewise.
4082 * malloc/reallocarray.c: New file.
4083 * malloc/tst-reallocarray.c: New test file.
4084 * manual/memory.texi: Document reallocarray.
4085 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4086 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4088 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4107 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4112 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4115
4116 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4119 the lower 32 bits.
4120
4121 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4122
4123 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4124 $(build-pie-default) = yes]: Define.
4125
4126 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4127
4128 * string/test-memchr.c (test_main): Add tests for n == 0.
4129
4130 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4131
4132 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4133 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4134 (tests-internal): ... here.
4135
4136 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4137 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4140 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4141 (__tunable_set_val): Likewise.
4142
4143 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4146 dl-tunables.list in subdirectories.
4147
4148 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4149 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4150 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4151
4152 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4153 (SNANF128): New macro.
4154 * math/e_sqrtf128.c: New file.
4155 * math/s_fmaxmag_template.c: Include math_private.h in order to
4156 make inline expansion of fabs128().
4157 * math/s_fminmag_template.c: Likewise.
4158
4159 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4160 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4161 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4162 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4163 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4164 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4165 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4166 * sysdeps/ieee754/float128/e_expf128.c: New file.
4167 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4168 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4169 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4170 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4171 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4172 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4173 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4174 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4175 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4176 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4177 * sysdeps/ieee754/float128/e_logf128.c: New file.
4178 * sysdeps/ieee754/float128/e_powf128.c: New file.
4179 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4180 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4181 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4182 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4183 * sysdeps/ieee754/float128/float128_private.h: New file.
4184 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4185 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4186 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4187 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4188 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4189 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4190 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4191 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4192 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4193 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4194 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4195 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4196 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4197 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4198 * sysdeps/ieee754/float128/s_erff128.c: New file.
4199 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4200 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4201 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4202 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4203 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4204 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4205 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4206 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4207 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4208 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4209 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4210 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4211 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4212 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4213 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4214 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4215 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4216 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4217 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4218 * sysdeps/ieee754/float128/s_modff128.c: New file.
4219 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4220 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4221 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4222 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4223 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4224 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4225 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4226 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4227 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4228 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4229 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4230 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4231 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4232 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4233 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4234 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4235 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4236 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4237 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4238 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4239 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4240 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4241 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4242 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4243 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4244
4245 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4246 (__iscanonicalf128): Define as a macro.
4247
4248 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4249
4250 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4251 (memmove): Use MEMMOVE for name.
4252 (memcpy): Use MEMCPY for name. Change internal labels
4253 to external labels.
4254 * sysdeps/aarch64/multiarch/Makefile: New file.
4255 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4256 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4257 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4258 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4259 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4260 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4261
4262 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4263
4264 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4265 (_dl_arm_cap_flags): Fix array subscript.
4266 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4267 Fix count.
4268
4269 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4272
4273 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4274
4275 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4276 (is_amd): Likewise.
4277 (max_cpuid): Likewise.
4278 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4279 (init_cacheinfo): Likewise.
4280
4281 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #21511]
4284 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4285 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4286 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4287 !__USE_XOPEN2K) || __USE_MISC].
4288 * conform/data/signal.h-data (struct sigstack): Expect type only
4289 if [!XOPEN2K8 && !POSIX2008].
4290 (sigstack): Expect function only if [XPG42 || UNIX98].
4291
4292 [BZ #21457]
4293 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4294 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4295 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4296 <bits/types/__sigset_t.h>.
4297 (ucontext_t): Use sigset_t instead of __sigset_t.
4298 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4299 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4300 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4301 <bits/types/__sigset_t.h>.
4302 (ucontext_t): Use sigset_t instead of __sigset_t.
4303 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4304 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4305 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4306 <bits/types/__sigset_t.h>.
4307 (ucontext_t): Use sigset_t instead of __sigset_t.
4308 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4309 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4310 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4311 <bits/types/__sigset_t.h>.
4312 (ucontext_t): Use sigset_t instead of __sigset_t.
4313 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4314 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4315 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4316 <bits/types/__sigset_t.h>.
4317 (ucontext_t): Use sigset_t instead of __sigset_t.
4318 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4319 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4320 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4321 <bits/types/__sigset_t.h>.
4322 (ucontext_t): Use sigset_t instead of __sigset_t.
4323 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4324 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4325 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4326 <bits/types/__sigset_t.h>.
4327 (ucontext_t): Use sigset_t instead of __sigset_t.
4328 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4329 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4330 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4331 <bits/types/__sigset_t.h>.
4332 (ucontext_t): Use sigset_t instead of __sigset_t.
4333 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4334 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4335 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4336 <bits/types/__sigset_t.h>.
4337 (ucontext_t): Use sigset_t instead of __sigset_t.
4338 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4339 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4340 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4341 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4342 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4343 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4344 <bits/types/__sigset_t.h>.
4345 (ucontext_t): Use sigset_t instead of __sigset_t.
4346 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4347 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4348 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4349 <bits/types/__sigset_t.h>.
4350 (ucontext_t): Use sigset_t instead of __sigset_t.
4351 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4352 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4353 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4354 <bits/types/__sigset_t.h>.
4355 (ucontext_t): Use sigset_t instead of __sigset_t.
4356 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4357 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4358 <bits/ss_flags.h>.
4359 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4360 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4361 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4362 <bits/types/__sigset_t.h>.
4363 (ucontext_t): Use sigset_t instead of __sigset_t.
4364 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4365 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4366 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4367 <bits/types/__sigset_t.h>.
4368 (ucontext_t): Use sigset_t instead of __sigset_t.
4369 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4370 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4371 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4372 <bits/types/__sigset_t.h>.
4373 (ucontext_t): Use sigset_t instead of __sigset_t.
4374 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4375 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4376 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4377 <bits/types/__sigset_t.h>.
4378 (ucontext_t): Use sigset_t instead of __sigset_t.
4379 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4380 <bits/types.h>.
4381 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4382 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4383 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4384 <bits/types/__sigset_t.h>.
4385 (ucontext_t): Use sigset_t instead of __sigset_t.
4386
4387 2017-05-22 Zack Weinberg <zackw@panix.com>
4388
4389 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4390 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4391 bits/siginfo-arch.h, only if not already defined.
4392 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4393 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4394 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4395 Likewise.
4396
4397 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4398 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4400 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4401 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4402 Unconditionally define __SI_* macros.
4403
4404 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4405
4406 [BZ #21393]
4407 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4408 and add a check for dup3 failure.
4409 * libio/freopen64.c (freopen64): Likewise.
4410 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4411 libsupport.
4412 (do_test_bz21398): New test.
4413 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4414
4415 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4416
4417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4418 Remove invalid comment.
4419
4420 2017-05-21 Zack Weinberg <zackw@panix.com>
4421
4422 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4423
4424 2017-05-20 Zack Weinberg <zackw@panix.com>
4425
4426 * bits/sigevent-consts.h
4427 * bits/siginfo-consts.h
4428 * bits/types/__sigset_t.h
4429 * bits/types/sigevent_t.h
4430 * bits/types/siginfo_t.h
4431 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4432 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4433 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4434 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4435 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4436 New system-dependent bits headers.
4437
4438 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4439 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4440 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4441 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4442 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4444 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4445 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4446 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4447 New Linux-only system-dependent bits headers.
4448
4449 * signal/bits/types/sig_atomic_t.h
4450 * signal/bits/types/sigset_t.h
4451 * signal/bits/types/sigval_t.h:
4452 New non-system-dependent bits headers.
4453
4454 * sysdeps/generic/sigsetops.h
4455 * sysdeps/unix/sysv/linux/sigsetops.h:
4456 New internal headers.
4457
4458 * include/bits/types/sig_atomic_t.h
4459 * include/bits/types/sigset_t.h
4460 * include/bits/types/sigval_t.h:
4461 New wrappers.
4462
4463 * signal/sigsetops.h
4464 * bits/siginfo.h
4465 * bits/sigset.h
4466 * sysdeps/unix/sysv/linux/bits/siginfo.h
4467 * sysdeps/unix/sysv/linux/bits/sigset.h
4468 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4469 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4472 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4473 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4474 Deleted.
4475
4476 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4477 Update lists of installed headers.
4478
4479 * posix/bits/types.h: Define __sig_atomic_t here.
4480 * signal/signal.h: Use the new bits headers; no need to handle
4481 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4482 to define sigmask.
4483 * include/signal.h: No need to handle __need_sig_atomic_t
4484 nor __need_sigset_t. Don't define __sigemptyset.
4485
4486 * io/sys/poll.h, setjmp/setjmp.h
4487 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4488 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4489 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4490 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4491 * sysdeps/pthread/bits/sigthread.h
4492 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4493 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4494 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4495 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4496 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4497 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4498 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4499 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4500 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4501 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4502 Use bits/types/__sigset_t.h.
4503
4504 * misc/sys/select.h, posix/spawn.h
4505 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4506 * sysdeps/unix/sysv/linux/sys/epoll.h
4507 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4508 Use bits/types/sigset_t.h.
4509
4510 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4511 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4512 * socket/sys/socket.h: Don't include bits/sigset.h.
4513
4514 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4515 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4516 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4517 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4518 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4519 * sysdeps/unix/sysv/linux/nptl-signals.h:
4520 Include sigsetops.h.
4521
4522 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4523 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4524 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4525 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4526 now return no value.
4527
4528 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4529 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4530 "sigsetops.h".
4531
4532 * signal/sigsetops.c: Explicitly define __sigismember,
4533 __sigaddset, and __sigdelset as compatibility symbols.
4534
4535 * signal/Versions: Correct commentary on __sigpause,
4536 __sigaddset, __sigdelset, __sigismember.
4537
4538 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4539 __sigblock/__sigsetmask to use __sigprocmask and friends.
4540
4541 * resolv/resolv.h: Remove __need_res_state logic.
4542 Move definition of res_state and related constants to ...
4543 * resolv/bits/types/res_state.h: ...this new file.
4544 * resolv/Makefile: Install bits/types/res_state.h.
4545 * include/bits/types/res_state.h: New wrapper.
4546 * include/list.h: Remove __need_list_t logic.
4547 Move definition of list_t to ...
4548 * include/list_t.h: ...this new file.
4549
4550 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4551 instead of list.h and resolv.h.
4552
4553 * resolv/resolv.h: Remove __need_res_state logic.
4554 Move definition of res_state and related constants to ...
4555 * resolv/bits/types/res_state.h: ...this new file.
4556 * resolv/Makefile: Install bits/types/res_state.h.
4557 * include/bits/types/res_state.h: New wrapper.
4558 * include/list.h: Remove __need_list_t logic.
4559 Move definition of list_t to ...
4560 * include/list_t.h: ...this new file.
4561
4562 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4563 instead of list.h and resolv.h.
4564
4565 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4568
4569 2017-05-20 Zack Weinberg <zackw@panix.com>
4570
4571 * sysdeps/arm/sysdep.h
4572 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4573
4574 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4575 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4576 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4577 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4578 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4579 * sysdeps/arm/armv6t2/strlen.S
4580 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4581 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4582 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4583 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4584 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4585 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4586
4587 2017-05-20 Zack Weinberg <zackw@panix.com>
4588
4589 Remove the NaCl port.
4590 * sysdeps/arm/nacl: Remove directory and contents.
4591 * sysdeps/nacl: Remove directory and contents.
4592 * abi-tags: Remove .*-.*-nacl.* entry.
4593
4594 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4595
4596 * manual/errno.texi: Convert @comment-based errno documentation to
4597 @errno.
4598 * manual/macros.texi (@errno): New macro. Consolidate errors,
4599 their values, and messages, adding the error string to the Concept
4600 Index. Provide a warning in the comment about external (to the
4601 manual) dependencies.
4602 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4603 * sysdeps/mach/hurd/errnos.awk: Likewise.
4604
4605 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4606
4607 * bits/ss_flags.h: New file.
4608 * bits/types/stack_t.h: Likewise.
4609 * include/bits/types/struct_sigstack.h: Likewise.
4610 * signal/bits/types/struct_sigstack.h: Likewise.
4611 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4612 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4613 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4614 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4615 bits/types/stack_t.h and bits/ss_flags.h.
4616 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4617 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4618 <bits/ss_flags.h>.
4619 * bits/sigstack.h (struct sigstack): Remove.
4620 (stack_t): Likewise.
4621 (SS_ONSTACK): Likewise.
4622 (SS_DISABLE): Likewise.
4623 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4624 (struct sigstack): Likewise.
4625 (stack_t): Likewise.
4626 (SS_ONSTACK): Likewise.
4627 (SS_DISABLE): Likewise.
4628 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4629 Likewise.
4630 (stack_t): Likewise.
4631 (SS_ONSTACK): Likewise.
4632 (SS_DISABLE): Likewise.
4633 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4634 Likewise.
4635 (stack_t): Likewise.
4636 (SS_ONSTACK): Likewise.
4637 (SS_DISABLE): Likewise.
4638 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4639 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4640 Likewise.
4641 (stack_t): Likewise.
4642 (SS_ONSTACK): Likewise.
4643 (SS_DISABLE): Likewise.
4644 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4645 (struct sigstack): Likewise.
4646 (stack_t): Likewise.
4647 (SS_ONSTACK): Likewise.
4648 (SS_DISABLE): Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4650 Likewise.
4651 (stack_t): Likewise.
4652 (SS_ONSTACK): Likewise.
4653 (SS_DISABLE): Likewise.
4654 * sysdeps/arm/sys/ucontext.h: Include
4655 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4656 <bits/ss_flags.h>.
4657 * sysdeps/generic/sys/ucontext.h: Likewise.
4658 * sysdeps/i386/sys/ucontext.h: Likewise.
4659 * sysdeps/m68k/sys/ucontext.h: Likewise.
4660 * sysdeps/mips/sys/ucontext.h: Likewise.
4661 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4662 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4663 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4664 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4665 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4666 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4667 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4668 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4669 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4672 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4673 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4674 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4675 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4676
4677 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4678
4679 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4680 "edx + ecx - 16" to avoid possible addition overflow.
4681 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4682
4683 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4684
4685 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4686 (CFLAGS-splice.c): Likewise.
4687 (CFLAGS-open_by_handle_at.c): Likewise.
4688 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4689 (CFLAGS-splice.c): Likewise.
4690 (CFLAGS-open_by_handle_at.c): Likewise.
4691
4692 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4693
4694 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4695 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4696 <ldbl-compat-choose.h>.
4697 (maybe_long_double_symbol): New macro.
4698 [!declare_mgen_alias] (declare_mgen_alias): Use
4699 maybe_long_double_symbol.
4700 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4701 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4705 * Makerules [$(build-shared) = yes && !avoid-generated]
4706 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4707 [$(build-shared) = yes && !avoid-generated]
4708 ($(common-objpfx)ldbl-compat-choose.h): New target.
4709
4710 * scripts/versions.awk: Generate first-versions.h.
4711 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4712 <first-versions.h>.
4713 (LDOUBLE_cabsl_libm_version): Remove macro.
4714 (LDOUBLE_cargl_libm_version): Likewise.
4715 (LDOUBLE_cimagl_libm_version): Likewise.
4716 (LDOUBLE_conjl_libm_version): Likewise.
4717 (LDOUBLE_creall_libm_version): Likewise.
4718 (LDOUBLE_cacosl_libm_version): Likewise.
4719 (LDOUBLE_cacoshl_libm_version): Likewise.
4720 (LDOUBLE_ccosl_libm_version): Likewise.
4721 (LDOUBLE_ccoshl_libm_version): Likewise.
4722 (LDOUBLE_casinl_libm_version): Likewise.
4723 (LDOUBLE_csinl_libm_version): Likewise.
4724 (LDOUBLE_casinhl_libm_version): Likewise.
4725 (LDOUBLE_csinhl_libm_version): Likewise.
4726 (LDOUBLE_catanl_libm_version): Likewise.
4727 (LDOUBLE_catanhl_libm_version): Likewise.
4728 (LDOUBLE_ctanl_libm_version): Likewise.
4729 (LDOUBLE_ctanhl_libm_version): Likewise.
4730 (LDOUBLE_cexpl_libm_version): Likewise.
4731 (LDOUBLE_clogl_libm_version): Likewise.
4732 (LDOUBLE_cprojl_libm_version): Likewise.
4733 (LDOUBLE_csqrtl_libm_version): Likewise.
4734 (LDOUBLE_cpowl_libm_version): Likewise.
4735 (LDOUBLE_clog10l_libm_version): Likewise.
4736 (LDOUBLE___clog10l_libm_version): Likewise.
4737 (LDOUBLE_fdiml_libm_version): Likewise.
4738 (LDOUBLE_fmaxl_libm_version): Likewise.
4739 (LDOUBLE_fminl_libm_version): Likewise.
4740 (LDOUBLE_ilogbl_libm_version): Likewise.
4741 (LDOUBLE_nanl_libm_version): Likewise.
4742 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4743 FIRST_VERSION_libm_* macros.
4744 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4745 * Makerules [$(build-shared) = yes && !avoid-generated]
4746 (before-compile): Add $(common-objpfx)first-versions.h.
4747 [$(build-shared) = yes && !avoid-generated]
4748 ($(common-objpfx)first-versions.h): New target.
4749 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4750 building $(common-objpfx)versions.stmp.
4751
4752 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4753
4754 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4755 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4756 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4757 auto-generation list.
4758
4759 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4760 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4761 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4762 from auto-generation list.
4763
4764 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4765 open_by_handle_at.
4766 (CFLAGS-open_by_handle_at.c): New flag.
4767 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4768 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4769 file.
4770 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4771
4772 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4773 (CFLAGS-splice.c): New flag.
4774 * sysdeps/unix/sysv/linux/splice.c: New file.
4775 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4776 auto-generation syscall list.
4777 * misc/Makefile (CFLAGS-splice.c): New rule.
4778
4779 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4780 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4781 auto-generation syscall list.
4782 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4783 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4784
4785 * misc/Makefile (CFLAGS-fsync.c): New flag.
4786 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4787 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4788 syscall list.
4789 * sysdeps/unix/sysv/linux/fsync.c: New file.
4790 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4791 (__errno_location): Remove.
4792
4793 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4794 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4795 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4796 list.
4797 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4798
4799 * misc/Makefile (CFLAGS-msync.c): New rule.
4800 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4801 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4802 * sysdeps/unix/sysv/linux/msync.c: New file.
4803
4804 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4805 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4806 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4807 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4808 (CFLAGS-sigsuspend.c): Remove rule.
4809
4810 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4811 (CFLAGS-tee.c): New rule.
4812 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4813 auto-generated list.
4814 * sysdeps/unix/sysv/linux/tee.c: New file.
4815
4816 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4817 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4818 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4819 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4820 auto-generated list.
4821
4822 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4823 auto-generated list.
4824 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4827 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4829
4830 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4832 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4833 (__NR_pause): Undefine.
4834 * sysdeps/unix/sysv/linux/pause.c: New file.
4835 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4836 auto-generation list.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4838 Remove rule.
4839 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4840
4841 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4842
4843 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4844 comments.
4845
4846 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4847
4848 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4849 LD_HWCAP_MASK.
4850
4851 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4852
4853 * manual/conf.texi: Convert @tables of annotated @items to
4854 @vtables.
4855 * manual/lang.texi: Likewise.
4856 * manual/pattern.texi: Likewise.
4857 * manual/resource.texi: Likewise.
4858 * manual/socket.texi: Likewise.
4859
4860 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4861
4862 * manual/crypt.texi: Move a comment out of an @*x list.
4863 * manual/filesys.texi: Refactor some comments, one of which looks
4864 like a standard. Fix incorrectly separated standards.
4865 * manual/locale.texi: Invert an annotation.
4866 * manual/resource.texi: Fix incorrectly separated standards.
4867 * manual/time.texi: Refactor a @vtable that obscures an
4868 annotation.
4869 * manual/users.texi: Refactor multiple headers to occupy a single
4870 @comment.
4871
4872 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4873
4874 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4875 (sysdep_routines): Add memcmp-power8.
4876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4877 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4878 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4879 (memcmp): Add __memcmp_power8 to ifunc list.
4880 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4881 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4882
4883 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4884 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4885
4886 * math/math.h (__MATH_TG): Extend the conditions to add
4887 _Float128 support.
4888 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4889
4890 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4891
4892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4893 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4894 s_cosf-ppc64.
4895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4898 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4899
4900 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4901
4902 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4903 (gen-libm-calls): Add e_exp2F to use the template.
4904 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4905 * math/e_exp2_template.c: New file, renamed from
4906 math/e_exp2l.c, and made into a template.
4907 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4908
4909 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4910
4911 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4912 TUNABLE_TYPE_UINT_64.
4913 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4914 Simplify computation of overflow.
4915 (tunable_set_val_if_valid_range_signed,
4916 tunable_set_val_if_valid_range_unsigned): Remove and replace
4917 with this...
4918 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4919 (tunable_initialize): Adjust. Add uint64_t support.
4920 (__tunable_set_val): Add uint64_t support.
4921 * README.tunables: Document it.
4922
4923 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4924 dl-tunables.list.
4925 * README.tunables: Document it.
4926
4927 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4928
4929 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4930 * sysdeps/posix/preadv64.c: Likewise.
4931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4932 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4933 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4934 * sysdeps/posix/pwritev64.c: Likewise.
4935 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4936 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4937 * sysdeps/posix/preadv_common.c: New file.
4938 * sysdeps/posix/pwritev_common.c: Likewise.
4939
4940 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4941
4942 * sysdeps/generic/math-type-macros-float128.h
4943 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4944 wrapper templates.
4945
4946 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4947 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4948
4949 * include/complex.h (__kernel_casinhf128): New declaration.
4950 * include/float.h: New file.
4951 * include/math.h (__finitef128): Add a hidden def.
4952 (__isinff128): Likewise.
4953 (__isnanf128): Likewise.
4954 (__fpclassify): Likewise.
4955 (__issignalling): Likewise.
4956 (__expf128): Likewise.
4957 (__expm1f128): Likewise.
4958
4959 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4960 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4961 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4962
4963 * sysdeps/generic/math-type-macros-float128.h: New file.
4964
4965 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4966 math_private_calls.h for _Float128.
4967 (__isinff128): New inline implementation used when GCC < 7.0,
4968 since in this case __builtin_isinf_sign is broken.
4969 (fabsf128): New inline implementation that calls the builtin.
4970 (__EXPR_FLT128): New macro.
4971 (min_of_type): Optionally include _Float128 types too.
4972
4973 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4974 Declare for _Float128.
4975 (__kernel_rem_pio2): Likewise.
4976
4977 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4978 (__DECL_SIMD_sincos_disablef128): New macro.
4979
4980 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4981
4982 * math/math.h: Include bits/math-finite.h for float128.
4983 (__MATH_DECLARING_FLOATN): Define to control declaration of
4984 float128 functions.
4985 * math/bits/math-finite.h (pow10): Do not declare for float128.
4986 (gamma): Likewise.
4987 (scalb): Likewise.
4988
4989 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4990 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4991
4992 * bits/floatn.h: New file.
4993 * bits/huge_val_flt128.h: Likewise.
4994
4995 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4996 (__DECL_SIMD_sinf128): Likewise.
4997 (__DECL_SIMD_sincosf128): Likewise.
4998 (__DECL_SIMD_logf128): Likewise.
4999 (__DECL_SIMD_expf128): Likewise.
5000 (__DECL_SIMD_powf128): Likewise.
5001
5002 * math/Makefile (headers): Install bits/floatn.h and
5003 bits/huge_val_flt128.h.
5004
5005 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5006 defined.
5007
5008 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5009 (isnan, gamma, nexttoward, scalb): Only define if not
5010 __MATH_DECLARING_FLOATN.
5011 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5012 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5013 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5014 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5015
5016 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5017 Include bits/cmathcalls.h to get the declarations of _Float128
5018 versions of complex functions.
5019 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5020 Define macro.
5021
5022 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5023 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5024 get the declarations of _Float128 versions of math functions.
5025 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5026 _FloatN types.
5027 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5028 is type-generic, so use it without __MATH_TG.
5029 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5030 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5031 _Float128 type and GCC < 7.0, otherwise use the builtin.
5032 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5033 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5034 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5035 New _GNU_SOURCE enabled macros.
5036
5037 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5038
5039 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5040 (signbitf): Likewise.
5041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5042 Likewise.
5043 (signbitl): Likewise.
5044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5045 Likewise.
5046 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5047 (signbitl): Likewise.
5048 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5049
5050 2017-05-12 Florian Weimer <fweimer@redhat.com>
5051
5052 [BZ #21386]
5053 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5054 parent PID. The assertion in the child is incorrect with PID
5055 namespaces.
5056
5057 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5058
5059 * sysdeps/unix/sysv/linux/kernel-features.h
5060 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5061 * sysdeps/unix/sysv/linux/internal_statvfs.c
5062 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5063
5064 2017-05-11 Zack Weinberg <zackw@panix.com>
5065
5066 * Makerules: New subdir configuration variables 'tests-internal'
5067 and 'test-internal-extras'. Test files in these categories will
5068 still be compiled with MODULE_NAME=nonlib. Test files in the
5069 existing categories (tests, xtests, test-srcs, test-extras) are
5070 now compiled with MODULE_NAME=testsuite.
5071 New subdir configuration variable 'modules-names-tests'. Files
5072 which are in both 'modules-names' and 'modules-names-tests' will
5073 be compiled with MODULE_NAME=testsuite instead of
5074 MODULE_NAME=extramodules.
5075 (gen-as-const-headers): Move to tests-internal.
5076 (do-tests-clean, common-mostlyclean): Support tests-internal.
5077 * Makeconfig (built-modules): Add testsuite.
5078 * Makefile: Change libof-check-installed-headers-c and
5079 libof-check-installed-headers-cxx to 'testsuite'.
5080 * Rules: Likewise. Support tests-internal.
5081 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5082 Remove extra-modules.mk.
5083
5084 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5085 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5086 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5087 very top of the file and rationalize their order.
5088 If MODULE_NAME is not defined at all, define IS_IN to always be
5089 false, and don't define _ISOMAC.
5090 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5091 true, define _ISOMAC and suppress everything else in this file,
5092 starting with the inclusion of config.h.
5093 Do check for inappropriate definitions of __OPTIMIZE__ and
5094 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5095 Correct some out-of-date commentary.
5096
5097 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5098 and _Mlong_double_ before including math.h.
5099 * include/string.h: If _ISOMAC is defined, don't expose
5100 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5101 location.
5102
5103 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5104 * include/time.h, include/unistd.h, include/wchar.h: No need to
5105 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5106
5107 * misc/sys/cdefs.h (__NTHNL): New macro.
5108 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5109 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5110
5111 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5112 defined, for HAVE_TUNABLES.
5113 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5114 * intl/tst-gettext2.c: Provide own definition of N_.
5115 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5116 * math/test-signgam-main.c: No need to define _ISOMAC.
5117 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5118 * stdlib/tst-strtod1i.c: ...this new file.
5119 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5120 Split tests of __strtod_internal to...
5121 * stdlib/tst-strtod5i.c: ...this new file.
5122 * string/test-string.h: Include stdint.h. Duplicate definition of
5123 inhibit_loop_to_libcall here (from libc-symbols.h).
5124 * string/test-strstr.c: Provide dummy definition of
5125 libc_hidden_builtin_def when including strstr.c.
5126 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5127 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5128 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5129 Don't include init-arch.h.
5130 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5131 Don't include init-arch.h.
5132
5133 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5134 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5135 unload, unload2, circleload1, neededtest, neededtest2,
5136 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5137 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5138 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5139 ifunc tests to tests-internal.
5140 Don't add $(modules-names) to test-extras.
5141 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5142 Add tst-deadline to tests-static-internal.
5143 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5144 tests-internal.
5145 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5146 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5147 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5148 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5149 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5150 Link tests-internal with libpthread also.
5151 Don't add $(modules-names) to test-extras.
5152 * nss/Makefile: Move tst-field to tests-internal.
5153 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5154 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5155 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5156 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5157 tests-internal.
5158 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5159 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5160 test-get_hwcap-static to tests-internal.
5161 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5162 tests-internal.
5163 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5164 modules-names-tests.
5165
5166 2017-05-11 Zack Weinberg <zackw@panix.com>
5167
5168 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5169 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5170 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5171 _IO_funlockfile, and _IO_ftrylockfile. Only define
5172 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5173 already defined.
5174 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5175 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5176 appropriately.
5177 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5178 Define _IO_lock_t_defined after defining _IO_lock_t.
5179
5180 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5181
5182 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5183 void* for argument type and use VDSO_SYMBOL macro.
5184 (is_sigtramp_address_rt): Likewise.
5185 (__backtrace): Setup expected frame pointer address for signal
5186 handling.
5187 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5188 void* for argumetn type and use VSDO_SYMBOL macro.
5189 (__backtrace): Setup expected frame pointer address for signal
5190 handling.
5191
5192 * sysdeps/unix/sysv/linux/writev.c: New file.
5193
5194 * sysdeps/unix/sysv/linux/readv.c: New file.
5195
5196 * include/unistd.h (write): Add hidden proto.
5197 * io/Makefile (CFLAGS-write.c): New define.
5198 * nptl/Makefile (CFLAGS-write.c): Likewise.
5199 * sysdeps/unix/sysv/linux/write.c: New file.
5200
5201 [BZ #21428]
5202 * include/unistd.h (read): Add hidden proto.
5203 * io/Makefile (CFLAGS-read.c): New define.
5204 * nptl/Makefile (CFLAGS-read.c): Likewise.
5205 * sysdeps/unix/sysv/linux/read.c: New file.
5206
5207 * io/Makefile (CFLAGS-creat.c): New rule.
5208 (CFLAGS-creat64.c): Likewise.
5209 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5210 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5211 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5212 * sysdeps/unix/sysv/linux/creat.c: New file.
5213 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5214 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5215 auto-generated list.
5216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5217
5218 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5219 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5220 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5221 * sysdeps/unix/sysv/linux/open.c: New file.
5222 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5223 iff __WORDSIZE != 64 and use __NR_openat when available.
5224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5225 from auto-generated list.
5226
5227 * nptl/Makefile (CFLAGS-close.c): New flag.
5228 * sysdeps/unix/sysv/linux/close.c: New file.
5229
5230 2017-05-11 DJ Delorie <dj@redhat.com>
5231
5232 * MAINTAINERS: New. Points to wiki.
5233
5234 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5235
5236 * scripts/gen-tunables.awk: Add attribute_relro to
5237 tunable_list.
5238
5239 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5240
5241 [BZ #21457]
5242 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5243 (R1): Likewise.
5244 (R2): Likewise.
5245 (R3): Likewise.
5246 (R4): Likewise.
5247 (R5): Likewise.
5248 (R6): Likewise.
5249 (R7): Likewise.
5250 (R8): Likewise.
5251 (R9): Likewise.
5252 (R10): Likewise.
5253 (R11): Likewise.
5254 (R12): Likewise.
5255 (R13): Likewise.
5256 (R14): Likewise.
5257 (R15): Likewise.
5258 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5259 (REG_FS): Likewise.
5260 (REG_ES): Likewise.
5261 (REG_DS): Likewise.
5262 (REG_EDI): Likewise.
5263 (REG_ESI): Likewise.
5264 (REG_EBP): Likewise.
5265 (REG_ESP): Likewise.
5266 (REG_EBX): Likewise.
5267 (REG_EDX): Likewise.
5268 (REG_ECX): Likewise.
5269 (REG_EAX): Likewise.
5270 (REG_TRAPNO): Likewise.
5271 (REG_ERR): Likewise.
5272 (REG_EIP): Likewise.
5273 (REG_CS): Likewise.
5274 (REG_EFL): Likewise.
5275 (REG_UESP): Likewise.
5276 (REG_SS): Likewise.
5277 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5278 (R_D1): Likewise.
5279 (R_D2): Likewise.
5280 (R_D3): Likewise.
5281 (R_D4): Likewise.
5282 (R_D5): Likewise.
5283 (R_D6): Likewise.
5284 (R_D7): Likewise.
5285 (R_A0): Likewise.
5286 (R_A1): Likewise.
5287 (R_A2): Likewise.
5288 (R_A3): Likewise.
5289 (R_A4): Likewise.
5290 (R_A5): Likewise.
5291 (R_A6): Likewise.
5292 (R_A7): Likewise.
5293 (R_SP): Likewise.
5294 (R_PC): Likewise.
5295 (R_PS): Likewise.
5296 (fpregset_t): Likewise.
5297 (MCONTEXT_VERSION): Likewise.
5298 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5299 (CTX_AT): Likewise.
5300 (CTX_V0): Likewise.
5301 (CTX_V1): Likewise.
5302 (CTX_A0): Likewise.
5303 (CTX_A1): Likewise.
5304 (CTX_A2): Likewise.
5305 (CTX_A3): Likewise.
5306 (CTX_T0): Likewise.
5307 (CTX_T1): Likewise.
5308 (CTX_T2): Likewise.
5309 (CTX_T3): Likewise.
5310 (CTX_T4): Likewise.
5311 (CTX_T5): Likewise.
5312 (CTX_T6): Likewise.
5313 (CTX_T7): Likewise.
5314 (CTX_S0): Likewise.
5315 (CTX_S1): Likewise.
5316 (CTX_S2): Likewise.
5317 (CTX_S3): Likewise.
5318 (CTX_S4): Likewise.
5319 (CTX_S5): Likewise.
5320 (CTX_S6): Likewise.
5321 (CTX_S7): Likewise.
5322 (CTX_T8): Likewise.
5323 (CTX_T9): Likewise.
5324 (CTX_K0): Likewise.
5325 (CTX_K1): Likewise.
5326 (CTX_GP): Likewise.
5327 (CTX_SP): Likewise.
5328 (CTX_S8): Likewise.
5329 (CTX_RA): Likewise.
5330 (CTX_MDLO): Likewise.
5331 (CTX_MDHI): Likewise.
5332 (CTX_CAUSE): Likewise.
5333 (CTX_EPC): Likewise.
5334 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5335 inclusion of <sys/procfs.h> on [__USE_MISC].
5336 (greg_t): Condition on [__USE_MISC].
5337 (gregset_t): Likewise.
5338 (fpregset_t): Likewise.
5339 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5340 (NGREG): Likewise.
5341 (gregset_t): Likewise.
5342 (REG_R0): Likewise.
5343 (REG_R1): Likewise.
5344 (REG_R2): Likewise.
5345 (REG_R3): Likewise.
5346 (REG_R4): Likewise.
5347 (REG_R5): Likewise.
5348 (REG_R6): Likewise.
5349 (REG_R7): Likewise.
5350 (REG_R8): Likewise.
5351 (REG_R9): Likewise.
5352 (REG_R10): Likewise.
5353 (REG_R11): Likewise.
5354 (REG_R12): Likewise.
5355 (REG_R13): Likewise.
5356 (REG_R14): Likewise.
5357 (REG_R15): Likewise.
5358 (struct _libc_fpstate): Likewise.
5359 (fpregset_t): Likewise.
5360 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5361 (NFPREG): Likewise.
5362 (gregset_t): Likewise.
5363 (fpregset_t): Likewise.
5364 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5365 (R_D1): Likewise.
5366 (R_D2): Likewise.
5367 (R_D3): Likewise.
5368 (R_D4): Likewise.
5369 (R_D5): Likewise.
5370 (R_D6): Likewise.
5371 (R_D7): Likewise.
5372 (R_A0): Likewise.
5373 (R_A1): Likewise.
5374 (R_A2): Likewise.
5375 (R_A3): Likewise.
5376 (R_A4): Likewise.
5377 (R_A5): Likewise.
5378 (R_A6): Likewise.
5379 (R_A7): Likewise.
5380 (R_SP): Likewise.
5381 (R_PC): Likewise.
5382 (R_PS): Likewise.
5383 (fpregset_t): Likewise.
5384 (MCONTEXT_VERSION): Likewise.
5385 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5386 Likewise.
5387 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5388 (REG_R1): Likewise.
5389 (REG_R2): Likewise.
5390 (REG_R3): Likewise.
5391 (REG_R4): Likewise.
5392 (REG_R5): Likewise.
5393 (REG_R6): Likewise.
5394 (REG_R7): Likewise.
5395 (REG_R8): Likewise.
5396 (REG_R9): Likewise.
5397 (REG_R10): Likewise.
5398 (REG_R11): Likewise.
5399 (REG_R12): Likewise.
5400 (REG_R13): Likewise.
5401 (REG_R14): Likewise.
5402 (REG_R15): Likewise.
5403 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5404 of <arch/abi.h> on [__USE_MISC].
5405 (greg_t): Condition on [__USE_MISC].
5406 (NGREG): Likewise.
5407 (gregset_t): Likewise.
5408
5409 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5410
5411 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5412 (__pthread_rwlock_arch_t): Remove __data definition.
5413 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5414 (__pthread_rwlock_arch_t): Likewise.
5415
5416 2017-05-11 Florian Weimer <fweimer@redhat.com>
5417
5418 * resolv/inet_pton.c: Reformat in GNU style. Remove
5419 internal_function on static functions.
5420
5421 2017-05-11 Florian Weimer <fweimer@redhat.com>
5422
5423 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5424 from format_ai_flags.
5425 (format_ai_flags): New function. Incorporate flag formatting code
5426 from format_ai_one.
5427 (format_ai_canonname): New function.
5428 (format_ai_one): Remove flags parameter.
5429 (format_ai_family): Likewise.
5430 (support_format_addrinfo): Call format_ai_flags,
5431 format_ai_canonname.
5432 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5433 check_ai.
5434 (check_ai): Call check_ai_hints.
5435 (do_test): Add AI_CANONNAME tests.
5436
5437 2017-05-11 Florian Weimer <fweimer@redhat.com>
5438
5439 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5440 (gaih_inet): Likewise.
5441
5442 2017-05-10 Andreas Schwab <schwab@suse.de>
5443
5444 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5445 (main): Rename to do_test and make static.
5446
5447 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5448
5449 * string/rawmemchr.c: Include <libc-diag.h>.
5450 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5451 with size (size_t)-1.
5452
5453 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5454
5455 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5456 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5457 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5458
5459 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5460 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5461 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5462 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5463 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5464 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5465 * sysdeps/unix/sysv/linux/kernel-features.h
5466 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5467 socket syscalls.
5468 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5469 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5470 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5471 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5472 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5474 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5475 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5476 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5477 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5478 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5480 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5481 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5482 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5483
5484 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5485
5486 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5487 thread-shared-types.h.
5488 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5489 specific thread definition.
5490 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5491 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5492 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5493 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5494 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5495 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5496 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5497 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5498 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5499 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5500 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5501 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5502 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5503 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5504 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5505 thread definition between POSIX and C11.
5506 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5507 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5508 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5509 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5510 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5511 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5512 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5513 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5514 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5515 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5516 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5517 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5518 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5519 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5520 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5521 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5522 definitions shared across all architectures.
5523
5524 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5525
5526 * sysdeps/unix/sysv/linux/kernel-features.h
5527 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5528 (__ASSUME_SENDMMSG): Likewise.
5529 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5530 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5531 sendmmsg syscall if that can be assumed to be present, socketcall
5532 otherwise, with no fallback for runtime failure.
5533
5534 * sysdeps/unix/sysv/linux/kernel-features.h
5535 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5536 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5537 (__ASSUME_RECVMMSG): Likewise.
5538 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5539 recvmmsg syscall if it can be assumed to be present, socketcall
5540 otherwise, with no fallback for runtime failure.
5541
5542 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5543 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5544
5545 * bits/libc-header-start.h:
5546 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5547 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5548 * manual/creature.texi: Likewise.
5549
5550 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5551 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5552
5553 * math/Makefile:
5554 (type-float128-suffix): New variable
5555 (type-float128-routines): Likewise
5556 (type-float128-yes): Likewise
5557 (types): Append float128 if supported
5558 (types-basic): New variable to control the use of templates for
5559 float, double, and long double, but not for float128 or newer types.
5560 (type-basic-foreach): Likewise.
5561
5562 * sysdeps/ieee754/float128/Makeconfig: New file.
5563 * sysdeps/ieee754/float128/Versions: New file.
5564
5565 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5566
5567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5568 Remove macro.
5569 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5570 prlimit64 is always available and does not give an ENOSYS error.
5571 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5572 unconditional.
5573 [!__NR_prlimit64]: Remove conditional code.
5574 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5575 prlimit64 is always available and does not give an ENOSYS error.
5576 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5577
5578 2017-05-09 Zack Weinberg <zackw@panix.com>
5579
5580 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5581
5582 2017-05-09 Florian Weimer <fweimer@redhat.com>
5583
5584 [BZ #21474]
5585 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5586 (__res_maybe_init): Likewise.
5587
5588 2017-05-09 Zack Weinberg <zackw@panix.com>
5589
5590 * extra-modules.mk: Delete file.
5591 * cppflags-iterator.mk: Rename to ...
5592 * libof-iterator.mk: ...this. Adjust comments.
5593
5594 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5595 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5596 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5597 Use libof-iterator.mk instead of cppflags-iterator.mk or
5598 extra-modules.mk.
5599
5600 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5601 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5602
5603 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5604
5605 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5606
5607 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5608
5609 * stdio-common/vfprintf.c (EXTSIZ): Define.
5610 (vfprintf): Use EXTSIZ.
5611 (printf_positional): Likewise.
5612
5613 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5614
5615 * sysdeps/unix/sysv/linux/kernel-features.h
5616 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5617 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5618 <kernel-features.h>.
5619 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5620
5621 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5622 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5623
5624 2017-05-08 Florian Weimer <fweimer@redhat.com>
5625
5626 Prevent multiple deletion of temporary files.
5627 * support/temp_file.c (struct temp_name_list): Add owner member.
5628 (add_temp_file): Record owner.
5629 (support_delete_temp_files): Delete file only if owner matches.
5630 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5631 (do_prepare): Use create_temp_file instead of add_temp_file.
5632 Initialize temp_fd1, temp_fd2.
5633 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5634 framework remove the temporary files.
5635 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5636 (do_prepare): Use create_temp_file instead of add_temp_file.
5637 Initialize temp_fd1, temp_fd2, temp_fd3.
5638 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5639 the test framework remove the temporary files.
5640 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5641 deletion.
5642 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5643 temporary directory. It is removed by the test framework.
5644 * dirent/tst-scandir.c (do_test): Likewise.
5645
5646 2017-05-08 Florian Weimer <fweimer@redhat.com>
5647
5648 Delete temporary files in LIFO order.
5649 * support/temp_file.c (struct temp_name_list): Replace q member
5650 with next.
5651 (add_temp_file): Add new file to front of linked list.
5652 (support_delete_temp_files): Use next member.
5653 (support_print_temp_files): Likewise.
5654
5655 2017-05-08 Florian Weimer <fweimer@redhat.com>
5656
5657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5658 sys/ultrasound.h.
5659 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5660
5661 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5662
5663 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5664 Remove.
5665 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5666 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5667 (arch_minimum_kernel): Remove.
5668 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5669 * README: Update statement about Linux kernel requirements.
5670
5671 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5672
5673 * manual/llio.texi: Add preadv and pwritev documentation.
5674
5675 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5676
5677 [BZ #21455]
5678 * bits/stdint-intn.h: New file.
5679 * bits/stdint-uintn.h: Likewise.
5680 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5681 bits/stdint-uintn.h.
5682 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5683 <stdint.h>.
5684 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5685 (__int8_t_defined): Do not define here.
5686 (int8_t): Likewise.
5687 (int16_t): Likewise.
5688 (int32_t): Likewise.
5689 (int64_t): Likewise.
5690 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5691 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5692 <stdint.h>.
5693 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5694 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5695 <bits/stdint-uintn.h>.
5696 (int8_t): Do not define here.
5697 (int16_t): Likewise.
5698 (int32_t): Likewise.
5699 (int64_t): Likewise.
5700 (uint8_t): Likewise.
5701 (uint16_t): Likewise.
5702 (uint32_t): Likewise.
5703 (uint64_t): Likewise.
5704 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5705 variable.
5706 (test-xfail-XPG42/netdb.h/conform): Likewise.
5707 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5708 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5709 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5710 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5711
5712 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5713
5714 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5716 the above.
5717 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5719
5720 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5721
5722 [BZ #21445]
5723 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5724
5725 [BZ #21457]
5726 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5727 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5728 __glibc_reserved1.
5729 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5730 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5731 (struct _fpxreg): Likewise.
5732 [!__x86_64__] (struct _fpstate): Rename field reserved to
5733 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5734 [__x86_64__] (struct _fpstate): Rename field padding to
5735 __glibc_reserved1.
5736 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5737 Rename field reserved2 to __glibc_reserved2.
5738 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5739 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5740 __glibc_reserved1.
5741 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5742 __glibc_reserved1.
5743
5744 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5745
5746 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5747 variable name.
5748
5749 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5750
5751 [BZ #21391]
5752 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5753 Only call init_cpu_features.
5754 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5755 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5756 * sysdeps/i386/dl-procinfo.h: Removed.
5757 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5758 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5759 <sysdeps/x86/dl-procinfo.h>.
5760 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5761 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5762 Include <sysdeps/x86/dl-procinfo.h> instead of
5763 <sysdeps/generic/dl-procinfo.h>.
5764 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5765 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5766 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5767 (bit_cpu_MOVBE): Likewise.
5768 (bit_cpu_BMI1): Likewise.
5769 (bit_cpu_BMI2): Likewise.
5770 (index_cpu_BMI1): Likewise.
5771 (index_cpu_BMI2): Likewise.
5772 (index_cpu_LZCNT): Likewise.
5773 (index_cpu_MOVBE): Likewise.
5774 (index_cpu_POPCNT): Likewise.
5775 (reg_BMI1): Likewise.
5776 (reg_BMI2): Likewise.
5777 (reg_LZCNT): Likewise.
5778 (reg_MOVBE): Likewise.
5779 (reg_POPCNT): Likewise.
5780 * sysdeps/x86/dl-hwcap.h: New file.
5781 * sysdeps/x86/dl-procinfo.h: Likewise.
5782 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5783 (_dl_x86_platforms): Likewise.
5784
5785 2017-05-03 DJ Delorie <dj@redhat.com>
5786
5787 [BZ #21411]
5788 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5789
5790 2017-05-03 Phil Blundell <pb@pbcl.net>
5791
5792 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5793 comments.
5794
5795 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5796
5797 [BZ #20116]
5798 * nptl/pthread_create.c: Expand comments to describe
5799 semaphore-like and mutex-like uses of PD->lock.
5800
5801 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5802
5803 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5804 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5805 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5806 auto-generation list.
5807 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5808 epoll_wait.
5809 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5810 Remove epoll_wait.
5811
5812 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5813 osf_select.
5814 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5815 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5816 osf_select from auto-generation list.
5817 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5819 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5820 * sysdeps/unix/sysv/linux/select.c: New file.
5821
5822 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5823 * sysdeps/unix/sysv/linux/poll.c: New file.
5824 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5825 auto-generation list.
5826
5827 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5828
5829 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5830 New macro.
5831
5832 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5833
5834 [BZ #21179]
5835 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5836 R_SPARC_REGISTER relocations.
5837
5838 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5839
5840 * include/unistd.h (__pread): Add libc_hidden_proto.
5841 (__pread64): Likewise.
5842 (__pwrite): Likewise.
5843 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5844 (__pread64): Remove.
5845 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5846 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5847 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5848
5849 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5850
5851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5852
5853 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5854
5855 * nptl/tst-cancel4-common.c: Use libsupport.
5856 * nptl/tst-cancel4-common.h: Likewise.
5857 * nptl/tst-cancel4.c (tf_read): Likewise.
5858 (tf_readv): Likewise.
5859 (tf_write): Likewise.
5860 (tf_writev): Likewise.
5861 (tf_sleep): Likewise.
5862 (tf_usleep): Likewise.
5863 (tf_nanosleep): Likewise.
5864 (tf_select): Likewise.
5865 (tf_pselect): Likewise.
5866 (tf_poll): Likewise.
5867 (tf_ppoll): Likewise.
5868 (tf_wait): Likewise.
5869 (tf_waitpid): Likewise.
5870 (tf_waitid): Likewise.
5871 (tf_sigpause): Likewise.
5872 (tf_sigsuspend): Likewise.
5873 (tf_sigwait): Likewise.
5874 (tf_sigwaitinfo): Likewise.
5875 (tf_sigtimedwait): Likewise.
5876 (tf_pause): Likewise.
5877 (tf_accept): Likewise.
5878 (tf_send): Likewise.
5879 (tf_recv): Likewise.
5880 (tf_recvfrom): Likewise.
5881 (tf_recvmsg): Likewise.
5882 (tf_open): Likewise.
5883 (tf_close): Likewise.
5884 (tf_pread): Likewise.
5885 (tf_pwrite): Likewise.
5886 (tf_preadv): Likewise.
5887 (tf_pwritev): Likewise.
5888 (tf_fsync): Likewise.
5889 (tf_fdatasync): Likewise.
5890 (tf_msync): Likewise.
5891 (tf_sendto): Likewise.
5892 (tf_sendmsg): Likewise.
5893 (tf_creat): Likewise.
5894 (tf_connect): Likewise.
5895 (tf_tcdrain): Likewise.
5896 (tf_msgrcv): Likewise.
5897 (tf_msgsnd): Likewise.
5898 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5899 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5900
5901 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5902 expected arguments.
5903 (do_test): Adapt to use libsupport.
5904
5905 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5906
5907 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5908
5909 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5910 (PF_MAX): Set to 44.
5911 (AF_SMC): New macro.
5912
5913 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5914 kernel version to 4.11.
5915
5916 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5917
5918 [BZ #21280]
5919 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5920 signal of subnormals and adjust the exponent of power of 2 down
5921 when low part has opposite sign.
5922
5923 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc64le/Implies: New file.
5926 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5927 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5928 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5929 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5930 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5931 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5932 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5933 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5934 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5935 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5936 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5937 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5938 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5939 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5940 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5941 * sysdeps/powerpc/preconfigure: New file.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5944
5945 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5946
5947 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5948 inclusion.
5949 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5950 Remove.
5951
5952 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5953
5954 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5955 (XPG3): Rename standard to XPG4.
5956 * conform/Makefile: Likewise.
5957 * conform/list-header-symbols.pl: Likewise.
5958 * conform/data/aio.h-data: Likewise.
5959 * conform/data/arpa/inet.h-data: Likewise.
5960 * conform/data/complex.h-data: Likewise.
5961 * conform/data/ctype.h-data: Likewise.
5962 * conform/data/dlfcn.h-data: Likewise.
5963 * conform/data/fcntl.h-data: Likewise.
5964 * conform/data/fenv.h-data: Likewise.
5965 * conform/data/float.h-data: Likewise.
5966 * conform/data/fmtmsg.h-data: Likewise.
5967 * conform/data/ftw.h-data: Likewise.
5968 * conform/data/grp.h-data: Likewise.
5969 * conform/data/inttypes.h-data: Likewise.
5970 * conform/data/iso646.h-data: Likewise.
5971 * conform/data/langinfo.h-data: Likewise.
5972 * conform/data/libgen.h-data: Likewise.
5973 * conform/data/limits.h-data: Likewise.
5974 * conform/data/locale.h-data: Likewise.
5975 * conform/data/math.h-data: Likewise.
5976 * conform/data/mqueue.h-data: Likewise.
5977 * conform/data/ndbm.h-data: Likewise.
5978 * conform/data/net/if.h-data: Likewise.
5979 * conform/data/netdb.h-data: Likewise.
5980 * conform/data/netinet/in.h-data: Likewise.
5981 * conform/data/poll.h-data: Likewise.
5982 * conform/data/pthread.h-data: Likewise.
5983 * conform/data/pwd.h-data: Likewise.
5984 * conform/data/sched.h-data: Likewise.
5985 * conform/data/search.h-data: Likewise.
5986 * conform/data/semaphore.h-data: Likewise.
5987 * conform/data/signal.h-data: Likewise.
5988 * conform/data/spawn.h-data: Likewise.
5989 * conform/data/stdbool.h-data: Likewise.
5990 * conform/data/stdint.h-data: Likewise.
5991 * conform/data/stdio.h-data: Likewise.
5992 * conform/data/stdlib.h-data: Likewise.
5993 * conform/data/string.h-data: Likewise.
5994 * conform/data/strings.h-data: Likewise.
5995 * conform/data/stropts.h-data: Likewise.
5996 * conform/data/sys/mman.h-data: Likewise.
5997 * conform/data/sys/resource.h-data: Likewise.
5998 * conform/data/sys/select.h-data: Likewise.
5999 * conform/data/sys/socket.h-data: Likewise.
6000 * conform/data/sys/stat.h-data: Likewise.
6001 * conform/data/sys/statvfs.h-data: Likewise.
6002 * conform/data/sys/time.h-data: Likewise.
6003 * conform/data/sys/timeb.h-data: Likewise.
6004 * conform/data/sys/types.h-data: Likewise.
6005 * conform/data/sys/uio.h-data: Likewise.
6006 * conform/data/sys/un.h-data: Likewise.
6007 * conform/data/sys/wait.h-data: Likewise.
6008 * conform/data/syslog.h-data: Likewise.
6009 * conform/data/termios.h-data: Likewise.
6010 * conform/data/tgmath.h-data: Likewise.
6011 * conform/data/time.h-data: Likewise.
6012 * conform/data/ucontext.h-data: Likewise.
6013 * conform/data/unistd.h-data: Likewise.
6014 * conform/data/utmpx.h-data: Likewise.
6015 * conform/data/varargs.h-data: Likewise.
6016 * conform/data/wchar.h-data: Likewise.
6017 * conform/data/wctype.h-data: Likewise.
6018
6019 2017-04-26 Joseph Myers <joseph@codesourcery.com>
6020
6021 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6022 version to 7 branch.
6023
6024 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
6025
6026 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6027 earlyclobber to output operand of sqrt insn.
6028 (__ieee754_sqrtf): Ditto.
6029
6030 2017-04-25 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #21426]
6033 * misc/bits/types/struct_iovec.h: New file.
6034 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6035 * include/bits/types/struct_iovec.h: New file.
6036 * bits/uio.h (struct iovec): Replace by inclusion of
6037 <bits/types/struct_iovec.h>.
6038 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6039 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6040 of <sys/uio.h>.
6041 * nptl/tst-cancel4.c: Include <sys/uio.h>
6042 * posix/test-errno.c: Likewise.
6043 * support/resolv_test.c: Likewise.
6044 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6045 Remove.
6046 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6047 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6048 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6049
6050 * conform/data/sys/socket.h-data (*_t): Allow.
6051
6052 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6053
6054 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6055 assignment.
6056
6057 2017-04-24 Daurnimator <quae@daurnimator.com>
6058 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6059
6060 [BZ #21340]
6061 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6062 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6063 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6064 valid flags.
6065 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6066 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6067 POSIX_SPAWN_SETSID.
6068 * sysdeps/posix/spawni.c (__spawni): Likewise.
6069 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6070 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6071
6072 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6073
6074 * sysdeps/generic/math_private.h: Move the declaration of many
6075 functions to sysdeps/generic/math_private_calls.h.
6076 * sysdeps/generic/math_private_calls.h: New file with the
6077 declarations of the functions removed from math_private.h
6078 macroized by floating-point type.
6079
6080 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6081
6082 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6083 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6084 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6085 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6086 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6087 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6088
6089 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6090
6091 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6092 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6093 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6094 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6095 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6096 New Define.
6097
6098 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6099
6100 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6101 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6102 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6103 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6104 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6105 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6106
6107 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6108
6109 * sysdeps/s390/multiarch/ifunc-resolve.h
6110 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6111 * sysdeps/s390/multiarch/8bit-generic.c
6112 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6113 define ifunc resolvers.
6114
6115 2017-04-21 Florian Weimer <fweimer@redhat.com>
6116
6117 [BZ #20424]
6118 * manual/memory.texi (Replacing malloc): New section.
6119 (Allocating Storage For Program Data): Reference it.
6120 (The GNU Allocator): Likewise.
6121
6122 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6123
6124 * stdlib/Versions (__strtod_internal): List explicitly, not as
6125 wildcard.
6126 (__strtof_internal): Likewise.
6127 (__strtold_internal): Likewise.
6128 (__strtol_internal): Likewise.
6129 (__strtoll_internal): Likewise.
6130 (__strtoul_internal): Likewise.
6131 (__strtoull_internal): Likewise.
6132 (__strtoq_internal): Likewise.
6133 (__strtouq_internal): Likewise.
6134 * wcsmbs/Versions (__wcstod_internal): Likewise.
6135 (__wcstof_internal): Likewise.
6136 (__wcstold_internal): Likewise.
6137 (__wcstol_internal): Likewise.
6138 (__wcstoll_internal): Likewise.
6139 (__wcstoul_internal): Likewise.
6140 (__wcstoull_internal): Likewise.
6141
6142 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6143
6144 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6145 struct timespec definition.
6146
6147 2017-04-19 Florian Weimer <fweimer@redhat.com>
6148
6149 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6150
6151 2017-04-19 Florian Weimer <fweimer@redhat.com>
6152
6153 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6154 * inet/rexec.c (rexec_af): Likewise.
6155
6156 2017-04-19 Zack Weinberg <zackw@panix.com>
6157
6158 * posix/tst-mmap-offset.c: Include stdint.h.
6159 * resolv/tst-ns_name_compress.c: Include string.h.
6160 * resolv/tst-resolv-edns.c: Include resolv.h.
6161
6162 2017-04-19 Florian Weimer <fweimer@redhat.com>
6163
6164 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6165 with __glibc_likely.
6166 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6167 Replace __builtin_expect with __glibc_unlikely.
6168 * resolv/res_init.c (__res_vinit): Likewise.
6169 * resolv/res_query.c (__libc_res_nquery): Likewise.
6170 * resolv/res_send.c (__libc_res_nsend): Likewise.
6171
6172 2017-04-19 Florian Weimer <fweimer@redhat.com>
6173
6174 [BZ #15722]
6175 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6176 with SOCK_CLOEXEC.
6177 * resolv/res_send.c (send_vc, reopen): Likewise.
6178 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6179 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6180 Likewise.
6181 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6182 * inet/rexec.c (rexec_af): Add comment.
6183 * inet/rcmd.c (rresvport_af): Likewise.
6184
6185 2017-04-19 Florian Weimer <fweimer@redhat.com>
6186
6187 * nscd/connections.c (have_accept4): Removed definition.
6188 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6189 accept4 works.
6190 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6191 ia64 because that was the first version with accept4 support.
6192 * support/Makefile (libsupport-routines): Add xaccept4.
6193 * support/xsocket.h (xaccept4): Declare.
6194 * support/xaccept4.c: New file.
6195 * socket/tst-accept4.c: New file.
6196 * socket/Makefile (tests): Add tst-accept4.
6197 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6198 definition.
6199 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6200 comment.
6201 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6202 implementation is available.
6203 (accept4): Use the system call if available, otherwise use the
6204 socket call.
6205 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6206 Set to 3.2.18.
6207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6208 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6209 accept4 is unconditionally available in later 3.2 stable kernels.
6210 (__ASSUME_ACCEPT4_SYSCALL): Define.
6211 * sysdeps/unix/sysv/linux/kernel-features.h
6212 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6213 definitions.
6214 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6215 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6216
6217 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6218
6219 * conform/Makefile (tests-special): Do not make addition of
6220 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6221 (generated): Do not make addition of $(conformtest-header-base)
6222 conditional on [$(cross-compiling) = no].
6223
6224 [BZ #21267]
6225 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6226 if defined by <asm/socket.h> and not previously defined.
6227 (IOCSIZE_SHIFT): Likewise.
6228 (IOC_IN): Likewise.
6229 (IOC_INOUT): Likewise.
6230 (IOC_OUT): Likewise.
6231
6232 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6233
6234 [BZ #21396]
6235 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6236 Prefer_No_AVX512 if AVX512ER isn't available.
6237 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6238 (index_arch_Prefer_No_AVX512): Likewise.
6239 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6240 AVX512 version if Prefer_No_AVX512 is set.
6241 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6242 Likewise.
6243 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6244 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6245 Likewise.
6246 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6247 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6248 Likewise.
6249 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6250 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6251 Likewise.
6252
6253 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6256 Prefer_No_VZEROUPPER if AVX512ER is available.
6257 * sysdeps/x86/cpu-features.h
6258 (bit_cpu_AVX512PF): New.
6259 (bit_cpu_AVX512ER): Likewise.
6260 (bit_cpu_AVX512CD): Likewise.
6261 (bit_cpu_AVX512BW): Likewise.
6262 (bit_cpu_AVX512VL): Likewise.
6263 (index_cpu_AVX512PF): Likewise.
6264 (index_cpu_AVX512ER): Likewise.
6265 (index_cpu_AVX512CD): Likewise.
6266 (index_cpu_AVX512BW): Likewise.
6267 (index_cpu_AVX512VL): Likewise.
6268 (reg_AVX512PF): Likewise.
6269 (reg_AVX512ER): Likewise.
6270 (reg_AVX512CD): Likewise.
6271 (reg_AVX512BW): Likewise.
6272 (reg_AVX512VL): Likewise.
6273
6274 2017-04-18 Florian Weimer <fweimer@redhat.com>
6275
6276 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6277 O_CLOEXEC is defined.
6278 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6279 * io/Makefile (aux): Remove.
6280 * io/have_o_cloexec.c: Remove file.
6281 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6282 defined and works.
6283 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6284 defined.
6285 * login/utmp_file.c (O_flags): Remove definition.
6286 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6287 O_CLOEXEC works.
6288 (pututline_file): Likewise.
6289 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6290 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6291 definition.
6292 (internal_setgrent): Assume that O_CLOEXEC works.
6293 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6294 Remove definition.
6295 (internal_setgrent): Assume that O_CLOEXEC works.
6296 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6297 definition.
6298 (internal_setpwent): Assume that O_CLOEXEC works.
6299 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6300 definition.
6301 (internal_setspent): Assume that O_CLOEXEC works.
6302 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6303 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6304 O_CLOEXEC is defined and works.
6305 * nss/Makefile (libnss_files-routines): Remove
6306 files-have_o_cloexec.
6307 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6308 defined.
6309 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6310 O_CLOEXEC is defined and works.
6311 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6312 * nss/nss_files/files-have_o_cloexec.c: Remove.
6313 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6314 defined.
6315 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6316 and works.
6317 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6318 definition.
6319 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6320 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6321 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6322 (__opendirat, __opendir): Adjust opendir_oflags call.
6323 (check_have_o_cloexec): Remove.
6324 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6325 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6326 defined.
6327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6328 Remove definition.
6329
6330 2017-04-18 Florian Weimer <fweimer@redhat.com>
6331
6332 * include/unistd.h (__have_dup3): Remove declaration.
6333 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6334 dup3 is available.
6335 * libio/freopen64.c (freopen64): Likewise.
6336 * socket/Makefile (aux): Remove have_sock_cloexec.
6337 * socket/have_sock_cloexec.c: Remove file.
6338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6339 definition.
6340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6341 Likewise.
6342 * sysdeps/nacl/kernel-features.h: Update comment.
6343
6344 2017-04-18 Florian Weimer <fweimer@redhat.com>
6345
6346 * include/unistd.h (__have_pipe2): Remove declaration.
6347 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6348 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6349 available.
6350 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6352 Remove definition.
6353
6354 2017-04-18 Florian Weimer <fweimer@redhat.com>
6355
6356 * malloc/malloc.c (cfree): Turn into compat symbol.
6357 (__cfree): Remove alias.
6358 * stdlib/stdlib.h (cfree): Remove declaration.
6359 * malloc/malloc.h (cfree): Likewise.
6360 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6361 * malloc/Versions (GLIBC_2.26): Add.
6362
6363 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6364
6365 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6366 (sysdep_routines): Add strrchr-power8.
6367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6368 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6369 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6371 (strrchr): Add __strrchr_power8 to ifunc list.
6372 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6373
6374 2017-04-17 Rabin Vincent <rabinv@axis.com>
6375
6376 [BZ #21357]
6377 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6378 Call free() outside of mutex.
6379
6380 2017-04-13 Florian Weimer <fweimer@redhat.com>
6381
6382 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6383 is defined.
6384 * elf/rtld.c (process_envvars): Likewise.
6385 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6386 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6387 O_NOFOLLOW directly.
6388 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6389
6390 2017-04-13 Florian Weimer <fweimer@redhat.com>
6391
6392 [BZ #21369]
6393 Remove EDNS fallback.
6394 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6395 handling.
6396 * resolv/res_send.c (send_dg): Likewise.
6397 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6398 "tcp." prefixes.
6399 (do_test): Send a "formerr."-prefixed query in an attempt to
6400 trigger EDNS fallback.
6401
6402 2017-04-13 Florian Weimer <fweimer@redhat.com>
6403
6404 [BZ #21361]
6405 Limit EDNS buffer size to 1200 bytes.
6406 * include/resolv.h (__res_nopt): Remove declaration.
6407 * resolv/Makefile (tests): tst-resolv-edns.
6408 (tst-resolv-edns): Link with -lresolv, -lpthread.
6409 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6410 interval [512, 1200].
6411 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6412 we can resize the buffer.
6413 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6414 (__res_nopt): Declare.
6415 * resolv/tst-resolv-edns.c: New file.
6416 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6417 (struct resolv_response_context): Add edns member.
6418 * resolv/resolv_test.c (struct query_info): Add edns member.
6419 (parse_query): Extract EDNS information from the query.
6420 (server_thread_udp_process_one): Propagate EDNS data.
6421 (server_thread_tcp_client): Likewise.
6422
6423 2017-04-13 Florian Weimer <fweimer@redhat.com>
6424
6425 [BZ #21359]
6426 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6427 byte in the destination buffer. Avoid out-of-bounds pointer
6428 arithmetic.
6429 * resolv/Makefile (tests): Add tst-ns_name_compress.
6430 (tst-ns_name_compress): Link with -lresolv.
6431 * resolv/tst-ns_name_compress.c: New file.
6432 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6433 (response): Recognize LONG_NAME.
6434 (do_test): Add LONG_NAME tests.
6435 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6436 for ns_name_unpack. Add tests for ns_name_pton and
6437 ns_name_compress.
6438
6439 2017-04-13 Florian Weimer <fweimer@redhat.com>
6440
6441 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6442 (res_nisourserver): Remove definition.
6443 (p_section, res_npquery, res_nisourserver): Remove declaration.
6444 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6445 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6446 ... here.
6447 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6448 <resolv.h>.
6449 * resolv/res_query.c: Likewise.
6450 * resolv/res_debug.c (p_section): Define as static.
6451
6452 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6453
6454 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6455 strncat-power8.
6456 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6457 __strncat_power8 to ifunc list.
6458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6459 (strncat): Add __strncat_power8 to list of strncat functions.
6460 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6461
6462 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6463
6464 [BZ #21270]
6465 * posix/tst-mmap-offset.c (do_prepare): New function.
6466 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6467 (do_test_bz21270): New function.
6468 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6469 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6470 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6471 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6472 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6473 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6474 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6475 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6476 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6477 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6478 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6479 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6482 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6483 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6484 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6485 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6486 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6487 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6488 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6489 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6490 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6491 from auto-generation list.
6492 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6493 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6494 * sysdeps/unix/sysv/linux/mmap.c: New file.
6495 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6496 offsets and support for mmap2 syscall.
6497
6498 * posix/globtest.sh: Add cleanup routine on trap 0.
6499
6500 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6503 implementation-specific function name and remove unneeded
6504 macros definition.
6505 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6506 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6508 name if not defined and pass as parameter to macros accordingly.
6509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6510 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6511
6512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6513 implementation-specific function name and remove unneeded
6514 macros definition.
6515 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6516 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6517 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6518 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6522 name if not defined and pass as parameter to macros accordingly.
6523 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6524 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6525 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6529
6530 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6531 implementation-specific function name and remove unneeded macros
6532 definition.
6533 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6534 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6536 function name if not defined and pass as parameter to macros
6537 accordingly.
6538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6539 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6540
6541 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6542 implementation-specific function name and remove unneeded macros
6543 definition.
6544 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6546 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6547 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6549 not defined and pass as parameter to macros accordingly.
6550 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6551 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6552 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6553 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6554
6555 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6556 strcasestr implementation name and remove unneeded macros definition.
6557 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6558 strstr implementation name and remove unneeded macros definition.
6559 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6560 name if not defined and pass as parameter to macros accordingly.
6561 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6562
6563 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6564 implementation-specific function name and remove unneeded macros
6565 definition.
6566 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6567 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6569 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6571 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6572 function name if not defined and pass as parameter to macros
6573 accordingly.
6574 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6575 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6576 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6577 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6578
6579 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6580 the strlen implementation name and remove unneeded macros definition.
6581 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6584 the strnlen implementation name and remove unneeded macros definition.
6585 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6586 name if not defined and pass as parameter to macros accordingly.
6587 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6588 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6590
6591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6592 the implementation-specific function name and remove unneeded
6593 macros definition.
6594 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6596 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6597 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6600 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6601 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6602 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6604 name if not defined and pass as parameter to macros accordingly.
6605 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6607 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6608 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6609 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6610 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6611 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6612 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6613
6614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6615 implementation-specific function name and remove unneeded macros
6616 definition.
6617 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6618 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6620 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6621 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6623 function name if not defined.
6624 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6625 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6626
6627 2017-04-11 Paul Clarke <pc@us.ibm.com>
6628
6629 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6630 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6631 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6632 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6633
6634 2017-04-11 Florian Weimer <fweimer@redhat.com>
6635 Zack Weinberg <zackw@panix.com>
6636
6637 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6638 readdir64 as thread-safe. Update warning about readdir_r.
6639
6640 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6641
6642 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6643 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6644 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6645 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6646 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6647 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6648 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6649
6650 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * sysdeps/i386/dl-procinfo.c: Include
6653 <sysdeps/x86/dl-procinfo.c>.
6654 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6655 * sysdeps/x86/dl-procinfo.c: New file.
6656
6657 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6658
6659 * sysdeps/generic/math_private.h: Remove declarations of
6660 many functions that are already declared in math.h.
6661 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6662 declaration for __frexpl.
6663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6664 the declarations for __scalbnl and fabsl.
6665
6666 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6667
6668 [BZ #20831]
6669 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6670 of __mprotect to change protection on the excess portion
6671 to disallow all access.
6672
6673 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6674
6675 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6676 HAS_CPU_FEATURE to check for SSE.
6677 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6678 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6679 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6680 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6681 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6682 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6683 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6684 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6685 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6686 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6687 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6688 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6689 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6690 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6691 (index_cpu_SSE): Likewise.
6692 (reg_SSE): Likewise.
6693
6694 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6695
6696 * posix/getopt1.c: Include <config.h>, not "config.h".
6697
6698 2017-04-07 Zack Weinberg <zackw@panix.com>
6699
6700 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6701 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6702 Mention in top-of-file boilerplate that these files are shared
6703 with gnulib.
6704 * posix/getopt.h, posix/bits/getopt_posix.h:
6705 Mention in top-of-file boilerplate that these files are NOT shared
6706 with gnulib, unlike the rest of the getopt implementation.
6707
6708 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6709 New files, intended to be shared with gnulib.
6710 * posix/bits/getopt_posix.h:
6711 New file, not intended to be shared with gnulib.
6712 * posix/getopt.h: Now just includes features.h,
6713 bits/getopt_core.h, and bits/getopt_ext.h. Will
6714 no longer be shared with gnulib.
6715 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6716 * include/bits/getopt_posix.h: New wrappers.
6717 * posix/Makefile: Install new headers.
6718 * posix/unistd.h, libio/stdio.h:
6719 Include bits/getopt_posix.h instead of getopt.h.
6720
6721 * include/libc-symbols.h: For gnulib compatibility, define
6722 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6723 _GL_ATTRIBUTE_CONST.
6724 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6725 parameters with _GL_UNUSED.
6726
6727 * posix/getopt.c: When used standalone, define __libc_use_alloca
6728 as always false and alloca to abort if called.
6729 (process_long_option): Rewrite handling of ambiguous long options
6730 to use a single boolean vector, not a linked list; use
6731 __libc_use_alloca to decide whether to allocate this using alloca.
6732 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6733
6734 * posix/getopt.c (process_long_option): New function split out
6735 from _getopt_internal_r.
6736 (_getopt_internal_r): Replace both copies of the long-option
6737 processing code with calls to process_long_option.
6738 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6739 (do_test): Differentiate argv[0] in the two subtests.
6740
6741 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6742 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6743 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6744
6745 * posix/getopt.h: Add backup definition of __nonnull for
6746 consistency with gnulib. Define __getopt_argv_const to const
6747 if not already defined.
6748 (getopt): Update doc comment from gnulib. Prototype
6749 unconditionally. Add __nonnull annotation.
6750 (__posix_getopt): Add __nonnull annotation.
6751 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6752 prototypes for consistency with gnulib. Add __nonnull
6753 annotations.
6754 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6755 (getopt_internal): Change 'argv' argument to type 'char **'.
6756 Remove now-unnecessary casts.
6757 (getopt, __posix_getopt): Eliminate repetition with a macro.
6758 Cast 'argv' to 'char **' when calling _getopt_internal.
6759 * posix/getopt1.c (getopt_long, getopt_long_only):
6760 Use __getopt_argv_const for consistency with gnulib.
6761 Cast 'argv' to 'char **' when calling _getopt_internal.
6762 (_getopt_long_r, _getopt_long_only_r):
6763 Change 'argv' argument to type 'char **'.
6764 (main): Constify 'long_options'.
6765 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6766 (_getopt_long_r, _getopt_long_only_r):
6767 Change 'argv' argument to type 'char **'.
6768
6769 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6770 (locked_vfxprintf): New helper function. Handle arbitrary
6771 multibyte strings, not just ASCII.
6772 * include/stdio.h: Declare __fxprintf_nocancel.
6773 * posix/getopt.c: When _LIBC is defined, define fprintf to
6774 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6775 to _IO_funlockfile. When neither _LIBC nor
6776 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6777 funlockfile as no-ops.
6778 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6779 the standalone error-printing code can now be used for libc as
6780 well. Add an flockfile/funlockfile pair around one case where
6781 the error message is printed in several chunks. Don't use fputc.
6782 * posix/tst-getopt-cancel.c: New test.
6783 * posix/Makefile: Run it.
6784
6785 * posix/getopt.c (_getopt_internal_r): Don't increment
6786 d->optind a second time when reporting ambiguous -W options.
6787
6788 * posix/getopt_int.h: Include getopt.h.
6789 Use impl-namespace names for all arguments to _getopt_internal and
6790 _getopt_internal_r.
6791 Declare __ordering enum outside the struct.
6792 Harmonize comments with gnulib.
6793 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6794 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6795 #ifdef TEST block and make unconditional. Do not define NULL.
6796 * posix/getopt.c: Partial merge from gnulib, covering the
6797 initial includes and global declarations, commentary, and
6798 a couple of semantically-neutral code changes.
6799
6800 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6801 Use '...' instead of `...' for quotation marks inside
6802 comments and strings.
6803
6804 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6805 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6806 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6807 * posix/getopt_int.h: Likewise.
6808 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6809 __libc_argc and __libc_argv externs, which were only used by
6810 #ifdef USE_NONOPTION_FLAGS blocks.
6811 * posix/getopt_init.c: Remove file.
6812 * posix/Makefile (routines): Remove getopt_init.
6813 * include/getopt.h: Don't declare __getopt_initialize_environment.
6814 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6815 a comment.
6816
6817 2017-04-07 Florian Weimer <fweimer@redhat.com>
6818
6819 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6820
6821 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6822
6823 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6824 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6825 to __wrap_.udiv.
6826 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6827 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6828
6829 * sysdeps/i386/symbol-hacks.h: New file.
6830 * sysdeps/m68k/symbol-hacks.h: New file.
6831 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6832 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6833 * sysdeps/unix/sysv/linux/i386/Makefile
6834 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6835 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6836 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6837 * sysdeps/unix/sysv/linux/m68k/Makefile
6838 [$(subdir) = csu] (sysdep_routines): Likewise.
6839 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6840 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6842 [$(subdir) = csu] (sysdep_routines): Likewise.
6843 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6844 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6846 [$(subdir) = csu] (sysdep_routines): Likewise.
6847 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6848 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6849 * sysdeps/wordsize-32/Makefile: Remove file.
6850 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6851 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6852
6853 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6854
6855 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6856 (TEST_FUNCTION_ARGV): New.
6857
6858 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6859
6860 * elf/next.c: Import support/test-driver.c instead of
6861 test-skeleton.c and delete TEST_FUNCTION macro definition.
6862 * elf/nodelete.c: Likewise.
6863 * elf/order2.c: Likewise.
6864 * elf/tst-_dl_addr_inside_object.c: Likewise.
6865 * elf/tst-addr1.c: Likewise.
6866 * elf/tst-align.c: Likewise.
6867 * elf/tst-align2.c: Likewise.
6868 * elf/tst-audit11.c: Likewise.
6869 * elf/tst-audit12.c: Likewise.
6870 * elf/tst-audit2.c: Likewise.
6871 * elf/tst-audit9.c: Likewise.
6872 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6873 * elf/tst-deep1.c: Likewise.
6874 * elf/tst-dl-iter-static.c: Likewise.
6875 * elf/tst-dlmodcount.c: Likewise.
6876 * elf/tst-dlmopen1.c: Likewise.
6877 * elf/tst-dlmopen2.c: Likewise.
6878 * elf/tst-dlmopen3.c: Likewise.
6879 * elf/tst-dlopen-aout.c: Likewise.
6880 * elf/tst-dlopenrpath.c: Likewise.
6881 * elf/tst-dlsym-error.c: Likewise.
6882 * elf/tst-execstack-needed.c: Likewise.
6883 * elf/tst-execstack-prog.c: Likewise.
6884 * elf/tst-execstack.c: Likewise.
6885 * elf/tst-global1.c: Likewise.
6886 * elf/tst-gnu2-tls1.c: Likewise.
6887 * elf/tst-latepthread.c: Likewise.
6888 * elf/tst-leaks1.c: Likewise.
6889 * elf/tst-linkall-static.c: Likewise.
6890 (do_test): New function.
6891 * elf/tst-nodelete-opened.c: Likewise.
6892 * elf/tst-nodelete.cc: Likewise.
6893 * elf/tst-nodelete2.c: Likewise.
6894 * elf/tst-noload.c: Likewise.
6895 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6896 * elf/tst-order-main.c: Likewise.
6897 * elf/tst-pathopt.c: Likewise.
6898 * elf/tst-pie2.c: Likewise.
6899 * elf/tst-piemod1.c: Likewise.
6900 * elf/tst-prelink.c: Likewise.
6901 * elf/tst-protected1a.c: Likewise.
6902 * elf/tst-protected1b.c: Likewise.
6903 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6904 and define _GNU_SOURCE macro.
6905 (cmdline_process_function): New function.
6906 * elf/tst-relsort1.c: Likewise.
6907 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6908 and define _GNU_SOURCE macro.
6909 (cmdline_process_function): New function.
6910 * elf/tst-thrlock.c: Likewise.
6911 * elf/tst-tls-dlinfo.c: Likewise.
6912 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6913 * elf/tst-tls1.c: Likewise.
6914 * elf/tst-tls10.c: Likewise.
6915 * elf/tst-tls11.c: Likewise.
6916 * elf/tst-tls12.c: Likewise.
6917 * elf/tst-tls13.c: Likewise.
6918 * elf/tst-tls14.c: Likewise.
6919 * elf/tst-tls15.c: Likewise.
6920 * elf/tst-tls16.c: Likewise.
6921 * elf/tst-tls17.c: Likewise.
6922 * elf/tst-tls18.c: Likewise.
6923 * elf/tst-tls19.c: Likewise.
6924 * elf/tst-tls2.c: Likewise.
6925 * elf/tst-tls3.c: Likewise.
6926 * elf/tst-tls4.c: Likewise.
6927 * elf/tst-tls5.c: Likewise.
6928 * elf/tst-tls6.c: Likewise.
6929 * elf/tst-tls7.c: Likewise.
6930 * elf/tst-tls8.c: Likewise.
6931 * elf/tst-tls9.c: Likewise.
6932 * elf/tst-tlsalign-extern.c: Likewise.
6933 * elf/tst-tlsalign.c: Likewise.
6934 * elf/tst-unique1.c: Likewise.
6935 * elf/tst-unique2.c: Likewise.
6936 * elf/vismain.c: Likewise.
6937
6938 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6939
6940 * string/test-strnlen.c (do_page_tests): New function
6941 to check length of strings ending at the page boundary.
6942 (test_main): Added call to the do_page_tests function.
6943
6944 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6945 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6946
6947 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6948 (sysdep_routines): Add strnlen-power8.
6949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6950 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6951 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6952 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6953 (__strnlen): Add __strnlen_power8 to ifunc list.
6954 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6955
6956 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6957
6958 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6959 the TEST_FUNCTION macro definition.
6960 * wcsmbs/tst-mbrtowc2.c: Likewise.
6961 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6962 * wcsmbs/tst-wchar-h.c: Likewise.
6963 * wcsmbs/tst-wcpncpy.c: Likewise.
6964 * wcsmbs/tst-wcrtomb.c: Likewise.
6965 * wcsmbs/tst-wcsnlen.c: Likewise.
6966 * wcsmbs/tst-wcstof.c: Likewise.
6967
6968 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6969
6970 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6971 CALL_THREAD_FCT macro usage.
6972 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6973 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6974 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6975
6976 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6978 (__ASSUME_REQUEUE_PI): Likewise.
6979 * sysdeps/unix/sysv/linux/kernel-features.h
6980 (__ASSUME_REQUEUE_PI): Likewise.
6981 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6982 (__ASSUME_REQUEUE_PI): Likewise.
6983 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6984 (__ASSUME_REQUEUE_PI): Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6986 (__ASSUME_REQUEUE_PI): Likewise.
6987
6988 2017-04-04 Florian Weimer <fweimer@redhat.com>
6989
6990 * resolv/tst-resolv-canonname.c: New file.
6991 * resolv/Makefile (tests): Add tst-resolv-canonname.
6992 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6993
6994 2017-04-04 Florian Weimer <fweimer@redhat.com>
6995
6996 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6997 Declare.
6998 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6999 (NS_MAXCDNAME): Remove definition.
7000 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7001 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7002 (NS_MAXCDNAME): Remove definition.
7003 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7004
7005 2017-04-04 Florian Weimer <fweimer@redhat.com>
7006
7007 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7008 call whose result is not used.
7009
7010 2017-04-04 Florian Weimer <fweimer@redhat.com>
7011
7012 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7013 * resolv/Makefile (tests): Add tst-ns_name.
7014 (tst-ns_name): Link with -lresolv.
7015 (tst-ns_name.out): Depend on the input data file.
7016
7017 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7018
7019 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7020 Clobber also r14.
7021
7022 2017-04-03 Mike Frysinger <vapier@gentoo.org>
7023
7024 [BZ #21253]
7025 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7026 slack space by 32KiB.
7027
7028 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7029
7030 [BZ #21338]
7031 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7032 instead of incorrect do_set_arena_test
7033
7034 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7035
7036 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7037 * math/bits/math-finite.h: Likewise.
7038
7039 2017-03-31 Slava Barinov <v.barinov@samsung.com>
7040
7041 [BZ #21289]
7042 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7043
7044 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7045
7046 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7047 non expected inotify_add_watch and quotactl return.
7048
7049 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7050
7051 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7052 to int32_t.
7053 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7054 as returning int32_t.
7055
7056 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7057
7058 * math/math.h: Include bits/math-finite.h once per
7059 floating-point type.
7060 * math/bits/math-finite.h: Macroize all declarations by
7061 floating-point type.
7062
7063 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7064
7065 [BZ #21182]
7066 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7067 near end of a page.
7068 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7069 overflow calculation.
7070
7071 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7072
7073 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7074 (IMPL) Call with 1 instead of 0 as argument.
7075
7076 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7077
7078 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7079 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7080 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7081 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7082 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7083 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7084 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7085 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7086 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7087 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7088 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7089 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7091 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7092 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7093 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7094 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7095 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7096 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7097 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7098 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7099 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7100 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7101 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7102 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7103 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7104 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7105 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7106 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7107 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7111 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7115 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7116 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7117 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7118 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7119 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7120 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7121 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7122 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7123 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7125 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7127 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7128 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7130 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7131 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7133 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7134 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7135 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7136 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7137 defined.
7138 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7139 __NR_setgroups32 if defined.
7140 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7141 if defined.
7142 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7143 __NR_setresgid32 is defined.
7144 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7145 __NR_setresuid32 if defined.
7146 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7147 __NR_setreuid32 if defined.
7148 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7149 defined.
7150 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7151 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7152 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7153 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7154 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7155 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7156 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7157 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7158 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7159 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7160 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7161 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7163 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7164 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7165 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7166 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7167 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7168 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7169 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7170 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7171 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7172 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7173 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7174 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7175 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7176 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7177 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7178 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7179 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7180 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7183 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7184 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7185 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7186 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7187 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7188 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7189 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7190 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7191 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7193 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7194 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7195 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7198 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7201 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7202 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7203 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7205 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7206 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7207 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7208 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7209 defined.
7210 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7211 __NR_setgroups32 if defined.
7212 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7213 if defined.
7214 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7215 __NR_setresgid32 is defined.
7216 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7217 __NR_setresuid32 if defined.
7218 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7219 __NR_setreuid32 if defined.
7220 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7221 defined.
7222
7223 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7224
7225 [BZ #21277]
7226 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7227 unconditionally.
7228 (IMAXBEL): Likewise.
7229 (IUTF8): Likewise.
7230
7231 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7232
7233 * sysdeps/aarch64/libm-test-ulps: Update.
7234
7235 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7236
7237 * README.tunables: Updated descriptions.
7238 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7239 * scripts/gen-tunables.awk: Updated the code related to the
7240 commit.
7241
7242 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7243
7244 * benchtests/Makefile (string-benchset): Add memcpy-random.
7245 * benchtests/bench-memcpy-random.c: New file.
7246
7247 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7248
7249 * stdio-common/printf.h (register_printf_modifier): Change the
7250 order of __wur and __THROW.
7251 (register_printf_type): Likewise.
7252
7253 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7254
7255 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7256 test_main ().
7257 (CMDLINE_PROCESS): Use function instead of defined macro.
7258 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7259 <suppport/support.h> to use set_fortify_handler().
7260 * string/bug-envz1.c: Import support/test-driver.c instead of
7261 test-skeleton.c.
7262 * string/bug-strcoll2.c: Likewise.
7263 * string/bug-strtok1.c: Likewise.
7264 * string/stratcliff.c: Likewise.
7265 * string/test-ffs.c: Likewise.
7266 * string/test-memccpy.c: Likewise.
7267 * string/test-memchr.c: Likewise.
7268 * string/test-memcmp.c: Likewise.
7269 * string/test-memcpy.c: Likewise.
7270 * string/test-memmem.c: Likewise.
7271 * string/test-memmove.c: Likewise.
7272 * string/test-memrchr.c: Likewise.
7273 * string/test-memset.c: Likewise.
7274 * string/test-rawmemchr.c: Likewise.
7275 * string/test-strcasecmp.c: Likewise.
7276 * string/test-strcasestr.c: Likewise.
7277 * string/test-strcat.c: Likewise.
7278 * string/test-strchr.c: Likewise.
7279 * string/test-strcmp.c: Likewise.
7280 * string/test-strcpy.c: Likewise.
7281 * string/test-string.h: Likewise.
7282 * string/test-strlen.c: Likewise.
7283 * string/test-strncasecmp.c: Likewise.
7284 * string/test-strncat.c: Likewise.
7285 * string/test-strncmp.c: Likewise.
7286 * string/test-strncpy.c: Likewise.
7287 * string/test-strnlen.c: Likewise.
7288 * string/test-strpbrk.c: Likewise.
7289 * string/test-strrchr.c: Likewise.
7290 * string/test-strspn.c: Likewise.
7291 * string/test-strstr.c: Likewise.
7292 * string/tst-bswap.c: Likewise.
7293 * string/tst-cmp.c: Likewise.
7294 * string/tst-endian.c: Likewise.
7295 * string/tst-inlcall.c: Likewise.
7296 * string/tst-strcoll-overflow.c: Likewise.
7297 * string/tst-strfry.c: Likewise.
7298 * string/tst-strlen.c: Likewise.
7299 * string/tst-strtok.c: Likewise.
7300 * string/tst-strtok_r.c: Likewise.
7301 * string/tst-strxfrm.c: Likewise.
7302 * string/tst-strxfrm2.c: Likewise.
7303 * string/tst-svc.c: Likewise.
7304 * string/tst-svc2.c: Likewise.
7305
7306 2017-03-22 Zack Weinberg <zackw@panix.com>
7307
7308 * stdio-common/bug25.c: Include stdlib.h.
7309 * support/tst-support_format_dns_packet.c: Include stdio.h,
7310 stdlib.h, and string.h.
7311 * support/tst-support_record_failure.c: Include string.h.
7312 * support/tst-support_record_failure-2.sh: Adjust line number
7313 expectations and correct a typo in an error message.
7314
7315 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 [BZ #21258]
7318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7319 Define only if _dl_runtime_resolve is defined to
7320 _dl_runtime_resolve_sse_vex.
7321 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7322 Fallthrough to _dl_runtime_resolve_sse_vex.
7323
7324 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7325
7326 * INSTALL: Regenerated.
7327
7328 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7329
7330 * config.h.in: Add LINK_OBSOLETE_NSL.
7331 * config.make.in: Add build-obsolete-nsl.
7332 * configure.ac: Add obsolete-nsl option.
7333 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7334 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7335 * include/rpcsvc/nislib.h: Likewise.
7336 * include/rpcsvc/ypclnt.h: Likewise.
7337 * manual/install.texi: Document --enable-obsolete-nsl.
7338 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7339 * nis/nis_add.c: Replace libnsl_hidden_def with
7340 libnsl_hidden_nolink_def.
7341 * nis/nis_addmember.c: Likewise.
7342 * nis/nis_call.c: Likewise.
7343 * nis/nis_clone_obj.c: Likewise.
7344 * nis/nis_defaults.c: Likeise.
7345 * nis/nis_domain_of_r.c: Likewise.
7346 * nis/nis_error.c: Likewise.
7347 * nis/nis_file.c: Likewise.
7348 * nis/nis_free.c: Likewise.
7349 * nis_local_names.c: Likewise.
7350 * nis/nis_lookup.c: Likewise.
7351 * nis/nis_modify.c: Likewise.
7352 * nis/nis_print.c: Likewise.
7353 * nis/nis_remove.c: Likewise.
7354 * nis/nis_table.c: Likewise.
7355 * nis/nis_util.c: Likewise.
7356 * nis/nis_xdr.c: Likewise.
7357 * nis/yp_xdr.c: Likewise.
7358 * nis/ypclnt.c: Likewise.
7359 * nis/ypupdate_xdr.c: Likewise.
7360 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7361 * nis/nis_clone_dir.c: Likewise.
7362 * nis/nis_clone_res.c: Likewise.
7363 * nis/nis_creategroup.c: Likewise.
7364 * nis/nis_destroygroup.c: Likewise.
7365 * nis/nis_domain_of.c: Likewise.
7366 * nis/nis_getservlist.c: Likewise.
7367 * nis/nis_ismember.c: Likewise.
7368 * nis/nis_mkdir.c: Likewise.
7369 * nis/nis_ping.c: Likewise.
7370 * nis/nis_print_group_entry.c: Likewise.
7371 * nis/nis_removemember.c: Likewise.
7372 * nis/nis_rmdir.c: Likewise.
7373 * nis/nis_server.c: Likewise.
7374 * nis/nis_subr.c: Likewise.
7375 * nis/nis_verifygroup.c: Likewise.
7376
7377 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7378
7379 * malloc/tst-interpose-aux.c (check_for_allocations):
7380 Move compiler barrier before free.
7381
7382 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7383
7384 [BZ #21279]
7385 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7386 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7387 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7388 x86_64-x32-linux.
7389 (mq_attr.mq_maxmsg): Likewise.
7390 (mq_attr.mq_msgsize): Likewise.
7391 (mq_attr.mq_curmsgs): Likewise.
7392
7393 [BZ #21278]
7394 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7395 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7396 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7397 mips-o32-linux.
7398
7399 [BZ #21268]
7400 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7401 if [__USE_MISC]
7402 (NL3): Likewise.
7403
7404 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7405
7406 [BZ #21275]
7407 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7408 __stack to __stackbase.
7409 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7410 checks so we can include defined(__ia64__) first.
7411
7412 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7413
7414 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7415 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7416 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7417 Call is_pty when the link does not exist or does not match, fail
7418 with ENODEV when it returns true.
7419 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7420 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7421 Call is_pty when the link does not exist or does not match, fail
7422 with ENODEV when it returns true.
7423
7424 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7425
7426 [BZ #16437]
7427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7428 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7429 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7430 x86_64-x32-linux.
7431 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7432 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7433 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7434
7435 [BZ #21261]
7436 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7437 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7438 names for all fields.
7439 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7440 for jmp_buf field renaming.
7441 (_JMPBUF_UNWINDS_ADJ): Likewise.
7442
7443 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7444 with allow-header.
7445
7446 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7447
7448 * malloc/malloc.c (unlink): Add consistency check between size and
7449 next->prev->size, to further harden against 1-byte overflows.
7450
7451 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7452
7453 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7454 CPU_FEATURES_CPU_P.
7455
7456 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7457
7458 [BZ #21259]
7459 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7460 unconditionally, not just for [__USE_MISC].
7461
7462 [BZ #17786]
7463 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7464 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7465 mips-o32-linux.
7466
7467 [BZ #21260]
7468 * sysdeps/unix/sysv/linux/alpha/Makefile
7469 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7470 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7471
7472 * conform/conformtest.pl ($cross): New variable.
7473 (--cross): New command-line option.
7474 (runtest): Skip test execution when cross-compiling.
7475 * conform/Makefile (conformtest-cross): New variable.
7476 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7477 conformtest.pl.
7478
7479 * conform/conformtest.pl ($xfail_str): New variable.
7480 (--xfail=): New command-line option.
7481 (top level): Handle expectations starting xfail[cond]-.
7482 * conform/Makefile (conformtest-xfail): New variable.
7483 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7484 conformtest.pl.
7485
7486 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7487
7488 * conform/conformtest.pl: Use compilation instead of execution
7489 tests for testing values of constants and usability in #if.
7490
7491 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7492
7493 * math/auto-libm-test-in: Mark some catan and catanh as
7494 xfail-rounding:ibm128-libgcc.
7495 * math/auto-libm-test-out-catan: Regenerate.
7496 * math/auto-libm-test-out-catanh: Likewise.
7497
7498 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7499
7500 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7501 (__END_NAMESPACE_STD): Likewise.
7502 (__USING_NAMESPACE_STD): Likewise.
7503 (__BEGIN_NAMESPACE_C99): Likewise.
7504 (__END_NAMESPACE_C99): Likewise.
7505 (__USING_NAMESPACE_C99): Likewise.
7506 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7507 undefine macro.
7508 (_Mdouble_END_NAMESPACE): Likewise.
7509 * ctype/ctype.h: Do not handle C++ namespaces.
7510 * libio/bits/stdio-ldbl.h: Likewise.
7511 * libio/stdio.h: Likewise.
7512 * locale/locale.h: Likewise.
7513 * math/bits/mathcalls.h: Likewise.
7514 * setjmp/setjmp.h: Likewise.
7515 * signal/signal.h: Likewise.
7516 * stdlib/bits/stdlib-float.h: Likewise.
7517 * stdlib/bits/stdlib-ldbl.h: Likewise.
7518 * stdlib/stdlib.h: Likewise.
7519 * string/string.h: Likewise.
7520 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7521 * time/bits/types/clock_t.h: Likewise.
7522 * time/bits/types/struct_tm.h: Likewise.
7523 * time/bits/types/time_t.h: Likewise.
7524 * time/time.h: Likewise.
7525 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7526 * wcsmbs/uchar.h: Likewise.
7527 * wcsmbs/wchar.h: Likewise.
7528 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7529 * wctype/wctype.h: Do not handle C++ namespaces.
7530 * scripts/begin-end-check.pl: Remove.
7531 * Makefile (installed-headers): Likewise.
7532 (tests-special): Do not add $(objpfx)begin-end-check.out.
7533 ($(objpfx)begin-end-check.out): Remove.
7534
7535 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7536 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7537
7538 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7539 (DL_PLATFORM_INIT): New define.
7540 (dl_platform_init): New function.
7541 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7542 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7543 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7544 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7545 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7546
7547 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7548
7549 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7550 instead of PIC.
7551
7552 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7553
7554 [BZ #21094]
7555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7556 24+24+24-bit pi for wider range of values around pi/2.
7557 * math/auto-libm-test-in: Add more tests of cos and tan.
7558 * math/auto-libm-test-out-cos: Regenerated.
7559 * math/auto-libm-test-out-tan: Likewise.
7560
7561 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7562
7563 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7564 (RTLD_START): Don't record stack end address in _dl_start_user.
7565
7566 2017-03-15 Alexey Neyman <stilor@att.net>
7567
7568 [BZ #21088]
7569 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7570 around definitions match those around use.
7571
7572 2017-03-15 Alexey Neyman <stilor@att.net>
7573
7574 * configure.ac: Avoid empty subexpression in grep.
7575 * configure: Regenerate.
7576
7577 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7578
7579 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7580 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7581 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7582 (test_wrp_rv): Fix format.
7583 (test_wrp_rv2): New macro.
7584 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7585 binaries.
7586
7587 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7588
7589 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7590 Use a union when storing pointers.
7591 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7592 cast result when passing to INIT_VEC_PTRS_LOOP.
7593 (VECTOR_WRAPPER_fFF_3): Likewise.
7594 (VECTOR_WRAPPER_fFF_4): Likewise.
7595
7596 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7597
7598 * include/bits/mathcalls-helper-functions.h: New file.
7599 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7600 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7601 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7602 math/bits/mathcalls-helper-functions.h.
7603 * math/bits/mathcalls-helper-functions.h: New file.
7604 * math/math.h: Include bits/mathcalls-helper-functions.h for
7605 float, double, and long double.
7606
7607 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7608
7609 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7610 instead of feraiseexcept.
7611
7612 2017-03-15 Florian Weimer <fweimer@redhat.com>
7613
7614 [BZ #21243]
7615 * support/temp_file.c (support_delete_temp_files): Add comment
7616 about ignored errors.
7617
7618 2017-03-15 Florian Weimer <fweimer@redhat.com>
7619
7620 [BZ #21244]
7621 * support/xclose.c: New file.
7622 * support/Makefile (libsupport-routines): Add xclose.
7623 * support/xunistd.h (xclose): Declare.
7624 * support/resolv_test.c (server_thread_tcp_client)
7625 (server_thread_tcp, make_server_sockets, resolv_test_start)
7626 (resolv_test_end): Call xclose instead of close.
7627 * support/support_enter_network_namespace.c
7628 (support_enter_network_namespace): Likewise.
7629 * support/support_run_diff.c (write_to_temp_file): Likewise.
7630
7631 2017-03-15 Florian Weimer <fweimer@redhat.com>
7632
7633 * support/support_format_dns_packet.c (support_format_dns_packet):
7634 Handle CNAME records in the response. Extract RDATA names from
7635 rdata, not the whole packet. Check AAAA record length.
7636 * support/tst-support_format_dns_packet.c: New file.
7637 * support/Makefile (tests): Add tst-support_format_dns_packet.
7638 (tst-support_format_dns_packet): Link against libresolv.
7639
7640 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7641
7642 [BZ #21232]
7643 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7644 posix_fadvise64 weak_alias for static build.
7645
7646 2017-03-14 Andreas Schwab <schwab@suse.de>
7647
7648 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7649 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7650 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7651 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7652 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7653 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7654 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7655 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7656
7657 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7658
7659 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7660 posix error code.
7661 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7662
7663 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664
7665 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7666 no_isolate usage for SH.
7667
7668 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7669
7670 [BZ #15105]
7671 [BZ #19463]
7672 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7673 * inet/rcmd.c (rcmd_af): Likewise.
7674 * inet/rexec.c (rexec_af): Likewise.
7675 * intl/dcigettext.c (_LIBC): Likewise.
7676 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7677 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7678 * locale/setlocale.c (setlocale): Likewise.
7679 * posix/spawn_faction_addopen.c
7680 (posix_spawn_file_actions_addopen): Likewise.
7681 * stdlib/putenv.c (putenv): Use __strndup.
7682 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7684 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7685 (__Need_M_And_C) Remove define/undef.
7686 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7687 (__malloc_and_calloc_defined): Remove define.
7688 * string/bits/string2.h (__strdup): Remove define.
7689 (strdup): Likewise.
7690 (__strndup): Likewise.
7691 (strndup): Likewise.
7692
7693 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7694
7695 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7696 macro.
7697 (IPV6_ADDR_PREFERENCES): Likewise.
7698 (IPV6_MINHOPCOUNT): Likewise.
7699 (IPV6_ORIGDSTADDR): Likewise.
7700 (IPV6_RECVORIGDSTADDR): Likewise.
7701 (IPV6_TRANSPARENT): Likewise.
7702 (IPV6_UNICAST_IF): Likewise.
7703 (IPV6_RECVFRAGSIZE): Likewise.
7704
7705 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7706
7707 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7708
7709 2017-03-12 Alexey Neyman <stilor@att.net>
7710
7711 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7712 in R_SH_DIR32 case is always false when inlined from
7713 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7714
7715 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7716
7717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7718 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7719 __ASSUME_SEND_SYSCALL.
7720
7721 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7722
7723 * sunrpc/Makefile: don't build and install rpcsvc header
7724 files, rpcgen and librpcsvc.a by default.
7725
7726 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7727
7728 * math/auto-libm-test-out-catan: Regenerated.
7729 * math/auto-libm-test-out-catanh: Likewise.
7730 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7731
7732 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7733
7734 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7735 for long double with corrected test expectations.
7736
7737 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7738
7739 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7740 Define.
7741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7742 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7743 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7744 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7745 * sysdeps/unix/sysv/linux/tile/sysdep.h
7746 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7747 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7748 (__ASSUME_RECV_SYSCALL): Define.
7749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7750 (__ASSUME_RECV_SYSCALL): Likewise.
7751 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7752 (__ASSUME_RECV_SYSCALL): Likewise.
7753 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7754 (__ASSUME_RECV_SYSCALL): Likewise.
7755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7756 (__ASSUME_RECV_SYSCALL): Likewise.
7757 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7758 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7760 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7761 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7762 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7763 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7764 auto-generation list.
7765 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7766 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7767 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7768 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7769 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7770 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7771 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7772 __ASSUME_SENDTO_SYSCALL.
7773 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7774 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7775 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7776
7777 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7778 auto-generation list.
7779 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7780 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7781 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7782 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7783 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7786 * sysdeps/unix/sysv/linux/kernel-features.h
7787 (__ASSUME_SENDTO_SYSCALL): Define by default.
7788 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7789 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7790 __NR_sendto.
7791 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7792 (__ASSUME_SENDTO_SYSCALL): Likewise.
7793 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7794 (__ASSUME_SENDTO_SYSCALL): Likewise.
7795 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7796 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7797 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7798 (__ASSUME_SENDTO_SYSCALL): Likewise.
7799 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7800 (__ASSUME_SENDTO_SYSCALL): Likewise.
7801 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7802
7803 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7804 auto-generation list.
7805 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7806 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7807 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7808 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7811 (__ASSUME_RECV_SYSCALL): New define.
7812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7813 (__ASSUME_RECV_SYSCALL): Likewise.
7814 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7815 (__ASSUME_RECV_SYSCALL): Likewise.
7816 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7817 (__ASSUME_RECV_SYSCALL): Likewise.
7818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7819 (__ASSUME_RECV_SYSCALL): Likewise.
7820 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7821 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7822 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7823 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7824 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7825 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7826 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7827 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7829 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7830 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7831 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7832
7833 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7834 auto-generation list.
7835 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7836 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7837 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7838 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7841 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7842 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7843 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7844 * sysdeps/unix/sysv/linux/kernel-features.h
7845 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7846 __NR_recvfrom.
7847 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7848 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7849 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7850 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7851 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7852 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7853 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7854 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7855 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7856 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7858 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7859 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7860
7861 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7862 auto-generation list.
7863 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7864 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7867 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7868 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7869 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7870 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7871 * sysdeps/unix/sysv/linux/kernel-features.h
7872 (__ASSUME_CONNECT_SYSCALL): Define.
7873 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7874 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7875 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7876 (__ASSUME_CONNECT_SYSCALL): Likewise.
7877 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7878 (__ASSUME_CONNECT_SYSCALL): Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7880 (__ASSUME_CONNECT_SYSCALL): Likewise.
7881
7882 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7883 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7884 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7885 auto-generation list.
7886 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7887 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7888 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7889 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7890 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7893 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7894 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7895 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7896 * sysdeps/unix/sysv/linux/kernel-features.h
7897 (__ASSUME_ACCEPT_SYSCALL): New define.
7898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7899 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7900 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7902 (__ASSUME_ACCEPT_SYSCALL): Define.
7903 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7904 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7905 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7906 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7907 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7908 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7909 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7910 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7911 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7912
7913 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7914 Zack Weinberg <zackw@panix.com>
7915
7916 * posix/test-errno.c: New file.
7917 * posix/Makefile (tests): Add test-errno.
7918 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7919 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7920
7921 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7922
7923 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7924
7925 2017-03-07 Florian Weimer <fweimer@redhat.com>
7926
7927 * time/tzset.c (compute_offset): Open-code min macro.
7928 (min, max, sign): Remove.
7929
7930 2017-03-07 Florian Weimer <fweimer@redhat.com>
7931
7932 [BZ #15576]
7933 Remove TZNAME_MAX limit from sysconf.
7934 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7935 declaration.
7936 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7937 compute_tzname_max.
7938 (compute_tzname_max): Remove.
7939 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7940 (update_vars): Do not update __tzname_cur_max.
7941 (tzset_internal): Remove argument.
7942 (__tzset): Adjust call to tzset_internal.
7943 (__tz_convert): Likewise.
7944
7945 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7946 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7947 * manual/conf.texi (Sysconf Definition): Update comment.
7948
7949 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7950
7951 [BZ #21209]
7952 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7953 AT_SECURE processes.
7954 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7955 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7956 (test_child): Likewise.
7957 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7958
7959 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7960
7961 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7962
7963 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7964
7965 * sysdeps/s390/atomic-machine.h
7966 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7967 (__arch_compare_and_exchange_val_8_acq,
7968 __arch_compare_and_exchange_val_16_acq,
7969 __arch_compare_and_exchange_val_32_acq,
7970 __arch_compare_and_exchange_val_64_acq):
7971 Delete macro.
7972 (atomic_compare_and_exchange_val_acq,
7973 atomic_compare_and_exchange_val_rel,
7974 atomic_compare_and_exchange_bool_acq,
7975 catomic_compare_and_exchange_bool_acq,
7976 atomic_exchange_acq, atomic_exchange_rel,
7977 atomic_exchange_and_add_acq,
7978 atomic_exchange_and_add_rel,
7979 catomic_exchange_and_add, atomic_or_val,
7980 atomic_or, catomic_or, atomic_bit_test_set,
7981 atomic_and_val, atomic_and, catomic_and):
7982 Define macros with help of C11 atomic builtins.
7983
7984 2017-03-03 Justus Winter <justus@gnupg.org>
7985
7986 * sysdeps/mach/hurd/ftruncate64.c: New file.
7987 * sysdeps/mach/hurd/truncate64.c: Likewise.
7988
7989 2017-03-03 Florian Weimer <fweimer@redhat.com>
7990
7991 * time/tzfile.c (NOID): Do not define.
7992 * time/tzset.c (NOID): Likewise.
7993
7994 2017-03-03 Florian Weimer <fweimer@redhat.com>
7995
7996 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7997
7998 2017-03-02 Florian Weimer <fweimer@redhat.com>
7999
8000 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8001
8002 2017-03-02 Florian Weimer <fweimer@redhat.com>
8003
8004 [BZ #21015]
8005 * manual/install.texi (Configuring and compiling): Document
8006 --enable-bind-now.
8007 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8008 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8009 (format.lds): Likewise.
8010 [bind-now] (LDFLAGS-c.so): Remove.
8011 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8012 be R_X86_64_GLOB_DAT.
8013 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8014 relocation can be R_386_GLOB_DAT.
8015 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8016 relocaiton can be R_ALPHA_GLOB_DAT.
8017 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8018
8019 2017-03-01 Zack Weinberg <zackw@panix.com>
8020
8021 * include/libc-pointer-arith.h: New file. Define
8022 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8023 PTR_ALIGN_DOWN here.
8024 * include/libc-internal.h: Definitions of above macros
8025 moved from here. Don't include libc-diag.h anymore either.
8026 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8027 Don't include libc-internal.h.
8028
8029 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8030 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8031 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8032 * string/strcoll_l.c, sysdeps/nacl/brk.c
8033 * sysdeps/unix/clock_settime.c
8034 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8035 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8036 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8038 Don't include libc-internal.h.
8039
8040 * elf/get-dynamic-info.h, iconv/loop.c
8041 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8042 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8043 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8044 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8045 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8047 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8049 * sysdeps/ieee754/ldbl-128/k_tanl.c
8050 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8052 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8053 Include libc-diag.h instead of libc-internal.h.
8054
8055 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8056 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8057 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8058 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8059 * sysdeps/unix/sysv/linux/spawni.c
8060 * sysdeps/x86_64/nptl/tls.h:
8061 Include libc-pointer-arith.h instead of libc-internal.h.
8062
8063 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8064 * sysdeps/x86_64/atomic-machine.h:
8065 Add multiple include guard.
8066
8067 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8068 * string/strcasestr.c: No need to include config.h.
8069 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8070 sys/auxv.h. Don't include sysdep.h.
8071 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8072
8073 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8074 DL_LOOKUP_ADDRESS.
8075 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8076 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8078 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8079 of ARTIFICIAL_LIMIT.
8080 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8081 declaration of __clone2.
8082
8083 2017-02-28 Florian Weimer <fweimer@redhat.com>
8084
8085 * scripts/backport-support.sh (latest_commit): New file.
8086
8087 2017-02-28 Florian Weimer <fweimer@redhat.com>
8088
8089 [BZ #20257]
8090 * inet/Makefile (routines): Add deadline.
8091 (tests-static): Add tst-deadline.
8092 * inet/net-internal.h (struct deadline_current_time)
8093 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8094 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8095 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8096 * inet/deadline.c: New file.
8097 * inet/tst-deadline.c: Likewise.
8098 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8099 tst-udp-timeout, tst-udp-garbage.
8100 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8101 explicitly.
8102 (tst-udp-garbage): Likewise. Also link against thread library.
8103 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8104 struct layout is part of the ABI.
8105 (clntudp_call): Rework timeout handling.
8106 * sunrpc/tst-udp-garbage.c: New file.
8107 * sunrpc/tst-udp-nonblocking.c: Likewise.
8108 * sunrpc/tst-udp-timeout.c: Likewise.
8109
8110 2017-02-28 Florian Weimer <fweimer@redhat.com>
8111
8112 [BZ #5010]
8113 * sunrpc/svc.c (svc_is_mapped): Remove.
8114 (svc_unregister): Obtain mapped status while the service is still
8115 registered.
8116 * sunrpc/Makefile [have-thread-library] (tests): Add
8117 tst-svc_register.
8118 (tst-svc_register): Link against libc.so explicitly and the thread
8119 library.
8120 * sunrpc/tst-svc_register.c: New file.
8121
8122 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8123
8124 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8125 * sysdeps/pthread/bits/sigthread.h: Likewise.
8126
8127 2017-02-27 Florian Weimer <fweimer@redhat.com>
8128
8129 [BZ #21115]
8130 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8131 * sunrpc/Makefile (tests): Add tst-udp-error.
8132 (tst-udp-error): Link against libc.so explicitly.
8133 * sunrpc/tst-udp-error: New file.
8134
8135 2017-02-25 Zack Weinberg <zackw@panix.com>
8136
8137 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8138 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8139
8140 * sysdeps/generic/math_ldbl.h
8141 * sysdeps/ia64/fpu/math_ldbl.h
8142 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8144 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8145 * sysdeps/powerpc/fpu/math_ldbl.h
8146 * sysdeps/x86_64/fpu/math_ldbl.h:
8147 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8148 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8149 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8150 Add copyright notices.
8151
8152 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8153 Don't use EXTRACT_WORDS64.
8154
8155 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8156 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8157 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8158 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8159 Include math_ldbl.h, not math_private.h.
8160
8161 2017-02-25 Zack Weinberg <zackw@panix.com>
8162
8163 * include/libc-diag.h: New file. Define ignore_value,
8164 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8165 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8166
8167 * include/libc-internal.h: Definitions of above macros moved from
8168 here. Include libc-diag.h. Add copyright notice.
8169
8170 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8171 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8172 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8173 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8174 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8175 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8176 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8177 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8178 Include libc-diag.h instead of libc-internal.h.
8179
8180 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8181 call to unsetenv (NULL).
8182 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8183 call to pthread_mutexattr_destroy (NULL).
8184
8185 2017-02-25 Zack Weinberg <zackw@panix.com>
8186
8187 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8188 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8189 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8190 gets was removed from C++ in C++14.
8191 * include/stdio.h: Remove redundant declaration of gets.
8192 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8193 be declared, since we are testing it.
8194 * stdio-common/Makefile (tst-gets.c): Compile with
8195 -Wno-deprecated-declarations.
8196 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8197 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8198 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8199 Compile with -Wno-deprecated-declarations.
8200
8201 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8202
8203 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8204 numbers.
8205
8206 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8207
8208 * resolv/tst-resolv-qtypes.c (domain):
8209 Change type to const pointer to const char.
8210
8211 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8212
8213 * math/Makefile (libm-tests-generated): Remove variable.
8214 (libm-tests-base-normal): New variable.
8215 (libm-tests-base-finite): Likewise.
8216 (libm-tests-base-inline): Likewise.
8217 (libm-tests-base): Likewise.
8218 (libm-tests-normal): Likewise.
8219 (libm-tests-finite): Likewise.
8220 (libm-tests-inline): Likewise.
8221 (libm-tests-vector): Likewise.
8222 (libm-tests): Define in terms of these new variables.
8223 (libm-tests-for-type): New variable.
8224 (libm-tests.o): Move definition.
8225 (tests): Move addition of $(libm-tests).
8226 (generated): Update for new and removed libm test files.
8227 ($(objpfx)libm-test.c): Remove target.
8228 ($(objpfx)libm-have-vector-test.h): Likewise.
8229 (CFLAGS-test-double-vlen2.c): Remove variable.
8230 (CFLAGS-test-double-vlen4.c): Likewise.
8231 (CFLAGS-test-double-vlen8.c): Likewise.
8232 (CFLAGS-test-float-vlen4.c): Likewise.
8233 (CFLAGS-test-float-vlen8.c): Likewise.
8234 (CFLAGS-test-float-vlen16.c): Likewise.
8235 (CFLAGS-test-float.c): Likewise.
8236 (CFLAGS-test-float-finite.c): Likewise.
8237 (CFLAGS-libm-test-support-float.c): Likewise.
8238 (CFLAGS-test-double.c): Likewise.
8239 (CFLAGS-test-double-finite.c): Likewise.
8240 (CFLAGS-libm-test-support-double.c): Likewise.
8241 (CFLAGS-test-ldouble.c): Likewise.
8242 (CFLAGS-test-ldouble-finite.c): Likewise.
8243 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8244 (libm-test-inline-cflags): New variable.
8245 (CFLAGS-test-ifloat.c): Remove variable.
8246 (CFLAGS-test-idouble.c): Likewise.
8247 (CFLAGS-test-ildouble.c): Likewise.
8248 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8249 dependencies.
8250 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8251 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8252 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8253 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8254 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8255 Likewise.
8256 (dependencies on libm-test-support-*.o): Remove.
8257 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8258 rules using iterators.
8259 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8260 Likewise.
8261 ($(objpfx)libm-test-support-$(o).o): Likewise.
8262 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8263 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8264 instead.
8265 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8266 define rule instead.
8267 * math/README.libm-test: Update.
8268 * math/libm-test-acos.inc: Include libm-test-driver.c.
8269 (do_test): New function.
8270 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8271 (do_test): New function.
8272 * math/libm-test-asin.inc: Include libm-test-driver.c.
8273 (do_test): New function.
8274 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8275 (do_test): New function.
8276 * math/libm-test-atan.inc: Include libm-test-driver.c.
8277 (do_test): New function.
8278 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8279 (do_test): New function.
8280 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8281 (do_test): New function.
8282 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8283 (do_test): New function.
8284 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8285 (do_test): New function.
8286 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8287 (do_test): New function.
8288 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8289 (do_test): New function.
8290 * math/libm-test-carg.inc: Include libm-test-driver.c.
8291 (do_test): New function.
8292 * math/libm-test-casin.inc: Include libm-test-driver.c.
8293 (do_test): New function.
8294 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8295 (do_test): New function.
8296 * math/libm-test-catan.inc: Include libm-test-driver.c.
8297 (do_test): New function.
8298 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8299 (do_test): New function.
8300 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8301 (do_test): New function.
8302 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8303 (do_test): New function.
8304 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8305 (do_test): New function.
8306 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8307 (do_test): New function.
8308 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8309 (do_test): New function.
8310 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8311 (do_test): New function.
8312 * math/libm-test-clog.inc: Include libm-test-driver.c.
8313 (do_test): New function.
8314 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8315 (do_test): New function.
8316 * math/libm-test-conj.inc: Include libm-test-driver.c.
8317 (do_test): New function.
8318 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8319 (do_test): New function.
8320 * math/libm-test-cos.inc: Include libm-test-driver.c.
8321 (do_test): New function.
8322 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8323 (do_test): New function.
8324 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8325 (do_test): New function.
8326 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8327 (do_test): New function.
8328 * math/libm-test-creal.inc: Include libm-test-driver.c.
8329 (do_test): New function.
8330 * math/libm-test-csin.inc: Include libm-test-driver.c.
8331 (do_test): New function.
8332 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8333 (do_test): New function.
8334 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8335 (do_test): New function.
8336 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8337 (do_test): New function.
8338 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8339 (do_test): New function.
8340 * math/libm-test-erf.inc: Include libm-test-driver.c.
8341 (do_test): New function.
8342 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8343 (do_test): New function.
8344 * math/libm-test-exp.inc: Include libm-test-driver.c.
8345 (do_test): New function.
8346 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8347 (do_test): New function.
8348 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8349 (do_test): New function.
8350 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8351 (do_test): New function.
8352 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8353 (do_test): New function.
8354 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8355 (do_test): New function.
8356 * math/libm-test-floor.inc: Include libm-test-driver.c.
8357 (do_test): New function.
8358 * math/libm-test-fma.inc: Include libm-test-driver.c.
8359 (do_test): New function.
8360 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8361 (do_test): New function.
8362 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8363 (do_test): New function.
8364 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8365 (do_test): New function.
8366 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8367 (do_test): New function.
8368 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8369 (do_test): New function.
8370 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8371 (do_test): New function.
8372 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8373 (do_test): New function.
8374 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8375 (do_test): New function.
8376 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8377 (do_test): New function.
8378 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8379 (do_test): New function.
8380 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8381 (do_test): New function.
8382 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8383 (do_test): New function.
8384 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8385 (do_test): New function.
8386 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8387 (do_test): New function.
8388 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8389 (do_test): New function.
8390 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8391 (do_test): New function.
8392 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8393 (do_test): New function.
8394 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8395 (do_test): New function.
8396 * math/libm-test-isless.inc: Include libm-test-driver.c.
8397 (do_test): New function.
8398 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8399 (do_test): New function.
8400 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8401 (do_test): New function.
8402 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8403 (do_test): New function.
8404 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8405 (do_test): New function.
8406 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8407 (do_test): New function.
8408 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8409 (do_test): New function.
8410 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8411 (do_test): New function.
8412 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8413 (do_test): New function.
8414 * math/libm-test-j0.inc: Include libm-test-driver.c.
8415 (do_test): New function.
8416 * math/libm-test-j1.inc: Include libm-test-driver.c.
8417 (do_test): New function.
8418 * math/libm-test-jn.inc: Include libm-test-driver.c.
8419 (do_test): New function.
8420 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8421 (do_test): New function.
8422 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8423 (do_test): New function.
8424 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8425 (do_test): New function.
8426 * math/libm-test-llround.inc: Include libm-test-driver.c.
8427 (do_test): New function.
8428 * math/libm-test-log.inc: Include libm-test-driver.c.
8429 (do_test): New function.
8430 * math/libm-test-log10.inc: Include libm-test-driver.c.
8431 (do_test): New function.
8432 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8433 (do_test): New function.
8434 * math/libm-test-log2.inc: Include libm-test-driver.c.
8435 (do_test): New function.
8436 * math/libm-test-logb.inc: Include libm-test-driver.c.
8437 (do_test): New function.
8438 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8439 (do_test): New function.
8440 * math/libm-test-lround.inc: Include libm-test-driver.c.
8441 (do_test): New function.
8442 * math/libm-test-modf.inc: Include libm-test-driver.c.
8443 (do_test): New function.
8444 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8445 (do_test): New function.
8446 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8447 (do_test): New function.
8448 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8449 (do_test): New function.
8450 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8451 (do_test): New function.
8452 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8453 (do_test): New function.
8454 * math/libm-test-pow.inc: Include libm-test-driver.c.
8455 (do_test): New function.
8456 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8457 (do_test): New function.
8458 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8459 (do_test): New function.
8460 * math/libm-test-rint.inc: Include libm-test-driver.c.
8461 (do_test): New function.
8462 * math/libm-test-round.inc: Include libm-test-driver.c.
8463 (do_test): New function.
8464 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8465 (do_test): New function.
8466 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8467 (do_test): New function.
8468 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8469 (do_test): New function.
8470 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8471 (do_test): New function.
8472 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8473 (do_test): New function.
8474 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8475 (do_test): New function.
8476 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8477 (do_test): New function.
8478 * math/libm-test-significand.inc: Include libm-test-driver.c.
8479 (do_test): New function.
8480 * math/libm-test-sin.inc: Include libm-test-driver.c.
8481 (do_test): New function.
8482 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8483 (do_test): New function.
8484 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8485 (do_test): New function.
8486 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8487 (do_test): New function.
8488 * math/libm-test-tan.inc: Include libm-test-driver.c.
8489 (do_test): New function.
8490 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8491 (do_test): New function.
8492 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8493 (do_test): New function.
8494 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8495 (do_test): New function.
8496 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8497 (do_test): New function.
8498 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8499 (do_test): New function.
8500 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8501 (do_test): New function.
8502 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8503 (do_test): New function.
8504 * math/libm-test-y0.inc: Include libm-test-driver.c.
8505 (do_test): New function.
8506 * math/libm-test-y1.inc: Include libm-test-driver.c.
8507 (do_test): New function.
8508 * math/libm-test-yn.inc: Include libm-test-driver.c.
8509 (do_test): New function.
8510 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8511 (HAVE_VECTOR): Remove macro.
8512 (START): Do not call HAVE_VECTOR.
8513 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8514 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8515 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8516 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8517 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8518 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8519 * math/test-math-vector.h (FUNC_TEST): New macro.
8520 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8521 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8522 (double-vlen4-funcs): Likewise.
8523 (double-vlen4-avx2-funcs): Likewise.
8524 (double-vlen8-funcs): Likewise.
8525 (float-vlen4-funcs): Likewise.
8526 (float-vlen8-funcs): Likewise.
8527 (float-vlen8-avx2-funcs): Likewise.
8528 (float-vlen16-funcs): Likewise.
8529 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8530 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8531 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8532 macro.
8533 (TEST_VECTOR_sin): Likewise.
8534 (TEST_VECTOR_sincos): Likewise.
8535 (TEST_VECTOR_log): Likewise.
8536 (TEST_VECTOR_exp): Likewise.
8537 (TEST_VECTOR_pow): Likewise.
8538 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8539 Likewise.
8540 (TEST_VECTOR_sin): Likewise.
8541 (TEST_VECTOR_sincos): Likewise.
8542 (TEST_VECTOR_log): Likewise.
8543 (TEST_VECTOR_exp): Likewise.
8544 (TEST_VECTOR_pow): Likewise.
8545 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8546 Likewise.
8547 (TEST_VECTOR_sinf): Likewise.
8548 (TEST_VECTOR_sincosf): Likewise.
8549 (TEST_VECTOR_logf): Likewise.
8550 (TEST_VECTOR_expf): Likewise.
8551 (TEST_VECTOR_powf): Likewise.
8552 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8553 Likewise.
8554 (TEST_VECTOR_sinf): Likewise.
8555 (TEST_VECTOR_sincosf): Likewise.
8556 (TEST_VECTOR_logf): Likewise.
8557 (TEST_VECTOR_expf): Likewise.
8558 (TEST_VECTOR_powf): Likewise.
8559 * math/gen-libm-have-vector-test.sh: Remove file.
8560 * math/libm-test.inc: Likewise.
8561 * math/libm-test-support-double.c: Likewise.
8562 * math/libm-test-support-float.c: Likewise.
8563 * math/libm-test-support-ldouble.c: Likewise.
8564 * math/test-double-finite.c: Likewise.: Likewise.
8565 * math/test-double.c: Likewise.
8566 * math/test-float-finite.c: Likewise.
8567 * math/test-float.c: Likewise.
8568 * math/test-idouble.c: Likewise.
8569 * math/test-ifloat.c: Likewise.
8570 * math/test-ildouble.c: Likewise.
8571 * math/test-ldouble-finite.c: Likewise.
8572 * math/test-ldouble.c: Likewise.
8573 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8574 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8575 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8576 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8577 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8578 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8579 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8580 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8581 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8582 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8583
8584 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8585 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8586
8587 * math/Makefile: Add wrappers to gen-libm-calls.
8588 * math/w_acos_template.c: New file.
8589 * math/w_acosh_template.c: Likewise.
8590 * math/w_asin_template.c: Likewise.
8591 * math/w_atan2_template.c: Likewise.
8592 * math/w_atanh_template.c: Likewise.
8593 * math/w_cosh_template.c: Likewise.
8594 * math/w_exp10_template.c: Likewise.
8595 * math/w_exp2_template.c: Likewise.
8596 * math/w_exp_template.c: Likewise.
8597 * math/w_fmod_template.c: Likewise.
8598 * math/w_hypot_template.c: Likewise.
8599 * math/w_j0_template.c: Likewise.
8600 * math/w_j1_template.c: Likewise.
8601 * math/w_jn_template.c: Likewise.
8602 * math/w_lgamma_r_template.c: Likewise.
8603 * math/w_lgamma_template.c: Likewise.
8604 * math/w_log10_template.c: Likewise.
8605 * math/w_log2_template.c: Likewise.
8606 * math/w_log_template.c: Likewise.
8607 * math/w_pow_template.c: Likewise.
8608 * math/w_remainder_template.c: Likewise.
8609 * math/w_sinh_template.c: Likewise.
8610 * math/w_sqrt_template.c: Likewise.
8611 * math/w_tgamma_template.c: Likewise.: Likewise.
8612 * sysdeps/generic/math-type-macros-double.h
8613 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8614 the new wrappers.
8615 * sysdeps/generic/math-type-macros-float.h: Likewise.
8616 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8617
8618 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8619
8620 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8621 New enum constant and macro.
8622
8623 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8624 kernel version to 4.10.
8625
8626 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8627
8628 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8629
8630 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8631
8632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8633
8634 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8635
8636 * sysdeps/powerpc/tst-set_ppr.c: New file.
8637 Implement test cases for __ppc_set_ppr_* functions.
8638 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8639 in the list of tests.
8640
8641 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8642
8643 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8644 instead of test-skeleton.c.
8645 (do_test): Replaced pthread_create and pthread_join with
8646 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8647 Removed unneeded status variable.
8648 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8649 instead of test-skeleton.c.
8650 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8651
8652 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8653
8654 [BZ #20313]
8655 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8656 201605L, for Unicode 9.
8657
8658 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8659
8660 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8661 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8662 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8663 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8664 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8665 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8666
8667 2017-02-19 Zack Weinberg <zackw@panix.com>
8668
8669 * rt/tst-mqueue4.c: Include stdint.h.
8670
8671 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8672
8673 * sysdeps/arm/libm-test-ulps: Update.
8674 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8675 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8676 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8677
8678 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8679
8680 [BZ #21029]
8681 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8682 * sysdeps/unix/sysv/linux/i386/Makefile
8683 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8684 (uses-6-syscall-arguments): Remove.
8685 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8686 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8687 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8688 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8689 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8690 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8691 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8692 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8693 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8694 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8695 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8696 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8697 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8698 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8699 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8700 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8701 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8702 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8703 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8704 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8705 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8706 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8707 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8708 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8709 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8710 Likewise.
8711 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8712 Likewise.
8713 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8714 Likewise.
8715 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8716 Likewise.
8717 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8718 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8719 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8720 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8721 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8722 ebp on inline assembly.
8723 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8724 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8725 Set if CAN_USE_REGISTER_ASM_EBP is set.
8726
8727 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8728
8729 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8730 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8731
8732 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8733
8734 * math/auto-libm-test-in: Add tests of catan and catanh.
8735 * math/auto-libm-test-out-catan: New generated file.
8736 * math/auto-libm-test-out-catanh: Likewise.
8737 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8738 Move tests with finite inputs, except divide-by-zero cases, to
8739 auto-libm-test-in.
8740 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8741 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8742 (libm-test-funcs-noauto): Remove catan and catanh.
8743 * sysdeps/i386/fpu/libm-test-ulps: Update.
8744 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746
8747 * math/auto-libm-test-in: Add tests of casin and casinh.
8748 * math/auto-libm-test-out-casin: New generated file.
8749 * math/auto-libm-test-out-casinh: Likewise.
8750 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8751 Move tests with finite inputs to auto-libm-test-in.
8752 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8753 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8754 (libm-test-funcs-noauto): Remove casin and casinh.
8755 * sysdeps/i386/fpu/libm-test-ulps: Update.
8756 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8758
8759 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8760 * math/auto-libm-test-out-cacos: New generated file.
8761 * math/auto-libm-test-out-cacosh: Likewise.
8762 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8763 Move tests with finite inputs to auto-libm-test-in.
8764 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8765 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8766 (libm-test-funcs-noauto): Remove cacos and cacosh.
8767 * sysdeps/i386/fpu/libm-test-ulps: Update.
8768 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8770
8771 Revert:
8772 2017-02-16 Zack Weinberg <zackw@panix.com>
8773
8774 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8775 Don't include init-arch.h.
8776 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8777 Don't include init-arch.h.
8778
8779 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8780
8781 [BZ #21171]
8782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8783 +Inf and raise divide-by-zero when x is negative.
8784 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8786 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8787 -Inf and raise divide-by-zero when x = +-0.
8788 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8789 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8790 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8791 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8792 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8795
8796 2017-02-16 Zack Weinberg <zackw@panix.com>
8797
8798 * scripts/build-many-glibcs.py (bot_build_mail): If the
8799 bot_config does not contain all of the necessary email-
8800 related settings, just print a warning and continue.
8801
8802 2017-02-16 Zack Weinberg <zackw@panix.com>
8803
8804 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8805 * dirent/opendir-tst1.c: Include sys/stat.h.
8806 * dirent/tst-fdopendir.c: Include sys/stat.h.
8807 * dirent/tst-fdopendir2.c: Include stdlib.h.
8808 * dirent/tst-scandir.c: Include stdbool.h.
8809 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8810 * elf/tst-tls15.c: Include stdlib.h.
8811 * elf/tst-tls16.c: Include stdlib.h.
8812 * elf/tst-tls17.c: Include stdlib.h.
8813 * elf/tst-tls18.c: Include stdlib.h.
8814 * iconv/tst-iconv6.c: Include endian.h.
8815 * iconvdata/bug-iconv11.c: Include limits.h.
8816 * io/test-utime.c: Include stdint.h.
8817 * io/tst-faccessat.c: Include sys/stat.h.
8818 * io/tst-fchmodat.c: Include sys/stat.h.
8819 * io/tst-fchownat.c: Include sys/stat.h.
8820 * io/tst-fstatat.c: Include sys/stat.h.
8821 * io/tst-futimesat.c: Include sys/stat.h.
8822 * io/tst-linkat.c: Include sys/stat.h.
8823 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8824 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8825 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8826 * io/tst-openat.c: Include stdbool.h.
8827 * io/tst-readlinkat.c: Include sys/stat.h.
8828 * io/tst-renameat.c: Include sys/stat.h.
8829 * io/tst-symlinkat.c: Include sys/stat.h.
8830 * io/tst-unlinkat.c: Include stdbool.h.
8831 * libio/bug-memstream1.c: Include stdlib.h.
8832 * libio/bug-wmemstream1.c: Include stdlib.h.
8833 * libio/tst-fwrite-error.c: Include stdlib.h.
8834 * libio/tst-memstream1.c: Include stdlib.h.
8835 * libio/tst-memstream2.c: Include stdlib.h.
8836 * libio/tst-memstream3.c: Include stdlib.h.
8837 * malloc/tst-interpose-aux.c: Include stdint.h.
8838 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8839 * nptl/tst-basic7.c: Include limits.h.
8840 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8841 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8842 * nptl/tst-cancel4_1.c: Include stddef.h.
8843 * nptl/tst-cancel4_2.c: Include stddef.h.
8844 * nptl/tst-cond16.c: Include limits.h.
8845 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8846 * nptl/tst-cond18.c: Include limits.h.
8847 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8848 * nptl/tst-cond4.c: Include stdint.h.
8849 * nptl/tst-cond6.c: Include stdint.h.
8850 * nptl/tst-stack2.c: Include limits.h.
8851 * nptl/tst-stackguard1.c: Include stddef.h.
8852 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8853 * nptl/tst-tls4moda.c: Include stddef.h.
8854 Don't include stdio.h, unistd.h, or tls.h.
8855 * nptl/tst-tls4modb.c: Include stddef.h.
8856 Don't include stdio.h, unistd.h, or tls.h.
8857 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8858 * posix/tst-getaddrinfo2.c: Include stdio.h.
8859 * posix/tst-getaddrinfo5.c: Include stdio.h.
8860 * posix/tst-pathconf.c: Include sys/stat.h.
8861 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8862 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8863 * posix/tst-regex.c: Include stdint.h.
8864 Don't include spawn.h or spawn_int.h.
8865 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8866 * posix/tst-vfork3.c: Include sys/stat.h.
8867 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8868 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8869 * resolv/tst-resolv-search.c: Include stdlib.h.
8870 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8871 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8872 * stdlib/test-canon.c: Include sys/stat.h.
8873 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8874 * string/test-memchr.c: Include stdint.h.
8875 * string/tst-cmp.c: Include stdint.h.
8876 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8877 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8878 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8879 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8880 Don't include init-arch.h.
8881 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8882 Don't include init-arch.h.
8883 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8884 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8885 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8886 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8887 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8888 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8889 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8890 * time/clocktest.c: Include stdint.h.
8891 * time/tst-posixtz.c: Include stdint.h.
8892 * timezone/tst-timezone.c: Include stdint.h.
8893
8894 2017-02-16 Zack Weinberg <zackw@panix.com>
8895
8896 * string/string.h [__USE_MISC]: Include strings.h.
8897 (__bzero, bcmp, bcopy, bzero, index, rindex)
8898 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8899 (ffs, ffsl, ffsll): Don't declare.
8900 * string/strings.h: Do not suppress the file if string.h has
8901 already been included.
8902 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8903 annotations.
8904 (index, rindex): Define inline forwarders even if
8905 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8906 (ffs): Use __attribute_const__.
8907 (ffsl, ffsll): Declare here.
8908 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8909 have now been standardized.
8910 * include/string.h (__bzero): Declare here.
8911
8912 * bits/types.h: Move to posix/bits.
8913 * include/bits/types.h: New wrapper.
8914
8915 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8916
8917 * string/bits/string2.h (strcmp): Remove define.
8918 (__strcmp_cg): Likewise.
8919 (strncmp): Likewise.
8920
8921 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8922
8923 * include/string.h: Add __cplusplus check.
8924
8925 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8926
8927 [BZ #21134]
8928 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8929 "divide by zero" exception when the input is zero.
8930 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8931 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8932 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8933 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8935
8936 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8937
8938 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8939 and include ...
8940 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8941 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8942 to, and include ...
8943 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8944 file.
8945 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8946 and include ...
8947 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8948 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8949 and include ...
8950 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8951 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8952 and include ...
8953 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8954 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8955 and include ...
8956 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8957 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8958 to, and include ...
8959 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8960 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8961 and include ...
8962 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8963
8964 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8965
8966 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8967 here.
8968 * math/libm-test-support.c (libm_test_init): Do not call
8969 INIT_ARCH_EXT here.
8970 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8971 (main): Call INIT_ARCH_EXT.
8972
8973 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8974
8975 [BZ #21130]
8976 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8977 with the "invalid" exception raised when x is -Inf.
8978 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8979
8980 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8981
8982 * string/bits/string2.h (strchr): Remove define.
8983
8984 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8987 tst-avx512.
8988 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8989 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8990 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8991 ($(objpfx)tst-sse): New rule.
8992 ($(objpfx)tst-avx): Likewise.
8993 ($(objpfx)tst-avx512): Likewise.
8994 (CFLAGS-tst-avx-aux.c): New.
8995 (CFLAGS-tst-avxmod.c): Likewise.
8996 (CFLAGS-tst-avx512-aux.c): Likewise.
8997 (CFLAGS-tst-avx512mod.c): Likewise.
8998 * sysdeps/x86_64/tst-avx-aux.c: New file.
8999 * sysdeps/x86_64/tst-avx.c: Likewise.
9000 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9001 * sysdeps/x86_64/tst-avx512.c: Likewise.
9002 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9003 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9004 * sysdeps/x86_64/tst-sse.c: Likewise.
9005 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9006
9007 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9008
9009 * math/auto-libm-test-in: Add more tests of csin and csinh.
9010 * math/auto-libm-test-out-csin: Regenerated.
9011 * math/auto-libm-test-out-csinh: Likewise.
9012 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9013 auto-libm-test-in.
9014 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9015
9016 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9017
9018 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9019 libm-compat-calls-auto.
9020 (libm-compat-calls): Likewise.
9021 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9022 w_lgamma_compatF and k_standardF (merged from the items above).
9023 (libm-routines): Use libm-compat-calls, instead of
9024 libm-compat-calls-auto, with type-foreach.
9025
9026 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9027
9028 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9029 macro.
9030 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9031 (CFLAGS-test-ifloat.c): ... this. Remove
9032 -U__LIBC_INTERNAL_MATH_INLINES.
9033 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9034 (CFLAGS-test-idouble.c): ... this. Remove
9035 -U__LIBC_INTERNAL_MATH_INLINES.
9036 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9037 (CFLAGS-test-ildouble.c): ... this. Remove
9038 -U__LIBC_INTERNAL_MATH_INLINES.
9039
9040 2017-02-08 Joseph Myers <joseph@codesourcery.com>
9041
9042 * math/libm-test-support.c: New file. Content from
9043 math/libm-test-driver.c.
9044 * math/libm-test-support.h: Likewise.
9045 * math/libm-test-support-double.c: New file.
9046 * math/libm-test-support-float.c: Likewise.
9047 * math/libm-test-support-ldouble.c: Likewise.
9048 * math/libm-test-driver.c: Remove main comment and header
9049 includes. Include libm-test-support.h.
9050 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9051 (flag_test_errno): Remove static.
9052 (flag_test_exceptions): Likewise.
9053 (flag_test_finite): Likewise.
9054 (flag_test_inline): Likewise.
9055 (flag_test_mathvec): Likewise.
9056 (test_msg): Likewise.
9057 (NO_EXCEPTION): Remove.
9058 (INVALID_EXCEPTION): Likewise.
9059 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9060 (OVERFLOW_EXCEPTION): Likewise.
9061 (UNDERFLOW_EXCEPTION): Likewise.
9062 (INEXACT_EXCEPTION): Likewise.
9063 (INVALID_EXCEPTION_OK): Likewise.
9064 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9065 (OVERFLOW_EXCEPTION_OK): Likewise.
9066 (UNDERFLOW_EXCEPTION_OK): Likewise.
9067 (NO_INEXACT_EXCEPTION): Likewise.
9068 (EXCEPTIONS_OK): Likewise.
9069 (IGNORE_ZERO_INF_SIGN): Likewise.
9070 (TEST_NAN_SIGN): Likewise.
9071 (TEST_NAN_PAYLOAD): Likewise.
9072 (NO_TEST_INLINE): Likewise.
9073 (XFAIL_TEST): Likewise.
9074 (ERRNO_UNCHANGED): Likewise.
9075 (ERRNO_EDOM): Likewise.
9076 (ERRNO_ERANGE): Likewise.
9077 (IGNORE_RESULT): Likewise.
9078 (NON_FINITE): Likewise.
9079 (TEST_SNAN): Likewise.
9080 (NO_TEST_MATHVEC): Likewise.
9081 (__CONCATX): Likewise.
9082 (TYPE_MIN): Likewise.
9083 (TYPE_TRUE_MIN): Likewise.
9084 (TYPE_MAX): Likewise.
9085 (MIN_EXP): Likewise.
9086 (MAX_EXP): Likewise.
9087 (MANT_DIG): Likewise.
9088 (FSTR_MAX): Likewise.
9089 (ulp_idx): Likewise.
9090 (qtype_str): Remove static.
9091 (TEST_COND_binary32): Remove.
9092 (TEST_COND_binary64): Likewise.
9093 (TEST_COND_binary128): Likewise.
9094 (TEST_COND_ibm128): Likewise.
9095 (TEST_COND_intel96): Likewise.
9096 (TEST_COND_m68k96): Likewise.
9097 (TEST_COND_ibm128_libgcc): Likewise.
9098 (XFAIL_IBM128_LIBGCC): Likewise.
9099 (PAYLOAD_DIG): Likewise.
9100 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9101 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9102 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9103 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9104 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9105 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9106 (TEST_COND_long32): Likewise.
9107 (TEST_COND_long64): Likewise.
9108 (TEST_COND_before_rounding): Likewise.
9109 (TEST_COND_after_rounding): Likewise.
9110 (ulps_file_name): Likewise.
9111 (ulps_file): Likewise.
9112 (output_ulps): Likewise.
9113 (output_dir): Likewise.
9114 (noErrors): Likewise.
9115 (noTests): Likewise.
9116 (noExcTests): Likewise.
9117 (noErrnoTests): Likewise.
9118 (verbose): Likewise.
9119 (output_max_error): Likewise.
9120 (output_points): Likewise.
9121 (ignore_max_ulp): Likewise.
9122 (max_error): Likewise.
9123 (real_max_error): Likewise.
9124 (imag_max_error): Likewise.
9125 (prev_max_error): Likewise.
9126 (prev_real_max_error): Likewise.
9127 (prev_imag_max_error): Likewise.
9128 (max_valid_error): Likewise.
9129 (TYPE_DECIMAL_DIG): Likewise.
9130 (TYPE_HEX_DIG): Likewise.
9131 (fmt_ftostr): Likewise.
9132 (compare_ulp_data): Likewise.
9133 (find_ulps): Likewise.
9134 (init_max_error): Likewise.
9135 (set_max_error): Likewise.
9136 (print_float): Likewise.
9137 (print_screen): Likewise.
9138 (print_screen_max_error): Likewise.
9139 (update_stats): Likewise.
9140 (print_function_ulps): Likewise.
9141 (print_complex_function_ulps): Likewise.
9142 (fpstack_test): Likewise.
9143 (print_max_error): Likewise.
9144 (print_complex_max_error): Likewise.
9145 (test_single_exception): Likewise.
9146 (test_exceptions): Likewise.
9147 (test_single_errno): Likewise.
9148 (test_errno): Likewise.
9149 (ULPDIFF): Likewise.
9150 (ulp): Likewise.
9151 (check_float_internal): Likewise.
9152 (check_float): Likewise.
9153 (check_complex): Likewise.
9154 (check_int): Likewise.
9155 (check_long): Likewise.
9156 (check_bool): Likewise.
9157 (check_longlong): Likewise.
9158 (check_intmax_t): Likewise.
9159 (check_uintmax_t): Likewise.
9160 (enable_test): Likewise.
9161 (matherr): Likewise.
9162 (initialize): Likewise.
9163 (options): Likewise.
9164 (doc): Remove static.
9165 (argp): Likewise.
9166 (parse_opt): Remove.
9167 (check_ulp): Likewise.
9168 (libm_test_init): Likewise.
9169 (libm_test_finish): Likewise.
9170 * math/Makefile (libm-test-support): New variable.
9171 (test-extras): Add libm-test-support files.
9172 (extra-test-objs): Likewise.
9173 (CFLAGS-libm-test-support-float.c): New variable.
9174 (CFLAGS-libm-test-support-double.c): Likewise.
9175 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9176 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9177 libm-test-support objects.
9178
9179 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9180
9181 * math/Makefile (libm-calls): Move w_exp...
9182 (libm-compat-calls-auto): Here.
9183
9184 * math/w_expl.c: Add suffix "_compat" to filename.
9185 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9186 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9187 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9189 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9193
9194 * math/w_expl_compat.c: New file, copied from above.
9195 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9196 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9197 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9199 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9202 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9203
9204 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9205 to filename.
9206 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9207
9208 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9209 copied from above and adjusted for the new filenames.
9210 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9211
9212 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9213
9214 * math/Makefile (libm-calls): Move w_lgammaF...
9215 (libm-compat-calls-auto): Here.
9216
9217 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9218 * math/w_lgammaf.c: Likewise.
9219 * math/w_lgammal.c: Likewise.
9220
9221 * math/w_lgamma_compat2.c: New file, copied from above.
9222 * math/w_lgammaf_compat2.c: Likewise.
9223 * math/w_lgammal_compat2.c: Likewise.
9224
9225 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9226
9227 * math/Makefile (libm-calls): Move w_lgammaF_r...
9228 (libm-compat-calls-auto): Here.
9229
9230 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9231 * math/w_lgammaf_r.c: Likewise.
9232 * math/w_lgammal_r.c: Likewise.
9233 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9234 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9235 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9236
9237 * math/w_lgamma_r_compat.c: New file, copied from above.
9238 * math/w_lgammaf_r_compat.c: Likewise.
9239 * math/w_lgammal_r_compat.c: Likewise.
9240 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9241 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9242 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9243
9244 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9245 to filename.
9246 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9247
9248 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9249 copied from above and adjusted for the new filenames.
9250 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9251
9252 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9253
9254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9255 calculation in SYSCALL_ERROR_HANDLER().
9256
9257 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9258
9259 * manual/contrib.texi: Fix typo.
9260
9261 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9262
9263 [BZ #21109]
9264 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9265 tunable_val_t as argument.
9266 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9267 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9268 argument.
9269 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9270
9271 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9272
9273 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9274 Add PTRACE_EVENT_STOP.
9275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9278 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9279 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9280 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9281
9282 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9283
9284 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9285 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9286 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9287 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9288 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9289 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9290 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9291 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9292 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9293 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9294
9295 [BZ #21112]
9296 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9297 12 bits zero.
9298 (cp_l): Update for new value of cp_h.
9299 * math/auto-libm-test-in: Add another test of pow.
9300 * math/auto-libm-test-out-pow: Regenerated.
9301
9302 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9303
9304 * manual/contrib.texi: Fix typo.
9305
9306 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9307
9308 [BZ #15998]
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9310 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9312
9313 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9314
9315 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9316 STRCHR as __strchr_power8.
9317 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9318 strlen as __strlen_power8.
9319
9320 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9321
9322 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9323 unaligned load for shorter strings.
9324 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9325
9326 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9327
9328 * math/libm-test-driver.c (flag_test_errno): New variable.
9329 (flag_test_exceptions): Likewise.
9330 (flag_test_finite): Likewise.
9331 (flag_test_inline): Likewise.
9332 (flag_test_mathvec): Likewise.
9333 (test_msg): Likewise.
9334 (ulp_idx): Likewise.
9335 (qtype_str): Likewise.
9336 (ULP_IDX): Remove macro.
9337 (QTYPE_STR): Likewise.
9338 (find_ulps): Use ulp_idx not ULP_IDX.
9339 (print_function_ulps): Use qtype_str, printed with %s, not
9340 QTYPE_STR, printed with concatentation to format string.
9341 (print_complex_function_ulps): Likewise.
9342 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9343 (test_errno): Use flag_test_errno not TEST_ERRNO.
9344 (enable_test): Use flag_test_inline, flag_test_finite and
9345 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9346 TEST_MATHVEC.
9347 (libm_test_init): New function. Factored out of main.
9348 (libm_test_finish): Likewise.
9349 (main): Call libm_test_init and libm_test_finish and move most
9350 code to those functions.
9351
9352 * math/libm-test-driver.c (STRX): New macro.
9353 (STR): Likewise.
9354 (STR_FLOAT): Likewise.
9355 (STR_VEC_LEN): Likewise.
9356 (TEST_MSG): Likewise. Define here instead of expecting to be
9357 defined by including file.
9358 * math/test-double-finite.c (TEST_MSG): Remove macro.
9359 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9360 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9361 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9362 * math/test-double.c (TEST_MSG): Likewise.
9363 * math/test-float-finite.c (TEST_MSG): Likewise.
9364 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9365 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9366 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9367 * math/test-float.c (TEST_MSG): Likewise.
9368 * math/test-idouble.c (TEST_MSG): Likewise.
9369 * math/test-ifloat.c (TEST_MSG): Likewise.
9370 * math/test-ildouble.c (TEST_MSG): Likewise.
9371 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9372 * math/test-ldouble.c (TEST_MSG): Likewise.
9373
9374 * math/libm-test.inc: Move all tests of individual functions to
9375 libm-test-*.inc and #include libm-test-*.c files.
9376 (acos_test_data): Remove.
9377 (acos_test): Likewise.
9378 (acosh_test_data): Likewise.
9379 (acosh_test): Likewise.
9380 (asin_test_data): Likewise.
9381 (asin_test): Likewise.
9382 (asinh_test_data): Likewise.
9383 (asinh_test): Likewise.
9384 (atan_test_data): Likewise.
9385 (atan_test): Likewise.
9386 (atanh_test_data): Likewise.
9387 (atanh_test): Likewise.
9388 (atan2_test_data): Likewise.
9389 (atan2_test): Likewise.
9390 (cabs_test_data): Likewise.
9391 (cabs_test): Likewise.
9392 (cacos_test_data): Likewise.
9393 (cacos_test): Likewise.
9394 (cacosh_test_data): Likewise.
9395 (cacosh_test): Likewise.
9396 (canonicalize_test_data): Likewise.
9397 (canonicalize_test): Likewise.
9398 (carg_test_data): Likewise.
9399 (carg_test): Likewise.
9400 (casin_test_data): Likewise.
9401 (casin_test): Likewise.
9402 (casinh_test_data): Likewise.
9403 (casinh_test): Likewise.
9404 (catan_test_data): Likewise.
9405 (catan_test): Likewise.
9406 (catanh_test_data): Likewise.
9407 (catanh_test): Likewise.
9408 (cbrt_test_data): Likewise.
9409 (cbrt_test): Likewise.
9410 (ccos_test_data): Likewise.
9411 (ccos_test): Likewise.
9412 (ccosh_test_data): Likewise.
9413 (ccosh_test): Likewise.
9414 (ceil_test_data): Likewise.
9415 (ceil_test): Likewise.
9416 (cexp_test_data): Likewise.
9417 (cexp_test): Likewise.
9418 (cimag_test_data): Likewise.
9419 (cimag_test): Likewise.
9420 (clog_test_data): Likewise.
9421 (clog_test): Likewise.
9422 (clog10_test_data): Likewise.
9423 (clog10_test): Likewise.
9424 (conj_test_data): Likewise.
9425 (conj_test): Likewise.
9426 (copysign_test_data): Likewise.
9427 (copysign_test): Likewise.
9428 (cos_test_data): Likewise.
9429 (cos_test): Likewise.
9430 (cosh_test_data): Likewise.
9431 (cosh_test): Likewise.
9432 (cpow_test_data): Likewise.
9433 (cpow_test): Likewise.
9434 (cproj_test_data): Likewise.
9435 (cproj_test): Likewise.
9436 (creal_test_data): Likewise.
9437 (creal_test): Likewise.
9438 (csin_test_data): Likewise.
9439 (csin_test): Likewise.
9440 (csinh_test_data): Likewise.
9441 (csinh_test): Likewise.
9442 (csqrt_test_data): Likewise.
9443 (csqrt_test): Likewise.
9444 (ctan_test_data): Likewise.
9445 (ctan_test): Likewise.
9446 (ctanh_test_data): Likewise.
9447 (ctanh_test): Likewise.
9448 (erf_test_data): Likewise.
9449 (erf_test): Likewise.
9450 (erfc_test_data): Likewise.
9451 (erfc_test): Likewise.
9452 (exp_test_data): Likewise.
9453 (exp_test): Likewise.
9454 (exp10_test_data): Likewise.
9455 (exp10_test): Likewise.
9456 (pow10_test): Likewise.
9457 (exp2_test_data): Likewise.
9458 (exp2_test): Likewise.
9459 (expm1_test_data): Likewise.
9460 (expm1_test): Likewise.
9461 (fabs_test_data): Likewise.
9462 (fabs_test): Likewise.
9463 (fdim_test_data): Likewise.
9464 (fdim_test): Likewise.
9465 (floor_test_data): Likewise.
9466 (floor_test): Likewise.
9467 (fma_test_data): Likewise.
9468 (fma_test): Likewise.
9469 (fmax_test_data): Likewise.
9470 (fmax_test): Likewise.
9471 (fmaxmag_test_data): Likewise.
9472 (fmaxmag_test): Likewise.
9473 (fmin_test_data): Likewise.
9474 (fmin_test): Likewise.
9475 (fminmag_test_data): Likewise.
9476 (fminmag_test): Likewise.
9477 (fmod_test_data): Likewise.
9478 (fmod_test): Likewise.
9479 (fpclassify_test_data): Likewise.
9480 (fpclassify_test): Likewise.
9481 (frexp_test_data): Likewise.
9482 (frexp_test): Likewise.
9483 (fromfp_test_data): Likewise.
9484 (fromfp_test): Likewise.
9485 (fromfpx_test_data): Likewise.
9486 (fromfpx_test): Likewise.
9487 (getpayload_test_data): Likewise.
9488 (getpayload_test): Likewise.
9489 (hypot_test_data): Likewise.
9490 (hypot_test): Likewise.
9491 (ilogb_test_data): Likewise.
9492 (ilogb_test): Likewise.
9493 (iscanonical_test_data): Likewise.
9494 (iscanonical_test): Likewise.
9495 (iseqsig_test_data): Likewise.
9496 (iseqsig_test): Likewise.
9497 (isfinite_test_data): Likewise.
9498 (isfinite_test): Likewise.
9499 (finite_test): Likewise.
9500 (isgreater_test_data): Likewise.
9501 (isgreater_test): Likewise.
9502 (isgreaterequal_test_data): Likewise.
9503 (isgreaterequal_test): Likewise.
9504 (isinf_test_data): Likewise.
9505 (isinf_test): Likewise.
9506 (isless_test_data): Likewise.
9507 (isless_test): Likewise.
9508 (islessequal_test_data): Likewise.
9509 (islessequal_test): Likewise.
9510 (islessgreater_test_data): Likewise.
9511 (islessgreater_test): Likewise.
9512 (isnan_test_data): Likewise.
9513 (isnan_test): Likewise.
9514 (isnormal_test_data): Likewise.
9515 (isnormal_test): Likewise.
9516 (issignaling_test_data): Likewise.
9517 (issignaling_test): Likewise.
9518 (issubnormal_test_data): Likewise.
9519 (issubnormal_test): Likewise.
9520 (isunordered_test_data): Likewise.
9521 (isunordered_test): Likewise.
9522 (iszero_test_data): Likewise.
9523 (iszero_test): Likewise.
9524 (j0_test_data): Likewise.
9525 (j0_test): Likewise.
9526 (j1_test_data): Likewise.
9527 (j1_test): Likewise.
9528 (jn_test_data): Likewise.
9529 (jn_test): Likewise.
9530 (lgamma_test_data): Likewise.
9531 (lgamma_test): Likewise.
9532 (gamma_test): Likewise.
9533 (llogb_test_data): Likewise.
9534 (llogb_test): Likewise.
9535 (lrint_test_data): Likewise.
9536 (lrint_test): Likewise.
9537 (llrint_test_data): Likewise.
9538 (llrint_test): Likewise.
9539 (log_test_data): Likewise.
9540 (log_test): Likewise.
9541 (log10_test_data): Likewise.
9542 (log10_test): Likewise.
9543 (log1p_test_data): Likewise.
9544 (log1p_test): Likewise.
9545 (log2_test_data): Likewise.
9546 (log2_test): Likewise.
9547 (logb_test_data): Likewise.
9548 (logb_test): Likewise.
9549 (lround_test_data): Likewise.
9550 (lround_test): Likewise.
9551 (llround_test_data): Likewise.
9552 (llround_test): Likewise.
9553 (modf_test_data): Likewise.
9554 (modf_test): Likewise.
9555 (nearbyint_test_data): Likewise.
9556 (nearbyint_test): Likewise.
9557 (nextafter_test_data): Likewise.
9558 (nextafter_test): Likewise.
9559 (nextup_test_data): Likewise.
9560 (nextup_test): Likewise.
9561 (nextdown_test_data): Likewise.
9562 (nextdown_test): Likewise.
9563 (nexttoward_test_data): Likewise.
9564 (nexttoward_test): Likewise.
9565 (pow_test_data): Likewise.
9566 (pow_test): Likewise.
9567 (remainder_test_data): Likewise.
9568 (remainder_test): Likewise.
9569 (drem_test): Likewise.
9570 (remquo_test_data): Likewise.
9571 (remquo_test): Likewise.
9572 (rint_test_data): Likewise.
9573 (rint_test): Likewise.
9574 (round_test_data): Likewise.
9575 (round_test): Likewise.
9576 (roundeven_test_data): Likewise.
9577 (roundeven_test): Likewise.
9578 (scalb_test_data): Likewise.
9579 (scalb_test): Likewise.
9580 (scalbn_test_data): Likewise.
9581 (scalbn_test): Likewise.
9582 (ldexp_test): Likewise.
9583 (scalbln_test_data): Likewise.
9584 (scalbln_test): Likewise.
9585 (setpayload_test_data): Likewise.
9586 (setpayload_test): Likewise.
9587 (setpayloadsig_test_data): Likewise.
9588 (setpayloadsig_test): Likewise.
9589 (signbit_test_data): Likewise.
9590 (signbit_test): Likewise.
9591 (sin_test_data): Likewise.
9592 (sin_test): Likewise.
9593 (sincos_test_data): Likewise.
9594 (sincos_test): Likewise.
9595 (sinh_test_data): Likewise.
9596 (sinh_test): Likewise.
9597 (sqrt_test_data): Likewise.
9598 (sqrt_test): Likewise.
9599 (tan_test_data): Likewise.
9600 (tan_test): Likewise.
9601 (tanh_test_data): Likewise.
9602 (tanh_test): Likewise.
9603 (tgamma_test_data): Likewise.
9604 (tgamma_test): Likewise.
9605 (totalorder_test_data): Likewise.
9606 (totalorder_test): Likewise.
9607 (totalordermag_test_data): Likewise.
9608 (totalordermag_test): Likewise.
9609 (trunc_test_data): Likewise.
9610 (trunc_test): Likewise.
9611 (ufromfp_test_data): Likewise.
9612 (ufromfp_test): Likewise.
9613 (ufromfpx_test_data): Likewise.
9614 (ufromfpx_test): Likewise.
9615 (y0_test_data): Likewise.
9616 (y0_test): Likewise.
9617 (y1_test_data): Likewise.
9618 (y1_test): Likewise.
9619 (yn_test_data): Likewise.
9620 (yn_test): Likewise.
9621 (significand_test_data): Likewise.
9622 (significand_test): Likewise.
9623 * math/Makefile (auto-libm-test-out-files): Remove variable.
9624 (libm-test-funcs-noauto): New variable.
9625 (libm-test-funcs-all): Likewise.
9626 (libm-test-c-auto): Likewise.
9627 (libm-test-c-noauto): Likewise.
9628 (libm-tests-generated): Add $(libm-test-c-auto) and
9629 $(libm-test-c-noauto).
9630 (generated): Do not add auto-libm-test-out.
9631 (libm-test-c-auto-obj): New variable.
9632 (libm-test-c-noauto-obj): Likewise.
9633 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9634 ($(libm-test-c-noauto-obj)): New static pattern rule.
9635 ($(libm-test-c-auto-obj)): Likewise.
9636 (libm-test-incs): New variable.
9637 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9638 and pass it to gen-libm-have-vector-test.sh.
9639 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9640 be passed on command line.
9641 * math/libm-test-acos.inc: New file. Content from
9642 math/libm-test.inc.
9643 * math/libm-test-acosh.inc: Likewise.
9644 * math/libm-test-asin.inc: Likewise.
9645 * math/libm-test-asinh.inc: Likewise.
9646 * math/libm-test-atan.inc: Likewise.
9647 * math/libm-test-atan2.inc: Likewise.
9648 * math/libm-test-atanh.inc: Likewise.
9649 * math/libm-test-cabs.inc: Likewise.
9650 * math/libm-test-cacos.inc: Likewise.
9651 * math/libm-test-cacosh.inc: Likewise.
9652 * math/libm-test-canonicalize.inc: Likewise.
9653 * math/libm-test-carg.inc: Likewise.
9654 * math/libm-test-casin.inc: Likewise.
9655 * math/libm-test-casinh.inc: Likewise.
9656 * math/libm-test-catan.inc: Likewise.
9657 * math/libm-test-catanh.inc: Likewise.
9658 * math/libm-test-cbrt.inc: Likewise.
9659 * math/libm-test-ccos.inc: Likewise.
9660 * math/libm-test-ccosh.inc: Likewise.
9661 * math/libm-test-ceil.inc: Likewise.
9662 * math/libm-test-cexp.inc: Likewise.
9663 * math/libm-test-cimag.inc: Likewise.
9664 * math/libm-test-clog.inc: Likewise.
9665 * math/libm-test-clog10.inc: Likewise.
9666 * math/libm-test-conj.inc: Likewise.
9667 * math/libm-test-copysign.inc: Likewise.
9668 * math/libm-test-cos.inc: Likewise.
9669 * math/libm-test-cosh.inc: Likewise.
9670 * math/libm-test-cpow.inc: Likewise.
9671 * math/libm-test-cproj.inc: Likewise.
9672 * math/libm-test-creal.inc: Likewise.
9673 * math/libm-test-csin.inc: Likewise.
9674 * math/libm-test-csinh.inc: Likewise.
9675 * math/libm-test-csqrt.inc: Likewise.
9676 * math/libm-test-ctan.inc: Likewise.
9677 * math/libm-test-ctanh.inc: Likewise.
9678 * math/libm-test-erf.inc: Likewise.
9679 * math/libm-test-erfc.inc: Likewise.
9680 * math/libm-test-exp.inc: Likewise.
9681 * math/libm-test-exp10.inc: Likewise.
9682 * math/libm-test-exp2.inc: Likewise.
9683 * math/libm-test-expm1.inc: Likewise.
9684 * math/libm-test-fabs.inc: Likewise.
9685 * math/libm-test-fdim.inc: Likewise.
9686 * math/libm-test-floor.inc: Likewise.
9687 * math/libm-test-fma.inc: Likewise.
9688 * math/libm-test-fmax.inc: Likewise.
9689 * math/libm-test-fmaxmag.inc: Likewise.
9690 * math/libm-test-fmin.inc: Likewise.
9691 * math/libm-test-fminmag.inc: Likewise.
9692 * math/libm-test-fmod.inc: Likewise.
9693 * math/libm-test-fpclassify.inc: Likewise.
9694 * math/libm-test-frexp.inc: Likewise.
9695 * math/libm-test-fromfp.inc: Likewise.
9696 * math/libm-test-fromfpx.inc: Likewise.
9697 * math/libm-test-getpayload.inc: Likewise.
9698 * math/libm-test-hypot.inc: Likewise.
9699 * math/libm-test-ilogb.inc: Likewise.
9700 * math/libm-test-iscanonical.inc: Likewise.
9701 * math/libm-test-iseqsig.inc: Likewise.
9702 * math/libm-test-isfinite.inc: Likewise.
9703 * math/libm-test-isgreater.inc: Likewise.
9704 * math/libm-test-isgreaterequal.inc: Likewise.
9705 * math/libm-test-isinf.inc: Likewise.
9706 * math/libm-test-isless.inc: Likewise.
9707 * math/libm-test-islessequal.inc: Likewise.
9708 * math/libm-test-islessgreater.inc: Likewise.
9709 * math/libm-test-isnan.inc: Likewise.
9710 * math/libm-test-isnormal.inc: Likewise.
9711 * math/libm-test-issignaling.inc: Likewise.
9712 * math/libm-test-issubnormal.inc: Likewise.
9713 * math/libm-test-isunordered.inc: Likewise.
9714 * math/libm-test-iszero.inc: Likewise.
9715 * math/libm-test-j0.inc: Likewise.
9716 * math/libm-test-j1.inc: Likewise.
9717 * math/libm-test-jn.inc: Likewise.
9718 * math/libm-test-lgamma.inc: Likewise.
9719 * math/libm-test-llogb.inc: Likewise.
9720 * math/libm-test-llrint.inc: Likewise.
9721 * math/libm-test-llround.inc: Likewise.
9722 * math/libm-test-log.inc: Likewise.
9723 * math/libm-test-log10.inc: Likewise.
9724 * math/libm-test-log1p.inc: Likewise.
9725 * math/libm-test-log2.inc: Likewise.
9726 * math/libm-test-logb.inc: Likewise.
9727 * math/libm-test-lrint.inc: Likewise.
9728 * math/libm-test-lround.inc: Likewise.
9729 * math/libm-test-modf.inc: Likewise.
9730 * math/libm-test-nearbyint.inc: Likewise.
9731 * math/libm-test-nextafter.inc: Likewise.
9732 * math/libm-test-nextdown.inc: Likewise.
9733 * math/libm-test-nexttoward.inc: Likewise.
9734 * math/libm-test-nextup.inc: Likewise.
9735 * math/libm-test-pow.inc: Likewise.
9736 * math/libm-test-remainder.inc: Likewise.
9737 * math/libm-test-remquo.inc: Likewise.
9738 * math/libm-test-rint.inc: Likewise.
9739 * math/libm-test-round.inc: Likewise.
9740 * math/libm-test-roundeven.inc: Likewise.
9741 * math/libm-test-scalb.inc: Likewise.
9742 * math/libm-test-scalbln.inc: Likewise.
9743 * math/libm-test-scalbn.inc: Likewise.
9744 * math/libm-test-setpayload.inc: Likewise.
9745 * math/libm-test-setpayloadsig.inc: Likewise.
9746 * math/libm-test-signbit.inc: Likewise.
9747 * math/libm-test-significand.inc: Likewise.
9748 * math/libm-test-sin.inc: Likewise.
9749 * math/libm-test-sincos.inc: Likewise.
9750 * math/libm-test-sinh.inc: Likewise.
9751 * math/libm-test-sqrt.inc: Likewise.
9752 * math/libm-test-tan.inc: Likewise.
9753 * math/libm-test-tanh.inc: Likewise.
9754 * math/libm-test-tgamma.inc: Likewise.
9755 * math/libm-test-totalorder.inc: Likewise.
9756 * math/libm-test-totalordermag.inc: Likewise.
9757 * math/libm-test-trunc.inc: Likewise.
9758 * math/libm-test-ufromfp.inc: Likewise.
9759 * math/libm-test-ufromfpx.inc: Likewise.
9760 * math/libm-test-y0.inc: Likewise.
9761 * math/libm-test-y1.inc: Likewise.
9762 * math/libm-test-yn.inc: Likewise.
9763 * math/README.libm-test: Update.
9764
9765 * math/gen-auto-libm-tests.c: Update comment about use of program.
9766 (generate_output): Add argument FUNCTION.
9767 (main): Require extra argument. Pass function name to
9768 generate_output.
9769 * math/Makefile (generated): Add auto-libm-test-out.
9770 (libm-test-funcs-auto): New variable.
9771 (auto-libm-test-out-files): New variable.
9772 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9773 Concatenate those files to form $(objpfx)auto-libm-test-out and
9774 use it as input to gen-libm-test.pl.
9775 * math/README.libm-test: Update.
9776 * math/auto-libm-test-out: Remove.
9777 * math/auto-libm-test-out-acos: New generated file.
9778 * math/auto-libm-test-out-acosh: Likewise.
9779 * math/auto-libm-test-out-asin: Likewise.
9780 * math/auto-libm-test-out-asinh: Likewise.
9781 * math/auto-libm-test-out-atan: Likewise.
9782 * math/auto-libm-test-out-atan2: Likewise.
9783 * math/auto-libm-test-out-atanh: Likewise.
9784 * math/auto-libm-test-out-cabs: Likewise.
9785 * math/auto-libm-test-out-carg: Likewise.
9786 * math/auto-libm-test-out-cbrt: Likewise.
9787 * math/auto-libm-test-out-ccos: Likewise.
9788 * math/auto-libm-test-out-ccosh: Likewise.
9789 * math/auto-libm-test-out-cexp: Likewise.
9790 * math/auto-libm-test-out-clog: Likewise.
9791 * math/auto-libm-test-out-clog10: Likewise.
9792 * math/auto-libm-test-out-cos: Likewise.
9793 * math/auto-libm-test-out-cosh: Likewise.
9794 * math/auto-libm-test-out-cpow: Likewise.
9795 * math/auto-libm-test-out-csin: Likewise.
9796 * math/auto-libm-test-out-csinh: Likewise.
9797 * math/auto-libm-test-out-csqrt: Likewise.
9798 * math/auto-libm-test-out-ctan: Likewise.
9799 * math/auto-libm-test-out-ctanh: Likewise.
9800 * math/auto-libm-test-out-erf: Likewise.
9801 * math/auto-libm-test-out-erfc: Likewise.
9802 * math/auto-libm-test-out-exp: Likewise.
9803 * math/auto-libm-test-out-exp10: Likewise.
9804 * math/auto-libm-test-out-exp2: Likewise.
9805 * math/auto-libm-test-out-expm1: Likewise.
9806 * math/auto-libm-test-out-fma: Likewise.
9807 * math/auto-libm-test-out-hypot: Likewise.
9808 * math/auto-libm-test-out-j0: Likewise.
9809 * math/auto-libm-test-out-j1: Likewise.
9810 * math/auto-libm-test-out-jn: Likewise.
9811 * math/auto-libm-test-out-lgamma: Likewise.
9812 * math/auto-libm-test-out-log: Likewise.
9813 * math/auto-libm-test-out-log10: Likewise.
9814 * math/auto-libm-test-out-log1p: Likewise.
9815 * math/auto-libm-test-out-log2: Likewise.
9816 * math/auto-libm-test-out-pow: Likewise.
9817 * math/auto-libm-test-out-sin: Likewise.
9818 * math/auto-libm-test-out-sincos: Likewise.
9819 * math/auto-libm-test-out-sinh: Likewise.
9820 * math/auto-libm-test-out-sqrt: Likewise.
9821 * math/auto-libm-test-out-tan: Likewise.
9822 * math/auto-libm-test-out-tanh: Likewise.
9823 * math/auto-libm-test-out-tgamma: Likewise.
9824 * math/auto-libm-test-out-y0: Likewise.
9825 * math/auto-libm-test-out-y1: Likewise.
9826 * math/auto-libm-test-out-yn: Likewise.
9827
9828 * math/Makefile (generated): Do not include libm-test.stmp.
9829 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9830 on $(objpfx)libm-test.stmp.
9831 ($(objpfx)libm-test.stmp): Remove rule.
9832 ($(objpfx)libm-test-ulps.h): New rule.
9833 ($(objpfx)libm-test.c): Likewise.
9834 ($(objpfx)libm-have-vector-test.h): Likewise.
9835 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9836 individual generated files, not libm-test.stmp.
9837
9838 * math/gen-libm-test.pl ($output_dir): Remove variable.
9839 ($srcdir): Likewise.
9840 ($opt_a): New variable.
9841 ($opt_c): Likewise.
9842 ($opt_C): Likewise.
9843 ($opt_H): Likewise.
9844 (-n): Make option take argument and use it as NewUlps output.
9845 (-a): New option. Use its argument for auto-libm-test-out input.
9846 (-c): New option. Use its argument for libm-test.inc input.
9847 (-C): New option. Use its argument for libm-test.c output.
9848 (-H): New option. Use its argument for libm-test-ulps.h output.
9849 (top level): Only process inputs needed to generate outputs
9850 specified by command-line options. Only generate outputs
9851 specified by command-line options.
9852 * math/README.libm-test: Update example gen-libm-test.pl command.
9853 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9854 commands.
9855 (regen-ulps): Likewise.
9856
9857 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9858
9859 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9860 * include/string.h (index): Remove define.
9861 (rindex): Likewise.
9862 * misc/getttyent.c (__getttyent): Rename index to strchr.
9863 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9864 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9865
9866 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9867
9868 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9869 * math/libm-test.inc: Move all contents, other than tests of
9870 individual functions, to libm-test-driver.c.
9871 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9872 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9873 [!FE_UPWARD] (FE_UPWARD): Likewise.
9874 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9875 (NO_EXCEPTION): Likewise.
9876 (INVALID_EXCEPTION): Likewise.
9877 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9878 (OVERFLOW_EXCEPTION): Likewise.
9879 (UNDERFLOW_EXCEPTION): Likewise.
9880 (INEXACT_EXCEPTION): Likewise.
9881 (INVALID_EXCEPTION_OK): Likewise.
9882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9883 (OVERFLOW_EXCEPTION_OK): Likewise.
9884 (UNDERFLOW_EXCEPTION_OK): Likewise.
9885 (NO_INEXACT_EXCEPTION): Likewise.
9886 (EXCEPTIONS_OK): Likewise.
9887 (IGNORE_ZERO_INF_SIGN): Likewise.
9888 (TEST_NAN_SIGN): Likewise.
9889 (TEST_NAN_PAYLOAD): Likewise.
9890 (NO_TEST_INLINE): Likewise.
9891 (XFAIL_TEST): Likewise.
9892 (ERRNO_UNCHANGED): Likewise.
9893 (ERRNO_EDOM): Likewise.
9894 (ERRNO_ERANGE): Likewise.
9895 (IGNORE_RESULT): Likewise.
9896 (NON_FINITE): Likewise.
9897 (TEST_SNAN): Likewise.
9898 (NO_TEST_MATHVEC): Likewise.
9899 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9900 (__CONCATX): Likewise.
9901 (TYPE_MIN): Likewise.
9902 (TYPE_TRUE_MIN): Likewise.
9903 (TYPE_MAX): Likewise.
9904 (MIN_EXP): Likewise.
9905 (MAX_EXP): Likewise.
9906 (MANT_DIG): Likewise.
9907 (FSTR_MAX): Likewise.
9908 (ULP_IDX): Likewise.
9909 (QTYPE_STR): Likewise.
9910 (TEST_COND_binary32): Likewise.
9911 (TEST_COND_binary64): Likewise.
9912 (TEST_COND_binary128): Likewise.
9913 (TEST_COND_ibm128): Likewise.
9914 (TEST_COND_intel96): Likewise.
9915 (TEST_COND_m68k96): Likewise.
9916 (TEST_COND_ibm128_libgcc): Likewise.
9917 (XFAIL_IBM128_LIBGCC): Likewise.
9918 (PAYLOAD_DIG): Likewise.
9919 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9920 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9921 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9922 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9923 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9924 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9925 (TEST_COND_long32): Likewise.
9926 (TEST_COND_long64): Likewise.
9927 (TEST_COND_before_rounding): Likewise.
9928 (TEST_COND_after_rounding): Likewise.
9929 (lit_pi_3_m_4_d): Likewise.
9930 (lit_pi_3_m_4_ln10_m_d): Likewise.
9931 (lit_pi_2_ln10_m_d): Likewise.
9932 (lit_pi_4_ln10_m_d): Likewise.
9933 (lit_pi_ln10_d): Likewise.
9934 (lit_pi_2_d): Likewise.
9935 (lit_pi_4_d): Likewise.
9936 (lit_pi): Likewise.
9937 (lit_e): Likewise.
9938 (ulps_file_name): Likewise.
9939 (ulps_file): Likewise.
9940 (output_ulps): Likewise.
9941 (output_dir): Likewise.
9942 (noErrors): Likewise.
9943 (noTests): Likewise.
9944 (noExcTests): Likewise.
9945 (noErrnoTests): Likewise.
9946 (verbose): Likewise.
9947 (output_max_error): Likewise.
9948 (output_points): Likewise.
9949 (ignore_max_ulp): Likewise.
9950 (plus_zero): Likewise.
9951 (minus_zero): Likewise.
9952 (plus_infty): Likewise.
9953 (minus_infty): Likewise.
9954 (qnan_value_pl): Likewise.
9955 (qnan_value): Likewise.
9956 (snan_value_pl): Likewise.
9957 (snan_value): Likewise.
9958 (max_value): Likewise.
9959 (min_value): Likewise.
9960 (min_subnorm_value): Likewise.
9961 (snan_value_ld): Likewise.
9962 (max_error): Likewise.
9963 (real_max_error): Likewise.
9964 (imag_max_error): Likewise.
9965 (prev_max_error): Likewise.
9966 (prev_real_max_error): Likewise.
9967 (prev_imag_max_error): Likewise.
9968 (max_valid_error): Likewise.
9969 (TYPE_DECIMAL_DIG): Likewise.
9970 (TYPE_HEX_DIG): Likewise.
9971 (fmt_ftostr): Likewise.
9972 (compare_ulp_data): Likewise.
9973 (find_ulps): Likewise.
9974 (init_max_error): Likewise.
9975 (set_max_error): Likewise.
9976 (print_float): Likewise.
9977 (print_screen): Likewise.
9978 (print_screen_max_error): Likewise.
9979 (update_stats): Likewise.
9980 (print_function_ulps): Likewise.
9981 (print_complex_function_ulps): Likewise.
9982 (fpstack_test): Likewise.
9983 (print_max_error): Likewise.
9984 (print_complex_max_error): Likewise.
9985 (test_single_exception): Likewise.
9986 (test_exceptions): Likewise.
9987 (test_single_errno): Likewise.
9988 (test_errno): Likewise.
9989 (ULPDIFF): Likewise.
9990 (ulp): Likewise.
9991 (check_float_internal): Likewise.
9992 (check_float): Likewise.
9993 (check_complex): Likewise.
9994 (check_int): Likewise.
9995 (check_long): Likewise.
9996 (check_bool): Likewise.
9997 (check_longlong): Likewise.
9998 (check_intmax_t): Likewise.
9999 (check_uintmax_t): Likewise.
10000 (enable_test): Likewise.
10001 (struct test_f_f_data): Likewise.
10002 (struct test_ff_f_data): Likewise.
10003 (struct test_fj_f_data): Likewise.
10004 (struct test_fi_f_data): Likewise.
10005 (struct test_fl_f_data): Likewise.
10006 (struct test_if_f_data): Likewise.
10007 (struct test_fff_f_data): Likewise.
10008 (struct test_fiu_M_data): Likewise.
10009 (struct test_fiu_U_data): Likewise.
10010 (struct test_c_f_data): Likewise.
10011 (struct test_f_f1_data): Likewise.
10012 (struct test_fF_f1_data): Likewise.
10013 (struct test_ffI_f1_data): Likewise.
10014 (struct test_c_c_data): Likewise.
10015 (struct test_cc_c_data): Likewise.
10016 (struct test_f_i_data): Likewise.
10017 (struct test_ff_i_data): Likewise.
10018 (struct test_f_l_data): Likewise.
10019 (struct test_f_L_data): Likewise.
10020 (struct test_fFF_11_data): Likewise.
10021 (struct test_Ff_b1_data): Likewise.
10022 (IF_ROUND_INIT_): Likewise.
10023 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10024 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10025 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10026 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10027 (ROUND_RESTORE_): Likewise.
10028 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10029 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10030 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10031 (ROUND_RESTORE_FE_UPWARD): Likewise.
10032 (RM_): Likewise.
10033 (RM_FE_DOWNWARD): Likewise.
10034 (RM_FE_TONEAREST): Likewise.
10035 (RM_FE_TOWARDZERO): Likewise.
10036 (RM_FE_UPWARD): Likewise.
10037 (COMMON_TEST_SETUP): Likewise.
10038 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10039 (COMMON_TEST_CLEANUP): Likewise.
10040 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10041 (RUN_TEST_f_f): Likewise.
10042 (RUN_TEST_LOOP_f_f): Likewise.
10043 (RUN_TEST_fp_f): Likewise.
10044 (RUN_TEST_LOOP_fp_f): Likewise.
10045 (RUN_TEST_2_f): Likewise.
10046 (RUN_TEST_LOOP_2_f): Likewise.
10047 (RUN_TEST_ff_f): Likewise.
10048 (RUN_TEST_LOOP_ff_f): Likewise.
10049 (RUN_TEST_LOOP_fj_f): Likewise.
10050 (RUN_TEST_fi_f): Likewise.
10051 (RUN_TEST_LOOP_fi_f): Likewise.
10052 (RUN_TEST_fl_f): Likewise.
10053 (RUN_TEST_LOOP_fl_f): Likewise.
10054 (RUN_TEST_if_f): Likewise.
10055 (RUN_TEST_LOOP_if_f): Likewise.
10056 (RUN_TEST_fff_f): Likewise.
10057 (RUN_TEST_LOOP_fff_f): Likewise.
10058 (RUN_TEST_fiu_M): Likewise.
10059 (RUN_TEST_LOOP_fiu_M): Likewise.
10060 (RUN_TEST_fiu_U): Likewise.
10061 (RUN_TEST_LOOP_fiu_U): Likewise.
10062 (RUN_TEST_c_f): Likewise.
10063 (RUN_TEST_LOOP_c_f): Likewise.
10064 (RUN_TEST_f_f1): Likewise.
10065 (RUN_TEST_LOOP_f_f1): Likewise.
10066 (RUN_TEST_fF_f1): Likewise.
10067 (RUN_TEST_LOOP_fF_f1): Likewise.
10068 (RUN_TEST_fI_f1): Likewise.
10069 (RUN_TEST_LOOP_fI_f1): Likewise.
10070 (RUN_TEST_ffI_f1_mod8): Likewise.
10071 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10072 (RUN_TEST_Ff_b1): Likewise.
10073 (RUN_TEST_LOOP_Ff_b1): Likewise.
10074 (RUN_TEST_Ffp_b1): Likewise.
10075 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10076 (RUN_TEST_c_c): Likewise.
10077 (RUN_TEST_LOOP_c_c): Likewise.
10078 (RUN_TEST_cc_c): Likewise.
10079 (RUN_TEST_LOOP_cc_c): Likewise.
10080 (RUN_TEST_f_i): Likewise.
10081 (RUN_TEST_LOOP_f_i): Likewise.
10082 (RUN_TEST_f_i_tg): Likewise.
10083 (RUN_TEST_LOOP_f_i_tg): Likewise.
10084 (RUN_TEST_ff_b): Likewise.
10085 (RUN_TEST_LOOP_ff_b): Likewise.
10086 (RUN_TEST_ff_i_tg): Likewise.
10087 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10088 (RUN_TEST_f_b): Likewise.
10089 (RUN_TEST_LOOP_f_b): Likewise.
10090 (RUN_TEST_f_b_tg): Likewise.
10091 (RUN_TEST_LOOP_f_b_tg): Likewise.
10092 (RUN_TEST_f_l): Likewise.
10093 (RUN_TEST_LOOP_f_l): Likewise.
10094 (RUN_TEST_f_L): Likewise.
10095 (RUN_TEST_LOOP_f_L): Likewise.
10096 (RUN_TEST_fFF_11): Likewise.
10097 (RUN_TEST_LOOP_fFF_11): Likewise.
10098 (VEC_SUFF): Likewise.
10099 (STR_CONCAT): Likewise.
10100 (STR_CON3): Likewise.
10101 (HAVE_VECTOR): Likewise.
10102 (START): Likewise.
10103 (END): Likewise.
10104 (END_COMPLEX): Likewise.
10105 (ALL_RM_TEST): Likewise.
10106 (matherr): Likewise.
10107 (initialize): Likewise.
10108 (options): Likewise.
10109 (doc): Likewise.
10110 (parse_opt): Likewise.
10111 (argp): Likewise.
10112 (check_ulp): Likewise.
10113 (main): Likewise.
10114 (do_test): New function. Call tests of individual functions
10115 previously called from main.
10116
10117 * math/libm-test.inc: Remove comment listing functions tested and
10118 not tested.
10119
10120 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10121
10122 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10123 (allocate_stack): Remove COLORING_INCREMENT usage.
10124 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10125 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10126
10127 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10128
10129 * manual/libm-err-tab.pl (@all_functions): Change to
10130 %all_functions. Initialize as empty.
10131 (parse_ulps): Add to %all_functions based on functions found in
10132 ulps files. Ignore results for non-default rounding modes and
10133 vector functions.
10134 (print_platforms): Use %all_platforms.
10135 * manual/math.texi (Errors in Math Functions): Document omissions
10136 from the table.
10137
10138 * math/Makefile (before-compile): Remove.
10139
10140 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10141
10142 [BZ #21075]
10143 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10144 unused assignment.
10145 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10146
10147 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10148
10149 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10150 Add __glibc_unlikely hint.
10151
10152 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10153
10154 [BZ #16640]
10155 * sysdeps/i386/i686/strtok.S: Remove file.
10156 * sysdeps/i386/i686/strtok_r.S: Likewise.
10157 * sysdeps/i386/strtok.S: Likewise.
10158 * sysdeps/i386/strtok_r.S: Likewise.
10159 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10161 * sysdeps/x86_64/strtok.S: Likewise.
10162 * sysdeps/x86_64/strtok_r.S: Likewise.
10163
10164 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10165 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10166 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10167 (__ASSUME_FADVISE64_AS_64_64): Define.
10168 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10169 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10170 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10171 __ALIGNMENT_ARG usage.
10172 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10173 __NR_fadvise64_64 if it is not defined.
10174
10175 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10176
10177 * version.h (RELEASE): Set to "development"
10178 (VERSION): Set to 2.25.90.
10179 * NEWS: Add 2.26 section.
10180
10181 * version.h (RELEASE): Set to "stable"
10182 (VERSION): Set to 2.25.
10183 * include/features.h (__GLIBC_MINOR__): Set to 25.
10184
10185 * manual/contrib.texi: Add more contributors from this release
10186 and past releases.
10187
10188 * NEWS (2.25): Add list of bugs fixed.
10189
10190 * NEWS: Add missing news items.
10191
10192 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10193
10194 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10195 parent if child exited in that manner. Print WEXITSTATUS
10196 instead of the raw status.
10197 (do_test_prep): Rename to do_test.
10198 (do_test): Return the result of run_executable_sgid.
10199 (TEST_FUNCTION_ARGV): Adjust.
10200
10201 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10202 Florian Weimer <fweimer@redhat.com>
10203 Carlos O'Donell <carlos@redhat.com>
10204
10205 [BZ #20915]
10206 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10207 Do not initialize DTV.
10208 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10209
10210 2017-02-03 David S. Miller <davem@davemloft.net>
10211
10212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10221 (libm-sysdep_routines): Update.
10222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10227 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10228 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10229 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10230 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10232 Likewise.
10233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10235 Likewise.
10236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10238 Likewise.
10239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10241 Likewise.
10242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10244 (libm-sysdep_routines): Update.
10245
10246 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10249 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10250 against unrelocated shared library.
10251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10252
10253 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10254
10255 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10256 * elf/tst-env-setuid-tunables.c
10257 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10258 GLIBC_TUNABLES is removed in a setgid process.
10259
10260 [BZ #21073]
10261 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10262 * elf/dl-tunables.c (tunables_strdup): Remove.
10263 (get_next_env): Also return the previous envp.
10264 (parse_tunables): Erase tunables of category
10265 TUNABLES_SECLEVEL_SXID_ERASE.
10266 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10267 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10268 (__tunables_init)[TUNABLES_FRONTEND ==
10269 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10270 after parsing.
10271 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10272 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10273 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10274 to security_level.
10275 * elf/dl-tunables.list: Add security_level annotations for all
10276 tunables.
10277 * scripts/gen-tunables.awk: Recognize and generate enum values
10278 for security_level.
10279 * elf/tst-env-setuid.c: New test case.
10280 * elf/tst-env-setuid-tunables: new test case.
10281 * elf/Makefile (tests-static): Add them.
10282
10283 2017-02-01 Richard Henderson <rth@twiddle.net>
10284
10285 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10286 adjusting the byte count.
10287
10288 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10289
10290 * conform/Makefile (linknamespace-libs): Define.
10291
10292 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10293 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10294 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10295 operands.
10296
10297 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10298
10299 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10300
10301 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 [BZ #21081]
10304 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10305 (L(stosb)): Add VZEROUPPER before ret.
10306
10307 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10308 Alexey Makhalov <amakhalov@vmware.com>
10309 Florian Weimer <fweimer@redhat.com>
10310
10311 [BZ #20116]
10312 * nptl/pthread_create.c: Document concurrency notes.
10313 Enhance thread creation notes.
10314 (create_thread): Use bool *stopped_start.
10315 (START_THREAD_DEFN): Comment ownership of PD.
10316 (__pthread_create_2_1): Add local bool stopped_start and use
10317 that instead of pd->stopped_start where appropriate.
10318 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10319 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10320 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10321 * nptl/tst-create-detached.c: New file.
10322 * nptl/Makefile (tests): Add tst-create-detached.
10323 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10324 Reference the enhanced thread creation notes.
10325 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10326 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10327 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10328 (__pthread_current_priority): Likewise.
10329 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10330 xpthread_attr_init, xpthread_attr_setdetachstate, and
10331 xpthread_attr_setstacksize.
10332 * support/xpthread_attr_destroy.c: New file.
10333 * support/xpthread_attr_init.c: New file.
10334 * support/xpthread_attr_setdetachstate.c: New file.
10335 * support/xpthread_attr_setstacksize.c: New file.
10336 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10337 xpthread_attr_init, xpthread_attr_setdetachstate, and
10338 xpthread_attr_setstacksize.
10339
10340 2017-01-27 Florian Weimer <fweimer@redhat.com>
10341
10342 * nptl/Makefile (tests): Add tst-robust-fork.
10343 * nptl/tst-robust-fork.c: New file.
10344 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10345 xpthread_mutex_consistent, xpthread_mutex_destroy,
10346 xpthread_mutex_init, xpthread_mutexattr_destroy,
10347 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10348 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10349 xpthread_mutexattr_settype.
10350 * support/xmmap.c: New file.
10351 * support/xmunmap.c: Likewise.
10352 * support/xpthread_mutex_consistent.c: Likewise.
10353 * support/xpthread_mutex_destroy.c: Likewise.
10354 * support/xpthread_mutex_init.c: Likewise.
10355 * support/xpthread_mutexattr_destroy.c: Likewise.
10356 * support/xpthread_mutexattr_init.c: Likewise.
10357 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10358 * support/xpthread_mutexattr_setpshared.c: Likewise.
10359 * support/xpthread_mutexattr_setrobust.c: Likewise.
10360 * support/xpthread_mutexattr_settype.c: Likewise.
10361 * support/xthread.h (xpthread_mutexattr_destroy)
10362 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10363 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10364 (xpthread_mutexattr_settype, xpthread_mutex_init)
10365 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10366 * support/xunistd.h (xmmap, xmunmap): Likewise.
10367
10368 2017-01-25 Florian Weimer <fweimer@redhat.com>
10369
10370 * string/Makefile (xtests): Add comment.
10371 (LOCALES): Add en_GB.UTF-8.
10372 (tst-strcoll-overflow.out): Depend on generated locales.
10373 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10374 (SIZE, TIMEOUT): Update comments.
10375 (do_test): Define as static. Fail test if setlocale fails.
10376 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10377 messages.
10378 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10379 TIMEOUT at 300 seconds should be enough to run this test
10380 successfully.
10381
10382 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10383
10384 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10385 /* FALLTHRU */ comments.
10386
10387 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10388
10389 [BZ #21053]
10390 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10391 constants instead of the old R* ones.
10392 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10393 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10394 (NGREG): ... to this, to fit in with other architectures.
10395 (gpregset_t): Use new NGREG macro.
10396 [__USE_GNU]: Remove condition; all architectures other than tile
10397 are unconditional.
10398 (R*): Rename to REG_R*.
10399
10400 2017-01-20 DJ Delorie <dj@redhat.com>
10401
10402 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10403 (tunable_set_val_if_valid_range_signed) ... this, and ...
10404 (tunable_set_val_if_valid_range_unsigned) ... this.
10405 (tunable_initialize): Call the correct one of the above based on type.
10406
10407 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10408
10409 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10410 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10411 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10412 * sysdeps/microblaze/libm-test-ulps: Likewise.
10413 * sysdeps/sh/libm-test-ulps: Likewise.
10414
10415 * math/README.libm-test: Update list of characters for input and
10416 output types.
10417
10418 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10419
10420 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10421 (__lll_unlock_elision): Fix adapt_count decrement.
10422
10423 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10424
10425 * README.pretty-printers (Known issues): Warn about printers not
10426 always covering everything.
10427 * nptl/nptl-printers.py (MutexPrinter): Change output.
10428 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10429
10430 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10431
10432 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10433 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10434 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10435 (__lll_lock_elision): Do not test futex before starting a
10436 transaction. Use __glibc_likely instead of __builtin_expect.
10437 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10438 (__lll_trylock_elision): Do not test futex before starting a
10439 transaction. Use __glibc_likely instead of __builtin_expect.
10440
10441 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10442
10443 * po/Makefile (update-translations): New target.
10444
10445 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10446
10447 [BZ #21061]
10448 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10449
10450 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10451
10452 * elf/dl-tunables (get_next_env): Always advance envp.
10453 * stdlib/tst-empty-env.c: New test case.
10454 * stdlib/Makefile (tests): Use it.
10455
10456 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #21047]
10459 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10460 name for instruction.
10461 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10462
10463 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10464
10465 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10466 for make install.
10467
10468 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10469
10470 * po/bg.po: Merge from Translation Project.
10471 * po/fr.po: Likewise.
10472 * po/ko.po: Likewise.
10473 * po/nl.po: Likewise.
10474 * po/sv.po: Likewise.
10475
10476 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10477
10478 * manual/install.texi (Tools for Compilation): Update GCC version
10479 known to work to build glibc.
10480 * INSTALL: Regenerated.
10481
10482 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10483
10484 [BZ #21006]
10485 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10486
10487 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10488
10489 [BZ #21045]
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10491 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10492 to __sigprocmask.
10493
10494 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10495
10496 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10497 wrap-around.
10498 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10499
10500 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10501
10502 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10503
10504 * NEWS: Fix typo.
10505
10506 2016-01-13 Torvald Riegel <triegel@redhat.com>
10507
10508 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10509 barriers and comments.
10510 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10511 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10512 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10513
10514 2016-01-13 Torvald Riegel <triegel@redhat.com>
10515
10516 [BZ #19402]
10517 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10518 mutexes.
10519
10520 2016-01-13 Torvald Riegel <triegel@redhat.com>
10521
10522 [BZ #20985]
10523 * nptl/Makefile: Adapt.
10524 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10525 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10526 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10527 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10528 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10529 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10530 lll_robust* functions and adapt.
10531 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10532 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10533 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10534 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10535 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10536 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10538 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10539 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10540 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10541 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10542 * nptl/lowlevelrobustlock.c: Remove file.
10543 * nptl/lowlevelrobustlock.sym: Likewise.
10544 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10545 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10546
10547 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10548
10549 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10550
10551 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10552
10553 * po/cs.po: Merge translations from the Translation Project.
10554 * po/de.po: Likewise.
10555 * po/pl.po: Likewise.
10556 * po/ru.po: Likewise.
10557 * po/tr.po: Likewise.
10558 * po/uk.po: Likewise.
10559 * po/vi.po: Likewise.
10560 * po/zh_CN.po: Likewise.
10561
10562 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10563
10564 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10565
10566 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10567 object.
10568
10569 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10570
10571 [BZ #16458]
10572 * bits/uintn-identity.h: New file.
10573 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10574 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10575 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10576 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10577 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10578 * string/endian.h: Include <bits/uintn-identity.h>.
10579 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10580 __uint16_identity.
10581 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10582 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10583 __uint32_identity.
10584 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10585 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10586 __uint64_identity.
10587 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10588 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10589 __uint16_identity.
10590 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10591 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10592 __uint32_identity.
10593 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10594 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10595 __uint64_identity.
10596 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10597 * string/Makefile (headers): Add bits/uintn-identity.h.
10598 (tests): Add test-endian-types.
10599 * string/test-endian-types.c: New file.
10600 * inet/Makefile (tests): Add test-hnto-types.
10601 * inet/test-hnto-types.c: New file.
10602
10603 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10604
10605 * po/be.po: Update from Translation Project.
10606 * po/bg.po: Likewise.
10607 * po/ca.po: Likewise.
10608 * po/cs.po: Likewise.
10609 * po/da.po: Likewise.
10610 * po/de.po: Likewise.
10611 * po/el.po: Likewise.
10612 * po/eo.po: Likewise.
10613 * po/es.po: Likewise.
10614 * po/fi.po: Likewise.
10615 * po/fr.po: Likewise.
10616 * po/gl.po: Likewise.
10617 * po/hr.po: Likewise.
10618 * po/hu.po: Likewise.
10619 * po/ia.po: Likewise.
10620 * po/id.po: Likewise.
10621 * po/it.po: Likewise.
10622 * po/ja.po: Likewise.
10623 * po/ko.po: Likewise.
10624 * po/lt.po: Likewise.
10625 * po/nb.po: Likewise.
10626 * po/nl.po: Likewise.
10627 * po/pl.po: Likewise.
10628 * po/pt_BR.po: Likewise.
10629 * po/ru.po: Likewise.
10630 * po/rw.po: Likewise.
10631 * po/sk.po: Likewise.
10632 * po/sl.po: Likewise.
10633 * po/sv.po: Likewise.
10634 * po/tr.po: Likewise.
10635 * po/uk.po: Likewise.
10636 * po/vi.po: Likewise.
10637 * po/zh_CN.po: Likewise.
10638 * po/zh_TW.po: Likewise.
10639
10640 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10641
10642 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10643 -Wformat-truncation instead of -Wformat-length.
10644 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10645 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10646 GCC 7.
10647 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10648 (do_test): Ignore -Wformat-truncation for GCC 7.
10649
10650 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10651 buffer used to print long int value.
10652
10653 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10654 one byte. Print it with %ld, cast to long int.
10655
10656 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10657
10658 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10659 (re.fullmatch, subprocess.run): Likewise.
10660
10661 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10662
10663 * po/libc.pot: Regenerate.
10664
10665 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10666
10667 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10668 (min_strlen): Likewise.
10669 (disable_tunable): Likewise.
10670 (maybe_disable_malloc_check): Rename to
10671 maybe_enable_malloc_check.
10672 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10673 if /etc/suid-debug file exists.
10674 (__tunables_init): Update caller.
10675 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10676 secure.
10677
10678 2016-01-10 Torvald Riegel <triegel@redhat.com>
10679
10680 * nptl/DESIGN-rwlock.txt: Remove.
10681 * nptl/lowlevelrwlock.sym: Remove.
10682 * nptl/Makefile: Add new tests.
10683 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10684 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10685 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10686 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10687 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10688 PTHREAD_RWLOCK_FUTEX_USED): New.
10689 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10690 implementation.
10691 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10692 (__pthread_rwlock_rdlock): Adapt.
10693 * nptl/pthread_rwlock_timedrdlock.c
10694 (pthread_rwlock_timedrdlock): Adapt.
10695 * nptl/pthread_rwlock_timedwrlock.c
10696 (pthread_rwlock_timedwrlock): Adapt.
10697 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10698 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10699 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10700 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10701 (__pthread_rwlock_wrlock): Adapt.
10702 * nptl/tst-rwlock10.c: Adapt.
10703 * nptl/tst-rwlock11.c: Adapt.
10704 * nptl/tst-rwlock17.c: New file.
10705 * nptl/tst-rwlock18.c: New file.
10706 * nptl/tst-rwlock19.c: New file.
10707 * nptl/tst-rwlock2b.c: New file.
10708 * nptl/tst-rwlock8.c: Adapt.
10709 * nptl/tst-rwlock9.c: Adapt.
10710 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10711 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10712 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10713 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10714 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10715 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10716 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10717 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10718 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10719 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10720 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10721 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10722 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10723 (pthread_rwlock_t): Adapt.
10724 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10725 (pthread_rwlock_t): Adapt.
10726 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10727 * nptl/nptl-printers.py (): Adapt.
10728 * nptl/nptl_lock_constants.pysym: Adapt.
10729 * nptl/test-rwlock-printers.py: Adapt.
10730 * nptl/test-rwlockattr-printers.c: Adapt.
10731 * nptl/test-rwlockattr-printers.py: Adapt.
10732
10733 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10734
10735 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10736 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10737 (fma_test_data): Likewise.
10738 (hypot_test_data): Likewise.
10739 (log1p_test_data): Likewise.
10740 (modf_test_data): Likewise.
10741 (pow_test_data): Likewise.
10742 (remainder_test_data): Likewise.
10743 (remquo_test_data): Likewise.
10744 (scalb_test_data): Likewise.
10745 (scalbn_test_data): Likewise.
10746 (scalbln_test_data): Likewise.
10747 * math/gen-libm-test.pl (parse_args): Transform
10748 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10749 on the rounding mode.
10750
10751 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10752
10753 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10754 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10755 and those that can underflow to zero.
10756 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10757 add others.
10758 * math/auto-libm-test-out: Regenerated.
10759
10760 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10761 supported.
10762 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10763 modes support if not supported.
10764
10765 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10766 Add libc.so PLT entry.
10767 (__tls_get_addr): Make ld.so PLT entry optional.
10768
10769 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10770
10771 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10772 * string/bits/string3.h: ... here.
10773
10774 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10775
10776 [BZ #21028]
10777 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10778 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10779 if EXCEPTION_TESTS returns false.
10780
10781 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10782
10783 [BZ #20558]
10784 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10785 strings_fortified.h.
10786 [__USE_MISC] (bzero): Likewise.
10787 [__USE_MISC] (explicit_bzero): Likewise.
10788 * string/strings.h: Include strings_fortified.h.
10789 * string/Makefile (headers): Add strings_fortified.h.
10790 * string/bits/strings_fortified.h: New file.
10791 * include/bits/strings_fortified.h: Likewise.
10792
10793 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10794
10795 * elf/tst-tls13.c (TIMEOUT): Remove.
10796 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10797 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10798 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10799 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10800 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10801
10802 [BZ #21026]
10803 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10804 (readahead): New syscall entry.
10805
10806 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10807
10808 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10809 around tests of strncat with large sizes.
10810
10811 * malloc/tst-malloc.c: Include <libc-internal.h>.
10812 (do_test): Disable -Walloc-size-larger-than= around tests of
10813 malloc with negative sizes.
10814 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10815 (do_test): Disable -Walloc-size-larger-than= around tests of
10816 malloc and realloc with negative sizes.
10817 * malloc/tst-realloc.c: Include <libc-internal.h>.
10818 (do_test): Disable -Walloc-size-larger-than= around tests of
10819 realloc with negative sizes.
10820
10821 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10822 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10823 allowed to 16 ulps.
10824 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10825 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10826 * math/auto-libm-test-out: Regenerated.
10827
10828 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10829
10830 * math/Makefile (libm-calls): Move wrappers...
10831 (libm-compat-call-auto): Here.
10832 (libm-routines): Add items in libm-compat-calls-auto.
10833 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10834 the filenames of the wrappers that have been renamed.
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10837
10838 * math/w_acos.c: Add _compat suffix to filename.
10839 * math/w_acosf.c: Likewise.
10840 * math/w_acosh.c: Likewise.
10841 * math/w_acoshf.c: Likewise.
10842 * math/w_acoshl.c: Likewise.
10843 * math/w_acosl.c: Likewise.
10844 * math/w_asin.c: Likewise.
10845 * math/w_asinf.c: Likewise.
10846 * math/w_asinl.c: Likewise.
10847 * math/w_atan2.c: Likewise.
10848 * math/w_atan2f.c: Likewise.
10849 * math/w_atan2l.c: Likewise.
10850 * math/w_atanh.c: Likewise.
10851 * math/w_atanhf.c: Likewise.
10852 * math/w_atanhl.c: Likewise.
10853 * math/w_cosh.c: Likewise.
10854 * math/w_coshf.c: Likewise.
10855 * math/w_coshl.c: Likewise.
10856 * math/w_exp10.c: Likewise.
10857 * math/w_exp10f.c: Likewise.
10858 * math/w_exp10l.c: Likewise.
10859 * math/w_exp2.c: Likewise.
10860 * math/w_exp2f.c: Likewise.
10861 * math/w_exp2l.c: Likewise.
10862 * math/w_fmod.c: Likewise.
10863 * math/w_fmodf.c: Likewise.
10864 * math/w_fmodl.c: Likewise.
10865 * math/w_hypot.c: Likewise.
10866 * math/w_hypotf.c: Likewise.
10867 * math/w_hypotl.c: Likewise.
10868 * math/w_j0.c: Likewise.
10869 * math/w_j0f.c: Likewise.
10870 * math/w_j0l.c: Likewise.
10871 * math/w_j1.c: Likewise.
10872 * math/w_j1f.c: Likewise.
10873 * math/w_j1l.c: Likewise.
10874 * math/w_jn.c: Likewise.
10875 * math/w_jnf.c: Likewise.
10876 * math/w_jnl.c: Likewise.
10877 * math/w_log10.c: Likewise.
10878 * math/w_log10f.c: Likewise.
10879 * math/w_log10l.c: Likewise.
10880 * math/w_log2.c: Likewise.
10881 * math/w_log2f.c: Likewise.
10882 * math/w_log2l.c: Likewise.
10883 * math/w_log.c: Likewise.
10884 * math/w_logf.c: Likewise.
10885 * math/w_logl.c: Likewise.
10886 * math/w_pow.c: Likewise.
10887 * math/w_powf.c: Likewise.
10888 * math/w_powl.c: Likewise.
10889 * math/w_remainder.c: Likewise.
10890 * math/w_remainderf.c: Likewise.
10891 * math/w_remainderl.c: Likewise.
10892 * math/w_scalb.c: Likewise.
10893 * math/w_scalbf.c: Likewise.
10894 * math/w_scalbl.c: Likewise.
10895 * math/w_sinh.c: Likewise.
10896 * math/w_sinhf.c: Likewise.
10897 * math/w_sinhl.c: Likewise.
10898 * math/w_sqrt.c: Likewise.
10899 * math/w_sqrtf.c: Likewise.
10900 * math/w_sqrtl.c: Likewise.
10901 * math/w_tgamma.c: Likewise.
10902 * math/w_tgammaf.c: Likewise.
10903 * math/w_tgammal.c: Likewise.
10904
10905 * math/w_acos_compat.c: New file copied from above and
10906 adjusted for new #includes path
10907 * math/w_acosf_compat.c: Likewise.
10908 * math/w_acosh_compat.c: Likewise.
10909 * math/w_acoshf_compat.c: Likewise.
10910 * math/w_acoshl_compat.c: Likewise.
10911 * math/w_acosl_compat.c: Likewise.
10912 * math/w_asin_compat.c: Likewise.
10913 * math/w_asinf_compat.c: Likewise.
10914 * math/w_asinl_compat.c: Likewise.
10915 * math/w_atan2_compat.c: Likewise.
10916 * math/w_atan2f_compat.c: Likewise.
10917 * math/w_atan2l_compat.c: Likewise.
10918 * math/w_atanh_compat.c: Likewise.
10919 * math/w_atanhf_compat.c: Likewise.
10920 * math/w_atanhl_compat.c: Likewise.
10921 * math/w_cosh_compat.c: Likewise.
10922 * math/w_coshf_compat.c: Likewise.
10923 * math/w_coshl_compat.c: Likewise.
10924 * math/w_exp10_compat.c: Likewise.
10925 * math/w_exp10f_compat.c: Likewise.
10926 * math/w_exp10l_compat.c: Likewise.
10927 * math/w_exp2_compat.c: Likewise.
10928 * math/w_exp2f_compat.c: Likewise.
10929 * math/w_exp2l_compat.c: Likewise.
10930 * math/w_fmod_compat.c: Likewise.
10931 * math/w_fmodf_compat.c: Likewise.
10932 * math/w_fmodl_compat.c: Likewise.
10933 * math/w_hypot_compat.c: Likewise.
10934 * math/w_hypotf_compat.c: Likewise.
10935 * math/w_hypotl_compat.c: Likewise.
10936 * math/w_j0_compat.c: Likewise.
10937 * math/w_j0f_compat.c: Likewise.
10938 * math/w_j0l_compat.c: Likewise.
10939 * math/w_j1_compat.c: Likewise.
10940 * math/w_j1f_compat.c: Likewise.
10941 * math/w_j1l_compat.c: Likewise.
10942 * math/w_jn_compat.c: Likewise.
10943 * math/w_jnf_compat.c: Likewise.
10944 * math/w_jnl_compat.c: Likewise.
10945 * math/w_log10_compat.c: Likewise.
10946 * math/w_log10f_compat.c: Likewise.
10947 * math/w_log10l_compat.c: Likewise.
10948 * math/w_log2_compat.c: Likewise.
10949 * math/w_log2f_compat.c: Likewise.
10950 * math/w_log2l_compat.c: Likewise.
10951 * math/w_log_compat.c: Likewise.
10952 * math/w_logf_compat.c: Likewise.
10953 * math/w_logl_compat.c: Likewise.
10954 * math/w_pow_compat.c: Likewise.
10955 * math/w_powf_compat.c: Likewise.
10956 * math/w_powl_compat.c: Likewise.
10957 * math/w_remainder_compat.c: Likewise.
10958 * math/w_remainderf_compat.c: Likewise.
10959 * math/w_remainderl_compat.c: Likewise.
10960 * math/w_scalb_compat.c: Likewise.
10961 * math/w_scalbf_compat.c: Likewise.
10962 * math/w_scalbl_compat.c: Likewise.
10963 * math/w_sinh_compat.c: Likewise.
10964 * math/w_sinhf_compat.c: Likewise.
10965 * math/w_sinhl_compat.c: Likewise.
10966 * math/w_sqrt_compat.c: Likewise.
10967 * math/w_sqrtf_compat.c: Likewise.
10968 * math/w_sqrtl_compat.c: Likewise.
10969 * math/w_tgamma_compat.c: Likewise.
10970 * math/w_tgammaf_compat.c: Likewise.
10971 * math/w_tgammal_compat.c: Likewise.
10972
10973 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10974 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10975 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10976 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10977 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10978 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10979 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10980 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10981 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10982 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10983 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10984 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10985 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10986 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10987 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10988 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10989 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10990 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10991 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10992 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10993 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10994 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10995 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10996 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10997 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10998 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10999 * sysdeps/ia64/fpu/w_log.c: Likewise.
11000 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11001 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11002 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11003 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11004 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11005 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11006 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11007 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11008 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11009 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11010 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11011 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11012 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11013 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11014 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11015 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11016 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11017 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11018 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11019 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11020 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11021 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11022 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11023 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11024 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11025 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11026 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11027 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11028 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11029 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11030 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11031 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11032 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11033 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11036 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11038 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11039 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11040 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11042 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11044 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11045 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11046 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11048 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11050 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11051 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11052 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11053 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11054 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11056 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11057 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11058 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11059 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11060 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11062 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11064 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11066 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11068 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11070 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11072 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11074 Likewise.
11075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11076 Likewise.
11077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11079 Likewise.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11081 Likewise.
11082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11083 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11084 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11085 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11087 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11088 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11095 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11096 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11097
11098 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11099 and adjusted for new #includes path
11100 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11101 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11102 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11103 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11104 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11105 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11106 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11107 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11108 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11109 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11110 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11111 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11112 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11113 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11114 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11115 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11116 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11117 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11118 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11119 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11120 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11121 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11122 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11123 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11124 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11125 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11126 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11127 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11128 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11129 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11130 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11131 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11132 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11133 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11134 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11135 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11136 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11137 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11138 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11139 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11140 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11141 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11142 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11143 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11144 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11145 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11146 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11147 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11148 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11149 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11150 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11151 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11152 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11153 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11154 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11155 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11156 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11157 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11158 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11159 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11160 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11161 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11162 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11163 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11164 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11165 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11166 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11167 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11168 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11169 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11170 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11171 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11172 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11173 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11174 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11175 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11176 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11177 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11178 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11179 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11180 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11181 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11182 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11183 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11184 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11185 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11186 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11187 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11188 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11189 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11190 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11191 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11192 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11193 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11194 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11195 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11196 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11197 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11198 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11200 Likewise.
11201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11202 Likewise.
11203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11204 Likewise.
11205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11206 Likewise.
11207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11208 Likewise.
11209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11210 Likewise.
11211 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11212 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11213 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11214 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11215 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11216 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11218 Likewise.
11219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11220 Likewise.
11221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11222 Likewise.
11223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11224 Likewise.
11225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11227 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11228 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11229
11230 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11231
11232 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11233 __jmp_buf_internal_tag.
11234
11235 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11236 preserve NaN payload if [__mips_nan2008].
11237 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11238
11239 [BZ #21022]
11240 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11241
11242 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11243
11244 * sysdeps/i386/fpu/libm-test-ulps: Update.
11245
11246 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11247
11248 * sysdeps/ia64/strcat.c: Remove file.
11249 * sysdeps/powerpc/strcat.c: Likewise.
11250 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11251 C implementation.
11252 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11253 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11254
11255 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11256 Steven Munroe <sjmunroe@us.ibm.com>
11257 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11258
11259 [BZ #20822]
11260 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11261 (__lll_lock_elision): Access adapt_count via C11 atomics.
11262 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11263 (__lll_trylock_elision): Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11265 (__lll_unlock_elision): Update adapt_count variable inside the
11266 critical section using C11 atomics.
11267
11268 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11269
11270 * math/test-fenvinline.c (do_test): Disable tests of raised
11271 exceptions if !EXCEPTION_TESTS (FLOAT).
11272
11273 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11274
11275 [BZ #19390]
11276 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11277 maximum string size.
11278 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11279 in pointer addition.
11280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11281 Likewise.
11282
11283 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11284
11285 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11286 passed to tst-ldconfig-X.sh.
11287
11288 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11289
11290 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11291
11292 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #21019]
11295 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11296 New syscall entry.
11297 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11298 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11299 lseek.
11300
11301 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11302 power4 glibc for powerpc-linux-gnu.
11303
11304 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11305
11306 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11307 semctl.
11308
11309 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11310
11311 * math/test-nearbyint-except.c: Include <stdbool.h>.
11312 (any_supported): New variable.
11313 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11314 set any_supported.
11315 (do_test): Return 77 if no floating-point type supported
11316 exceptions.
11317
11318 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11319 condition on [__mips_hard_float].
11320
11321 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11322
11323 [BZ #21014]
11324 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11325 in pointer addition.
11326 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11327
11328 2017-01-02 Torvald Riegel <triegel@redhat.com>
11329
11330 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11331 new condvar.
11332
11333 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11334
11335 * scripts/build-many-glibcs.py (Context.checkout): Default
11336 binutils version to 2.28 branch.
11337
11338 2017-01-01 Florian Weimer <fweimer@redhat.com>
11339
11340 * support/support_format_netent.c (support_format_netent): Work
11341 around alpha struct netent definition difference.
11342
11343 2017-01-01 Florian Weimer <fweimer@redhat.com>
11344
11345 * support/xwrite.c (xwrite): Use %td for pointer difference.
11346
11347 2017-01-01 Florian Weimer <fweimer@redhat.com>
11348
11349 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11350 have-tunables only.
11351 (tests-static): Add tst-malloc-usable-static-tunables for
11352 have-tunables only.
11353
11354 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11355
11356 * scripts/config.guess: Update to version 2017-01-01.
11357 * scripts/config.sub: Update to version 2017-01-01.
11358
11359 * NEWS: Update copyright dates.
11360 * catgets/gencat.c (print_version): Likewise.
11361 * csu/version.c (banner): Likewise.
11362 * debug/catchsegv.sh: Likewise.
11363 * debug/pcprofiledump.c (print_version): Likewise.
11364 * debug/xtrace.sh (do_version): Likewise.
11365 * elf/ldconfig.c (print_version): Likewise.
11366 * elf/ldd.bash.in: Likewise.
11367 * elf/pldd.c (print_version): Likewise.
11368 * elf/sotruss.sh: Likewise.
11369 * elf/sprof.c (print_version): Likewise.
11370 * iconv/iconv_prog.c (print_version): Likewise.
11371 * iconv/iconvconfig.c (print_version): Likewise.
11372 * locale/programs/locale.c (print_version): Likewise.
11373 * locale/programs/localedef.c (print_version): Likewise.
11374 * login/programs/pt_chown.c (print_version): Likewise.
11375 * malloc/memusage.sh (do_version): Likewise.
11376 * malloc/memusagestat.c (print_version): Likewise.
11377 * malloc/mtrace.pl: Likewise.
11378 * manual/libc.texinfo: Likewise.
11379 * nptl/version.c (banner): Likewise.
11380 * nscd/nscd.c (print_version): Likewise.
11381 * nss/getent.c (print_version): Likewise.
11382 * nss/makedb.c (print_version): Likewise.
11383 * posix/getconf.c (main): Likewise.
11384 * scripts/test-installation.pl: Likewise.
11385 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11386
11387 * All files with FSF copyright notices: Update copyright dates
11388 using scripts/update-copyrights.
11389 * intl/plural.c: Regenerated.
11390 * locale/programs/charmap-kw.h: Likewise.
11391 * locale/programs/locfile-kw.h: Likewise.
11392
11393 2016-12-31 Florian Weimer <fweimer@redhat.com>
11394
11395 [BZ #20593]
11396 Update DNS RR type definitions.
11397 * scripts/gen-rrtypes.py: New file.
11398 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11399 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11400 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11401 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11402 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11403 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11404 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11405 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11406 ns_t_ta, ns_t_dlv.
11407 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11408 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11409 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11410 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11411 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11412 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11413 Define.
11414 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11415 entry for ns_t_zxfr.
11416
11417 2016-12-31 Florian Weimer <fweimer@redhat.com>
11418
11419 [BZ #18784]
11420 CVE-2015-5180
11421 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11422 T_UNSPEC. Adjust value.
11423 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11424 * resolv/res_query.c (__libc_res_nquery): Likewise.
11425 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11426 QTYPEs.
11427 * resolv/tst-resolv-qtypes.c: New file.
11428 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11429 (tst-resolv-qtypes): Link against libresolv and libpthread.
11430
11431 2016-12-31 Florian Weimer <fweimer@redhat.com>
11432
11433 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11434
11435 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11436
11437 * manual/tunables.texi: New chapter.
11438 * manual/Makefile (chapters): Add it.
11439 * manual/probes.texi (@node): Point to the Tunables chapter.
11440
11441 * Makeconfig (have-tunables): Check for non-negative instead
11442 of positive.
11443 * configure.ac: Add 'valstring' as a valid value for
11444 --enable-tunables.
11445 * configure: Regenerate.
11446 * elf/Makefile (have-tunables): Check for non-negative instead
11447 of positive.
11448 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11449 dl-tunables.c.
11450 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11451 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11452 (tunables_strdup): Likewise.
11453 (disable_tunables): Likewise.
11454 (parse_tunables): Likewise.
11455 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11456 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11457 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11458 (TUNABLES_FRONTEND_yes): New macro, define as
11459 TUNABLES_FRONTEND_valstring by default.
11460 * manual/install.texi: Document new acceptable values for
11461 --enable-tunables.
11462 * INSTALL: Regenerate.
11463
11464 * config.make.in (have-loop-to-function): Define.
11465 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11466 -fno-tree-loop-distribute-patterns.
11467 * elf/dl-tunables.c: Include libc-internals.h.
11468 (GLIBC_TUNABLES): New macro.
11469 (tunables_strdup): New function.
11470 (parse_tunables): New function.
11471 (min_strlen): New function.
11472 (__tunables_init): Use the new functions and macro.
11473 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11474 * malloc/tst-malloc-usable-tunables.c: New test case.
11475 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11476 * malloc/Makefile (tests, tests-static): Add tests.
11477
11478 * manual/install.texi: Add --enable-tunables option.
11479 * INSTALL: Regenerate.
11480 * README.tunables: New file.
11481 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11482 (before-compile): Generate dl-tunable-list.h early.
11483 * config.h.in: Add HAVE_TUNABLES.
11484 * config.make.in: Add have-tunables.
11485 * configure.ac: Add --enable-tunables option.
11486 * configure: Regenerate.
11487 * csu/init-first.c (__libc_init_first): Move
11488 __libc_init_secure earlier...
11489 * csu/init-first.c (LIBC_START_MAIN):... to here.
11490 Include dl-tunables.h, libc-internal.h.
11491 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11492 binaries.
11493 * elf/Makefile (dl-routines): Add dl-tunables.
11494 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11495 namespace.
11496 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11497 only when !HAVE_TUNABLES.
11498 * elf/rtld.c (process_envvars): Likewise.
11499 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11500 (_dl_sysdep_start): Call __tunables_init.
11501 * elf/dl-tunable-types.h: New file.
11502 * elf/dl-tunables.c: New file.
11503 * elf/dl-tunables.h: New file.
11504 * elf/dl-tunables.list: New file.
11505 * malloc/tst-malloc-usable-static.c: New test case.
11506 * malloc/Makefile (tests-static): Add it.
11507 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11508 Define TUNABLE_NAMESPACE.
11509 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11510 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11511 callback functions.
11512 (ptmalloc_init): Set tunable values.
11513 * scripts/gen-tunables.awk: New file.
11514 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11515 (_dl_sysdep_start): Call __tunables_init.
11516
11517 2016-12-31 Florian Weimer <fweimer@redhat.com>
11518
11519 * resolv/resolv.h (RES_BLAST): Deprecate.
11520 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11521 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11522 to RES_BLAST.
11523
11524 2016-12-27 Florian Weimer <fweimer@redhat.com>
11525
11526 [BZ #19582]
11527 Deprecate RES_USE_INET6.
11528 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11529 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11530 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11531 RES_USE_INET6.
11532 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11533 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11534 (_nss_nisplus_gethostbyaddr_r): Likewise.
11535 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11536 of res_use_inet6.
11537 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11538 instead of RES_USE_INET6.
11539 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11540 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11541 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11542 Likewise.
11543 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11544 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11545 Likewise.
11546 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11547 (_nss_dns_gethostbyname_r): Likewise.
11548 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11549 alternate RES_USE_INET6 handling.
11550 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11551 instead of RES_USE_INET6.
11552 * resolv/res_init.c (res_setoptions): Likewise.
11553 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11554 * resolv/resolv-internal.h: New file.
11555 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11556 make the deprecation warning non-fatal.
11557 * resolv/README (Using the resolver in multi-threaded code): Drop
11558 reference to RES_USE_INET6.
11559 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11560 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11561
11562 2016-12-31 Florian Weimer <fweimer@redhat.com>
11563
11564 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11565 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11566 tst-resolv-search.
11567 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11568 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11569 with libresolv and libpthread.
11570 * resolv/tst-bug18665.c: New file.
11571 * resolv/tst-bug18665-tcp: Likewise.
11572 * resolv/tst-res_use_inet6: Likewise.
11573 * resolv/tst-resolv-basic: Likewise.
11574 * resolv/tst-resolv-network: Likewise.
11575 * resolv/tst-resolv-search: Likewise.
11576 * support/Makefile (libsupport-routines): Add check_addrinfo,
11577 check_dns_packet, check_hostent, check_netent, resolv_test,
11578 support_format_address_family, support_format_addrinfo,
11579 support_format_dns_packet, support_format_herrno,
11580 support_format_hostent, support_format_netent, support_run_diff,
11581 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11582 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11583 xstrdup, xwrite.
11584 * support/check_addrinfo.c: New file.
11585 * support/check_dns_packet.c: Likewise.
11586 * support/check_hostent.c: Likewise.
11587 * support/check_netent.c: Likewise.
11588 * support/check_nss.h: Likewise.
11589 * support/format_nss.h: Likewise.
11590 * support/resolv_test.c: Likewise.
11591 * support/resolv_test.h: Likewise.
11592 * support/run_diff.h: Likewise.
11593 * support/support_format_address_family.c: Likewise.
11594 * support/support_format_addrinfo.c: Likewise.
11595 * support/support_format_dns_packet.c: Likewise.
11596 * support/support_format_herrno.c: Likewise.
11597 * support/support_format_hostent.c: Likewise.
11598 * support/support_format_netent.c: Likewise.
11599 * support/support_run_diff.c: Likewise.
11600 * support/xaccept.c: Likewise.
11601 * support/xbind.c: Likewise.
11602 * support/xconnect.c: Likewise.
11603 * support/xfclose.c: Likewise.
11604 * support/xfopen.c: Likewise.
11605 * support/xgetsockname.c: Likewise.
11606 * support/xlisten.c: Likewise.
11607 * support/xmemstream.c: Likewise.
11608 * support/xmemstream.h: Likewise.
11609 * support/xpoll.c: Likewise.
11610 * support/xpthread_once.c: Likewise.
11611 * support/xrecvfrom.c: Likewise.
11612 * support/xsendto.c: Likewise.
11613 * support/xsetsockopt.c: Likewise.
11614 * support/xstdio.h: Likewise.
11615 * support/xstrdup.c: Likewise.
11616 * support/support.h (xstrdup): Declare.
11617 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11618 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11619 * support/xthread.h (xpthread_once): Likwise.
11620 * support/xunistd.h (xwrite): Declare.
11621
11622 2016-12-31 Florian Weimer <fweimer@redhat.com>
11623
11624 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11625 (test_verbose): Declare.
11626 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11627 * support/support_test_main.c (default_options): Likewise.
11628 (usage, support_test_main): Handle 'v'.
11629 (test_verbose): Define.
11630 * support/tst-support_record_failure.c (do_test): Use
11631 test_verbose.
11632 * support/tst-support_record_failure-2.sh (different_status): Add
11633 --verbose test.
11634
11635 2016-12-31 Florian Weimer <fweimer@redhat.com>
11636
11637 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11638 test failures are recorded.
11639 * support/check.c (support_print_failure_impl): Call
11640 support_record_failure.
11641 (support_exit_failure_impl): Call support_record_failure if status
11642 indicates failure.
11643 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11644 * support/xasprintf.c (xasprintf): Likewise.
11645 * support/xfork.c (xfork): Likewise.
11646 * support/xpthread_check_return.c (xpthread_check_return):
11647 Likewise.
11648 * support/xsocket.c (xsocket): Likeweise.
11649 * support/xwaitpid.c (xwaitpid): Likewise.
11650 * support/support_record_failure.c (struct test_failures): Adjust
11651 to coding style.
11652 * support/support_test_verify_impl.c (support_test_verify_impl):
11653 Adjust error messages.
11654 * support/tst-support_record_failure-2.sh (different_status):
11655 Adjust error messages.
11656
11657 2016-12-31 Florian Weimer <fweimer@redhat.com>
11658
11659 * support/namespace.h: New file.
11660 * support/support_become_root.c: Likewise.
11661 * support/support_enter_network_namespace.c: Likewise.
11662 * support/tst-support-namespace.c: Likewise.
11663 * support/xsocket.c: Likewise.
11664 * support/xsocket.h: Likewise.
11665 * support/Makefile (libsupport-routines): Add support_become_root,
11666 support_enter_network_namespace, xsocket.
11667 (tests): Add tst-support-namespace.
11668
11669 2016-12-31 Florian Weimer <fweimer@redhat.com>
11670
11671 [BZ #17252]
11672 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11673 __USE_GNU.
11674
11675 2016-12-31 Torvald Riegel <triegel@redhat.com>
11676
11677 [BZ #13165]
11678 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11679 use new algorithm.
11680 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11681 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11682 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11683 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11684 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11685 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11686 __condvar_cleanup_waiting, __condvar_dec_grefs,
11687 __pthread_cond_wait_common): New.
11688 (__condvar_cleanup): Remove.
11689 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11690 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11691 Likewise.
11692 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11693 Likewise.
11694 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11695 * nptl/tst-cond1.c: Add comment.
11696 * nptl/tst-cond20.c (do_test): Adapt.
11697 * nptl/tst-cond22.c (do_test): Likewise.
11698 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11699 structure.
11700 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11701 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11702 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11703 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11704 Likewise.
11705 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11706 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11707 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11708 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11709 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11710 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11713 Likewise.
11714 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11715 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11716 (COND_CLOCK_BITS): Adapt.
11717 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11718 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11719 __PTHREAD_COND_SHARED_MASK): New.
11720 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11721 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11722 * nptl/nptl_lock_constants.pysym: Adapt.
11723 * nptl/test-cond-printers.py: Adapt.
11724 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11725 cond_compat_check_and_clear): Adapt.
11726 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11727 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11728 (__pthread_cond_timedwait): ... and move here.
11729 * nptl/DESIGN-condvar.txt: Remove file.
11730 * nptl/lowlevelcond.sym: Likewise.
11731 * nptl/pthread_cond_timedwait.c: Likewise.
11732 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11733 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11735 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11736 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11737 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11738 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11739 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11740 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11741 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11742 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11743 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11744 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11748
11749 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11750
11751 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11752 (fromfp): New declaration.
11753 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11754 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11755 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11756 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11761 * math/math.h: Include <bits/types.h>.
11762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11763 constant and macro.
11764 (FP_INT_DOWNWARD): Likewise.
11765 (FP_INT_TOWARDZERO): Likewise.
11766 (FP_INT_TONEARESTFROMZERO): Likewise.
11767 (FP_INT_TONEAREST): Likewise.
11768 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11769 (fromfpf): Likewise.
11770 (fromfpl): Likewise.
11771 (ufromfp): Likewise.
11772 (ufromfpf): Likewise.
11773 (ufromfpl): Likewise.
11774 (fromfpx): Likewise.
11775 (fromfpxf): Likewise.
11776 (fromfpxl): Likewise.
11777 (ufromfpx): Likewise.
11778 (ufromfpxf): Likewise.
11779 (ufromfpxl): Likewise.
11780 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11781 s_fromfpxF and s_ufromfpxF.
11782 * math/gen-fromfp-tests.py: New file.
11783 * math/gen-fromfp-tests-inputs: Likewise.
11784 * math/libm-test.inc: Include <stdint.h>
11785 (check_intmax_t): New function.
11786 (check_uintmax_t): Likewise.
11787 (struct test_fiu_M_data): New type.
11788 (struct test_fiu_U_data): Likewise.
11789 (RUN_TEST_fiu_M): New macro.
11790 (RUN_TEST_LOOP_fiu_M): Likewise.
11791 (RUN_TEST_fiu_U): Likewise.
11792 (RUN_TEST_LOOP_fiu_U): Likewise.
11793 (fromfp_test_data): New array.
11794 (fromfp_test): New function.
11795 (fromfpx_test_data): New array.
11796 (fromfpx_test): New function.
11797 (ufromfp_test_data): New array.
11798 (ufromfp_test): New function.
11799 (ufromfpx_test_data): New array.
11800 (ufromfpx_test): New function.
11801 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11802 ufromfpx_test.
11803 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11804 characters.
11805 * math/test-tgmath-ret.c: Include <stdint.h>.
11806 (rm): New variable.
11807 (width): Likewise.
11808 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11809 called function.
11810 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11811 CHECK_RET_CONST_TYPE.
11812 (CHECK_RET_CONST_DOUBLE): Likewise.
11813 (CHECK_RET_CONST_LDOUBLE): Likewise.
11814 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11815 macros.
11816 (fromfp): New CHECK_RET_CONST call.
11817 (ufromfp): Likewise.
11818 (fromfpx): Likewise.
11819 (ufromfpx): Likewise.
11820 (do_test): Call check_return_fromfp, check_return_ufromfp,
11821 check_return_fromfpx and check_return_ufromfpx.
11822 * math/test-tgmath.c: Include <stdint.h>
11823 (NCALLS): Increase to 138.
11824 (F(compile_test)): Initialize i. Call fromfp functions.
11825 (F(fromfp)): New function.
11826 (F(fromfpx)): Likewise.
11827 (F(ufromfp)): Likewise.
11828 (F(ufromfpx)): Likewise.
11829 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11830 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11831 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11832 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11833 ufromfpxl.
11834 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11835 ufromfp and ufromfpx.
11836 * math/fromfp.h: New file.
11837 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11842 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11843 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11844 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11845 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11846 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11857 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11863 ufromfp, fromfpx and ufromfpx.
11864 (CFLAGS-nldbl-fromfp.c): New variable.
11865 (CFLAGS-nldbl-fromfpx.c): Likewise.
11866 (CFLAGS-nldbl-ufromfp.c): Likewise.
11867 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11869 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11870 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11871 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11872 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11873 * sysdeps/nacl/libm.abilist: Update.
11874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11887 Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11889 Likewise.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11893 Likewise.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11900 Likewise.
11901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11906
11907 2016-12-30 Florian Weimer <fweimer@redhat.com>
11908
11909 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11910 compat-gethnamaddr.
11911 (CPPFLAGS): Remove.
11912 * resolv/gethnamaddr.c: Rename ...
11913 * resolv/compat-gethnamaddr.c: ... to this file.
11914 (_endhtent): Make static.
11915 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11916 symbol.
11917 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11918 compat symbol.
11919 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11920 symbol.
11921 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11922 Turn into compat symbol.
11923 * include/resolv.h (_endhtent): Remove declaration.
11924
11925 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11926
11927 * bits/types.h (__intmax_t): New typedef.
11928 (__uintmax_t): Likewise.
11929 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11930 (intmax_t): Define using __intmax_t.
11931 (uintmax_t): Define using __uintmax_t.
11932
11933 * support/Makefile (tests-special): Make definition conditional on
11934 [$(run-built-tests) = yes].
11935 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11936 on [$(run-built-tests) = yes].
11937
11938 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11939
11940 * Rules (tests): Add tests-printers-programs to tests to be
11941 built.
11942
11943 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11944
11945 * sysvipc/Makefile (tests): Add test-sysvshm.
11946 * sysvipc/test-sysvshm.c: New file.
11947
11948 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11949 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11950 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11951 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11952 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11953 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11954 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11955 Likewise.
11956 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11957 Likewise.
11958 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11959 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11960 is defined.
11961
11962 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11963 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11964 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11965 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11966 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11967 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11968 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11969 Likewise.
11970 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11971 Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11973 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11974 defined.
11975
11976 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11977 oldshmctl.
11978 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11979 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11980 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11981 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11982 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11983 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11984 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11987 Likewise.
11988 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11989 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11990 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11991 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11992 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11993 implementation.
11994 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11995 if it is defined.
11996
11997 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11998 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11999 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12000 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12001 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12002 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12003 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12004 Likewise.
12005 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12006 Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12008 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12009 Define to __NR_osf_shmat.
12010 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12011 defined.
12012
12013 * sysvipc/Makefile (tests): Add test-sysvsem.
12014 * sysvipc/test-sysvsem.c: New file.
12015
12016 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12017 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12018 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12019 Likewise.
12020 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12021 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12022 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12023 Likewise.
12024 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12025 Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12027 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12028 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12029 add a comment about s390 syscall difference from default one.
12030 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12031 syscall if it is defined.
12032
12033 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12034 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12035 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12036 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12037 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12038 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12039 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12040 Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12042 Likewise.
12043 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12044 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12045 defined.
12046
12047 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12048 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12049 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12050 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12051 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12052 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12053 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12054 Likewise.
12055 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12056 Likewise.
12057 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12058 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12059 if it is defined.
12060
12061 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12062 oldsemctl.
12063 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12064 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12065 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12066 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12067 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12068 implementation.
12069 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12070 syscall if it is defined.
12071 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12072 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12073 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12074 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12075 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12076 Likewise.
12077 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12078
12079 * sysvipc/Makefile (tests): Add test-sysvmsg.
12080 * sysvipc/test-sysvmsg.c: New file.
12081 * support/check.h (FAIL_UNSUPPORTED): New define.
12082
12083 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12084 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12085 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12086 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12087 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12088 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12089 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12090 Likewise.
12091 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12092 Likewise.
12093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12094 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12095 define.
12096
12097 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12098 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12099 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12100 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12101 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12102 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12103 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12104 Likewise.
12105 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12106 Likewise.
12107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12108 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12109 if defined.
12110
12111 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12112 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12113 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12114 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12115 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12116 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12117 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12118 Likewise.
12119 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12120 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12121 Likewise.
12122 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12123 if defined.
12124 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12125
12126 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12127 oldmsgctl.
12128 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12129 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12130 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12131 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12132 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12133 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12134 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12135 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12136 Likewise.
12137 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12138 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12139 implementation.
12140 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12141 if defined.
12142
12143 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12144 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12145 definition and define its own.
12146 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12147 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12148 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12149 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12150 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12151 definitions to common header.
12152 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12153 operation from ipc_ops.h.
12154
12155 * sysdeps/unix/sysv/linux/kernel-features.h
12156 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12157 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12158 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12159 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12160 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12161 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12162 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12164 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12165 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12166 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12167 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12168 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12170 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12171
12172 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12173
12174 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12175 overflow in pointer addition.
12176
12177 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12178
12179 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12180 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12182 (strchr): Add __strchr_power8 to list of strchr functions.
12183 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12184 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12185 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12186 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12187 (strchr): Add __strchr_power8 to ifunc list.
12188 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12189 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12190 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12191 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12192
12193 2016-12-28 Florian Weimer <fweimer@redhat.com>
12194
12195 * support/Makefile (libsupport-routines): Add
12196 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12197 (tests): Add tst-support_record_failure.
12198 (tests-special): tst-support_record_failure-2.
12199 (tst-support_record_failure-2.out): Depend on
12200 tst-support_record_failure-2.sh and tst-support_record_failure.
12201 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12202 (support_test_verify_impl, support_record_failure)
12203 (support_report_failure, support_report_failure_reset): Declare.
12204 * support/support_test_main.c (adjust_exit_status): New function.
12205 (support_test_main): Call it to incorporate record test failures.
12206 * support/support_test_verify_impl.c: New file.
12207 * support/support_record_failure.c: Likewise.
12208 * support/tst-support_record_failure.c: Likewise.
12209 * support/tst-support_record_failure-2.sh: Likewise.
12210 * support/xunistd.h: Likewise.
12211 * support/xfork.c: Likewise.
12212 * support/xwaitpid.c: Likewise.
12213
12214 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12215
12216 * scripts/check-c++-types.sh: Add comments.
12217
12218 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12219
12220 [BZ #19514]
12221 * resolv/res_send.c: Fix typo in comment.
12222 * sysdeps/i386/i386-mcount.S: Likewise.
12223 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12225 * sysdeps/sparc/sparc-mcount.S: Likewise.
12226
12227 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12228
12229 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12230 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12231 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12232 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12233 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12235 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12236 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12237
12238 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12239
12240 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12241
12242 2016-12-27 Florian Weimer <fweimer@redhat.com>
12243
12244 [BZ #17252]
12245 * posix/unistd.h (getentropy): Declare.
12246
12247 2016-12-27 Florian Weimer <fweimer@redhat.com>
12248
12249 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12250 Remove.
12251 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12252 (cmd): Remove spoof, nospoof, spoofalert.
12253 (parse_line): Ignore spoof-related lines.
12254 (do_init): Do not process RESOLV_SPOOF_CHECK.
12255
12256 2016-12-27 Florian Weimer <fweimer@redhat.com>
12257
12258 [BZ #20964]
12259 sunrpc: Always obtain AF_INET addresses from NSS.
12260 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12261 * sunrpc/rpc_gethostbyname.c: New file.
12262 * sunrpc/Makefile (routines): Add it.
12263 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12264 * sunrpc/clnt_simp.c (callrpc): Likewise.
12265 * sunrpc/getrpcport.c (getrpcport): Likewise.
12266
12267 2016-12-27 Florian Weimer <fweimer@redhat.com>
12268
12269 * sunrpc/rpcinfo.c: Remove.
12270 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12271
12272 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12273
12274 [BZ #19387]
12275 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12276 addition.
12277 * string/test-memchr.c (do_test): Remove alignment limitation.
12278 (test_main): Add test that trigger BZ #19387.
12279
12280 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12281
12282 [BZ #7065]
12283 Enable stack protectore if requested by ./configure.
12284 * Makeconfig (+stack-protector): New variable.
12285 (+cflags): Use it.
12286
12287 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12288
12289 [BZ #7065]
12290 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12292 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12294 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12295
12296 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12297
12298 [BZ #7065]
12299 * login/Makefile (pt_chown-cflags): Remove.
12300 * nscd/Makefile (CFLAGS-nscd): Likewise.
12301 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12302
12303 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12304
12305 [BZ #7065]
12306 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12307 non-libc-linking testcase.
12308
12309 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12310 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12311 Florian Weimer <fweimer@redhat.com>
12312
12313 [BZ #7065]
12314 PLT avoidance for __stack_chk_fail*.
12315 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12316 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12317 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12318 __stack_chk_fail_local alias.
12319 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12320 (__stack_chk_fail): Turn into hidden reference to
12321 __stack_chk_fail_local.
12322
12323 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12324
12325 [BZ #7065]
12326 * configure.ac: Add check for unsupported stack-protection level.
12327 (libc_cv_predef_stack_protector): Remove.
12328 (no_ssp): New variable.
12329 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12330 (stack_protector): Set to -fno-stack-protector similarly.
12331 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12332 (libc_cv_asm_set_directive): Likewise.
12333 (libc_cv_protected_data): Likewise.
12334 (libc_cv_z_combreloc): Likewise.
12335 (libc_cv_hashstyle): Likewise.
12336 (libc_cv_has_glob_dat): Likewise.
12337 (libc_cv_output_format): Likewise.
12338 (libc_cv_output_format): Likewise.
12339 (libc_cv_ehdr_start): Likewise.
12340 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12341 (LIBC_LINKER_FEATURE): Likewise.
12342 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12343
12344 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12345
12346 [BZ #7065]
12347 * elf/Makefile (dummy-stack-chk-fail): New.
12348 (librtld.map): Use it.
12349
12350 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12351
12352 [BZ #7065]
12353 Compile the dynamic linker without stack protection.
12354 * elf/Makefile (elide-stack-protector): New.
12355 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12356 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12357 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12358 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12359
12360 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12361
12362 [BZ #7065]
12363 * config.make.in (have-ssp, no-stack-protector): New.
12364 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12365 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12366 (CFLAGS-sbrk.op): Likewise.
12367 (CFLAGS-brk.o): Likewise.
12368 (CFLAGS-brk.op): Likewise.
12369 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12370 (CFLAGS-wordcopy.c): Likewise.
12371
12372 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12373
12374 [BZ #7065]
12375 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12376 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12377 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12378 (__ifunc_resolver): Use it.
12379 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12380 inhibit_stack_protector.
12381 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12382 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12383 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12384 (foo_protected_ifunc): Likewise.
12385 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12386 (foo_protected_ifunc): Likewise.
12387 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12388 * sysdeps/nacl/nacl_interface_query.c
12389 (nacl_interface_query_ifunc): Likewise.
12390 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12392 Likewise.
12393 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12394 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12395 the generated vDSO syscall resolver.
12396
12397 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12398 Florian Weimer <fweimer@redhat.com>
12399
12400 [BZ #7065]
12401 Initialize the stack guard earlier when linking statically.
12402 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12403 (__pthread_initialize_minimal): Declare.
12404 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12405 declaration.
12406 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12407 stack canary and apply_irel initialization up. Call
12408 __pthread_initialize_minimal only if linked in.
12409 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12410 constant values.
12411 (__pthread_initialize_minimal): Remove.
12412 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12413 (__pthread_initialize_minimal_internal): Do not call
12414 __libc_setup_tls.
12415
12416 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12417
12418 [BZ #7065]
12419 * configure.ac (libc_cv_ssp): Move up.
12420 (libc_cv_ssp_strong): Likewise.
12421 (libc_cv_ssp_all): New.
12422 (stack_protector): Augment, adding -fstack-protector-all.
12423 (no_stack_protector): New.
12424 (STACK_PROTECTOR_LEVEL): New.
12425 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12426 * manual/install.texi (--enable-stack-protector): Document it.
12427 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12428
12429 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12430
12431 * README.pretty-printers: Must specify CPPFLAGS-* also.
12432 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12433 (CPPFLAGS-test-mutex-printers.c): Define.
12434 (CPPFLAGS-test-condattr-printers.c): Define.
12435 (CPPFLAGS-test-cond-printers.c): Define.
12436 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12437 (CPPFLAGS-test-rwlock-printers.c): Define.
12438
12439 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12440 (tests): Add tst-cancel-getpwuid_r.
12441 * nss/tst-cancel-getpwuid_r.c: New file.
12442
12443 [BZ #11941]
12444 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12445 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12446 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12447 tst-nodelete-dlclose.
12448 (modules-names): Add tst-nodelete-dlclose-dso and
12449 tst-nodelete-dlclose-plugin.
12450 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12451 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12452 ($(objpfx)tst-nodelete-dlclose): Define.
12453 ($(objpfx)tst-nodelete-dlclose.out): Define.
12454
12455 2016-12-23 Florian Weimer <fweimer@redhat.com>
12456
12457 * scripts/test_printers_common.py: Log GDB output in case of
12458 Python detection failure.
12459
12460 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12461
12462 * configure.ac: Check for python3 or python.
12463 * configure: Regenerated.
12464 * config.make.in (PYTHON): New variable.
12465 * benchtests/Makefile: Don't define PYTHON.
12466 (bench): Define target only if PYTHON was defined.
12467 * Rules: Don't define PYTHON.
12468 Define pretty printer targets only if PYTHON was defined.
12469 (tests-printers): Add to tests-unsupported if PYTHON is not
12470 found.
12471 (python-flags, python-invoke): Remove.
12472 (tests-printers-out): Use PYTHON instead of python-invoke.
12473
12474 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12475
12476 [BZ #20978]
12477 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12478 Compare name == NULL, not name != NULL.
12479
12480 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12481 trailing whitespace removed.
12482 * scripts/config.guess: Update to version 2016-10-02.
12483 * scripts/config.sub: Update to version 2016-11-19.
12484 * scripts/install-sh: Update to version 2016-01-11.22.
12485 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12486 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12487
12488 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12489
12490 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12491 (do_one_test) Restore original string so iteration works.
12492 * string/string-inlines.c (do_test): Create better input strings.
12493 (test_main) Reduce number of testruns.
12494 * string/string-inlines.c (__old_strsep_1c): New function.
12495 (__old_strsep_2c): Likewise.
12496 (__old_strsep_3c): Likewise.
12497 * string/strsep.c (__strsep): Remove case of small delim string.
12498 Call strcspn directly rather than strpbrk.
12499 * string/bits/string2.h (__strsep): Remove define.
12500 (__strsep_1c): Remove.
12501 (__strsep_2c): Remove.
12502 (__strsep_3c): Remove.
12503 (strsep): Remove.
12504 * sysdeps/unix/sysv/linux/internal_statvfs.c
12505 (__statvfs_getflags): Rename to __strsep.
12506
12507 2016-12-21 Florian Weimer <fweimer@redhat.com>
12508
12509 * csu/libc-tls.c (_dl_tls_setup): Remove.
12510 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12511 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12512 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12513
12514 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12515
12516 [BZ #7065]
12517 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12518 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12519
12520 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12521 Florian Weimer <fweimer@redhat.com>
12522
12523 [BZ #7065]
12524 * csu/Makefile (tests): Empty assignment and document it.
12525 (tests-static): Remove.
12526 * csu/tst-empty.c: Move to...
12527 * misc/tst-empty.c: ... here. Switch to new test driver.
12528 * csu/tst-atomic.c: Move to...
12529 * misc/tst-atomic.c: ... here. Switch to new test driver.
12530 * csu/tst-atomic-long.c: Move to...
12531 * misc/tst-atomic-long.c: ... here.
12532 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12533 tst-atomic-long.
12534 (tests-static): Add tst-empty.
12535
12536 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12537
12538 * manual/nss.texi: Change incorrect @vtable to @table.
12539 * manual/arith.texi: Convert @tables of variables to @vtables
12540 and remove unnecessary indexing.
12541 * manual/filesys.texi: Likewise.
12542 * manual/llio.texi: Likewise.
12543 * manual/memory.texi: Likewise.
12544 * manual/process.texi: Likewise.
12545 * manual/resource.texi: Likewise.
12546 * manual/search.texi: Likewise.
12547 * manual/signal.texi: Likewise.
12548 * manual/socket.texi: Likewise.
12549 * manual/stdio.texi: Likewise.
12550 * manual/sysinfo.texi: Likewise.
12551 * manual/syslog.texi: Likewise.
12552 * manual/terminal.texi: Likewise.
12553 * manual/time.texi: Likewise.
12554 * manual/users.texi: Likewise.
12555
12556 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12557
12558 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12559 (roundeven): New declaration.
12560 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12561 macro.
12562 * math/Versions (roundeven): New libm symbol at version
12563 GLIBC_2.25.
12564 (roundevenf): Likewise.
12565 (roundevenl): Likewise.
12566 * math/Makefile (libm-calls): Add s_roundevenF.
12567 * math/libm-test.inc (roundeven_test_data): New array.
12568 (roundeven_test): New function.
12569 (main): Call roundeven_test.
12570 * math/test-tgmath.c (NCALLS): Increase to 134.
12571 (F(compile_test)): Call roundeven.
12572 (F(roundeven)): New function.
12573 * manual/arith.texi (Rounding Functions): Document roundeven,
12574 roundevenf and roundevenl.
12575 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12576 * include/math.h (roundeven): Use libm_hidden_proto.
12577 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12578 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12579 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12584 roundeven.
12585 (CFLAGS-nldbl-roundeven.c): New variable.
12586 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12587 * sysdeps/nacl/libm.abilist: Update.
12588 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12601 Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12603 Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12605 Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12607 Likewise.
12608 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12614 Likewise.
12615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12616 Likewise.
12617 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12620
12621 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12622
12623 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12624 preprocessor indentation inside #if.
12625
12626 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12627
12628 * math/libm-test.inc (fmt_ftostr): New function.
12629 (print_float, check_float_internal): Replace some uses of
12630 FTOSTR with uses of fmt_ftostr.
12631 (print_max_error, print_complex_max_error, print_function_ulps)
12632 (print_complex_function_ulps): Remove uses of the macros
12633 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12634 * math/test-double.h (FTOSTR): Define to strfromd.
12635 (PRINTF_EXPR): Delete.
12636 (PRINTF_XEXPR): Likewise.
12637 (PRINTF_NEXPR): Likewise.
12638 * math/test-float.h (FTOSTR): Define to strfromf.
12639 (PRINTF_EXPR): Delete.
12640 (PRINTF_XEXPR): Likewise.
12641 (PRINTF_NEXPR): Likewise.
12642 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12643 (PRINTF_EXPR): Delete.
12644 (PRINTF_XEXPR): Likewise.
12645 (PRINTF_NEXPR): Likewise.
12646
12647 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12648
12649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12650 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12651 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12652 (__lll_lock_elision): Decrement adapt_count while unlocking
12653 instead of before locking.
12654 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12655 (__lll_trylock_elision): Likewise.
12656 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12657 (__lll_unlock_elision): Likewise.
12658
12659 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12660
12661 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12662 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12663 Use __libc_tbegin_retry macro.
12664
12665 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12666
12667 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12668 Add -msoft-float.
12669 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12670 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12671 Use __libc_t* transaction macros instead of __builtin_t*.
12672 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12673 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12674
12675 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12676
12677 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12678 (__lll_lock_elision): Use atomics to load / store adapt_count.
12679 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12680 (__lll_trylock_elision): Likewise.
12681
12682 2016-12-20 Florian Weimer <fweimer@redhat.com>
12683
12684 Do not require memset elimination in explicit_bzero test.
12685 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12686 (enum test_expectation): Add NO_EXPECTATIONS.
12687 (subtests): NO_EXPECTATIONS for ordinary clear.
12688 (check_test_buffer): Handle NO_EXPECTATIONS.
12689 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12690
12691 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12692
12693 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12694 (fmaxmag): New declaration.
12695 (fminmag): Likewise.
12696 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12697 macro.
12698 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12699 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12700 (fmaxmagf): Likewise.
12701 (fmaxmagl): Likewise.
12702 (fminmag): Likewise.
12703 (fminmagf): Likewise.
12704 (fminmagl): Likewise.
12705 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12706 * math/s_fmaxmag_template.c: New file.
12707 * math/s_fminmag_template.c: Likewise.
12708 * math/libm-test.inc (fmaxmag_test_data): New array.
12709 (fmaxmag_test): New function.
12710 (fminmag_test_data): New array.
12711 (fminmag_test): New function.
12712 (main): Call fmaxmag_test and fminmag_test.
12713 * math/test-tgmath.c (NCALLS): Increase to 132.
12714 (F(compile_test)): Call fmaxmag and fminmag.
12715 (F(fminmag)): New function.
12716 (F(fmaxmag)): Likewise.
12717 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12718 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12719 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12720 fminmag.
12721 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12722 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12723 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12726 and fminmag.
12727 (CFLAGS-nldbl-fmaxmag.c): New variable.
12728 (CFLAGS-nldbl-fminmag.c): Likewise.
12729 * sysdeps/nacl/libm.abilist: Update.
12730 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12743 Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12745 Likewise.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12747 Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12749 Likewise.
12750 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12756 Likewise.
12757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12758 Likewise.
12759 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12762
12763 2016-12-19 Torvald Riegel <triegel@redhat.com>
12764
12765 [BZ #20973]
12766 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12767 wake-up in robust mutexes.
12768 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12769
12770 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12771
12772 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12773 (CFLAGS-bench-fmaxf.c): New rule.
12774 (CFLAGS-bench-fminf.c): Likewise.
12775 * benchtests/fmaxf-inputs: New file.
12776 * benchtests/fminf-inputs: Likewise.
12777
12778 * benchtests/Makefile (bench-math): Add fmin and fmax.
12779 (CFLAGS-bench-fmax.c): New rule.
12780 (CFLAGS-bench-fmin.c): Likewise.
12781 * benchtests/fmax-inputs: New file.
12782 * benchtests/fmin-inputs: Likewise.
12783
12784 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12785 parenthesis.
12786 (CMDLINE_PROCESS): Define using function instead of macro.
12787 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12788 of test-skeleton.
12789 * benchtests/bench-memchr.c: Likewise.
12790 * benchtests/bench-memcmp.c: Likewise.
12791 * benchtests/bench-memcpy-large.c: Likewise.
12792 * benchtests/bench-memcpy.c: Likewise.
12793 * benchtests/bench-memmem.c: Likewise.
12794 * benchtests/bench-memmove-large.c: Likewise.
12795 * benchtests/bench-memmove.c: Likewise.
12796 * benchtests/bench-memset-large.c: Likewise.
12797 * benchtests/bench-memset.c: Likewise.
12798 * benchtests/bench-rawmemchr.c: Likewise.
12799 * benchtests/bench-strcasecmp.c: Likewise.
12800 * benchtests/bench-strcasestr.c: Likewise.
12801 * benchtests/bench-strcat.c: Likewise.
12802 * benchtests/bench-strchr.c: Likewise.
12803 * benchtests/bench-strcmp.c: Likewise.
12804 * benchtests/bench-strcpy.c: Likewise.
12805 * benchtests/bench-strcpy_chk.c: Likewise.
12806 * benchtests/bench-strlen.c: Likewise.
12807 * benchtests/bench-strncasecmp.c: Likewise.
12808 * benchtests/bench-strncmp.c: Likewise.
12809 * benchtests/bench-strncpy.c: Likewise.
12810 * benchtests/bench-strnlen.c: Likewise.
12811 * benchtests/bench-strpbrk.c: Likewise.
12812 * benchtests/bench-strrchr.c: Likewise.
12813 * benchtests/bench-strsep.c: Likewise.
12814 * benchtests/bench-strspn.c: Likewise.
12815 * benchtests/bench-strstr.c: Likewise.
12816 * benchtests/bench-strtok.c: Likewise.
12817
12818 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12819
12820 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12821 stepping identification.
12822 (init_cpu_features): Add handle of Haswell.
12823
12824 2016-11-25 Jim Meyering <meyering@fb.com>
12825
12826 [BZ #20386]
12827 Let gcc detect assert(a = 1) errors.
12828 * assert/assert.h (assert): Rewrite, retaining the old definintion
12829 when required, but otherwise putting the expression as-is in an "if"
12830 expression (hence, with no added parentheses) within a statement
12831 expression.
12832
12833 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12834
12835 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12836 DSO.
12837
12838 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12839
12840 * Rules (python-flags, python-invoke): New.
12841 ($(test-printers-out)): Use $(python-flags).
12842
12843 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12844
12845 * manual/arith.texi (Math Error Reporting): Document that sNaN
12846 arguments are not considered domain errors.
12847
12848 2016-12-16 Zack Weinberg <zackw@panix.com>
12849 Florian Weimer <fweimer@redhat.com>
12850 Nick Mathewson <nickm@torproject.org>
12851
12852 * string/explicit_bzero.c: New routine.
12853 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12854 * string/Makefile (routines, strop-tests, tests): Add them.
12855 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12856 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12857
12858 * debug/explicit_bzero_chk.c: New routine.
12859 * debug/Makefile (routines): Add it.
12860 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12861 * string/bits/string3.h: Fortify explicit_bzero.
12862
12863 * manual/string.texi: Document explicit_bzero.
12864 * NEWS: Mention addition of explicit_bzero.
12865
12866 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12867 data before returning, using explicit_bzero.
12868 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12869 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12870 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12871
12872 * include/string.h: Redirect internal uses of explicit_bzero
12873 to __explicit_bzero_chk[_internal].
12874 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12875 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12876 * sysdeps/arm/nacl/libc.abilist
12877 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12878 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12879 * sysdeps/unix/sysv/linux/arm/libc.abilist
12880 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12881 * sysdeps/unix/sysv/linux/i386/libc.abilist
12882 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12883 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12884 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12885 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12886 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12887 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12888 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12889 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12890 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12895 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12896 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12897 * sysdeps/unix/sysv/linux/sh/libc.abilist
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12899 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12902 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12903 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12904 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12905 Add entries for explicit_bzero and __explicit_bzero_chk.
12906
12907 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12908
12909 * math/fenv.h
12910 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12911 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12912 * math/test-fe-snans-always-signal.c: New file.
12913 * math/Makefile (tests): Add test-fe-snans-always-signal.
12914 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12915 * manual/arith.texi (Infinity and NaN): Document
12916 FE_SNANS_ALWAYS_SIGNAL.
12917
12918 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12919
12920 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12921 bracket.
12922
12923 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12924
12925 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12926 before calling execv.
12927
12928 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12929
12930 [BZ #20971]
12931 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12932 overflow in pointer addition.
12933 * string/test-memchr.c (do_test): Add an argument to pass as
12934 the size on memchr.
12935 (test_main): Add check for SIZE_MAX.
12936
12937 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12938
12939 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12940 (libm-calls): Add w_scalblnF.
12941 * math/w_scalbln.c: Remove.
12942 * math/w_scalblnf.c: Likewise.
12943 * math/w_scalblnl.c: Likewise.
12944 * math/w_scalbln_template.c: New file with type-generic
12945 implementation based on math/w_scalbln.c.
12946 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12947 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12948
12949 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12950
12951 [BZ #20947]
12952 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12953 either is a signaling NaN.
12954 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12955 follow fmaxl more closely.
12956 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12957 when either is a signaling NaN.
12958 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12959 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12960 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12961 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12962 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12963 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12964 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12965 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12966 (fmin_test_data): Likewise.
12967
12968 2016-12-15 Andreas Schwab <schwab@suse.de>
12969
12970 * support/support_test_main.c (support_test_main): Don't shadow
12971 file-local variable test_pid.
12972
12973 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12974
12975 [BZ #20947]
12976 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12977 either is a signaling NaN.
12978 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12979
12980 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12981
12982 [BZ #20947]
12983 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12984 when either is a signaling NaN.
12985 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12986
12987 * bits/long-double.h: New file.
12988 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12989 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12990 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12991 * sysdeps/mips/bits/long-double.h: Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12993 * math/Makefile (headers): Add bits/long-double.h.
12994 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12995 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12996 <bits/wordsize.h>.
12997 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12998 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12999 * math/math.h: Do not include <bits/mathdef.h>.
13000 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13001 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13002 inclusion.
13003 * sysdeps/ia64/bits/mathdef.h: Remove file.
13004 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13005 * sysdeps/mips/bits/mathdef.h: Likewise.
13006 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13007 * sysdeps/s390/bits/mathdef.h: Likewise.
13008 * sysdeps/sparc/bits/mathdef.h: Likewise.
13009 * sysdeps/x86/bits/mathdef.h: Likewise.
13010 * sysdeps/s390/s390-32/bits/wordsize.h
13011 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13012 conditional code.
13013 * sysdeps/s390/s390-64/bits/wordsize.h
13014 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13015 Likewise.
13016 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13017 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13018 Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13020 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13021 Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13023 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13024 Likewise.
13025
13026 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13027 <linux/falloc.h>.
13028 (FALLOC_FL_KEEP_SIZE): Remove.
13029 (FALLOC_FL_PUNCH_HOLE): Likewise.
13030 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13031 (FALLOC_FL_ZERO_RANGE): Likewise.
13032
13033 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13034
13035 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13036
13037 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13038
13039 * sysdeps/unix/sysv/linux/renameat.c: New file.
13040 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13041
13042 * sysdeps/unix/sysv/linux/rename.c: New file.
13043 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13044
13045 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13046
13047 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13048 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13049 * string/strtok_r.c (__strtok_r): Optimize for performance.
13050 * string/string-inlines.c (__old_strtok_r_1c): New function.
13051 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13052
13053 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13054
13055 * math/Makefile (gen-libm-calls): Add w_log1pF.
13056 (libm-calls): Remove w_log1pF.
13057 * math/w_log1p.c: Remove.
13058 * math/w_log1pf.c: Likewise.
13059 * math/w_log1pl.c: Likewise.
13060 * math/w_log1p_template.c: New file with type-generic
13061 implementation based on math/w_log1p.c.
13062 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13063 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13064
13065 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13066
13067 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13068
13069 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13070
13071 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13072 kernel version to 4.9.
13073
13074 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13075
13076 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13077 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13078
13079 2016-12-13 Andreas Schwab <schwab@suse.de>
13080
13081 * sysdeps/powerpc/dl-procinfo.c: Don't define
13082 _dl_powerpc_platforms.
13083 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13084 constants instead of referencing _dl_powerpc_platforms.
13085 (_dl_platform_string): Remove.
13086
13087 2016-12-13 Florian Weimer <fweimer@redhat.com>
13088
13089 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13090
13091 2016-12-13 Florian Weimer <fweimer@redhat.com>
13092
13093 * Rules (binaries-shared-tests, binaries-pie-tests)
13094 (binaries-static-tests): Link with $(link-extra-libs-tests).
13095 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13096 Remove $(link-extra-libs-tests).
13097
13098 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13099
13100 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13101 (sysdep_routines): Add strncmp_power9.
13102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13103 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13104 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13105 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13106 (strncmp): Add __strncmp_power9 to ifunc list.
13107 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13108
13109 2016-12-12 Florian Weimer <fweimer@redhat.com>
13110
13111 [BZ #17252]
13112 Add getentropy, getrandom.
13113 * stdlib/sys/random.h: New file.
13114 (headers): Add it.
13115 * stdlib/Makefile (routines): Add getentropy, getrandom.
13116 (tests): Add tst-getrandom.
13117 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13118 * stdlib/getentropy.c: New file.
13119 * stdlib/getrandom.c: Likewise.
13120 * stdlib/tst-getrandom.c: Likewise.
13121 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13122 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13123 * manual/crypt.texi (Unpredictable Bytes): New section.
13124 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13125 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13129 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13141 Likewise.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13143 Likewise.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13156
13157 2016-12-10 Florian Weimer <fweimer@redhat.com>
13158
13159 [BZ #20956]
13160 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13161 as additional compiler barriers.
13162 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13163 (fn2, do_test): Declare with external linkage.
13164 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13165 (do_test): Declare with external linkage.
13166 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13167 (do_test): Declare with external linkage.
13168 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13169 (do_test): Declare with external linkage.
13170
13171 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13172
13173 * support/support_test_main.c (support_test_main): Use correct
13174 timeout.
13175
13176 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13177 Florian Weimer <fweimer@redhat.com>
13178
13179 [BZ #16421]
13180 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13181 and __u6_addr32 members.
13182 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13183 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13184 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13185 Use __u6_addr32.
13186 * inet/tst-checks.c: Use <support/test-driver.c>
13187 * inet/tst-checks-posix.c: New file.
13188 * inet/Makefile (tests): Add it.
13189 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13190
13191 2016-12-09 Florian Weimer <fweimer@redhat.com>
13192
13193 New subdirectory support for build and test infrastructure.
13194 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13195 setting install-lib.
13196 * Makeconfig (link-extra-libs-tests): Define.
13197 (+link-pie-tests, +link-static-tests, +link-tests): Use
13198 link-extra-libs-tests.
13199 (rpath-dirs, all-subdirs): Add support.
13200 (built-modules): Add libsupport.
13201 (libsupport): Define.
13202 * support: New directory.
13203 * support/Makefile: New file.
13204 * support/check.c: Likewise.
13205 * support/check.h: Likewise.
13206 * support/delayed_exit.c: Likewise.
13207 * support/ignore_stderr.c: Likewise.
13208 * support/oom_error.c: Likewise.
13209 * support/set_fortify_handler.c: Likewise.
13210 * support/support.h: Likewise.
13211 * support/temp_file-internal.h: Likewise.
13212 * support/temp_file.c: Likewise.
13213 * support/test-driver.c: Likewise.
13214 * support/test-driver.h: Likewise.
13215 * support/test_main.c: Likewise.
13216 * support/write_message.c: Likewise.
13217 * support/xasprintf.c: Likewise.
13218 * support/xcalloc.c: Likewise.
13219 * support/xmalloc.c: Likewise.
13220 * support/xpthread_barrier_destroy.c: Likewise.
13221 * support/xpthread_barrier_init.c: Likewise.
13222 * support/xpthread_barrier_wait.c: Likewise.
13223 * support/xpthread_cancel.c: Likewise.
13224 * support/xpthread_check_return.c: Likewise.
13225 * support/xpthread_cond_wait.c: Likewise.
13226 * support/xpthread_create.c: Likewise.
13227 * support/xpthread_detach.c: Likewise.
13228 * support/xpthread_join.c: Likewise.
13229 * support/xpthread_mutex_lock.c: Likewise.
13230 * support/xpthread_mutex_unlock.c: Likewise.
13231 * support/xpthread_sigmask.c: Likewise.
13232 * support/xpthread_spin_lock.c: Likewise.
13233 * support/xpthread_spin_unlock.c: Likewise.
13234 * support/xrealloc.c: Likewise.
13235 * support/xsignal.h: Likewise.
13236 * support/xthread.h: Likewise.
13237 * support_tempfile.h: Likewise.
13238 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13239 (TEST_DATA_LIMIT): Remove unused macro.
13240 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13241 <support/check.h>.
13242 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13243 (ignore_stderr, set_fortify_handler): Remove. Now in
13244 <support/support.h>.
13245 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13246 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13247 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13248 (xpthread_join): Remove. Now in <support/xthread.h>.
13249 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13250 Introduce legacy wrappers.
13251 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13252 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13253 (write_message): Remove.
13254 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13255 test-skeleton.c.
13256 * io/test-open-tmpfile: Likewise.
13257 * io/tst-posix_fallocate-common.c: Likewise.
13258 * libio/tst-fseek.c: Likewise.
13259 * malloc/tst-malloc-backtrace.c: Likewise.
13260 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13261 * malloc/tst-malloc-thread-exit.c: Likewise.
13262 * nptl/tst-cancel7.c: Likewise.
13263 * nptl/tst-cleanup0.c: Likewise.
13264 * posix/tst-posix_fadvise-common.c: Likewise.
13265 * rt/tst-shm.c: Likewise.
13266 * time/bug-getdate1.c: Likewise.
13267 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13268 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13269 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13270
13271 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13272
13273 * Rules [$(run-built-tests) != no] (tests-expected): Add
13274 $(tests-printers).
13275 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13276
13277 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13278
13279 [BZ #20539]
13280 * math/Makefile (install-lib-ldscripts): Add libm.a.
13281 (install_subdir): Remove.
13282 (install-others): Add.
13283 ($(inst_libdir)/libm.a): Add rule for installation as
13284 linker script.
13285 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13286
13287 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13288
13289 * INSTALL: Regenerated.
13290 * Makeconfig: Add comments and whitespace to make the control flow
13291 clearer.
13292 (+link-printers-tests, +link-pie-printers-tests,
13293 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13294 built-rtld-LDFLAGS, link-libc-rpath,
13295 link-libc-tests-after-rpath-link,
13296 link-libc-printers-tests): New.
13297 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13298 link-libc-tests): Use the new variables as required.
13299 * Makerules ($(py-const)): New rule.
13300 generated: Add $(py-const).
13301 * README.pretty-printers: New file.
13302 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13303 (others): Depend on $(py-const).
13304 (tests): Depend on $(tests-printers-programs) or
13305 $(tests-printers-out),
13306 as required. Pass $(tests-printers) to merge-test-results.sh.
13307 * manual/install.texi: Add requirements for testing the pretty
13308 printers.
13309 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13310 tests-printers, CFLAGS-test-mutexattr-printers.c
13311 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13312 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13313 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13314 * nptl/nptl-printers.py: New file.
13315 * nptl/nptl_lock_constants.pysym: Likewise.
13316 * nptl/test-cond-printers.c: Likewise.
13317 * nptl/test-cond-printers.py: Likewise.
13318 * nptl/test-condattr-printers.c: Likewise.
13319 * nptl/test-condattr-printers.py: Likewise.
13320 * nptl/test-mutex-printers.c: Likewise.
13321 * nptl/test-mutex-printers.py: Likewise.
13322 * nptl/test-mutexattr-printers.c: Likewise.
13323 * nptl/test-mutexattr-printers.py: Likewise.
13324 * nptl/test-rwlock-printers.c: Likewise.
13325 * nptl/test-rwlock-printers.py: Likewise.
13326 * nptl/test-rwlockattr-printers.c: Likewise.
13327 * nptl/test-rwlockattr-printers.py: Likewise.
13328 * scripts/gen-py-const.awk: Likewise.
13329 * scripts/test_printers_common.py: Likewise.
13330 * scripts/test_printers_exceptions.py: Likewise.
13331
13332 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13333
13334 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13335 argument.
13336 (Glibc.build_glibc): Strip installed shared libraries if
13337 requested.
13338 (get_parser): Add --strip option.
13339 (main): Update Context call.
13340
13341 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13342 Dominik Vogt <vogt@linux.vnet.ibm.com>
13343
13344 [BZ #20847]
13345 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13346 array bounds for else branch.
13347 (__execvpe): Style fixes.
13348 * posix/tst-vfork3.c (run_script): New function.
13349 (create_script): Likewise.
13350 (do_test): Use run_script internal function.
13351 (do_prepare): Use create_script internal function.
13352
13353 2016-12-07 Andreas Schwab <schwab@suse.de>
13354
13355 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13356 (__elision_available): Don't declare.
13357 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13358 (__elision_available): Don't define.
13359 (elision_init): Don't set __elision_available.
13360
13361 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13362
13363 [BZ #20940]
13364 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13365 return Inf for arguments Inf and sNaN.
13366 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13367 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13368 Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13370 Likewise.
13371 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13372 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13373 for arguments Inf and sNaN. When returning a NaN, compute it by
13374 arithmetic on the arguments.
13375 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13376 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13377 arguments.
13378
13379 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #20916]
13382 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13383 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13384 to compute result.
13385 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13386 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13387
13388 2016-12-05 Torvald Riegel <triegel@redhat.com>
13389
13390 * include/atomic.h (__atomic_check_size_ls): New.
13391 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13392 atomic_store_release): Use it.
13393 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13394 (elision_adapt, ELIDE_LOCK): Use atomics.
13395 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13396 atomics and improve code comments.
13397 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13398 (__lll_trylock_elision): Likewise.
13399
13400 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13401
13402 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13403 programs.
13404
13405 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13406
13407 [BZ #20916]
13408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13409 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13410 arguments to compute result.
13411 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13412 1 for arguments (sNaN, 0) or (1, sNaN).
13413 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13415
13416 [BZ #20919]
13417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13418 NaN first argument when raised to power 0.
13419 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13420 raising to power zero.
13421 * math/w_powf.c (__powf): Likewise.
13422 * math/w_powl.c (__powl): Likewise.
13423 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13424 pow (0, 0) or pow (NaN, 0).
13425
13426 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13427
13428 [BZ #20918]
13429 * configure.ac: Test for static NSS cryptographic libraries and set
13430 libc_cv_static_nss_crypt.
13431 * configure: Regenerate.
13432 * config.make.in (static-nss-crypt): Define.
13433 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13434 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13435 (CFLAGS-tst-linkall-static.c): Define.
13436 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13437 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13438 ($(objpfx)tst-linkall-static): Define.
13439 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13440 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13441
13442 2016-12-02 Florian Weimer <fweimer@redhat.com>
13443
13444 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13445 (one-hundred, tst-tls-many-dynamic-modules): Define.
13446 (modules-names): Add $(tst-tls-many-dynamic-modules).
13447 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13448 macros.
13449 (tst-tls-manydynamic): Link against libdl, libpthread.
13450 (tst-tls-manydynamic.out): The test needs the test modules at run
13451 time.
13452 * elf/tst-tls-manydynamic.c: New file.
13453 * elf/tst-tls-manydynamic.h: Likewise.
13454 * elf/tst-tls-manydynamicmod.c: Likewise.
13455
13456 2016-12-02 Florian Weimer <fweimer@redhat.com>
13457
13458 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13459 (TLS_DTV_UNALLOCATED): Add.
13460 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13461 offsets.
13462
13463 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13464
13465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13466
13467 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13468
13469 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13470 Add -fno-optimize-sibling-calls.
13471
13472 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13473
13474 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13475 New declaration.
13476 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13477 macro.
13478 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13479 New macro.
13480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13481 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13482 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13483 (llogbf): Likewise.
13484 (llogbl): Likewise.
13485 * math/Makefile (gen-libm-calls): Add w_llogbF.
13486 (tests): Add test-fp-llogb-constants.
13487 * math/w_llogb_template.c: New file. Based on
13488 math/w_ilogb_template.c.
13489 * math/libm-test.inc (llogb_test_data): New array.
13490 (llogb_test): New function.
13491 (main): Call llogb_test.
13492 * math/test-fp-llogb-constants.c: New file. Based on
13493 math/test-fp-ilogb-constants.c.
13494 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13495 (do_test): Call check_return_llogb.
13496 * math/test-tgmath.c (NCALLS): Increase to 126.
13497 (F(compile_test)): Call llogb.
13498 (F(llogb)): New function.
13499 * manual/math.texi (Exponents and Logarithms): Document llogb,
13500 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13501 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13502 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13503 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13505 (CFLAGS-nldbl-llogb.c): New variable.
13506 * sysdeps/nacl/libm.abilist: Update.
13507 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13520 Likewise.
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13522 Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13524 Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13526 Likewise.
13527 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13533 Likewise.
13534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13535 Likewise.
13536 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13539
13540 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13541
13542 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13543 _Float128 instead of long double.
13544 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13545
13546 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13547 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13548 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13549 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13550 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13551 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13552 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13553 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13554 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13555 Likewise.
13556
13557 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13558
13559 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13560 Remove redirection to __strrchr_ppc.
13561
13562 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13563
13564 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13565 (sysdep_routines): Add strcmp_power9.
13566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13567 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13569 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13570 (strcmp): Add __strcmp_power9 to ifunc list.
13571 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13572
13573 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13574
13575 * bits/fp-logb.h: New file.
13576 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13577 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13578 * sysdeps/x86/bits/fp-logb.h: Likewise.
13579 * math/Makefile (headers): Add bits/fp-logb.h.
13580 * math/math.h: Include <bits/fp-logb.h>.
13581 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13582 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13583 * bits/mathdef.h (FP_ILOGB0): Remove.
13584 (FP_ILOGBNAN): Likewise.
13585 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13586 (FP_ILOGBNAN): Likewise.
13587 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13588 (FP_ILOGBNAN): Likewise.
13589 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13590 (FP_ILOGBNAN): Likewise.
13591 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13592 (FP_ILOGBNAN): Likewise.
13593 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13594 (FP_ILOGBNAN): Likewise.
13595 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13596 (FP_ILOGBNAN): Likewise.
13597 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13598 (FP_ILOGBNAN): Likewise.
13599 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13600 (FP_ILOGBNAN): Likewise.
13601 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13602 (FP_ILOGBNAN): Likewise.
13603
13604 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13605 time module.
13606 (Context.__init__): Initialize self.logsdir_old.
13607 (Context.run_builds): Handle bot action.
13608 (Context.bot_cycle): Copy logs directory before running builds.
13609 (Context.bot_run_self): Take argument for whether to check
13610 subprocess result. Flush stdout before running subprocess.
13611 (Context.bot): New function.
13612 (get_parser): Allow bot action.
13613
13614 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13615
13616 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13617 Import email.mime.text, email.utils and smtplib modules.
13618 (Context.__init__): Initialize self.bot_config_json.
13619 (Context.run_builds): Handle bot-cycle action.
13620 (Context.load_bot_config_json): New function.
13621 (Context.part_build_old): Likewise.
13622 (Context.bot_cycle): Likewise.
13623 (Context.bot_build_mail): Likewise.
13624 (Context.bot_run_self): Likewise.
13625 (get_parser): Allow bot-cycle action.
13626
13627 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13628
13629 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13630 Remove redirection to __stpcpy_ppc.
13631
13632 2016-11-30 Florian Weimer <fweimer@redhat.com>
13633
13634 Remove __libc_memalign from ld.so because it is unused.
13635 * elf/dl-minimal.c: Update comment on the malloc implementation.
13636 (malloc): Renamed from __libc_memalign, replacing the original
13637 malloc implementation. Replace the align parameter with
13638 MALLOC_ALIGNMENT.
13639 * elf/Versions (ld): Update comment and remove __libc_memalign.
13640 * sysdeps/nacl/ld.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13664 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13667 * sysdeps/generic/localplt.data (ld.so): Likewise.
13668 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13669 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13670 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13671 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13672 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13673 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13674 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13675 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13676 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13678 (ld.so): Likewise.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13680 (ld.so): Likewise.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13682 Likewise.
13683 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13684 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13685 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13687 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13688
13689 2016-11-30 Florian Weimer <fweimer@redhat.com>
13690
13691 [BZ #16628]
13692 Implement _dl_catch_error, _dl_signal_error in libc.so.
13693 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13694 (catch_hook): Define as thread-local or regular variable,
13695 depending on DL_ERROR_BOOTSTRAP.
13696 (CATCH_HOOK): Remove.
13697 (dl_signal_error, _dl_catch_error): Use
13698 catch_hook. Add hidden definition for libc.
13699 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13700 for DL_ERROR_BOOTSTRAP only.
13701 * elf/dl-error.c: New file.
13702 * elf/dl-error-minimal.c: Likewise.
13703 * elf/tst-latepthread.c: Likewise.
13704 * elf/tst-latepthreadmod.c: Likewise.
13705 * elf/Makefile (routines): Add dl-error.
13706 (dl-routines): Remove dl-error.
13707 (rtld-routines): Add dl-error-minimal.
13708 [build-shared] (tests): Add tst-latepthread.
13709 (module-names): Add tst-latepthreadmod.
13710 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13711 symbol.
13712 (tst-latepthreadmod.so): Link against libpthread.
13713 (tst-latepthread): Link against libdbl.
13714 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13715 _dl_catch_error.
13716 [ld] (GLIBC_PRIVATE): Likewise.
13717 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13718 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13719 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13720 directly.
13721 * elf/dl-tsd.c: Remove file.
13722 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13723 _dl_catch_error, _dl_signal_error.
13724 (_dl_initial_error_catch_tsd): Remove definition.
13725 (do_preload): Remove initialization of dl_error_catch_tsd.
13726 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13727 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13728 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13729 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13730 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13731 set dl_error_catch_tsd.
13732 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13733 _dl_error_catch_tsd member.
13734 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13735 members.
13736 (_dl_initial_error_catch_tsd): Remove declaration.
13737 (_dl_dprintf): Provide definition for use outside of ld.so.
13738 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13739 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13740 prototype for libc.
13741 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13742 _dl_catch_error.
13743 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13744 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13745 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13746 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13747 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13748 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13749 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13750 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13751 Likewise.
13752 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13754 (ld.so): Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13756 (ld.so): Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13758 Likewise.
13759 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13760 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13762 Likewise.
13763 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13764 Likewise.
13765 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13766
13767 2016-11-30 Florian Weimer <fweimer@redhat.com>
13768
13769 [BZ #4099]
13770 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13771 _IO_BUFSIZ (8192).
13772
13773 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13774
13775 * PROJECTS: Remove file.
13776
13777 2016-11-29 Florian Weimer <fweimer@redhat.com>
13778
13779 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13780
13781 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13782 Steve Ellcey <sellcey@caviumnetworks.com>
13783
13784 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13785 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13786 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13787 fxstatat.
13788 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13789 lxstat.
13790 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13791 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13792 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13793 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13794 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13795 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13796 __xstat.
13797
13798 2016-11-29 Florian Weimer <fweimer@redhat.com>
13799
13800 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13801 Define.
13802 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13803 definition.
13804
13805 2016-11-29 Florian Weimer <fweimer@redhat.com>
13806
13807 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13808 version and turn into strong alias. Remove compat symbol.
13809
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13811 (__longjmp): Remove.
13812
13813 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13814
13815 * bits/fp-fast.h: New file.
13816 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13817 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13818 * math/Makefile (headers): Add bits/fp-fast.h.
13819 * math/math.h: Include <bits/fp-fast.h>.
13820 * bits/mathdef.h (FP_FAST_FMA): Remove.
13821 (FP_FAST_FMAF): Likewise.
13822 (FP_FAST_FMAL): Likewise.
13823 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13824 (FP_FAST_FMAF): Likewise.
13825 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13826 (FP_FAST_FMAF): Likewise.
13827 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13828 (FP_FAST_FMAF): Likewise.
13829 (FP_FAST_FMAL): Likewise.
13830 * sysdeps/arm/bits/mathdef.h: Remove file.
13831 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13832 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13833 * sysdeps/tile/bits/mathdef.h: Likewise.
13834
13835 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13836
13837 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13838 * math/w_ilogb.c: Remove.
13839 * math/w_ilogbf.c: Likewise.
13840 * math/w_ilogbl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13842 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13843 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13844 (libm-calls): Remove w_ilogbF.
13845 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13846 (LDOUBLE_ilogbl_libm_version): New macro.
13847
13848 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13849
13850 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13851 [!__STRICT_ANSI__ && !__cplusplus].
13852
13853 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13854
13855 [BZ #20750]
13856 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13857 of PIC.
13858
13859 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13860 Yury Norov <ynorov@caviumnetworks.com>
13861 Steve Ellcey <sellcey@caviumnetworks.com>
13862
13863 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13864 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13865 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13866 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13867 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13868 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13869 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13870 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13871 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13872 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13873 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13874 to get correct reg name for ILP32.
13875 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13876 (RELA_SIZE): New Macro.
13877 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13878 to support ILP32.
13879 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13880 cast for ILP32 mode.
13881 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13882 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13883 * sysdeps/aarch64/memset.S (__memset): Ditto.
13884 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13885 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13886 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13887 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13888 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13889 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13890 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13891 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13892 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13893 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13894 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13895 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13896 change PTR_MANGLE call to use register numbers instead of names.
13897 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13898 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13899 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13900 * sysdeps/aarch64/start.S (_start): Ditto.
13901 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13902 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13903 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13904 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13905 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13906 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13907 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13908 Make defined values dependent on __ILP32__.
13909 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13910 (sem_t): Change __align type.
13911 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13912 PTR_SIZE): New Macros.
13913 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13914 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13915 Set when in ILP32 mode.
13916 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13917 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13918 Set elf flags for ILP32.
13919 (add_system_dir): Set ILP32 library directories.
13920 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13921 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13922 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13923 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13924 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13925 New Macros.
13926 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13927
13928 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13929
13930 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13931 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13932 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13933
13934 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13935
13936 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13937 <asm/cachectl.h>.
13938
13939 2016-11-27 Zack Weinberg <zackw@panix.com>
13940
13941 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13942 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13943
13944 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13945
13946 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13947 error_t to fix usage in C++ programs.
13948
13949 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13950
13951 * scripts/build-many-glibcs.py: Import datetime module.
13952 (Context.__init__): Load JSON build state. Initialize list of
13953 status logs.
13954 (Context.run_builds): Update saved build state.
13955 (Context.add_makefile_cmdlist): Update list of status logs.
13956 (Context.load_build_state_json): New function.
13957 (Context.store_build_state_json): Likewise.
13958 (Context.clear_last_build_state): Likewise.
13959 (Context.update_build_state): Likewise.
13960 (CommandList.status_logs): Likewise.
13961
13962 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13963
13964 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13965 script being executed.
13966 (Context.get_script_text): New function.
13967 (Context.exec_self): Likewise.
13968 (Context.checkout): Re-exec script if changed by checkout process.
13969
13970 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13971
13972 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13973 (setpayloadsig): New declaration.
13974 * math/Versions (setpayloadsig): New libm symbol at version
13975 GLIBC_2.25.
13976 (setpayloadsigf): Likewise.
13977 (setpayloadsigl): Likewise.
13978 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13979 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13980 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13981 (setpayloadsig_test_data): New array.
13982 (setpayloadsig_test): New function.
13983 (main): Call setpayloadsig_test.
13984 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13985 setpayloadsigf and setpayloadsigl.
13986 * manual/libm-err-tab.pl: Update comment on interfaces without
13987 ulps tabulated.
13988 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13989 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13994 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13995 setpayloadsig.
13996 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13997 * sysdeps/nacl/libm.abilist: Update.
13998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14011 Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14013 Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14015 Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14017 Likewise.
14018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14024 Likewise.
14025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14026 Likewise.
14027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14030
14031 * scripts/build-many-glibcs.py: Import json module.
14032 (Context.__init__): Take replace_sources argument. Load
14033 versions.json.
14034 (Context.load_versions_json): New function.
14035 (Context.store_json): Likewise.
14036 (Context.store_versions_json): Likewise.
14037 (Context.set_component_version): Likewise.
14038 (Context.checkout): Update versions.json. Check for and handle
14039 changes of version. Prefer previously explicitly specified
14040 version to default version.
14041 (Context.checkout_vcs): Return a revision identifier.
14042 (Context.git_checkout): Likewise.
14043 (Context.gcc_checkout): Likewise.
14044 (get_parser): Add --replace-sources option.
14045 (main): Pass replace_sources argument to Context call.
14046
14047 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14048
14049 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14050 * nptl/allocatestack.c (allocate_stack): Likewise.
14051 (__reclaim_stacks): Likewise.
14052 (setxid_signal_thread): Obtain pid through syscall.
14053 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14054 (sighandle_setxid): Likewise.
14055 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14056 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14057 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14058 Likewise.
14059 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14060 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14061 comment.
14062 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14063 * nptl/descr.h (struct pthread): Change comment about pid value.
14064 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14065 pid assert.
14066 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14067 Do not set pid value.
14068 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14069 pid cache check.
14070 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14071 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14072 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14073 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14074 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14075 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14076 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14077 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14078 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14079 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14080 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14081 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14082 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14083 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14084 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14085 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14086 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14087 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14088 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14089 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14090 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14091 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14092 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14093 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14094 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14098 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14101 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14102 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14103 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14104 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14105 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14106 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14107 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14108 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14109 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14110 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14111 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14112 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14116 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14117 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14119 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14120 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14122 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14123 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14124 struct access.
14125 (clone_test): Remove function.
14126 (do_test): Rewrite to take in consideration pid is not cached anymore.
14127
14128 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14129
14130 * bits/flt-eval-method.h: New file.
14131 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14132 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14133 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14134 * math/Makefile (headers): Add bits/flt-eval-method.h.
14135 * math/math.h: Include <bits/flt-eval-method.h>.
14136 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14137 [__USE_ISOC99] (double_t): Likewise.
14138 * bits/mathdef.h (float_t): Remove.
14139 (double_t): Likewise.
14140 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14141 (double_t): Likewise.
14142 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14143 (double_t): Likewise.
14144 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14145 (double_t): Likewise.
14146 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14147 (double_t): Likewise.
14148 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14149 (double_t): Likewise.
14150 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14151 (double_t): Likewise.
14152 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14153 (double_t): Likewise.
14154 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14155 (double_t): Likewise.
14156 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14157 (double_t): Likewise.
14158 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14159 (double_t): Likewise.
14160 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14161 (double_t): Likewise.
14162 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14163 (double_t): Likewise.
14164 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14165 (double_t): Likewise.
14166
14167 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14168
14169 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14170 instead of PIC.
14171
14172 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14173
14174 [BZ #20859]
14175 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14176 (-0x7fffffff) instead of 0x80000001.
14177 * math/test-fp-ilogb-constants.c: New file.
14178 * math/Makefile (tests): Add test-fp-ilogb-constants.
14179
14180 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14181
14182 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14183 (_init): Use it in place of hardcoded R_MIPS_JALR.
14184 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14185 (_init): Use it in place of hardcoded R_MIPS_JALR.
14186 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14187 (_init): Use it in place of hardcoded R_MIPS_JALR.
14188
14189 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14190
14191 [BZ #20787]
14192 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14193 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14194 (double_t): Do not define to double if [__x86_64__] when
14195 __FLT_EVAL_METHOD__ is nonzero.
14196 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14197 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14198 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14199 test-flt-eval-method-387 and test-flt-eval-method-sse.
14200 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14201 variable.
14202 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14203
14204 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14205
14206 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14207 use of -fno-isolate-erroneous-paths options for tilepro.
14208
14209 2016-11-23 Florian Weimer <fweimer@redhat.com>
14210
14211 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14212 structure initialization is no longer needed.
14213
14214 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14215
14216 [BZ #20855]
14217 * bits/mathdef.h (float_t): Define to float.
14218 * math/test-flt-eval-method.c: New file.
14219 * math/Makefile (tests): Add test-flt-eval-method.
14220 (CFLAGS-test-flt-eval-method.c): New variable.
14221
14222 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14223
14224 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14225 and __fstatfs. Make them aliases of __fstatfs64 if
14226 STATFS_IS_STATFS64 is set to non-zero.
14227 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14228 and __statfs64.
14229 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14230 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14231 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14232 for __statfs and statfs.
14233 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14234 to 0.
14235 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14236 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14237 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14238 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14239 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14240 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14243 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14244 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14245 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14246 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14247
14248 2016-11-22 Andreas Schwab <schwab@suse.de>
14249
14250 * misc/mkstemp.c: Include <fcntl.h>.
14251 * misc/mkstemps.c: Likewise.
14252 * misc/mkostemp.c: Likewise.
14253 * misc/mkostemps.c: Likewise.
14254
14255 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14256
14257 [BZ #20847]
14258 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14259 array bounds.
14260 (__execvpe): Likewise.
14261
14262 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14263
14264 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14265 -fno-isolate-erroneous-paths options for tilepro.
14266
14267 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14268
14269 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14270 to 0 when in 32 bit mode.
14271 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14272 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14273 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14274 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14276 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14277 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14278 XSTAT_IS_XSTAT64 test.
14279 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14280 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14281 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14282 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14283 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14284 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14285 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14286 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14287 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14288 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14289 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14290
14291 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14292
14293 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14294 (setpayload): New declaration.
14295 * math/Versions (setpayload): New libm symbol at version
14296 GLIBC_2.25.
14297 (setpayloadf): Likewise.
14298 (setpayloadl): Likewise.
14299 * math/Makefile (libm-calls): Add s_setpayloadF.
14300 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14301 test_Ff_b1_data.
14302 (RUN_TEST_Ff_b1): New macro.
14303 (RUN_TEST_LOOP_Ff_b1): Likewise.
14304 (canonicalize_test_data): Update type.
14305 (setpayload_test_data): New array.
14306 (setpayload_test): New function.
14307 (main): Call setpayload_test.
14308 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14309 setpayloadf and setpayloadl.
14310 * manual/libm-err-tab.pl: Update comment on interfaces without
14311 ulps tabulated.
14312 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14313 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14315 Likewise.
14316 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14317 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14322 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14324 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14325 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14326 setpayload.
14327 (CFLAGS-nldbl-setpayload.c): New variable.
14328 * sysdeps/nacl/libm.abilist: Update.
14329 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14342 Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14344 Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14346 Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14348 Likewise.
14349 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14355 Likewise.
14356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14357 Likewise.
14358 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14361
14362 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14363
14364 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14365 * include/unistd.h: Extend comment about __access_noerrno return
14366 semantics.
14367 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14368 (access_common): Correct typo for EACCES.
14369
14370 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14371
14372 * sysdeps/tile/math-tests.h: New file.
14373
14374 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14375 (__old_set_dataplane): Rename from set_dataplane and make a
14376 compatibility symbol.
14377 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14378 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14379 sys/dataplane.h.
14380
14381 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14382
14383 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14384 script quote words in command output to log suitably for input to
14385 the shell.
14386
14387 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14388 Maciej W. Rozycki <macro@imgtec.com>
14389
14390 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14391 `.Lno_weak_fn' label.
14392 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14393 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14394
14395 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14396 Yury Norov <ynorov@caviumnetworks.com>
14397
14398 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14399 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14400 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14401 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14402 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14404 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14406 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14408 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14409 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14410 (sysdep_routines): Remove oldgetrlimit64.
14411 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14412 (sysdep_routines): Likewise.
14413 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14414 (sysdep_routines): Likewise.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14416 [$(subdir) = resource] (sysdep_routines): Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14418 [$(subdir) = resource] (sysdep_routines): Likewise.
14419 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14420 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14421 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14422 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14423 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14425 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14426 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14427 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14428 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14432 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14433 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14434 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14435 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14436 setrlimit and getrlimit.
14437 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14439 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14444 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14446 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14447 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14448 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14449 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14450 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14451 (__old_getrlimit64): Add compatibility symbol.
14452 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14453
14454 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14455
14456 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14457 newly built gmp, mpfr and mpc.
14458
14459 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14460
14461 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14462
14463 * conform/Makefile (linknamespace-libs): Rename to
14464 linknamespace-libs-thr.
14465 (linknamespace-libs-posix): New variable.
14466 (linknamespace-libs-xsi): Likewise.
14467 (linknamespace-libs-XPG3): Include libcrypt.a.
14468 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14469 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14470 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14471 (linknamespace-libs-XOPEN2K): Likewise.
14472 (linknamespace-libs-XOPEN2K8): Likewise.
14473 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14474
14475 [BZ #20829]
14476 * stdio-common/Versions (__snprintf): Add to version
14477 GLIBC_PRIVATE.
14478 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14479 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14480 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14481 of snprintf.
14482 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14483
14484 2016-11-16 Zack Weinberg <zackw@panix.com>
14485
14486 * string/string.h: Remove obsolete comment stating that
14487 strcoll_l and strxfrm_l have not yet been standardized.
14488
14489 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14490
14491 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14492 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14493 __access_noerrno.
14494 * io/access.c (__access_noerrno): New function.
14495 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14496 (hurd_fail_seterrno): Likewise.
14497 (access_common): Likewise.
14498 (__access_noerrno): Likewise.
14499 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14500 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14501 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14502 macro.
14503
14504 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14505
14506 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14507 Only declare fpregs if [__SH_FPU_ANY__].
14508
14509 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14510
14511 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14512 Make code unconditional.
14513 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14514
14515 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14516
14517 * manual/sysinfo.texi (S_APPEND): Delete.
14518 (S_IMMUTABLE): Likewise.
14519
14520 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14521 Magnus Granberg <zorry@gentoo.org>
14522 Mike Frysinger <vapier@gentoo.org>
14523
14524 [BZ #20662]
14525 * configure.ac (libc_cv_predef_stack_protector): Also check for
14526 __stack_chk_fail_local symbols.
14527 * configure: Regenerated.
14528
14529 2016-11-15 Florian Weimer <fweimer@redhat.com>
14530
14531 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14532 (libc_hidden_def): Remove redefinition.
14533 (__sigsetjmp): Add hidden definition.
14534 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14535 (libc_hidden_def): Remove redefinition.
14536 (__sigsetjmp): Add hidden definition.
14537
14538 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14539
14540 * scripts/build-many-glibcs.py (os.path): Do not import.
14541 (Context): Inherit explicitly from object. Remove blank line
14542 between class and docstring.
14543 (Config): Likewise.
14544 (Glibc): Likewise.
14545 (Command): Likewise.
14546 (CommandList): Likewise.
14547 (Context.write_files): Store chmod mode in a variable.
14548
14549 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14550 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14551 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14552
14553 2016-11-14 Zack Weinberg <zackw@panix.com>
14554
14555 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14556 creating or re-creating it.
14557
14558 * string/bits/string2.h: Fix typo in comment.
14559
14560 2016-11-14 Zack Weinberg <zackw@panix.com>
14561
14562 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14563 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14564 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14565 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14566 of redirected function names.
14567
14568 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14569 as well. Document that MESSAGE must be a single string literal.
14570
14571 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14572
14573 * scripts/build-many-glibcs.py: New file.
14574
14575 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14576 (do_test): Disable -Wmaybe-uninitialized around uses of
14577 except_mask.
14578
14579 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14580
14581 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14582
14583 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14584 (atomic_store_release): Provide tilepro-specific implementations.
14585
14586 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14587
14588 * math/math.h (__MATH_TG): New macro.
14589 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14590 [__USE_ISOC99] (signbit): Likewise.
14591 [__USE_ISOC99] (isfinite): Likewise.
14592 [__USE_ISOC99] (isnan): Likewise.
14593 [__USE_ISOC99] (isinf): Likewise.
14594 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14595 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14596 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14597 __MATH_TG and __MATH_EVAL_FMT2.
14598 * sysdeps/generic/math_private.h (fabs_tg): Define using
14599 __MATH_TG.
14600 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14601 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14602 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14603 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14604 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14605 macro.
14606 (__iscanonical): Likewise.
14607 (iscanonical): Define using __MATH_TG.
14608
14609 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14610
14611 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14612 guards.
14613
14614 * sysdeps/unix/sysv/linux/access.c: New file.
14615 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14616
14617 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14618
14619 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14620 and __WORDSIZE32_PTRDIFF_LONG.
14621
14622 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14623
14624 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14625
14626 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14627
14628 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14629 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14630 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14631 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14632 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14634 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/truncate.c: New file.
14636 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14637 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14638 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14639 Remove.
14640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14641 Likewise.
14642
14643 * posix/tst-truncate-common.c: New file.
14644 * posix/tst-truncate.c: Use tst-truncate-common.c.
14645 * posix/tst-truncate64.c: Likewise and add LFS tests.
14646 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14647 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14648 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14649 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14652 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14654 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14655 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14656 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14657 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14658 Remove.
14659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14660 Likewise.
14661
14662 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14663
14664 [BZ #20790]
14665 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14666 to MAXLINESIZE.
14667 * sunrpc/bug20790.x: New file.
14668 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14669 variable.
14670 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14671 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14672
14673 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14674
14675 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14676
14677 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14678 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14679 calloc, realloc, free, memalign and __libc_memalign rather than
14680 making them optional.
14681
14682 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14683 for libc.so.
14684
14685 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14686
14687 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14688 ptw-lseek64.
14689 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14690 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14691 Likewise.
14692 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14693 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14694 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14695 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14696 * sysdeps/unix/sysv/linux/lseek.c: New file.
14697 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14698 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14699 __libc_lseek64 from auto-generation.
14700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14701 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14702
14703 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14704
14705 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14706 * nptl/tst-cleanup1.c (do_test): Likewise.
14707 * nptl/tst-cleanup3.c (do_test): Likewise.
14708 * nptl/tst-key1.c (do_test): Likewise.
14709 * nptl/tst-key2.c (tf, do_test): Likewise.
14710 * nptl/tst-key3.c (tf, do_test): Likewise.
14711 * nptl/tst-stdio1.c (do_test): Likewise.
14712 * nptl/tst-stdio2.c (do_test): Likewise.
14713
14714 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14715 * nptl/tst-kill6.c (handler): Likewise.
14716 * nptl/tst-tls2.c (CB): Likewise.
14717 * nptl/tst-tls3.c (CB): Likewise.
14718
14719 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14720
14721 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14722
14723 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14724 Steve Ellcey <sellcey@caviumnetworks.com>
14725
14726 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14727 __ASSUME_ST_INO_64_BIT as 0
14728 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14729 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14730 over the code where __ASSUME_ST_INO_64_BIT is used.
14731 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14732 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14733 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14734
14735 2016-11-07 Florian Weimer <fweimer@redhat.com>
14736
14737 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14738 Document ABI exposure of the __kind offset.
14739 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14740 Mention reason for the __kind offset exposure in the ABI.
14741 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14742 Likewise.
14743 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14744 Likewise.
14745 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14746 Likewise.
14747 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14748 (struct __pthread_mutex_s): Likewise.
14749 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14750 Likewise.
14751 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14752 Likewise.
14753 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14754 Likewise.
14755 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14756 Likewise.
14757 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14758 Likewise.
14759 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14760 Likewise.
14761 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14762 (struct __pthread_mutex_s): Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14764 (struct __pthread_mutex_s): Likewise.
14765 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14766 Likewise.
14767
14768 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14769
14770 * test-skeleton.c: Document do_test usage.
14771
14772 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14773
14774 * iconv/gconv.h (__gconv_info): Define __data element using a
14775 zero-length array.
14776
14777 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14778
14779 * math/test-tgmath2.c: Split up test function.
14780
14781 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14782
14783 * Rules (tests-expected): New variable, depending on
14784 $(run-built-tests).
14785 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14786 $(tests).
14787
14788 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14789 $(tests-unsupported).
14790
14791 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14792
14793 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14794 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14795
14796 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14797
14798 [BZ #20768]
14799 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14800 __fegetenv instead of fegetenv.
14801
14802 [BZ #14139]
14803 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14804 (find_files): Obtain platform name from libm-test-ulps-name and
14805 store in %pplatforms.
14806 (canonicalize_platform): Remove.
14807 (print_platforms): Use $pplatforms directly.
14808 (by_platforms): Do not allow for platforms missing from
14809 %pplatforms.
14810 * sysdeps/aarch64/libm-test-ulps-name: New file.
14811 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14812 * sysdeps/arm/libm-test-ulps-name: Likewise.
14813 * sysdeps/generic/libm-test-ulps-name: Likewise.
14814 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14815 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14816 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14817 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14818 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14819 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14820 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14821 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14822 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14823 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14824 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14825 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14826 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14827 * sysdeps/sh/libm-test-ulps-name: Likewise.
14828 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14829 * sysdeps/tile/libm-test-ulps-name: Likewise.
14830 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14831
14832 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14833
14834 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14835 (test-xfail-check-execstack): New variable.
14836
14837 * sysdeps/mips/localplt.data: New file.
14838
14839 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14840 Steve Ellcey <sellcey@caviumnetworks.com>
14841
14842 * bits/wordsize.h: Add documentation.
14843 * sysdeps/aarch64/bits/wordsize.h : New file
14844 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14845 definitions.
14846 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14847 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14848 with #if instead of #ifdef.
14849 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14850 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14851 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14852 Add or change defines.
14853 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14854 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14855 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14856 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14857 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14858 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14859 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14860 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14861 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14864 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14865 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14866 * sysdeps/x86/bits/wordsize.h: Likewise.
14867
14868 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14869 Kevin Petit <kevin.petit@arm.com>
14870
14871 * sysdeps/aarch64/memchr.S (__memchr): New file.
14872
14873 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14874
14875 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14876
14877 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14878
14879 [BZ #19398]
14880 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14881 $(linknamespace-symlists-tests).
14882
14883 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14884
14885 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14886
14887 2016-11-02 Florian Weimer <fweimer@redhat.com>
14888 Carlos O'Donell <carlos@redhat.com>
14889
14890 [Bug #20729]
14891 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14892 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14893 for -Os related change.
14894
14895 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14896
14897 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14898
14899 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14900
14901 [BZ #19673]
14902 * manual/math.texi (Exponents and Logarithms): Correct description
14903 of clog10.
14904
14905 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14906
14907 [Bz #20729]
14908 * locale/weight.h: Include libc-internal.h.
14909 * locale/weightwc.h: Likewise.
14910 * nptl/nptl_dbP.h: Likewise.
14911
14912 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14913
14914 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14915 when it is MACH_PORT_NULL.
14916
14917 2016-10-31 Andreas Schwab <schwab@suse.de>
14918
14919 [BZ #20707]
14920 * posix/glob.c (glob): Initialize pglob before checking for
14921 GLOB_BRACE. Don't call glob recursively if pattern contains no
14922 valid brace expression despite GLOB_BRACE.
14923 * posix/globtest.sh: Test it.
14924
14925 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14926
14927 [BZ #20729]
14928 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14929 Define.
14930 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14931 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14932 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14933 for seq2.back_us and seq1.back_us only for -Os compiles.
14934 * locale/weightwc.h (findix): Likewise.
14935 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14936 DB_GET_FIELD_ADDRESS only for -Os compiles.
14937 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14938 for slen only for -Os compiles.
14939 * string/strcoll_l.c (get_next_seq): Ignore
14940 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14941 for -Os compiles.
14942
14943 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14944 * include/crypt.h: New file.
14945
14946 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14947
14948 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14949 from test-skeleton.c.
14950 (statclass): Replace calls to write with calls to write_message.
14951
14952 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14953
14954 * math/math.h
14955 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14956 New macro.
14957 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14958 Likewise.
14959 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14960 Likewise.
14961 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14962 SNANL.
14963 * math/test-double.h (snan_value_MACRO): New macro.
14964 * math/test-float.h (snan_value_MACRO): Likewise.
14965 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14966 * math/libm-test.inc (issignaling_test_data): Add tests of
14967 snan_value_MACRO.
14968
14969 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14970
14971 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14972 behavior when eliding a lock not held by the current thread.
14973 * sysdeps/powerpc/nptl/elide.h: Likewise.
14974
14975 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14976
14977 [BZ #20728]
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14979 branch to _exit() by a function call.
14980
14981 2016-10-28 Florian Weimer <fweimer@redhat.com>
14982
14983 * malloc/malloc.c: Update chunk layout comments.
14984 (chunk_main_arena): Update comment.
14985
14986 2016-10-28 Florian Weimer <fweimer@redhat.com>
14987
14988 * crypt/sha256.c, crypt/sha256-block.c,
14989 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14990 sha256_process_block to __sha256_process_block.
14991 * crypt/sha512.c, crypt/sha512-block.c,
14992 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14993 sha512_process_block to __sha512_process_block.
14994
14995 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14996
14997 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14998
14999 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15000
15001 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15002
15003 [BZ #20019]
15004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15005 definition in unrelocated shared library.
15006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15007
15008 2016-10-28 Florian Weimer <fweimer@redhat.com>
15009
15010 [BZ #20729]
15011 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15012 * sysdeps/unix/sysv/linux/i386/Makefile
15013 (uses-6-syscall-arguments): Define.
15014 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15015 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15016 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15017 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15018 Likewise.
15019 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15020 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15021 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15022 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15023 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15024 (CFLAGS-fallocate64.os): Likewise.
15025 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15026 (CFLAGS-pthread_rwlock_timedrdlock.os)
15027 (CFLAGS-pthread_rwlock_timedwrlock.o)
15028 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15029 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15030 (CFLAGS-sem_timedwait.os): Likewise.
15031
15032 2016-10-28 Florian Weimer <fweimer@redhat.com>
15033
15034 * elf/tst-linkall-static.c: New file.
15035 * elf/Makefile (tests-static): Add tst-linkall-static.
15036 (tst-linkall-static): Link against static libraries.
15037
15038 2016-10-27 Florian Weimer <fweimer@redhat.com>
15039
15040 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15041 mmaped chunks.
15042
15043 2016-10-28 Florian Weimer <fweimer@redhat.com>
15044
15045 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15046 members to mchunk_prev_size, mchunk_size.
15047 (chunk_main_arena): Reverse sense and rename from
15048 chunk_non_main_arena.
15049 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15050 mchunk_size instead of size.
15051 (set_non_main_arena): Define.
15052 (chunksize): Use chunksize_nomask instead of direct member access.
15053 (chunksize_nomask): Define.
15054 (next_chunk): Use chunksize instead of direct member access.
15055 (prev_size, set_prev_size): Define.
15056 (prev_chunk): Use prev_size instead of direct member access.
15057 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15058 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15059 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15060 (mchunk_prev_size, mchunk_size): Poison tokens.
15061 (unlink): Use chunksize_nomask, prev_size accessors.
15062 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15063 (do_check_free_chunk): Use prev_size accessor.
15064 (sysmalloc): Use set_prev_size, set_head accessors.
15065 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15066 (__libc_free): Use chunksize_nomask accessor.
15067 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15068 chunk_main_arena accessors.
15069 (_int_free): Use chunksize_nomask, prev_size accessors.
15070 (malloc_consolidate): Use chunksize, prev_size accessors.
15071 (_int_realloc): Use chunksize_nomask accessor.
15072 (_int_memalign): Use set_prev_size accessor.
15073 (__malloc_info): Use chunksize_nomask accessor.
15074 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15075 accessors.
15076 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15077 (heap_trim): Use chunksize_nomask, prev_size accessors.
15078
15079 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15080
15081 [BZ #19380]
15082 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15083 for inexact results.
15084 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15085 of inexact result where mpfr_subnormalize is the only inexact
15086 step.
15087 * stdlib/tst-strtod-round-data.h: Regenerated.
15088 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15089 Define to 0.
15090 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15091
15092 2016-10-27 David S. Miller <davem@davemloft.net>
15093
15094 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15095
15096 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15097
15098 * malloc/malloc.c (do_set_mallopt_check): New function.
15099 (do_set_mmap_threshold): Likewise.
15100 (do_set_mmaps_max): Likewise.
15101 (do_set_top_pad): Likewise.
15102 (do_set_perturb_byte): Likewise.
15103 (do_set_trim_threshold): Likewise.
15104 (do_set_arena_max): Likewise.
15105 (do_set_arena_test): Likewise.
15106 (__libc_mallopt): Use them.
15107
15108 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15109
15110 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15111 (canonicalize): New declaration.
15112 * math/Versions (canonicalize): New libm symbol at version
15113 GLIBC_2.25.
15114 (canonicalizef): Likewise.
15115 (canonicalizel): Likewise.
15116 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15117 * math/s_canonicalize_template.c: New file.
15118 * math/libm-test.inc: Update comment on functions tested and
15119 testing of NaN payloads.
15120 (TEST_NAN_PAYLOAD): New macro.
15121 (NO_TEST_INLINE): Update value.
15122 (XFAIL_TEST): Likewise.
15123 (ERRNO_UNCHANGED): Likewise.
15124 (ERRNO_EDOM): Likewise.
15125 (ERRNO_ERANGE): Likewise.
15126 (IGNORE_RESULT): Likewise.
15127 (NON_FINITE): Likewise.
15128 (TEST_SNAN): Likewise.
15129 (NO_TEST_MATHVEC): Likewise.
15130 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15131 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15132 (struct test_Ffp_b1_data): New type.
15133 (RUN_TEST_Ffp_b1): New macro.
15134 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15135 (canonicalize_test_data): New array.
15136 (canonicalize_test): New function.
15137 (main): Call canonicalize_test.
15138 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15139 canonicalizef and canonicalizel.
15140 * manual/libm-err-tab.pl: Update comment on interfaces without
15141 ulps tabulated.
15142 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15143 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15144 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15145 canonicalize.
15146 (CFLAGS-nldbl-canonicalize.c): New variable.
15147 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15148 to ...
15149 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15150 ... here.
15151 (do_test): Also test canonicalizel.
15152 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15153 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15154 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15155 file.
15156 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15157 Use libm_hidden_def.
15158 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15159 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15160 (do_test): Also test canonicalizel.
15161 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15162 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15163 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15164 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15165 libm_hidden_def.
15166 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15167 macro.
15168 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15169 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15170 * sysdeps/nacl/libm.abilist: Update.
15171 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15188 Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15190 Likewise.
15191 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15199 Likewise.
15200 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15203
15204 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15205 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15206 getpayload.
15207 (CFLAGS-nldbl-getpayload.c): New variable.
15208
15209 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15210
15211 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15212 integer from the format string.
15213
15214 2016-10-26 Florian Weimer <fweimer@redhat.com>
15215
15216 [BZ #19473]
15217 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15218 declarations.
15219 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15220 weak aliases.
15221 * malloc/hooks.c (__malloc_get_state): Remove definition.
15222 (malloc_get_state): New stub implementation as
15223 compatibility symbol.
15224 (malloc_set_state): Rename from __malloc_set_state. Turn into
15225 compat symbol.
15226 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15227 malloc_set_state.
15228 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15229
15230 2016-10-26 Florian Weimer <fweimer@redhat.com>
15231
15232 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15233 (names): Turn into concatenation of strings.
15234 (gconv_init): Adapt iteration over names.
15235
15236 2016-10-26 Florian Weimer <fweimer@redhat.com>
15237
15238 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15239 make const.
15240 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15241 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15242 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15243 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15244 character in sbconv.
15245 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15246 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15247 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15248
15249 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15250
15251 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15252
15253 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15254 (M_TRIM_THRESHOLD): Likewise.
15255
15256 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15257 (M_ARENA_MAX): Likewise.
15258 * malloc/malloc.c: Remove obsolete comment.
15259
15260 * manual/memory.texi: Add environment variable alternatives to
15261 setting mallopt parameters.
15262
15263 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15264
15265 * include/atomic.h
15266 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15267 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15268
15269 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15270
15271 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15272 * stdlib/tst-strfrom.h: New file.
15273 * stdlib/tst-strfrom.c: New file.
15274 * stdlib/tst-strfrom-locale.c: New file.
15275
15276 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15277 * stdlib/bug-strtod2.c: Likewise.
15278 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15279 * stdlib/tst-strtod6.c: Likewise.
15280 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15281
15282 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15283
15284 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15285 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15286 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15287 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15288 * stdlib/stdlib.h (strfromd): New declaration.
15289 (strfromf): Likewise.
15290 (strfroml): Likewise.
15291 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15292 strfrom.
15293 * stdlib/strfromd.c: New file.
15294 * stdlib/strfromf.c: Likewise.
15295 * stdlib/strfroml.c: Likewise.
15296 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15297 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15298 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15299 * sysdeps/arm/nacl/libc.abilist: Update.
15300 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15313 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15328
15329 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15330
15331 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15332 instead of cmpli.
15333 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15334 instead of cmpli.
15335
15336 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15337
15338 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15339 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15340 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15341 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15342 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15343 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15344
15345 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15346
15347 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15348 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15349 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15350 SYSCALL_LL64_PRW.
15351 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15352 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15353 __ASSUME_PRW_DUMMY_ARG.
15354 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15355 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15356 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15357 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15358 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15359 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15360
15361 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15362
15363 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15364
15365 2016-10-22 Florian Weimer <fweimer@redhat.com>
15366
15367 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15368 "C++", to override a potential extern "C" directive around the
15369 header file inclusion.
15370
15371 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15372
15373 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15374
15375 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15376
15377 * sysdeps/powerpc/fpu/fenv_private.h:
15378 (_FPU_MASK_ALL): Rename to...
15379 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15380 XE FPSCR bits.
15381
15382 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15383
15384 (_FPU_MASK_ROUNDING): Rename to...
15385 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15386 NI bits.
15387
15388 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15389 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15390 bits and rounding bits.
15391
15392 (__libc_feholdbits_ppc): New inline function to mask, set,
15393 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15394 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15395 (libc_feholdexcept_setround_ppc): Likewise.
15396
15397 (__libc_femergeenv_ppc): New function to dynamically mask both
15398 old and new FP environments and merge.
15399 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15400 (libc_feresetround_ppc): Likewise.
15401 (libc_feupdateenv_test_ppc): Likewise.
15402 (libc_feupdateenv_ppc): Likewise.
15403
15404 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15405 of ISA RN bits, and update macro names.
15406 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15407 effectively the same as the previously mentioned function.
15408
15409 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15410 usage with fe_resetround_ppc.
15411
15412 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15413 to be used.
15414 (libc_feholdexcept_setround_ctxf): Likewise.
15415 (libc_feholdexcept_setround_ctxl): Likewise.
15416
15417 2016-10-21 Florian Weimer <fweimer@redhat.com>
15418
15419 [BZ #20715]
15420 * math/math.h [__cplusplus] (iszero): Define as function template.
15421 * math/Makefile [CXX] (tests): Add test-math-iszero.
15422 (CFLAGS-test-math-iszero.cc): Set.
15423 * math/test-math-iszero.cc: New file.
15424
15425 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15426
15427 [BZ #20660]
15428 * sysdeps/arm/e_sqrt.c: New file.
15429 * sysdeps/arm/e_sqrtf.c: Likewise.
15430
15431 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15432
15433 [BZ #20718]
15434 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15435 not use floating-point comparisons to test sign.
15436 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15437 Likewise.
15438
15439 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15440 (getpayload): New declaration.
15441 * math/Versions (getpayload): New libm symbol at version
15442 GLIBC_2.25.
15443 (getpayloadf): Likewise.
15444 (getpayloadl): Likewise.
15445 * math/Makefile (libm-calls): Add s_getpayloadF.
15446 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15447 (struct test_f_f_data): Add comment.
15448 (RUN_TEST_fp_f): New macro.
15449 (RUN_TEST_LOOP_fp_f): Likewise.
15450 (getpayload_test_data): New array.
15451 (getpayload_test): New function.
15452 (main): Call getpayload_test.
15453 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15454 descriptor.
15455 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15456 getpayloadf and getpayloadl.
15457 * manual/libm-err-tab.pl: Update comment on interfaces without
15458 ulps tabulated.
15459 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15460 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15461 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15465 * sysdeps/nacl/libm.abilist: Update.
15466 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15479 Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15481 Likewise.
15482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15483 Likewise.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15485 Likewise.
15486 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15492 Likewise.
15493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15494 Likewise.
15495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15498
15499 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15500
15501 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15502 tst-fallocate{64}.
15503 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15504 on syscall return.
15505
15506 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15507
15508 [BZ #20689]
15509 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15510 usable.
15511
15512 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15513
15514 * sysdeps/generic/nan-high-order-bit.h: New file.
15515 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15516 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15517 * sysdeps/hppa/math_private.h: Remove file.
15518 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15519 not define here.
15520 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15521 <nan-high-order-bit.h>.
15522 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15523 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15524 <nan-high-order-bit.h>.
15525 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15526 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15527 <nan-high-order-bit.h>.
15528 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15529 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15530 <nan-high-order-bit.h>.
15531 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15532 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15533 <nan-high-order-bit.h>.
15534 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15535 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15536 <nan-high-order-bit.h>.
15537 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15538 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15539 <nan-high-order-bit.h>.
15540 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15541 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15542 <nan-high-order-bit.h>.
15543 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15544 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15545 <nan-high-order-bit.h>.
15546 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15547 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15548 <nan-high-order-bit.h>.
15549 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15550 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15551 <nan-high-order-bit.h>.
15552 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15553 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15554 <nan-high-order-bit.h>.
15555 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15556 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15557 <nan-high-order-bit.h>.
15558 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15559 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15560 <nan-high-order-bit.h>.
15561 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15562 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15563 <nan-high-order-bit.h>.
15564 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15565 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15566 <nan-high-order-bit.h>.
15567 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15568 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15569 <nan-high-order-bit.h>.
15570 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15571 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15572 <nan-high-order-bit.h>.
15573 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15574
15575 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15576
15577 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15578
15579 2016-09-22 John David Anglin <dave.anglin@bell.net>
15580
15581 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15582 abort-instr.h.
15583 (EFAULT): Remove conditional define.
15584 (ENOSYS): Likewise.
15585 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15586 instead of conditional branch instructions.
15587
15588 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15589
15590 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15591 (totalordermag): New declaration.
15592 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15593 New macro.
15594 * math/Versions (totalordermag): New libm symbol at version
15595 GLIBC_2.25.
15596 (totalordermagf): Likewise.
15597 (totalordermagl): Likewise.
15598 * math/Makefile (libm-calls): Add s_totalordermagF.
15599 * math/libm-test.inc (totalordermag_test_data): New array.
15600 (totalordermag_test): New function.
15601 (main): Call totalordermag_test.
15602 * math/test-tgmath.c (NCALLS): Increase to 125.
15603 (F(compile_test)): Call totalordermag.
15604 (F(totalordermag)): New function.
15605 * manual/arith.texi (FP Comparison Functions): Document
15606 totalordermag, totalordermagf and totalordermagl.
15607 * manual/libm-err-tab.pl: Update comment on interfaces without
15608 ulps tabulated.
15609 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15610 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15616 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15617 totalordermag.
15618 (CFLAGS-nldbl-totalordermag.c): New variable.
15619 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15620 (do_test): Also test totalordermagl.
15621 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15622 Likewise.
15623 * sysdeps/nacl/libm.abilist: Update.
15624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15637 Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15639 Likewise.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15641 Likewise.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15643 Likewise.
15644 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15650 Likewise.
15651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15652 Likewise.
15653 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15655 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15656
15657 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15658
15659 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15660 boolean.
15661
15662 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15663
15664 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15665 raising FE_INVALID with feraisexcept in case where part of
15666 argument is infinite, subtract that part of argument from itself.
15667 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15668 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15669 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15670
15671 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15672
15673 * math/libm-test.inc (totalorder_test_data): Add more tests.
15674
15675 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15676
15677 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15678 Undefine weak_alias and add a comment why mips64 require
15679 versioning.
15680
15681 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 [BZ #20647]
15684 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15685 maximum CPUID level is less than 2.
15686
15687 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15688
15689 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15690 (totalorder): New declaration.
15691 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15692 New macro.
15693 * math/Versions (totalorder): New libm symbol at version
15694 GLIBC_2.25.
15695 (totalorderf): Likewise.
15696 (totalorderl): Likewise.
15697 * math/Makefile (libm-calls): Add s_totalorderF.
15698 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15699 string.
15700 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15701 (qnan_value_pl): Likewise.
15702 (snan_value_pl): Likewise.
15703 (qnan_value): Define using qnan_value_pl.
15704 (snan_value): Define using snan_value_pl.
15705 (struct test_ff_i_data): Add comment about which tests use this
15706 structure.
15707 (RUN_TEST_ff_b): New macro.
15708 (RUN_TEST_LOOP_ff_b): Likewise.
15709 (totalorder_test_data): New array.
15710 (totalorder_test): New function.
15711 (main): Call totalorder_test.
15712 * math/test-tgmath.c (NCALLS): Increase to 122.
15713 (F(compile_test)): Call totalorder.
15714 (F(totalorder)): New function.
15715 * manual/arith.texi (FP Comparison Functions): Document
15716 totalorder, totalorderf and totalorderl.
15717 * manual/libm-err-tab.pl: Update comment on interfaces without
15718 ulps tabulated.
15719 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15720 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15721 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15726 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15727 totalorder.
15728 (CFLAGS-nldbl-totalorder.c): New variable.
15729 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15730 file.
15731 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15732 Add test-totalorderl-ldbl-128ibm.
15733 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15734 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15735 test-totalorderl-ldbl-96.
15736 * sysdeps/nacl/libm.abilist: Update.
15737 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15750 Likewise.
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15752 Likewise.
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15754 Likewise.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15756 Likewise.
15757 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15758 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15759 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15763 Likewise.
15764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15765 Likewise.
15766 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15769
15770 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15771
15772 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15773 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15774 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15775 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15776 remove ENOSYS implementation.
15777 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15778 Consolidate all Linux implementations.
15779
15780 2016-10-11 Florian Weimer <fweimer@redhat.com>
15781
15782 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15783 * resolv/herror.c (herror): Cast away const-ness.
15784 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15785 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15786
15787 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15788
15789 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15790 instead of M_NAN + M_NAN.
15791 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15792
15793 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15794
15795 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15796 unused variable 'p'.
15797
15798 2016-10-09 Alan Modra <amodra@gmail.com>
15799 Andreas Schwab <schwab@linux-m68k.org>
15800
15801 [BZ #20554]
15802 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15803 [PIC && !SHARED]: Set up PIC register for PLT call.
15804
15805 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15806
15807 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15808 conditional on value of [__FLT_EVAL_METHOD__].
15809 * math/test-iseqsig-excess-precision.c: New file.
15810 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15811
15812 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15813
15814 * math/s_iseqsig_template.c: Include math-private.h.
15815
15816 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15817 * posix/tst-posix_fadvise.c: New file.
15818 * posix/tst-posix_fadvise64.c: Likewise.
15819 * posix/tst-posix_fadvise-common.c: Likewise.
15820 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15821 (__ASSUME_FADVISE64_64_6ARG): Define.
15822 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15823 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15824 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15825 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15826 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15827 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15828 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15829 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15830 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15831 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15832 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15833 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15836 Likewise.
15837 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15838 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15839 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15840 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15841 Alias to __posix_fadvise64_l32.
15842 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15843 Add compat definition to posix_fadvise64.
15844 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15845 Add versioned definition to posix_fadvise64.
15846 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15847 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15848 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15849 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15850 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15851
15852 * io/Makefile (tests): Add tst-posix_fallocate and
15853 tst-posix_fallocate64.
15854 * io/tst-posix_fallocate-common.c: New file.
15855 * io/tst-posix_fallocate.c: Likewise.
15856 * io/tst-posix_fallocate64.c: Likewise.
15857 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15858 file.
15859 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15860 Likewise.
15861 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15862 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15863 Likewise.
15864 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15865 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15866 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15867 SYSCALL_LL to pass both offset and len arguments.
15868 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15869 Likewise.
15870 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15871 __libc_pwrite64 alias used by posix_fallocate64.
15872
15873 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15874 tst-fallocate64.
15875 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15876 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15877 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15878 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15879 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15880 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15881 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15882 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15883 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15884 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15885 macro on offset argument.
15886 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15887 SYSCALL_LL64 on offset argument.
15888
15889 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15890 tst-fallocate64.
15891 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15892 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15893 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15894 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15895 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15896 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15897 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15898 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15899 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15900 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15901 macro on offset argument.
15902 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15903 SYSCALL_LL64 on offset argument.
15904 * test-skeleton.c (FAIL_RET): Add macro.
15905 (FAIL_EXIT): Likewise.
15906 (FAIL_EXIT1): Likewise.
15907 (_FAIL): Likewise.
15908
15909 2016-10-07 Florian Weimer <fweimer@redhat.com>
15910
15911 [BZ #20629]
15912 resolv: Remove RES_USEBSTRING and its implementation.
15913 * resolv/resolv.h (RES_USEBSTRING): Remove.
15914 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15915 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15916 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15917 (labellen): Remove extended label types support.
15918 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15919 * resolv/res_init.c (res_setoptions): Likewise.
15920 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15921
15922 2016-10-07 Florian Weimer <fweimer@redhat.com>
15923
15924 resolv: Remove RES_NOIP6DOTINT and its implementation.
15925 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15926 (RES_NOIP6DOTINT): Remove.
15927 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15928 handling.
15929 * resolv/res_debug.c (p_option): Likewise.
15930 * resolv/res_init.c (res_setoptions): Likewise.
15931 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15932
15933 2016-10-07 Florian Weimer <fweimer@redhat.com>
15934
15935 resolv: Deprecate unimplemented flags.
15936 * misc/sys/cdefs.h (__glibc_macro_warning1)
15937 (__glibc_macro_warning): Define.
15938 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15939 (RES_KEEPTSIG): Mark as deprecated.
15940 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15941 RES_NOCHECKNAME, RES_KEEPTSIG.
15942 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15943
15944 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15945
15946 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15947 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15948 Use strong_alias to create symbols for glibc verison 2.19.
15949
15950 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15951
15952 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15953
15954 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15955
15956 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15957
15958 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15959
15960 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15961
15962 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15963
15964 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15965 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15966 in header for using it as type for ifunc function because __GI_* symbols
15967 for ppc32 do not target the ifunc symbols.
15968 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15969
15970 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15971
15972 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15973 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15974 libc_ifunc_hidden_def.
15975 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15976 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15977 Redirect ifunced function in header for using it as type of ifunc'ed
15978 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15979 function for __GI_* symbol.
15980 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15981 * include/libc-symbols.h
15982 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15983
15984 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15985
15986 [BZ #20478]
15987 * sysdeps/s390/multiarch/ifunc-resolve.h
15988 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15989 to create ifunc symbols.
15990 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15991 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15992 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15993 for using it as type for ifunc function.
15994 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15995 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15996 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15997 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15998 * sysdeps/s390/multiarch/strcat.c: Likewise.
15999 * sysdeps/s390/multiarch/strchr.c: Likewise.
16000 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16001 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16002 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16003 * sysdeps/s390/multiarch/strlen.c: Likewise.
16004 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16005 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16006 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16007 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16008 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16009 * sysdeps/s390/multiarch/strspn.c: Likewise.
16010 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16011 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16012 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16013 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16014 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16015 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16016 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16017 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16018 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16019 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16020 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16021 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16022
16023 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16024
16025 * include/libc-symbols.h (__ifunc_resolver):
16026 New macro is used by __ifunc* macros.
16027 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16028 depending on HAVE_GCC_IFUNC.
16029 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16030 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16032 Redirect ifunced function in header for using as type for ifunc function.
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16039 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16040 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16041 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16042 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16044 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16046 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16052 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16053 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16054 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16055 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16056 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16057 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16058 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16059 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16060 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16061 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16062 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16063 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16064 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16065 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16067 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16068 instead of libc_ifunc() macro.
16069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16071
16072 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16073
16074 * config.h.in (HAVE_GCC_IFUNC): New undef.
16075 * configure.ac: Add check if gcc supports attribute ifunc feature.
16076 * configure: Regenerated.
16077 * manual/install.texi: Add recommendation for gcc with
16078 indirect-function support.
16079 * INSTALL: Regenerated.
16080
16081 2016-10-06 Joseph Myers <joseph@codesourcery.com>
16082
16083 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16084 macro.
16085 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16086 (__iseqsig): New declaration.
16087 * math/s_iseqsig_template.c: New file.
16088 * math/Versions (__iseqsigf): New libm symbol at version
16089 GLIBC_2.25.
16090 (__iseqsig): Likewise.
16091 (__iseqsigl): Likewise.
16092 * math/libm-test.inc (iseqsig_test_data): New array.
16093 (iseqsig_test): New function.
16094 (main): Call iseqsig_test.
16095 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16096 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16097 * manual/libm-err-tab.pl: Update comment on interfaces without
16098 ulps tabulated.
16099 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16100 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16101 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16102 * sysdeps/nacl/libm.abilist: Update.
16103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16116 Likewise.
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16118 Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16120 Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16122 Likewise.
16123 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16129 Likewise.
16130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16131 Likewise.
16132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16135
16136 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16137
16138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16139 do_sincos_2, sloww, sloww1): Update comments.
16140
16141 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16142 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16143
16144 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16145 K boolean and rename it.
16146 (__sin): Adjust.
16147 (__cos): Adjust.
16148
16149 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16150 Siddhesh Poyarekar <siddhesh@sourceware.org>
16151
16152 * manual/nss.texi: Fix typos in the manual.
16153
16154 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16155
16156 * manual/contrib.texi: Fix typos in the manual.
16157
16158 * manual/maint.texi: Fix typos in the manual.
16159
16160 * manual/install.texi: Fix typos in the manual.
16161 * INSTALL: Regenerated.
16162
16163 * manual/lang.texi: Fix typos in the manual.
16164
16165 * manual/probes.texi: Fix typos in the manual.
16166
16167 * manual/threads.texi: Fix typos in the manual.
16168
16169 * manual/debug.texi: Fix typos in the manual.
16170
16171 * manual/crypt.texi: Fix typos in the manual.
16172
16173 * manual/conf.texi: Fix typos in the manual.
16174
16175 * manual/sysinfo.texi: Fix typos in the manual.
16176
16177 * manual/users.texi: Fix typos in the manual.
16178
16179 * manual/job.texi: Fix typos in the manual.
16180
16181 * manual/process.texi: Fix typos in the manual.
16182
16183 * manual/argp.texi: Fix typos in the manual.
16184 * manual/getopt.texi: Likewise.
16185 * manual/startup.texi: Likewise.
16186
16187 * manual/signal.texi: Fix typos in the manual.
16188
16189 * manual/setjmp.texi: Fix typos in the manual.
16190
16191 * manual/resource.texi: Fix typos in the manual.
16192
16193 * manual/time.texi: Fix typos in the manual.
16194
16195 * manual/arith.texi: Fix typos in the manual.
16196
16197 * manual/math.texi: Fix typos in the manual.
16198
16199 * manual/syslog.texi: Fix typos in the manual.
16200
16201 * manual/terminal.texi: Fix typos in the manual.
16202
16203 * manual/socket.texi: Fix typos in the manual.
16204
16205 * manual/filesys.texi: Fix typos in the manual.
16206
16207 * manual/llio.texi: Fix typos in the manual.
16208
16209 * manual/stdio.text: Fix typos in the manual.
16210
16211 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16212
16213 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16214 instead of K1.
16215
16216 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16217 SHIFT_QUADRANT and make it bool.
16218 (do_sincos_2): Likewise.
16219 (sloww): Likewise.
16220 (sloww1): Likewise.
16221 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16222 (__cos): Likewise.
16223
16224 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16225
16226 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16227
16228 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16229
16230 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16231 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16232 0x7fffffffL].
16233 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16234
16235 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16236
16237 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16238 inline by __inline__.
16239 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16240 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16241 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16242 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16243 sigset_t from signal.h.
16244 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16245 which is already required.
16246
16247 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16248
16249 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16250
16251 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16252
16253 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16254 (struct tcp_repair_window): New type.
16255
16256 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16257
16258 * libio/tst-memstream3.c: Include string.h.
16259
16260 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16261
16262 [BZ #18241]
16263 [BZ #20181]
16264 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16265 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16266 write position is at the end the buffer.
16267 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16268 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16269 (_IO_str_seekoff): Set correct offset from negative displacement and
16270 set EINVAL for invalid ones.
16271 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16272 buffer length.
16273 (_IO_wstr_switch_to_get_mode): New function.
16274 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16275 set EINVAL for invalid ones.
16276 * libio/tst-memstream3.c: New file.
16277 * libio/tst-wmemstream3.c: Likewise.
16278 * manual/examples/memstrm.c: Remove warning when priting size_t.
16279
16280 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16281
16282 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16283 macro to use __builtin_fma.
16284 * sysdeps/x86_64/fpu/dla.h: Remove file.
16285
16286 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16287 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16288 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16289
16290 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16291
16292 [BZ #20292]
16293 * elf/Makefile (routines): Add dl-addr-obj.
16294 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16295 tst-_dl_addr_inside_object.
16296 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16297 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16298 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16299 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16300 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16301 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16302 * elf/dl-open.c: Likewise.
16303 * elf/dl-addr-obj.c: New file.
16304 * elf/tst-_dl_addr_inside_object.c: New file.
16305
16306 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16307
16308 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16309 <bits/iscanonical.h>.
16310 * bits/iscanonical.h: New file.
16311 * math/s_iscanonicall.c: Likewise.
16312 * math/Versions (__iscanonicall): New libm symbol at version
16313 GLIBC_2.25.
16314 * math/libm-test.inc (iscanonical_test_data): New array.
16315 (iscanonical_test): New function.
16316 (main): Call iscanonical_test.
16317 * math/Makefile (headers): Add bits/iscanonical.h.
16318 (type-ldouble-routines): Add s_iscanonicall.
16319 * manual/arith.texi (Floating Point Classes): Document
16320 iscanonical.
16321 * manual/libm-err-tab.pl: Update comment on interfaces without
16322 ulps tabulated.
16323 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16324 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16326 Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16328 test-iscanonical-ldbl-128ibm.
16329 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16330 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16331 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16332 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16333 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16334 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16337 Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16339 Likewise.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16341 Likewise.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16343 Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16346
16347 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16348
16349 * string/bits/string3.h: Remove C++ style comments.
16350
16351 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16352
16353 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16354 instead of ternary condition.
16355 (do_sincos_2): Likewise.
16356 (__sin): Likewise.
16357 (__cos): Likewise.
16358 (slow): Likewise.
16359 (sloww): Likewise.
16360 (sloww1): Likewise.
16361 (bsloww): Likewise.
16362 (bsloww1): Likewise.
16363
16364 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16365 instead of ternary condition.
16366 (do_sin_slow): Likewise.
16367 (do_sincos_1): Likewise.
16368 (do_sincos_2): Likewise.
16369 (__cos): Likewise.
16370 (sloww): Likewise.
16371 (sloww1): Likewise.
16372 (sloww2): Likewise.
16373 (bsloww): Likewise.
16374 (bsloww1): Likewise.
16375 (bsloww2): Likewise.
16376
16377 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16378 check from here...
16379 (slow2): ... and here...
16380 (__sin): ... to here.
16381
16382 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16383
16384 * math/math.h
16385 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16386 Cast argument to its own type.
16387 * math/test-iszero-excess-precision.c: New file.
16388 * math/Makefile (tests): Add test-iszero-excess-precision.
16389 (CFLAGS-test-iszero-excess-precision.c): New variable.
16390
16391 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16392
16393 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16394 field, add err field.
16395 (__spawni_child): Report error through err member instead of pipe.
16396 (__spawnix): Likewise.
16397
16398 2016-09-28 Zack Weinberg <zackw@panix.com>
16399
16400 * scripts/check-installed-headers.sh: Generalize treatment of
16401 sys/elf.h to all target architectures.
16402
16403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16404 deleted typedef ucontext_t.
16405
16406 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16407
16408 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16409 (__INTERNAL_SYSCALL1): Likewise.
16410 (__INTERNAL_SYSCALL2): Likewise.
16411 (__INTERNAL_SYSCALL3): Likewise.
16412 (__INTERNAL_SYSCALL4): Likewise.
16413 (__INTERNAL_SYSCALL5): Likewise.
16414 (__INTERNAL_SYSCALL6): Likewise.
16415 (__INTERNAL_SYSCALL7): Likewise.
16416 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16417 (__INTERNAL_SYSCALL_NARGS): Likewise.
16418 (__INTERNAL_SYSCALL_DISP): Likewise.
16419 (INTERNAL_SYSCALL_CALL): Likewise.
16420 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16421 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16422 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16423 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16424 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16425 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16426 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16427 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16428 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16429 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16430 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16431 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16432 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16433
16434 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16435
16436 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16437 macro.
16438 * math/libm-test.inc (iszero_test_data): New array.
16439 (iszero_test): New function.
16440 (main): Call iszero_test.
16441 * manual/arith.texi (Floating Point Classes): Document iszero.
16442 * manual/libm-err-tab.pl: Update comment on interfaces without
16443 ulps tabulated.
16444
16445 2016-09-23 Zack Weinberg <zackw@panix.com>
16446
16447 * scripts/check-installed-headers.sh: New script.
16448 * Rules: In each directory that defines header files to be installed,
16449 run check-installed-headers.sh on them as a special test.
16450 * Makefile: Likewise for the headers installed at top level.
16451
16452 * include/aliases.h, include/alloca.h, include/argz.h
16453 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16454 * include/elf.h, include/envz.h, include/err.h
16455 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16456 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16457 * include/link.h, include/malloc.h, include/mcheck.h
16458 * include/mntent.h, include/netinet/ether.h
16459 * include/nss.h, include/obstack.h, include/printf.h
16460 * include/pty.h, include/resolv.h, include/rpc/auth.h
16461 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16462 * include/rpc/clnt.h, include/rpc/des_crypt.h
16463 * include/rpc/key_prot.h, include/rpc/netdb.h
16464 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16465 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16466 * include/rpc/rpc_msg.h, include/rpc/svc.h
16467 * include/rpc/svc_auth.h, include/rpc/xdr.h
16468 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16469 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16470 * include/rpcsvc/ypupd.h, include/shadow.h
16471 * include/stdio_ext.h, include/sys/epoll.h
16472 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16473 * include/sys/prctl.h, include/sys/profil.h
16474 * include/sys/statfs.h, include/sys/sysctl.h
16475 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16476 * sysdeps/arm/nacl/include/bits/setjmp.h
16477 * sysdeps/mips/include/sys/asm.h
16478 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16479 * sysdeps/unix/sysv/linux/include/sys/timex.h
16480 * sysdeps/x86/fpu/include/bits/fenv.h:
16481 Add #ifndef _ISOMAC guard around internal declarations.
16482 Add multiple-inclusion guard if not already present.
16483
16484 2016-09-23 Zack Weinberg <zackw@panix.com>
16485
16486 * sysdeps/generic/sys/ucontext.h
16487 * sysdeps/arm/sys/ucontext.h
16488 * sysdeps/i386/sys/ucontext.h
16489 * sysdeps/m68k/sys/ucontext.h
16490 * sysdeps/mips/sys/ucontext.h
16491 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16492 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16493 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16494 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16495 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16496 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16497 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16498 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16500 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16501 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16502 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16503 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16504 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16505 Include both bits/sigcontext.h and bits/sigstack.h.
16506 Fix grammar error in comment, if present.
16507
16508 * bits/sigstack.h
16509 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16510 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16511 * sysdeps/unix/sysv/linux/bits/sigstack.h
16512 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16513 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16514 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16515 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16516 * bits/sigcontext.h
16517 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16518 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16519 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16520 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16521 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16522 as well as signal.h, if this was not already allowed. Request
16523 definition of size_t if necessary. Minimize semantically-null
16524 differences across files.
16525
16526 2016-09-23 Zack Weinberg <zackw@panix.com>
16527
16528 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16529 Remove all logic conditional on __need macros. Move all the
16530 conditionally defined types to their own headers...
16531 * time/bits/types/clock_t.h: Define clock_t here.
16532 * time/bits/types/clockid_t.h: Define clockid_t here.
16533 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16534 * time/bits/types/struct_timespec.h: Define struct timespec here.
16535 * time/bits/types/struct_timeval.h: Define struct timeval here.
16536 * time/bits/types/struct_tm.h: Define struct tm here.
16537 * time/bits/types/time_t.h: Define time_t here.
16538 * time/bits/types/timer_t.h: Define timer_t here.
16539 * time/Makefile: Install the new headers.
16540
16541 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16542 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16543 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16544 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16545 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16546 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16547 * sysdeps/unix/sysv/linux/bits/resource.h
16548 * sysdeps/unix/sysv/linux/bits/timex.h
16549 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16550 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16552 * sysdeps/unix/sysv/linux/sys/acct.h
16553 * sysdeps/unix/sysv/linux/sys/timerfd.h
16554 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16555 * time/sys/time.h, time/sys/timeb.h
16556 Use the new bits/types headers.
16557
16558 * include/time.h: Remove __need logic.
16559 * include/bits/time.h
16560 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16561 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16562 * include/bits/types/struct_itimerspec.h
16563 * include/bits/types/struct_timespec.h
16564 * include/bits/types/struct_timeval.h
16565 * include/bits/types/struct_tm.h:
16566 New wrapper headers.
16567
16568 2016-09-23 Zack Weinberg <zackw@panix.com>
16569
16570 * sysdeps/mach/hurd/net/if_ppp.h
16571 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16572 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16573 if __USE_MISC is defined, to ensure struct ifreq is declared.
16574
16575 * inet/netinet/ether.h: Condition all function prototypes
16576 on __USE_MISC, to ensure struct ether_addr is declared.
16577
16578 * socket/bits/types/struct_osockaddr.h: New header.
16579 * include/bits/types/struct_osockaddr.h: New wrapper.
16580 * socket/Makefile: Install the new header.
16581 * socket/sys/socket.h, inet/protocols/talkd.h:
16582 Refer to bits/types/struct_osockaddr.h for the definition of
16583 struct osockaddr.
16584
16585 2016-09-23 Zack Weinberg <zackw@panix.com>
16586
16587 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16588 * inet/protocols/routed.h, inet/protocols/talkd.h
16589 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16590 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16591 * sysdeps/generic/netinet/if_ether.h
16592 * sysdeps/generic/netinet/in_systm.h
16593 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16594 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16595 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16596 * sysdeps/mach/hurd/net/if_arp.h
16597 * sysdeps/mach/hurd/net/if_ppp.h
16598 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16599 * sysdeps/unix/sysv/linux/bits/in.h
16600 * sysdeps/unix/sysv/linux/net/ethernet.h
16601 * sysdeps/unix/sysv/linux/net/if_arp.h
16602 * sysdeps/unix/sysv/linux/net/if_ppp.h
16603 * sysdeps/unix/sysv/linux/net/if_shaper.h
16604 * sysdeps/unix/sysv/linux/net/route.h
16605 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16606 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16607 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16608 * sysdeps/unix/sysv/linux/netipx/ipx.h
16609 * sysdeps/unix/sysv/linux/sys/acct.h
16610 * include/arpa/nameser.h, include/resolv.h:
16611 Change all uses of u_char to unsigned char,
16612 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16613 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16614 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16615 and u_int64_t and u_quad_t to uint64_t.
16616
16617 * mach/sys/reboot.h: Remove two casts of integer literals
16618 to the types they already have.
16619
16620 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16621 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16622 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16623 from referring to 'unsigned char' to 'uint8_t' for consistency with
16624 the macro definition below.
16625
16626 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16627 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16628 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16629 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16630 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16631 * sysdeps/unix/sysv/linux/sys/acct.h
16632 * include/arpa/nameser.h, include/resolv.h:
16633 Fix indentation disrupted by mechanical edits.
16634
16635 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16636 * sysdeps/generic/netinet/in_systm.h
16637 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16638 * sysdeps/gnu/netinet/udp.h
16639 * sysdeps/unix/sysv/linux/net/ethernet.h
16640 * sysdeps/unix/sysv/linux/net/if_arp.h
16641 * sysdeps/unix/sysv/linux/net/if_ppp.h
16642 * sysdeps/unix/sysv/linux/net/if_shaper.h
16643 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16644 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16645 * sysdeps/unix/sysv/linux/netipx/ipx.h
16646 * sysdeps/unix/sysv/linux/sys/acct.h
16647 Include stdint.h for uintNN_t definitions.
16648 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16649
16650 2016-09-23 Zack Weinberg <zackw@panix.com>
16651
16652 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16653 * sysdeps/unix/sysv/linux/netrose/rose.h:
16654 Include sys/socket.h and netax25/ax25.h.
16655
16656 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16657 * resolv/arpa/nameser_compat.h:
16658 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16659
16660 * sysdeps/unix/sysv/linux/sys/quota.h:
16661 Use __caddr_t instead of caddr_t.
16662 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16663 Use __clockid_t instead of clockid_t.
16664
16665 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16666
16667 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16668 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16669 expanding it.
16670
16671 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16672 Define __glibc_c99_flexarr_available to 1 when the compiler
16673 supports C99-compatible flexible array members, 0 otherwise.
16674 * sysdeps/unix/sysv/linux/bits/socket.h
16675 * sysdeps/mach/hurd/bits/socket.h
16676 * bits/socket.h: Use __glibc_c99_flexarr_available in
16677 definitions of struct cmsghdr and CMSG_DATA.
16678
16679 2016-09-23 Florian Weimer <fweimer@redhat.com>
16680
16681 * manual/nss.texi (NSS Modules Interface): Adjust function return
16682 type to enum nss_status. Document errnop argument. Clarify
16683 h_errnop semantics. Fix cross-reference formatting.
16684 (NSS Module Function Internals): Mention that *errnop needs to be
16685 set on failure, but not to zero.
16686
16687 2016-09-23 Florian Weimer <fweimer@redhat.com>
16688
16689 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16690 (get_random_name): New functions.
16691 (check_wrapper_flags_mode): Use linkat to give the new file a name
16692 determined by get_random_name.
16693 (do_test): Add calls to test open64 and openat64.
16694
16695 2016-09-23 Florian Weimer <fweimer@redhat.com>
16696
16697 * test-skeleton.c: Remove #include <stdarg.h>.
16698
16699 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16700
16701 [BZ #19826]
16702 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16703 initialization of static TLS entries.
16704 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16705 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16706
16707 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16708
16709 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16710 _hurd_malloc_fork_prepare.
16711 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16712 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16713 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16714 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16715 (_hurd_fork_child_hook): Drop malloc_fork_child.
16716 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16717 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16718 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16719 after locking locks (notably hurd_dtable_lock). Call
16720 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16721 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16722 __malloc_fork_unlock_child.
16723 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16724
16725 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16726
16727 * soft-fp/extendhftf2.c: New.
16728 * soft-fp/fixhfti.c: Likewise.
16729 * soft-fp/fixunshfti.c: Likewise.
16730 * soft-fp/floattihf.c: Likewise.
16731 * soft-fp/floatuntihf.c: Likewise.
16732 * soft-fp/half.h: Likewise.
16733 * soft-fp/trunctfhf2.c: Likewise.
16734
16735 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16736
16737 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16738 macro.
16739 * math/libm-test.inc (issubnormal_test_data): New array.
16740 (issubnormal_test): New function.
16741 * manual/arith.texi (Floating Point Classes): Document
16742 issubnormal.
16743 * manual/libm-err-tab.pl: Update comment on interfaces without
16744 ulps tabulated.
16745
16746 * sysdeps/generic/stdint.h: Define
16747 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16748 <bits/libc-header-start.h> instead of including <features.h>.
16749 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16750 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16751 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16752 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16753 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16754 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16755 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16756 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16761 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16764 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16765 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16766 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16767 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16768 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16769 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16770 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16773 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16775 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16776 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16778 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16779 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16780 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16781 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16782 * manual/arith.texi (Integers): Document these macros for types
16783 specified by width properties.
16784 * manual/lang.texi (Width of Type): Document these macros for
16785 other standard typedefs.
16786 * stdlib/tst-width-stdint.c: New file.
16787 * stdlib/Makefile (tests): Add tst-width-stdint.
16788
16789 2016-09-21 Florian Weimer <fweimer@redhat.com>
16790
16791 [BZ #20016]
16792 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16793 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16794 Move ...
16795 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16796 ... here, as compatibility symbols in a new file.
16797 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16798 * resolv/res_init.c (__res_vinit): Adjust member names.
16799 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16800 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16801 (res_send_rhook): Remove.
16802 (struct __res_state): Rename qhook, rhook members.
16803
16804 2016-09-21 Florian Weimer <fweimer@redhat.com>
16805
16806 malloc: Use __libc_lock wrappers.
16807 * malloc/arena.c (list_lock, free_list_lock): Define using
16808 __libc_lock_define_initialized.
16809 (arena_lock): Adjust formatting.
16810 * malloc/malloc.c (struct malloc_state): Define mutex using
16811 __libc_lock_define.
16812 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16813 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16814 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16815 (mutex_unlock, mutex_trylock): Remove.
16816 (__pthread_initialize): Remove unused macro.
16817 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16818 (mutex_unlock, mutex_trylock): Remove.
16819
16820 2016-09-21 Florian Weimer <fweimer@redhat.com>
16821
16822 [BZ #20592]
16823 Remove RR type classification macros.
16824 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16825 (ns_t_udp_p, ns_t_xfr_p): Remove.
16826
16827 2016-09-21 Florian Weimer <fweimer@redhat.com>
16828
16829 Remove misleading version information.
16830 * resolv/arpa/nameser.h (__NAMESER): Remove.
16831 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16832
16833 2016-09-21 Florian Weimer <fweimer@redhat.com>
16834
16835 Remove the always-defined BIND_4_COMPAT macro.
16836 * resolv/arpa/nameser.h: Unconditionally include
16837 <arpa/nameser_compat.h>.
16838 (BIND_4_COMPAT): Remove.
16839 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16840
16841 2016-09-21 Florian Weimer <fweimer@redhat.com>
16842
16843 [BZ #20591]
16844 Remove obsolete DNSSEC support.
16845 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16846 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16847 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16848 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16849 (ns_cert_types): Add comment.
16850 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16851 separately.
16852 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16853 (dst_s_dns_key_id): Remove.
16854 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16855 variables.
16856
16857 2016-09-21 Florian Weimer <fweimer@redhat.com>
16858
16859 [BZ #20524]
16860 * manual/string.texi (String/Array Comparison): Clarify the
16861 strverscmp behavior.
16862
16863 2016-09-21 Florian Weimer <fweimer@redhat.com>
16864
16865 * test-skeleton.c (xasprintf): Add function.
16866 * io/tst-open-tmpfile.c: New test.
16867 * io/Makefile (tests): Add it.
16868
16869 2016-09-21 Florian Weimer <fweimer@redhat.com>
16870
16871 Avoid running $(CXX) during build to obtain header file paths.
16872 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16873 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16874 * Makerules (cstdlib, cmath): Remove variables. Use
16875 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16876 * configure: Regenerate.
16877
16878 2016-09-21 Florian Weimer <fweimer@redhat.com>
16879
16880 * Makeconfig (all-object-suffixes): Include .op only if
16881 $(build-profile).
16882
16883 2016-09-21 Florian Weimer <fweimer@redhat.com>
16884
16885 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16886 conditionals. Do not define PATH_MAX.
16887
16888 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16889
16890 * posix/Makefile (tests): Add tst-spawn3.
16891 * posix/tst-spawn3.c: New file.
16892 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16893 if it is already opened for open action.
16894
16895 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16896 all signals when executing the clone vfork child.
16897 (SIGALL_SET): Remove macro.
16898
16899 * nptl/Makefile (tests): Add tst-exec5.
16900 * nptl/tst-exec5.c: New file.
16901 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16902 asynchronous cancellation.
16903
16904 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905
16906 * hurd/exc2signal.c: #include <hurd/signal.h>
16907 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16908 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16909 accordingly.
16910 * mach/mach_error.c (mach_error): Fix old-style function definition.
16911 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16912
16913 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16914
16915 * math/Makefile (libm-calls): Remove s_nanF.
16916 (gen-libm-calls): Add s_nanF.
16917
16918 * math/s_nan.c: Refactor into ...
16919 * math/s_nan_template.c: New file.
16920
16921 * math/s_nanf.c: Removed.
16922 * math/s_nanl.c: Removed.
16923 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16924 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16925
16926 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16927 (LDOUBLE_nanl_libm_version): New macro.
16928
16929 * sysdeps/generic/math-type-macros-double.h:
16930 (M_STRTO_NAN): New macro.
16931 * sysdeps/generic/math-type-macros-float.h: Likewise.
16932 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16933
16934 * sysdeps/generic/math-type-macros.h: Document
16935 M_STRTO_NAN.
16936
16937 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16938
16939 * math/s_nanf.c: Remove __nanf undef.
16940 * math/s_nan.c: Remove __nan undef.
16941 * math/s_nanl.c: Remove __nanl undef.
16942
16943 * sysdeps/generic/math_private.h (__nan): Remove macro
16944 override.
16945 (__nanf): Likewise.
16946 (__nanl): Likewise.
16947
16948 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16949
16950 * math/Makefile (gen-all-calls): New variable.
16951 (generated): Replace gen-libm-calls with gen-all-calls.
16952 (gen-libm-templates.stmp): Likewise. Also, ensure
16953 the output directory exists or is created and add
16954 dependency on the Makefile.
16955 (calls): Move s_ldexpF into gen-calls.
16956 (gen-calls): New variable.
16957
16958 * math/s_ldexpf.c: Removed.
16959 * math/s_ldexpl.c: Removed.
16960 * math/s_ldexp.c: Refactored into ...
16961 * math/s_ldexp_template.c: New file.
16962
16963 * sysdeps/generic/math-type-macros-double.h: Remove
16964 redundant fall-through definition of declare_mgen_alias.
16965 (declare_mgen_alias_2): New macro.
16966
16967 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16968 New macro for function aliased to two exported symbols.
16969
16970 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16971 new template file.
16972 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16973
16974 2016-09-20 Florian Weimer <fweimer@redhat.com>
16975
16976 * Makeconfig (all-object-suffixes): Remove .og.
16977 * Makerules (elide-routines.og): Remove.
16978 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16980 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16981
16982 2016-09-20 Florian Weimer <fweimer@redhat.com>
16983
16984 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16985 .os objects.
16986
16987 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16988
16989 [BZ #20615]
16990 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16991 fpu directory by non-fpu.
16992 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16993 on non-fpu directory from a fpu directory.
16994
16995 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16996
16997 * include/limits.h: Define
16998 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16999 <bits/libc-header-start.h> instead of including <features.h>.
17000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17001 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17002 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17007 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17010 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17011 * manual/lang.texi (Width of Type): Document these macros.
17012 * stdlib/tst-width.c: New file.
17013 * stdlib/Makefile (tests): Add tst-width.
17014
17015 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17016
17017 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17018 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17019
17020 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17021
17022 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17023 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17024 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17025
17026 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17027
17028 [BZ #18243]
17029 * rt/Makefile (test): Add tst-shm-cancel.
17030 * rt/tst-shm-cancel.c: New file.
17031 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17032
17033 [BZ #18243]
17034 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17035 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17036 definition.
17037 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17038 uncontended case.
17039 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17040 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17041 (tf): Fix check for uncontended case.
17042 (do_test): Likewise.
17043 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17044 (tf): Fix check for uncontended case.
17045 (do_test): Likewise.
17046 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17047 (tf): Fix check for uncontended case.
17048 (do_test): Likewise.
17049 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17050 (tf): Fix check for uncontended case.
17051 (do_test): Likewise.
17052
17053 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17054 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17055
17056 [BZ #15765]
17057 * nptl/Makefile (tests): Add tst-sem16.
17058 * nptl/tst-sem16.c: New file.
17059 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17060
17061 * nptl/sem_open.c (sem_open): Init pad value to 0.
17062 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17063 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17064
17065 2016-09-15 Florian Weimer <fweimer@redhat.com>
17066
17067 [BZ #20611]
17068 * inet/Makefile (routines): Add inet6_scopeid_pton.
17069 (tests): Add tst-inet6_scopeid_pton.
17070 * inet/inet6_scopeid_pton.c: New file.
17071 * inet/net-internal.h: Likewise.
17072 * inet/tst-inet6_scopeid_pton.c: New test.
17073 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17074 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17076
17077 2016-09-14 Florian Weimer <fweimer@redhat.com>
17078
17079 Remove support for compiling wrappers with PTW.
17080 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17081 * nptl/Makefile (pthread-compat-wrappers): Define.
17082 (libpthread-routines): Use pthread-compat-wrappers.
17083 * sysdeps/unix/sysv/linux/alpha/Makefile
17084 (libpthread-routines, libpthread-shared-only-routines): Remove
17085 ptw- prefix.
17086 * sysdeps/s390/nptl/Makefile
17087 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17088 * sysdeps/ia64/nptl/Makefile
17089 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17090 * sysdeps/nacl/Makefile (libpthread-routines): Use
17091 pthread-compat-wrappers to filter the routines list instead of the
17092 ptw- prefix.
17093
17094 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17095
17096 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17097 with L() and remove explicit suffix, convert real literals
17098 which can be equivalentally substituted with integers, and
17099 transform -L(x) to L(-x).
17100
17101 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17126 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17127 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17128 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17130 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17131 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17133 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17142 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17145 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17148 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17149 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17150 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17151
17152 2016-09-13 Florian Weimer <fweimer@redhat.com>
17153
17154 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17155
17156 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17157
17158 * malloc/Makefile (tests): Remove individual static test names
17159 and just add all of tests-static.
17160
17161 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17162
17163 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17164
17165 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17166 file.
17167
17168 * sysdeps/sparc/fpu/fegetmode.c: New file.
17169 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17170
17171 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17172 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17173
17174 * sysdeps/s390/fpu/fegetmode.c: New file.
17175 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17176
17177 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17178 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17179 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17180 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17181 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17182 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17183
17184 * sysdeps/mips/fpu/fegetmode.c: New file.
17185 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17186
17187 * sysdeps/m68k/fpu/fegetmode.c: New file.
17188 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17189
17190 * sysdeps/ia64/fpu/fegetmode.c: New file.
17191 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17192
17193 * sysdeps/hppa/fpu/fegetmode.c: New file.
17194 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17195
17196 * sysdeps/arm/fegetmode.c: New file.
17197 * sysdeps/arm/fesetmode.c: Likewise.
17198
17199 * sysdeps/alpha/fpu/fegetmode.c: New file.
17200 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17201
17202 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17203 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17204
17205 * math/fegetmode.c: New file.
17206 * math/fesetmode.c: Likewise.
17207 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17208 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17209 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17210 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17211 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17212 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17213 declaration.
17214 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17215 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17216 typedef.
17217 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17218 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17219 (femode_t): New typedef.
17220 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17221 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17222 (femode_t): New typedef.
17223 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17224 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17225 (femode_t): New typedef.
17226 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17227 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17228 (femode_t): New typedef.
17229 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17230 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17231 (femode_t): New typedef.
17232 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17233 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17234 (femode_t): New typedef.
17235 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17236 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17237 (femode_t): New typedef.
17238 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17239 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17240 (femode_t): New typedef.
17241 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17242 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17243 (femode_t): New typedef.
17244 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17245 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17246 (femode_t): New typedef.
17247 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17248 declaration.
17249 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17250 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17251 (femode_t): New typedef.
17252 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17253 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17254 (femode_t): New typedef.
17255 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17256 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17257 (femode_t): New typedef.
17258 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17259 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17260 (femode_t): New typedef.
17261 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17262 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17263 (femode_t): New typedef.
17264 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17265 * manual/arith.texi (FE_DFL_MODE): Document macro.
17266 (fegetmode): Document function.
17267 (fesetmode): Likewise.
17268 * math/Versions (fegetmode): New libm symbol at version
17269 GLIBC_2.25.
17270 (fesetmode): Likewise.
17271 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17272 (tests): Add test-femode and test-femode-traps.
17273 * math/test-femode-traps.c: New file.
17274 * math/test-femode.c: Likewise.
17275 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17276 alias for __fe_dfl_env.
17277 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17278 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17279 (__fe_dfl_mode): Likewise.
17280 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17281 version GLIBC_2.25.
17282 * sysdeps/nacl/libm.abilist: Update.
17283 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17296 Likewise.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17298 Likewise.
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17300 Likewise.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17302 Likewise.
17303 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17309 Likewise.
17310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17311 Likewise.
17312 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17315
17316 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17317
17318 [BZ #20495]
17319 [BZ #20508]
17320 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17321 processors, set Use_dl_runtime_resolve_slow and set
17322 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17323 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17324 New.
17325 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17326 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17327 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17328 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17329 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17330 if Use_dl_runtime_resolve_opt is set. Use
17331 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17332 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17333 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17334 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17335 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17336 New.
17337 (_dl_runtime_resolve_opt): Likewise.
17338 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17339 defined.
17340
17341 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17342
17343 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17344 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17345
17346 2016-09-06 Florian Weimer <fweimer@redhat.com>
17347
17348 Convert malloc to __libc_lock. Automated part, using this Perl
17349 s/// command:
17350 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17351 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17352 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17353 conversion.
17354
17355 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17356
17357 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17358 (linknamespace-symlists-tests): Likewise.
17359 (linknamespace-header-tests): Likewise.
17360
17361 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17362
17363 [BZ #19810]
17364 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17365 * elf/tst-noload.c: New test case.
17366 * elf/Makefile (tests): Add tst-noload.
17367
17368 2016-09-02 Roland McGrath <roland@hack.frob.com>
17369
17370 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17371
17372 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17373 not any more.
17374
17375 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17376
17377 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17378
17379 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17380 (do_cos_slow): Likewise.
17381 (do_sin): Likewise.
17382 (do_sin_slow): Likewise.
17383 (slow): Likewise.
17384 (slow1): Likewise.
17385 (slow2): Likewise.
17386 (sloww): Likewise.
17387 (sloww1): Likewise.
17388 (sloww2): Likewise.
17389 (bsloww): Likewise.
17390 (bsloww1): Likewise.
17391 (bsloww2): Likewise.
17392 (cslow2): Likewise.
17393
17394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17395
17396 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17397 arguments. Consolidate input partitioning from callers here.
17398 (do_cos_slow): Likewise.
17399 (do_sin): Likewise.
17400 (do_sin_slow): Likewise.
17401 (do_sincos_1): Remove the no longer necessary input partitioning.
17402 (do_sincos_2): Likewise.
17403 (__sin): Likewise.
17404 (__cos): Likewise.
17405 (slow1): Likewise.
17406 (slow2): Likewise.
17407 (sloww1): Likewise.
17408 (sloww2): Likewise.
17409 (bsloww1): Likewise.
17410 (bsloww2): Likewise.
17411 (cslow2): Likewise.
17412
17413 2016-09-02 Florian Weimer <fweimer@redhat.com>
17414
17415 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17416 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17417 outside of allocated array.
17418
17419 2016-09-02 Florian Weimer <fweimer@redhat.com>
17420
17421 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17422 instead of MB_CUR_MAX to avoid variable-length array.
17423
17424 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17425
17426 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17427 (type-double-routines): Add k_rem_pio2.
17428 (type-float-routines): Add k_rem_pio2f.
17429
17430 * sysdeps/generic/math_private.h:
17431 (__kernel_rem_pio2l): Removed.
17432
17433 * math/k_rem_pio2l.c: Removed.
17434 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17435 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17436 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17437 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17438
17439 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17440
17441 * math/Makefile (gen-libm-calls): Add s_fmin
17442 (libm-calls): Remove above.
17443
17444 * math/s_fmin.c: Refactor into ...
17445 * math/s_fmin_template.c: New file.
17446
17447 * math/s_fminf.c: Removed.
17448 * math/s_fminl.c: Removed.
17449 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17450 (LDOUBLE_fmin_libm_version): New macro.
17451
17452 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17453 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17454
17455 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17456
17457 * math/Makefile: (gen-libm-calls): Add s_fmax.
17458 (libm-calls): Remove above.
17459
17460 * math/s_fmax.c: Refactor into ...
17461 * math/s_fmax_template.c: New file.
17462 * math/s_fmaxf.c: Removed.
17463 * math/s_fmaxl.c: Removed.
17464
17465 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17466 (LDOUBLE_fmaxl_libm_version): New macro.
17467
17468 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17469 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17470
17471 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17472 s_fmin.c to pick the aarch64 version of the file.
17473 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17474 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17475
17476 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17477
17478 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17479 (libm-calls): Remove above.
17480
17481 * math/s_nextdown.c: Refactor into ...
17482 * math/s_nextdown_template.c: New file.
17483 * math/s_nextdownf.c: Removed.
17484 * math/s_nextdownl.c: Removed.
17485
17486 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17487
17488 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17489
17490 * math/Makefile (gen-libm-calls): Add s_fdim.
17491 (libm-calls): Move to above.
17492
17493 * math/s_fdim.c: Renamed and refactored into to ...
17494 * math/s_fdim_template.c: New file.
17495 * math/s_fdiml.c: Removed.
17496 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17497 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17498
17499 * sysdeps/generic/math-type-macros-double.h:
17500 (declare_mgen_alias): Don't declare if already declared.
17501 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17502 Likewise.
17503
17504 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17505 (declare_mgen_alias): Don't declare if already declared.
17506 (M_LIBM_NEED_COMPAT): Likewise.
17507 (declare_mgen_libm_compat): Likewise.
17508 (LDOUBLE_fdiml_libm_version): New macro.
17509
17510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17511 Include math/s_fdim.c now that ldbl-opt version is not needed.
17512 (declare_mgen_alias): New macro to disable aliasing.
17513
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17515 (declare_mgen_alias): Likewise.
17516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17517 (declare_mgen_alias): Likewise.
17518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17519 (declare_mgen_alias): Likewise.
17520 (M_LIBM_NEED_COMPAT): Likewise.
17521
17522 2016-09-01 Florian Weimer <fweimer@redhat.com>
17523
17524 [BZ #20525]
17525 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17526 Include <linux/quota.h>.
17527 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17528 and btodb.
17529 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17530 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17531 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17532 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17533 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17534 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17535 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17536 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17537 types.
17538 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17539 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17540
17541 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17542
17543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17544 (gammal_positive): Fix spacing.
17545 (__ieee754_gammal_r): Likewise.
17546
17547 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17548
17549 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17550 (_Float128): Define as long double, always.
17551 (L): Apply long double type suffix, always.
17552
17553 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17554 _Float128, excepting comments.
17555
17556 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17596 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17598 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17599 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17600 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17601 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17602 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17603 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17604 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17605 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17606 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17622 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17624
17625 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17626 _Float128, and include math_private.h.
17627 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17628
17629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17630 long double semantics.
17631 (_Float128): Likewise.
17632 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17636
17637 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17638
17639 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17640 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17641 * sysdeps/s390/configure: Regenerated.
17642 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17643 instruction for raising over-/underflow if z196 zarch is supported
17644 by default.
17645 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17646
17647 2016-08-30 Svante Signell <svante.signell@gmail.com>
17648
17649 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17650 it point to a dumb buffer for RPC to fill it.
17651
17652 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17653
17654 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17655 instead of if/else.
17656 (do_sin_slow): Likewise.
17657 (do_sincos_1): Use fabs instead of if/else.
17658 (do_sincos_2): Likewise.
17659 (__sin): Likewise.
17660 (__cos): Likewise.
17661 (slow2): Likewise.
17662 (sloww): Likewise.
17663 (sloww1): Likewise. Drop argument M.
17664 (sloww2): Use fabs instead of if/else.
17665 (bsloww): Likewise.
17666 (bsloww1): Likewise.
17667 (bsloww2): Likewise.
17668
17669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17670 fall through comment.
17671 (do_sincos_1): Likewise.
17672
17673 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17674 Consolidate switch cases 0 and 2.
17675
17676 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17677
17678 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17679 (libm-calls): Remove the above.
17680
17681 * math/s_cexp_template.c: Update using type-generic macros.
17682 * math/s_clog10_template.c: Likewise.
17683 * math/s_cpow_template.c: Likewise.
17684 * math/s_clog_template.c: Likewise.
17685 * math/s_cproj_template.c: Likewise.
17686 * math/s_csqrt_template.c: Likewise.
17687
17688 * math/s_cexp.c: Removed.
17689 * math/s_cexpf.c: Removed.
17690 * math/s_cexpl.c: Removed.
17691 * math/s_clog10.c: Removed.
17692 * math/s_clog10f.c: Removed.
17693 * math/s_clog10l.c: Removed.
17694 * math/s_cpow.c: Removed.
17695 * math/s_cpowf.c: Removed.
17696 * math/s_cpowl.c: Removed.
17697 * math/s_clog.c: Removed.
17698 * math/s_clogf.c: Removed.
17699 * math/s_clogl.c: Removed.
17700 * math/s_cproj.c: Removed.
17701 * math/s_cprojf.c: Removed.
17702 * math/s_cprojl.c: Removed.
17703 * math/s_csqrt.c: Removed.
17704 * math/s_csqrtf.c: Removed.
17705 * math/s_csqrtl.c: Removed.
17706
17707 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17708 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17709 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17710 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17711 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17712 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17713
17714 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17715 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17716 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17717 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17718 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17719 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17720 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17721 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17722 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17723 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17724 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17725
17726 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17727 version.
17728
17729 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17730 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17731 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17732 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17733
17734 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17735
17736 * s_cexp_template.c: Copy of s_cexp.c.
17737 * s_clog_template.c: Copy of s_clog.c.
17738 * s_clog10_template.c: Copy of s_clog10.c.
17739 * s_cpow_template.c: Copy of s_cpow.c.
17740 * s_cproj_template.c: Copy of s_cproj.c.
17741 * s_csqrt_template.c: Copy of s_csqrt.c.
17742
17743 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17744
17745 [BZ #20517]
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17747 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17748 exported.
17749
17750 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17751
17752 * math/fetestexceptflag.c: New file.
17753 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17754 Stefan Liebler.
17755 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17756 (fetestexceptflag): New function declaration.
17757 * manual/arith.texi (fetestexceptflag): Document function.
17758 * math/Versions (fetestexceptflag): New libm symbol at version
17759 GLIBC_2.25.
17760 * math/Makefile (libm-support): Add fetestexceptflag.
17761 (tests): Add test-fetestexceptflag.
17762 * math/test-fetestexceptflag.c: New file.
17763 * sysdeps/nacl/libm.abilist: Update.
17764 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17777 Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17781 Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17783 Likewise.
17784 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17790 Likewise.
17791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17792 Likewise.
17793 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17796
17797 2016-08-26 Florian Weimer <fweimer@redhat.com>
17798
17799 [BZ #20432]
17800 Avoid strong references to malloc-internal symbols when linking
17801 statically, to support statically interposed mallocs.
17802 * include/libc-symbols.h (call_function_static_weak): New macro.
17803 * malloc/Makefile (tests): Add tst-interpose-nothread,
17804 tst-interpose-thread, tst-interpose-static-nothread,
17805 tst-interpose-static-thread.
17806 (tests-static): Add tst-interpose-static-nothread,
17807 tst-interpose-static-thread.
17808 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17809 tst-interpose-aux-thread.o.
17810 (test-extras): Add tst-interpose-aux-nothread,
17811 tst-interpose-aux-thread.
17812 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17813 tst-interpose-aux-nothread.o.
17814 (tst-interpose-thread, tst-interpose-static-thread): Link with
17815 tst-interpose-aux-thread.o and libthread.
17816 * malloc/tst-interpose-aux-nothread.c: New file.
17817 * malloc/tst-interpose-aux-thread.c: Likewise.
17818 * malloc/tst-interpose-aux.c: Likewise.
17819 * malloc/tst-interpose-aux.h: Likewise.
17820 * malloc/tst-interpose-nothread.c: Likewise.
17821 * malloc/tst-interpose-skeleton.c: Likewise.
17822 * malloc/tst-interpose-static-nothread.c: Likewise.
17823 * malloc/tst-interpose-static-thread.c: Likewise.
17824 * malloc/tst-interpose-thread.c: Likewise.
17825 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17826 * sysdeps/mach/hurd/fork.c (__fork): Only call
17827 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17828 __malloc_fork_unlock_child if defined.
17829 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17830
17831 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17832
17833 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17834 timespec C99 designated initialization.
17835
17836 2016-08-26 Florian Weimer <fweimer@redhat.com>
17837
17838 [BZ #19946]
17839 Avoid expected SIGALRM signals.
17840 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17841 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17842 (xpthread_create, xpthread_detach, xpthread_join)
17843 (delayed_exit_thread, delayed_exit): New functions.
17844 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17845 (tf): Use xpthread_cond_wait.
17846 (do_test): Likewise. Replace alarm with delayed_exit.
17847 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17848 (do_test): Call delayed_exit. Report failure.
17849 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17850 (do_test): Call delayed_exit.
17851 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17852 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17853 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17854 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17855 error.
17856 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17857 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17858 error.
17859 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17860 (do_test): Call delayed_exit.
17861 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17862 (do_test): Call delayed_exit.
17863 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17864 (do_test): Call delayed_exit instead of alarm. Use
17865 xpthread_mutex_lock.
17866 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17867 (do_test): Call delayed_exit instead of alarm. Use
17868 xpthread_mutex_lock.
17869 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17870 (do_test): Call delayed_exit instead of alarm.
17871 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17872 (do_test): Call delayed_exit instead of alarm. Use
17873 xpthread_spin_lock.
17874 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17875 (do_test): Call delayed_exit instead of alarm. Use
17876 xpthread_join.
17877
17878 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17881 adjust CFA when allocating register save area on re-aligned
17882 stack.
17883
17884 2016-08-26 Florian Weimer <fweimer@redhat.com>
17885
17886 * string/tst-cmp.c: New test.
17887 * string/Makefile (tests): Add it.
17888
17889 2016-08-25 Mark Wielaard <mark@klomp.org>
17890
17891 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17892 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17893 (check_tree_recurse): Use newly defined accessors.
17894 (check_tree): Likewise.
17895 (maybe_split_for_insert): Likewise.
17896 (__tfind): Likewise.
17897 (__tdelete): Likewise.
17898 (trecurse): Likewise.
17899 (tdestroy_recurse): Likewise.
17900 (__tsearch): Likewise. And add asserts for malloc alignment.
17901 (__twalk): Cast root to node in case CHECK_TREE is defined.
17902
17903 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17904
17905 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17906
17907 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17908
17909 * math/Makefile (libm-gen-calls): Add
17910 catan, catanh, ctan, ctanh.
17911 (libm-calls): Remove the above.
17912
17913 * math/s_catan_template.c: Update using type-generic macros.
17914 * math/s_catanh_template.c: Likewise.
17915 * math/s_ctan_template.c: Likewise.
17916 * math/s_ctanh_template.c: Likewise.
17917
17918 * math/s_catanf.c: Removed.
17919 * math/s_catan.c: Removed.
17920 * math/s_catanl.c: Removed.
17921 * math/s_catanhf.c: Removed.
17922 * math/s_catanh.c: Removed.
17923 * math/s_catanhl.c: Removed.
17924 * math/s_ctanf.c: Removed.
17925 * math/s_ctan.c: Removed.
17926 * math/s_ctanl.c: Removed.
17927 * math/s_ctanhf.c: Removed.
17928 * math/s_ctanh.c: Removed.
17929 * math/s_ctanhl.c: Removed.
17930
17931 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17932 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17933 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17934 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17935 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17936 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17937
17938 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17939 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17940 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17941 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17942
17943 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17944
17945 * s_catan_template.c: Copy of s_catan.c.
17946 * s_catanh_template.c: Copy of s_catanh.c.
17947 * s_ctan_template.c: Copy of s_ctan.c.
17948 * s_ctanh_template.c: Copy of s_ctanh.c.
17949
17950 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17951
17952 * math/Makefile (gen-libm-calls): Move
17953 casin, casinh, csin, csinh here.
17954 (libm-calls): Remove the above.
17955
17956 * math/s_casin_template.c: Update using type-generic macros.
17957 * math/s_casinh_template.c: Likewise.
17958 * math/s_csin_template.c: Likewise.
17959 * math/s_csinh_template.c: Likewise.
17960 * math/k_casinh_template.c: Likewise.
17961
17962 * math/s_casinf.c: Removed.
17963 * math/s_casin.c: Removed.
17964 * math/s_casinl.c: Removed.
17965 * math/s_casinh.c: Removed.
17966 * math/s_casinhf.c: Removed.
17967 * math/s_casinhl.c: Removed.
17968 * math/s_csin.c: Removed.
17969 * math/s_csinf.c: Removed.
17970 * math/s_csinl.c: Removed.
17971 * math/s_csinh.c: Removed.
17972 * math/s_csinhf.c: Removed.
17973 * math/s_csinhl.c: Removed.
17974 * math/k_casinh.c: Removed.
17975 * math/k_casinhf.c: Removed.
17976 * math/k_casinhl.c: Removed.
17977
17978 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17979 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17980 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17981 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17982
17983 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17984 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17985 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17986 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17987 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17988 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17989 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17990 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17991
17992 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17993 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17994 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17995 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17996
17997 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17998 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17999 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18000 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18001
18002 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18003
18004 * s_casin_template.c: Copy of s_casin.c.
18005 * s_casinh_template.c: Copy of s_casinh.c.
18006 * s_csin_template.c: Copy of s_csin.c.
18007 * s_csinh_template.c: Copy of s_csinh.c.
18008 * k_casinh_template.c: Copy of k_casinh.c.
18009
18010 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18011
18012 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18013
18014 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18015
18016 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18017 (mul_split) Remove, rename as mul_splitl, remove
18018 redundant float.h include, and include via mul_splitl.h
18019
18020 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18022 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18025
18026 * math/mul_splitl.h: New file.
18027
18028 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18029 Move into mul_split.h, and remove redundant float.h include.
18030
18031 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18035
18036 * math/mul_split.h: New file.
18037
18038 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18039
18040 * math/Makefile (libm-gen-calls): Move
18041 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18042 (libm-calls): Remove above.
18043
18044 * math/s_cacos_template.c: Update using type-generic macros.
18045 * math/s_cacosh_template.c: Likewise.
18046 * math/s_ccos_template.c: Likewise.
18047 * math/s_ccosh_template.c: Likewise.
18048
18049 * math/s_cacosf.c: Removed.
18050 * math/s_cacos.c: Removed.
18051 * math/s_cacosl.c: Removed.
18052 * math/s_cacoshf.c: Removed.
18053 * math/s_cacosh.c: Removed.
18054 * math/s_cacoshl.c: Removed.
18055 * math/s_ccosf.c: Removed.
18056 * math/s_ccos.c: Removed.
18057 * math/s_ccosl.c: Removed.
18058 * math/s_ccoshf.c: Removed.
18059 * math/s_ccosh.c: Removed.
18060 * math/s_ccoshl.c: Removed.
18061
18062 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18063 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18064 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18065 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18066 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18067 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18068
18069 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18070 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18071 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18072 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18073
18074 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18075 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18076 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18077 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18078
18079 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18080
18081 * s_cacos_template.c: Copy of s_cacos.c.
18082 * s_cacosh_template.c: Copy of s_cacosh.c.
18083 * s_ccos_template.c: Copy of s_ccos.c.
18084 * s_ccosh_template.c: Copy of s_ccosh.c.
18085
18086 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18087
18088 * stdlib/tst-strtod-round-skeleton.c:
18089 Refactored from tst-strtod-round.c.
18090
18091 (L_): New macro to apply literal modifier.
18092 (FNPFX): New macro to select str or wcs prefix.
18093 (CHAR): New macro to choose wchar_t or char.
18094 (STRM): New macro to choose printf for tested character type.
18095
18096 (STRTO): New macro to choose appropriate string -> real function.
18097 (FNPFXS): Stringitized version of FNPFX.
18098 (STR): Support for above macro.
18099 (STRX): Likewise.
18100
18101 (TEST): Update with above macros.
18102 (test): Likewise.
18103 (GEN_ONE_TEST): Likewise.
18104 (test_in_one_mode): Likewise.
18105
18106 * stdlib/tst-strtod-round.c: New file.
18107 * wcsmbs/tst-wcstod-round.c: New file.
18108
18109 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18110 (tst-wcstod-round): Add libm depencency for fesetround.
18111
18112 2016-08-19 Zack Weinberg <zackw@panix.com>
18113
18114 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18115
18116 2016-08-18 Torvald Riegel <triegel@redhat.com>
18117
18118 [BZ #20477]
18119 * resolv/res_hconf.c (do_init): Use atomic access.
18120 * resolv/res_hconf.h: Add comments.
18121 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18122 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18124
18125 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18126
18127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18128 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18130 Likewise.
18131
18132 2016-08-18 Florian Weimer <fweimer@redhat.com>
18133
18134 [BZ #16907]
18135 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18136 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18137 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18138 (__attribute__): Remove definition.
18139
18140 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18141
18142 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18143 Remove unused sqrtl declaration.
18144
18145 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18146
18147 * math/Makefile: (gen-libm-templates.stmp): New rule.
18148 (libm-calls): Move carg conj cimag and cabs into ...
18149 (gen-libm-calls): New variable.
18150 (generated): Inform Make objects from gen-libm-calls
18151 may be generated.
18152
18153 * sysdeps/generic/math-type-macros.h: New file.
18154 * sysdeps/generic/math-type-macros-float.h: Likewise.
18155 * sysdeps/generic/math-type-macros-double.h: Likewise.
18156 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18157 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18158 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18159
18160 * math/cabs.c: Refactor into
18161 * math/cabs_template.c: new file.
18162 * math/cabsf.c: Removed.
18163 * math/cabsl.c: Removed.
18164 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18165 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18166
18167 * math/carg.c: Refactor into
18168 * math/carg_template.c: new file.
18169 * math/cargf.c: Removed.
18170 * math/cargl.c: Removed.
18171 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18172 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18173
18174 * math/conj.c: Refactor into
18175 * math/conj_template.c: new file.
18176 * math/conjf.c: Removed.
18177 * math/conjl.c: Removed.
18178 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18179 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18180
18181 * math/cimag.c: Refactor into
18182 * math/cimag_template.c: new file.
18183 * math/cimagf.c: Removed.
18184 * math/cimagl.c: Removed.
18185 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18186 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18187
18188 * math/cimag.c: Refactor into
18189 * math/cimag_template.c: new file.
18190 * math/cimagf.c: Removed.
18191 * math/cimagl.c: Removed.
18192 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18193 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18194
18195 2016-08-17 Florian Weimer <fweimer@redhat.com>
18196
18197 Reduce time to expected nptl/tst-once5 failure.
18198 * nptl/tst-once5.cc (TIMEOUT): Define.
18199
18200 2016-08-17 Florian Weimer <fweimer@redhat.com>
18201
18202 [BZ #20452]
18203 Avoid additional copies of objects in libc.a in static libraries.
18204 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18205 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18206 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18207 rt-sysdep.
18208 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18209 Add nptl-sysdep.
18210 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18211 Add ptw-sysdep.
18212 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18213 rt-sysdep.
18214 * sysdeps/unix/sysv/linux/alpha/Makefile
18215 (libpthread-shared-only-routines): Add ptw-sysdep,
18216 ptw-sigprocmask, ptw-rt_sigaction.
18217 * sysdeps/unix/sysv/linux/ia64/Makefile
18218 (librt-shared-only-routines): Add rt-sysdep.
18219 * sysdeps/unix/sysv/linux/i386/Makefile
18220 (libpthread-shared-only-routines): Add libc-do-syscall.
18221 * sysdeps/unix/sysv/linux/microblaze/Makefile
18222 (libpthread-shared-only-routines): Add sysdep.
18223 * sysdeps/unix/sysv/linux/powerpc/Makefile
18224 (librt-shared-only-routines): Add rt-sysdep.
18225 (libpthread-shared-only-routines): Add sysdep.
18226 * sysdeps/unix/sysv/linux/s390/Makefile
18227 (librt-shared-only-routines): Add rt-sysdep.
18228 * sysdeps/unix/sysv/linux/sparc/Makefile
18229 (librt-shared-only-routines): Add rt-sysdep.
18230 (libpthread-shared-only-routines): Add sysdep.
18231 * sysdeps/unix/sysv/linux/tile/Makefile
18232 (libpthread-shared-only-routines): Likewise.
18233
18234 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18235
18236 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18237 Mask implicit bit out of unpacked value.
18238 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18239 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18241
18242 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18243
18244 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18245
18246 * sysdeps/s390/fpu/fesetexcept.c: New file.
18247
18248 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18249 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18250 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18251
18252 * sysdeps/mips/fpu/fesetexcept.c: New file.
18253
18254 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18255
18256 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18257
18258 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18259
18260 * sysdeps/arm/fesetexcept.c: New file.
18261
18262 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18263
18264 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18265
18266 * math/fesetexcept.c: New file.
18267 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18268 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18269 * math/fenv.h: Define
18270 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18271 <bits/libc-header-start.h> instead of including <features.h>.
18272 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18273 declaration.
18274 * manual/arith.texi (fesetexcept): Document function.
18275 * math/Versions (fesetexcept): New libm symbol at version
18276 GLIBC_2.25.
18277 * math/Makefile (libm-support): Add fesetexcept.
18278 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18279 * math/test-fesetexcept.c: New file.
18280 * math/test-fesetexcept-traps.c: Likewise.
18281 * sysdeps/nacl/libm.abilist: Update.
18282 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18295 Likewise.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18297 Likewise.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18299 Likewise.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18301 Likewise.
18302 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18303 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18304 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18308 Likewise.
18309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18310 Likewise.
18311 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18312 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18314
18315 2016-08-16 Florian Weimer <fweimer@redhat.com>
18316
18317 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18318 New.
18319 (do_test): Apply default_stack_size_in_mb if not set.
18320 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18321
18322 2016-08-15 Andreas Schwab <schwab@suse.de>
18323
18324 [BZ #20435]
18325 CVE-2016-6323
18326 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18327 as .cantunwind.
18328
18329 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18330
18331 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18332 comment from fraiseexcpt.c.
18333
18334 * math/test-fexcept.c (feraiseexcept_exact): New function.
18335 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18336 (test_except): Likewise.
18337
18338 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18339
18340 [BZ #20455]
18341 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18342 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18343 to be restored.
18344
18345 * math/test-fexcept-traps.c: New file.
18346 * math/test-fexcept.c: Likewise.
18347 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18348 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18349 macro.
18350 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18351 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18352
18353 2016-08-09 Torvald Riegel <triegel@redhat.com>
18354
18355 * include/atomic.h (atomic_fetch_and_relaxed,
18356 atomic_fetch_and_release, atomic_fetch_or_release,
18357 atomic_fetch_xor_release): New.
18358
18359 2016-08-06 Christian Seiler <christian@iwakd.de>
18360
18361 [BZ #20444]
18362 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18363 MACH_PORT_NULL.
18364
18365 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18366
18367 * math/s_fdim.c: Avoid alias renamed.
18368 * math/s_fdimf.c: Likewise.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18370 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18371 Add s_fdimf-vis3, s_fdim-vis3.
18372 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18373 (CFLAGS-s_fdim-vis3.c): Likewise.
18374 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18375 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18376
18377 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18378
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18380 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18381 Remove s_fdimf-vis3, s_fdim-vis3.
18382 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18383 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18390 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18391 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18392
18393 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18394
18395 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18396 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18397 -Wa,-Av9a -mvis.
18398
18399 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18400
18401 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18402 LIT() to individual constants in simple expressions
18403 after splitting on spaces.
18404 (_apply_lit): Rename replaced version, and use it to
18405 apply to what appears to be a token.
18406
18407 * math/libm-test.inc: Fix many, many issues with
18408 spacing.
18409
18410 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18411
18412 * math/math.h: Move comment about <bits/mathdef.h> definitions
18413 above inclusion of <bits/mathdef.h>. Do not mention
18414 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18415
18416 2016-08-05 Torvald Riegel <triegel@redhat.com>
18417
18418 * include/atomic.h (atomic_exchange_relaxed): New.
18419
18420 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18421
18422 * math/e_scalb.c: Do not include <fenv.h>.
18423 (invalid_fn): Do calculation resulting in NaN instead of raising
18424 FE_INVALID and returning a NaN explicitly.
18425 * math/e_scalbf.c: Do not include <fenv.h>.
18426 (invalid_fn): Do calculation resulting in NaN instead of raising
18427 FE_INVALID and returning a NaN explicitly.
18428 * math/e_scalbl.c: Do not include <fenv.h>.
18429 (invalid_fn): Do calculation resulting in NaN instead of raising
18430 FE_INVALID and returning a NaN explicitly.
18431
18432 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18433
18434 * po/de.po: Updated from Translation Project.
18435 * po/fi.po: Likewise.
18436 * po/sv.po: Likewise.
18437
18438 2016-08-04 Florian Weimer <fweimer@redhat.com>
18439
18440 [BZ #20452]
18441 Use sysdep.o from libc.a in static libraries.
18442 * sysdeps/unix/sysv/linux/i386/Makefile
18443 (libpthread-shared-only-routines): Add sysdep.
18444 (librt-shared-only-routines): Likewise.
18445
18446 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18447
18448 * math/tgmath.h (nextdown): Define if
18449 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18450 (nextup): Likewise.
18451
18452 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18453 macro.
18454 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18455 Document.
18456 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18457 Document macro.
18458 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18459 (exp10f): Likewise.
18460 (exp10l): Likewise.
18461 * math/bits/mathcalls.h (exp10): Declare if
18462 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18463
18464 * manual/arith.texi (nextup): Fix typo in last change.
18465
18466 2016-08-03 Zack Weinberg <zackw@panix.com>
18467
18468 [BZ #19239]
18469 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18470 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18471 define major, minor, and makedev to issue deprecation warnings on use.
18472 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18473 previously-activated deprecation warnings for these macros and prevent
18474 subsequent inclusions of this header from having any effect.
18475 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18476 including <sys/sysmacros.h>, and undefine it again afterward.
18477
18478 2016-08-03 Zack Weinberg <zackw@panix.com>
18479
18480 * sysdeps/generic/sys/sysmacros.h: Delete file.
18481 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18482 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18483 * bits/sysmacros.h: ... here; this encoding is now the generic
18484 encoding. Now defines only the following macros:
18485 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18486 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18487 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18488
18489 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18490 bits/sysmacros.h and the above new macros to generate the
18491 public implementations of major, minor, and makedev.
18492 * misc/tst-makedev.c: New test.
18493 * include/sys/sysmacros.h: New wrapper.
18494
18495 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18496 (routines): Add makedev.
18497 (tests): Add tst-makedev.
18498 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18499 gnu_dev_makedev.
18500 * posix/Makefile (headers): Remove sys/sysmacros.h.
18501 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18502
18503 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18504 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18505 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18506 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18507 * sysdeps/unix/sysv/linux/arm/libc.abilist
18508 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18509 * sysdeps/unix/sysv/linux/i386/libc.abilist
18510 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18511 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18512 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18514 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18515 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18516 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18517 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18518 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18525 * sysdeps/unix/sysv/linux/sh/libc.abilist
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18527 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18530 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18531 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18532 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18533 Add GLIBC_2.25.
18534
18535 * include/features.h (__glibc_clang_prereq): New macro.
18536 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18537 (__attribute_deprecated_msg__): New macros.
18538
18539 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18540
18541 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18542 macro.
18543 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18544 * manual/arith.texi (issignaling): Document as ISO from TS
18545 18661-1:2014.
18546 (nextup): Likewise.
18547 (nextupf): Likewise.
18548 (nextupl): Likewise.
18549 (nextdown): Likewise.
18550 (nextdownf): Likewise.
18551 (nextdownl): Likewise.
18552 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18553 macro.
18554 * math/math.h: Define
18555 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18556 <bits/libc-header-start.h> instead of including <features.h>.
18557 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18558 [__USE_GNU].
18559 * math/bits/mathcalls.h (nextdown): Declare if
18560 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18561 (nextup): Likewise.
18562 (__issignaling): Likewise.
18563
18564 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18565
18566 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18567 check, and remove __glibc_likely hint
18568 from FP_INFINITE check.
18569 * s_csinhf.c (__csinhf): Likewise.
18570
18571 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18572 hint from FP_INFINITE check.
18573 * s_csinhl.c (__csinhl): Likewise.
18574
18575 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18576
18577 * math/Makefile (libm-calls): Insert F placeholder into
18578 object names. Move w_lgamma_compat* routines into
18579 (libm-compat-calls): New variable.
18580 (libm-compat-calls-ldouble-yes): New variable.
18581 (calls): Insert F placeholder.
18582 (generated): Redefine using new type-foreach macro call.
18583 (routines): Likewise.
18584
18585 (types): New variable to hold a list of symbolic names
18586 for each type supported by the target machine.
18587 (libm-routines): Redefine using new types variable.
18588 (type-foreach): macro to replace fooF with the
18589 appropriately suffixed foo for each types.
18590
18591 (type-ldouble-suffix): New variable.
18592 (type-ldouble-routines): Likewise.
18593 (type-ldouble-yes): Likewise.
18594 (type-double-suffix): Likewise.
18595 (type-double-routines): Likewise.
18596 (type-float-suffix): Likewise.
18597 (type-float-routines): Likewise.
18598
18599 (dbl-only-routines): Remove.
18600 (long-c-yes): Likewise.
18601 (long-m-routines): Likewise.
18602 (long-m-support): Likewise.
18603 (long-m-yes): Likewise.
18604 (test-longdouble-yes): Likewise.
18605
18606 (test-float.o): Simplify by increasing the scope of the
18607 recipe which adds libm-test.stmp to the vector types.
18608 (test-ifloat.o): Likewise.
18609 (test-float-finite.o): Likewise.
18610 (test-double.o): Likewise
18611 (test-idouble.o): Likewise.
18612 (test-double-finite.o): Likewise.
18613 (test-ldouble.o): Likewise
18614 (test-ildoubl.o): Likewise.
18615 (test-ldouble-finite.o): Likewise.
18616
18617 (libm-tests): Redefine type tests using foreach and the
18618 list of types in types.
18619
18620 (CPPFLAGS-test-ildoubl.c): Rename to
18621 (CPPFLAGS-test-ildouble.c): New variable
18622
18623 * math/test-ildoubl.c: Rename to
18624 * math/test-ildouble.c: New file.
18625
18626 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18627
18628 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18629 Use fabsl instead of fabs.
18630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18631 Likewise.
18632 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18633 Add long double suffix to constant to ensure proper
18634 promotion to long double.
18635
18636 2016-08-03 Tom Tromey <tom@tromey.com>
18637
18638 [BZ #20311]
18639 * nptl_db/Makefile (headers): Add proc_service.h.
18640 * nptl_db/proc_service.h: Add include guard. Use
18641 __BEGIN/__END_DECLS.
18642 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18643 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18644 arguments.
18645
18646
18647 2016-08-03 Florian Weimer <fweimer@redhat.com>
18648
18649 [BZ #17730]
18650 Avoid using memalign for TCB allocations.
18651 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18652 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18653 Avoid alignment gap in the TLS_DTV_AT_TP case.
18654 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18655 determine the pointer to free.
18656 * nptl/tst-tls3-malloc.c: New test.
18657 * nptl/Makefile (tests): Add it.
18658 (tst-tls3-malloc): Link with libdl, libpthread.
18659 (LDFLAGS-tst-tls3-malloc): Set.
18660 (tst-tls3-malloc.out): Depend on DSO used in test.
18661
18662 2016-08-03 Florian Weimer <fweimer@redhat.com>
18663
18664 [BZ #17730]
18665 Avoid using memalign for TLS allocations.
18666 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18667 is_static member with to_free member.
18668 (union dtv): Use struct dtv_pointer.
18669 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18670 dtv_pointer instead of is_static.
18671 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18672 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18673 instead of val.
18674 (allocate_dtv_entry): New function.
18675 (allocate_and_init): Return struct dtv_pointer. Call
18676 allocate_dtv_entry instead of __libc_memalign.
18677 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18678 instead of val.
18679 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18680 instead of is_static. Adjust call to allocate_and_init.
18681 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18682 struct dtv_pointer instead of val.
18683
18684 2016-08-03 Florian Weimer <fweimer@redhat.com>
18685
18686 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18687 (MALLOC_ALIGN_MASK): Move ...
18688 * malloc/malloc-internal.h: ... to here.
18689 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18690
18691 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18692
18693 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18694 (UDP_ENCAP_GTP1U): Likewise.
18695
18696 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18697 (PF_MAX): Update value.
18698 (AF_QIPCRTR): New macro.
18699
18700 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18701
18702 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18703 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18704 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18706 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18707 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18708 s_truncf-vis3, s_trunc-vis3.
18709 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18710 (CFLAGS-s_ceil-vis3.c): Likewise.
18711 (CFLAGS-s_floorf-vis3.c): Likewise.
18712 (CFLAGS-s_floor-vis3.c): Likewise.
18713 (CFLAGS-s_truncf-vis3.c): Likewise.
18714 (CFLAGS-s_trunc-vis3.c): Likewise.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18727
18728 2016-08-02 David S. Miller <davem@davemloft.net>
18729
18730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18731 (__nearbyint_vis3): Don't check for sNaN before float register is
18732 loaded with the incoming argument.
18733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18734 (__nearbyintf_vis3): Likewise.
18735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18736 Likewise.
18737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18738 Likewise.
18739
18740 * string/test-strncmp.c (do_test_limit): Make sure the test data
18741 stream is aligned as required for the type "CHAR".
18742 (do_test): Likewise.
18743
18744 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18745
18746 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18747 by beq instructions jumping to the end of the function.
18748 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18749 clobber list. Use "i" constraint instead of "X".
18750 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18751 of "X".
18752
18753 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18754
18755 * bits/libc-header-start.h: New file.
18756 * Makefile (headers): Add bits/libc-header-start.h.
18757 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18758 (__GLIBC_USE): New macro.
18759 * libio/stdio.h: Define
18760 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18761 <bits/libc-header-start.h> instead of including <features.h>.
18762 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18763 (open_memstream): Likewise.
18764 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18765 (__asprintf): Likewise.
18766 (asprintf): Likewise.
18767 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18768 (getdelim): Likewise.
18769 (getline): Likewise.
18770 * string/string.h: Define
18771 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18772 <bits/libc-header-start.h> instead of including <features.h>.
18773 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18774 (strndup): Likewise.
18775 * wcsmbs/wchar.h: Define
18776 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18777 <bits/libc-header-start.h> instead of including <features.h>.
18778 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18779 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18780
18781 2016-08-02 Florian Weimer <fweimer@redhat.com>
18782
18783 Support linking against compatibility symbols, for use in tests.
18784 * include/libc-symbols.h (symbol_version_reference): New macro.
18785 (symbol_version): Use it.
18786 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18787 (compat_symbol): Use compat_symbol_reference.
18788 (compat_symbol_1, compat_symbol_2): Remove.
18789 (compat_symbol_reference, compat_symbol_reference_1)
18790 (compat_symbol_reference_2): New macro. Use
18791 symbol_version_reference.
18792
18793 2016-08-02 Florian Weimer <fweimer@redhat.com>
18794
18795 [BZ #19469]
18796 * malloc/Makefile (CPPFLAGS): Compile tests with
18797 -DTEST_NO_MALLOPT.
18798 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18799
18800 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18801
18802 [BZ #20033]
18803 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18804 finite version.
18805 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18807 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18808 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18809 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18810 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18811 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18813 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18814 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18815 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18816 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18817 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18818 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18819 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18820 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18821 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18822 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18823 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18824 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18825 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18826 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18827 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18828 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18829 in zero power.
18830
18831 2016-08-02 Florian Weimer <fweimer@redhat.com>
18832
18833 [BZ #20370]
18834 * malloc/arena.c (get_free_list): Update comment. Assert that
18835 arenas on the free list have no attached threads.
18836 (remove_from_free_list): New function.
18837 (reused_arena): Call it.
18838
18839 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18840
18841 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18842 when it is a NaN.
18843 [_IEEE_FP_INEXACT] Remove.
18844 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18845 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18846 when it is a NaN.
18847 [_IEEE_FP_INEXACT] Remove.
18848 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18849 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18850 when it is a NaN.
18851 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18852 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18853 when its absolute value is greater than 0x1.0p52.
18854 [_IEEE_FP_INEXACT] Remove.
18855 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18856 when its absolute value is greater than 0x1.0p23.
18857 [_IEEE_FP_INEXACT] Remove.
18858
18859 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18860
18861 * version.h (RELEASE): Set to "development"
18862 (VERSION): Set to 2.24.90.
18863 * NEWS: Add 2.25 section.
18864
18865 * version.h (RELEASE): Set to "stable"
18866 (VERSION): Set to 2.24.
18867 * include/features.h (__GLIBC_MINOR__): Set to 24.
18868
18869 * NEWS: Add 2.24 fixed bugs.
18870 * po/libc.pot: Regenerate.
18871
18872 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18873
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18875 [$(subdir) = math] (libm-sysdep_routines): Remove.
18876 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18877 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18878 s_truncf-vis3, s_trunc-vis3.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18881 file.
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18919 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18920 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18921 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18922 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18923 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18924 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18925
18926 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18927
18928 [BZ #20384]
18929 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18930 test-double-libmvec-sincos-avx-main.o,
18931 test-double-libmvec-sincos-avx2-main.o,
18932 test-double-libmvec-sincos-main.o,
18933 test-float-libmvec-sincosf-avx-main.o,
18934 test-float-libmvec-sincosf-avx2-main.o and
18935 test-float-libmvec-sincosf-main.o.
18936 test-float-libmvec-sincosf-avx512-main.o.
18937 ($(objpfx)test-double-libmvec-sincos): Also link with
18938 $(objpfx)test-double-libmvec-sincos-main.o.
18939 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18940 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18941 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18942 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18943 ($(objpfx)test-float-libmvec-sincosf): Also link with
18944 $(objpfx)test-float-libmvec-sincosf-main.o.
18945 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18946 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18947 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18948 test-double-libmvec-sincos-avx512-main.o and
18949 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18950 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18951 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18952 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18953 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18954 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18955 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18956 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18957 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18958 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18959 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18960 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18961 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18962 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18963 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18964 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18965 -DREQUIRE_AVX2.
18966 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18967 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18968 -DREQUIRE_AVX512F.
18969 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18970 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18971 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18972 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18973 file.
18974 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18975 Likewise.
18976 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18977 Likewise.
18978 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18979 Likewise.
18980 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18981 Likewise.
18982 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18983 Likewise.
18984 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18985 Likewise.
18986 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18987 Likewise.
18988
18989 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18990
18991 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18992
18993 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18994
18995 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18996 and typo in a comment about AT_HWCAP entry.
18997
18998 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18999
19000 * sysdeps/aarch64/libm-test-ulps: Updated.
19001
19002 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19003
19004 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19005 of r13 as it is not restored in mvcle case.
19006
19007 2016-07-19 Mike Frysinger <vapier@gentoo.org>
19008
19009 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19010 Rename "ret" to "__ret".
19011 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19012 inline_syscall5, inline_syscall6): Likewise.
19013
19014 2016-07-19 Will Newton <will.newton@gmail.com>
19015
19016 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19017 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19018 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19019 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19020 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19021
19022 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19023
19024 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19025 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19026 -mfpmath=387 with $(rtld-CFLAGS).
19027 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19028 $(rtld-CFLAGS).
19029
19030 2016-07-18 Ross Burton <ross.burton@intel.com>
19031 Khem Raj <raj.khem@gmail.com>
19032
19033 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19034 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19035 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19036 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19037 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19038 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19039 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19040 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19041 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19042 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19043 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19044 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19045 R_METAG_TLS_DTPOFF): New.
19046
19047 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19048 Matt Clay <mclay@lycos.com>
19049
19050 [BZ #20357]
19051 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19052 to call __mpsin/__mpcos and to negate values.
19053 * math/auto-libm-test-in: Add test.
19054 * math/auto-libm-test-out: Regenerate.
19055
19056 2016-07-18 Zack Weinberg <zackw@panix.com>
19057
19058 * grp/Makefile: Don't install the internal header grp-merge.h.
19059
19060 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19061
19062 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19063
19064 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19065
19066 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19067
19068 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19069
19070 [BZ #15368]
19071 * sysdeps/unix/sysv/linux/nptl-signals.h
19072 (__nptl_clear_internal_signals): New function.
19073 (__libc_signal_block_all): Likewise.
19074 (__libc_signal_block_app): Likewise.
19075 (__libc_signal_restore_set): Likewise.
19076 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19077 implementation.
19078 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19079 the cached pid/tid value in pthread structure.
19080
19081 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 [BZ #20347]
19084 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19085
19086 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 [BZ #20348]
19089 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19090 preadv64, pwrite64 and pwritev64.
19091
19092 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19093
19094 [BZ #20350]
19095 * posix/tst-preadwrite.c: Renamed to ...
19096 * posix/tst-preadwrite-common.c: This.
19097 (PREAD): Removed.
19098 (PWRITE): Likewise.
19099 (STRINGIFY): Likewise.
19100 (STRINGIFY2): Likewise.
19101 (do_prepare): Make it static and remove function arguments.
19102 (do_test): Likewise.
19103 (PREPARE): Updated.
19104 (TEST_FUNCTION): New.
19105 (name): Make it static.
19106 (fd): Likewise.
19107 (do_prepare): Use create_temp_file.
19108 (do_test): Renamed to ...
19109 (do_test_with_offset): This. Make it static and accept offset.
19110 Properly check return value of PWRITE and PREAD. Return bytes
19111 read. Don't close fd nor unlink name.
19112 * posix/tst-preadwrite.c: Rewrite.
19113 * posix/tst-preadwrite64.c: Likewise.
19114
19115 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 [BZ #20309]
19118 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19119 -mtls-dialect=gnu2 works.
19120 * configure: Regenerated.
19121 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19122 (tests): Add tst-gnu2-tls1.
19123 (modules-names): Add tst-gnu2-tls1mod.
19124 ($(objpfx)tst-gnu2-tls1): New.
19125 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19126 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19127 * elf/tst-gnu2-tls1.c: New file.
19128 * elf/tst-gnu2-tls1mod.c: Likewise.
19129 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19130 bytes for push in the PLT entry to align the stack.
19131
19132 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 [BZ #20349]
19135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19136
19137 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19138
19139 [BZ #18707]
19140 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19141 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19142
19143 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19144
19145 * sysdeps/unix/sysv/linux/sysdep.h
19146 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19147 guards.
19148 * misc/tst-preadvwritev-common.c: New file.
19149 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19150 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19151 a check for files larger than 2GB.
19152
19153 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19154 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19155 * sysdeps/unix/sysv/linux/pread.c
19156 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19157 __OFF_T_MATCHES_OFF64_T.
19158 * sysdeps/unix/sysv/linux/pread64.c
19159 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19160 * sysdeps/unix/sysv/linux/preadv.c
19161 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19162 * sysdeps/unix/sysv/linux/preadv64.c
19163 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19164 * sysdeps/unix/sysv/linux/pwrite.c
19165 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19166 * sysdeps/unix/sysv/linux/pwrite64.c
19167 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19168 * sysdeps/unix/sysv/linux/pwritev.c
19169 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19170 * sysdeps/unix/sysv/linux/pwritev64.c
19171 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19172
19173 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19174
19175 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19176 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19177
19178 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19179
19180 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19181
19182 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19183
19184 [BZ #20240]
19185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19186 (CFLAGS-s_modf-ppc32.c): New variable.
19187 (CFLAGS-s_modff-ppc32.c): Likewise.
19188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19189 (CFLAGS-s_modf-ppc64.c): Likewise.
19190 (CFLAGS-s_modff-ppc64.c): Likewise.
19191
19192 2016-07-07 Andreas Schwab <schwab@suse.de>
19193
19194 [BZ #20263]
19195 * nptl/tst-robust10.c: New test.
19196 * nptl/Makefile (tests): Add tst-robust10.
19197
19198 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19199
19200 [BZ #20263]
19201 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19202
19203 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19204
19205 * sysdeps/s390/linkmap.h (struct link_map_machine):
19206 Remove member gotplt and add member jmprel.
19207 * sysdeps/s390/s390-32/dl-machine.h
19208 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19209 instead of gotplt with &got[3].
19210 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19211 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19212
19213 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19214
19215 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19216
19217 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19218
19219 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19220 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19221 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19222 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19223 * libio/vtables.c (_IO_vtable_check)
19224 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19225 * libio/libioP.h (IO_set_accept_foreign_vtables)
19226 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19227
19228 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19229
19230 [BZ #20314]
19231 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19232 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19233 $(common-objpfx)cmath.
19234 ($(common-objpfx)cstdlib): New target.
19235 ($(common-objpfx)cmath): Likewise.
19236
19237 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19238
19239 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19240
19241 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19242
19243 [BZ #20327]
19244 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19245 are not part of the string.
19246
19247 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19248
19249 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19250 * nptl/tst-cancel4-common.h (fifoname): New variable.
19251 (fifofd): Likewise.
19252 (cl_fifo): New function.
19253 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19254 SIGINT.
19255 (tf_open): Add early cancel test.
19256
19257 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19258
19259 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19260
19261 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19262
19263 * sysdeps/generic/ldsodefs.h
19264 (dl_symbol_visibility_binds_local_p): New inline function.
19265 * elf/dl-addr.c (determine_info): Treat hidden and internal
19266 symbols as local.
19267 * elf/dl-lookup.c (do_lookup_x): Likewise.
19268 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19269
19270 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19271
19272 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19273 invalid exception for a sNaN input.
19274 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19275 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19276 (__nearbyint_vis3): Likewise
19277 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19278 (__nearbyintf_vis3): Likewise
19279 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19280 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19281 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19282 Likewise.
19283 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19284 Likewise.
19285
19286 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19287
19288 [BZ #20139]
19289 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19290 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19291 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19292 2.24 or above.
19293 (HAVE_AVX512_ASM_SUPPORT): Removed.
19294 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19295 * sysdeps/x86_64/configure: Regenerated.
19296 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19297 check unconditional.
19298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19299 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19300 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19301 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19302 Likewise.
19303 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19304 Likewise.
19305 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19306 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19307 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19308 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19309 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19310 Likewise.
19311 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19312 Likewise.
19313 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19314 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19315 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19316 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19317 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19318 Likewise.
19319 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19320 Likewise.
19321 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19322 Likewise.
19323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19324 Likewise.
19325 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19326 Likewise.
19327 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19328 Likewise.
19329 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19330 Likewise.
19331 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19332 Likewise.
19333 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19334 Likewise.
19335 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19336 Likewise.
19337 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19338 Likewise.
19339
19340 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19341
19342 [BZ #20024]
19343 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19344 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19345 of this implementation of vector function.
19346 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19348 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19349 Likewise.
19350 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19352 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19353 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19354 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19355 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19356 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19357 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19358 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19359 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19360 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19361 for testing vector sincos with fixed ABI.
19362 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19363 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19364 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19365 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19366 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19367 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19368 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19369 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19370 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19371 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19372 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19373 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19374 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19375 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19376 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19377 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19378
19379 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19380
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19382
19383 2016-06-30 Anton Blanchard <anton@samba.org>
19384
19385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19386 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19387 s_sinf-ppc64.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19391 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19392
19393 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19394
19395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19397 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19398 e_expf-ppc64.
19399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19402 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19403
19404 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19405
19406 [BZ #20277]
19407 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19408 when SHARED is defined.
19409
19410 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19411
19412 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19413 (index_arch_Prefer_ERMS): Likewise.
19414 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19415 __memcpy_erms for Prefer_ERMS.
19416 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19417 (__memmove_erms): Enabled for libc.a.
19418 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19419 __memmove_erms or Prefer_ERMS.
19420 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19421 __mempcpy_erms for Prefer_ERMS.
19422 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19423 __memset_erms for Prefer_ERMS.
19424
19425 2016-06-30 Andreas Schwab <schwab@suse.de>
19426
19427 [BZ #20262]
19428 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19429 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19430 of memory.
19431
19432 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 [BZ #18645]
19435 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19436 (test-extras): Add tst-cleanupx4aux.
19437 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19438 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19439 tst-cleanupx4aux.o.
19440 * nptl/tst-cleanupx4aux.c: New file.
19441
19442 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19443
19444 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19445
19446 2016-06-29 Andreas Schwab <schwab@suse.de>
19447
19448 [BZ #20260]
19449 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19450 address before the beginning of the string as an integer to avoid
19451 array-bounds warning.
19452
19453 2016-06-28 Richard Henderson <rth@redhat.com>
19454
19455 * elf/elf.h (EM_BPF): New.
19456 (EM_NUM): Update.
19457 (R_BPF_NONE, R_BPF_MAP_FD): New.
19458
19459 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19460 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19461 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19462 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19463 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19464 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19465 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19466 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19467 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19468 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19469 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19470 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19471 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19472 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19473 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19474 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19475 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19476 (EM_NUM): Update.
19477
19478 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19479
19480 [BZ #18960]
19481 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19482 Set _nl_current_LC_CATEGORY_used to two instead of one.
19483
19484 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19485
19486 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19487 (do_test): ... this.
19488 (TEST_FUNCTION): New macro.
19489 Include test-skeleton.c.
19490 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19491 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19492
19493 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19494
19495 [BZ #15479]
19496 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19497 floating-point environment rather than just control word.
19498 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19499 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19500 floating-point environment, with "invalid" exceptions merged in,
19501 rather than just control word.
19502 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19503 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19504 "inexact" exceptions.
19505
19506 [BZ #15479]
19507 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19508 floating-point environment rather than just control word.
19509 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19510 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19511 floating-point environment, with "invalid" exceptions merged in,
19512 rather than just control word.
19513 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19514 * math/libm-test.inc (floor_test_data): Do not allow spurious
19515 "inexact" exceptions.
19516
19517 [BZ #15479]
19518 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19519 floating-point environment rather than just control word.
19520 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19521 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19522 floating-point environment, with "invalid" exceptions merged in,
19523 rather than just control word.
19524 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19525 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19526 "inexact" exceptions.
19527
19528 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19529
19530 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19531 __libc_vfork.
19532 (__vfork) [IS_IN (libc)]: Remove alias.
19533 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19536
19537 2016-06-24 Torvald Riegel <triegel@redhat.com>
19538
19539 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19540 of atomic_compare_and_exchange_bool_rel.
19541 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19542 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19543 catomic_compare_and_exchange_bool_rel): Remove.
19544 * sysdeps/aarch64/atomic-machine.h
19545 (atomic_compare_and_exchange_bool_rel): Likewise.
19546 * sysdeps/alpha/atomic-machine.h
19547 (atomic_compare_and_exchange_bool_rel): Likewise.
19548 * sysdeps/arm/atomic-machine.h
19549 (atomic_compare_and_exchange_bool_rel): Likewise.
19550 * sysdeps/mips/atomic-machine.h
19551 (atomic_compare_and_exchange_bool_rel): Likewise.
19552 * sysdeps/microblaze/atomic-machine.h
19553 ( __arch_compare_and_exchange_bool_8_rel,
19554 __arch_compare_and_exchange_bool_16_rel): Likewise.
19555 * sysdeps/powerpc/atomic-machine.h
19556 ( __arch_compare_and_exchange_bool_8_rel,
19557 __arch_compare_and_exchange_bool_16_rel): Likewise.
19558 * sysdeps/powerpc/powerpc32/atomic-machine.h
19559 ( __arch_compare_and_exchange_bool_32_rel,
19560 __arch_compare_and_exchange_bool_64_rel): Likewise.
19561 * sysdeps/powerpc/powerpc64/atomic-machine.h
19562 ( __arch_compare_and_exchange_bool_32_rel,
19563 __arch_compare_and_exchange_bool_64_rel): Likewise.
19564 * sysdeps/tile/atomic-machine.h
19565 (atomic_compare_and_exchange_bool_rel): Likewise.
19566
19567 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19568
19569 [BZ #20296]
19570 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19571 when either argument is a NaN.
19572 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19573 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19574
19575 * math/libm-test.inc (snan_value_ld): New macro.
19576 (isgreater_test_data): Add sNaN tests.
19577 (isgreaterequal_test_data): Likewise.
19578 (isless_test_data): Likewise.
19579 (islessequal_test_data): Likewise.
19580 (islessgreater_test_data): Likewise.
19581 (isunordered_test_data): Likewise.
19582 (nextafter_test_data): Likewise.
19583 (nexttoward_test_data): Likewise.
19584 (remainder_test_data): Likewise.
19585 (remquo_test_data): Likewise.
19586 (significand_test_data): Likewise.
19587 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19588
19589 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19590
19591 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19592 environment macros are defined.
19593 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19594
19595 2016-06-23 Florian Weimer <fweimer@redhat.com>
19596
19597 [BZ #20191]
19598 Implement vtable verification in libio.
19599 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19600 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19601 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19602 _IO_new_file_init_internal instead of _IO_file_init.
19603 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19604 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19605 * libio/Makefile (routines): Add vtables.
19606 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19607 (_IO_init): Remove, not for internal use.
19608 (_IO_init_internal): Declare, internal replacement for _IO_init.
19609 (_IO_file_init): Remove, not for internal use.
19610 (_IO_new_file_init): Remove, not for internal use.
19611 (_IO_new_file_init_internal): Declare, internal replacement for
19612 _IO_new_file_init.
19613 (_IO_old_file_init): Remove, not for internal use.
19614 (_IO_old_file_init_internal): Declare, internal replacement for
19615 _IO_old_file_init.
19616 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19617 internal use.
19618 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19619 Declare.
19620 (libio_vtable): New macro.
19621 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19622 functions.
19623 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19624 _IO_new_file_init.
19625 (_IO_new_file_init): New externally visible wrapper which disables
19626 vtable verification.
19627 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19628 Define as vtables.
19629 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19630 (_IO_init): New externally visible wrapper which disables
19631 vtable verification.
19632 * libio/iofdopen.c (_IO_new_fdopen): Call
19633 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19634 comment.
19635 * libio/iofopen.c (__fopen_internal): Call
19636 _IO_new_file_init_internal instead of _IO_file_init.
19637 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19638 Define as vtables.
19639 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19640 _IO_new_file_init_internal instead of _IO_file_init.
19641 * libio/iopopen.c (_IO_new_popen): Likewise.
19642 (_IO_proc_jumps): Define as vtable.
19643 * libio/iovdprintf.c (_IO_vdprintf): Call
19644 _IO_new_file_init_internal instead of _IO_file_init.
19645 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19646 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19647 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19648 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19649 _IO_old_file_init.
19650 (_IO_old_file_init): New externally visible wrapper which disables
19651 vtable verification.
19652 (_IO_old_file_jumps): Define as vtable.
19653 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19654 _IO_old_file_init_internal instead of _IO_old_file_init.
19655 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19656 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19657 (_IO_old_proc_jumps): Define as vtable.
19658 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19659 Define as vtables.
19660 * libio/vtables.c: New file.
19661 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19662 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19663 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19664 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19665 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19666 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19667 instead of _IO_init.
19668
19669 2016-06-23 Florian Weimer <fweimer@redhat.com>
19670
19671 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19672
19673 2016-06-23 Florian Weimer <fweimer@redhat.com>
19674
19675 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19676 potentially unused.
19677
19678 2016-06-22 Florian Weimer <fweimer@redhat.com>
19679
19680 * test-skeleton.c (write_message): New function.
19681 * malloc/tst-mallocfork2.c (write_message): Remove.
19682 * debug/tst-longjmp_chk2.c (write_indented): New function.
19683 (write_message): Remove.
19684 (stackoverflow_handler): Call write_indented.
19685
19686 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19687
19688 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19689 "inexact" exceptions after fnstenv.
19690 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19691 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19692 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19693
19694 2015-06-22 Zack Weinberg <zackw@panix.com>
19695
19696 * sysdeps/generic/bits/hwcap.h: Moved to ...
19697 * bits/hwcap.h: Here.
19698
19699 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19700
19701 * sysdeps/aarch64/memcpy.S (memcpy):
19702 Further tuning for performance.
19703
19704 2016-06-21 Florian Weimer <fweimer@redhat.com>
19705
19706 [BZ #20284]
19707 * malloc/arena.c (reused_arena): Do not return NULL if we start
19708 out with a non-corrupted arena.
19709
19710 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19711
19712 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19713 * misc/tst-preadvwritev.c: New file.
19714 * misc/tst-preadvwritev64.c: Likewise.
19715 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19716 usage.
19717 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19718 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19719 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19720 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19721
19722 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19723
19724 [BZ #19654]
19725 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19726 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19727 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19728 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19729 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19730 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19731 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19732 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19733 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19734 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19735 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19736 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19737 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19738 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19739 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19740 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19741 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19742 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19743 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19744 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19745 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19746 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19747 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19748 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19749 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19750 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19751
19752 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19753
19754 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19755 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19756
19757 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19758
19759 * sysdeps/aarch64/memcpy.S (memcpy):
19760 Rewrite of optimized memcpy and memmove.
19761 * sysdeps/aarch64/memmove.S (memmove): Remove
19762 memmove code (merged into memcpy.S).
19763
19764 2016-06-20 Florian Weimer <fweimer@redhat.com>
19765
19766 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19767 * sysdeps/generic/dl-dtv.h: New file.
19768 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19769 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19770 (dtv_t): Remove.
19771 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19772 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19773 (dtv_t): Remove.
19774 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19775 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19776 (dtv_t): Remove.
19777 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19778 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19779 (dtv_t): Remove.
19780 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19781 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19782 (dtv_t): Remove.
19783 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19784 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19785 (dtv_t): Remove.
19786 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19787 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19788 (dtv_t): Remove.
19789 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19790 (dtv_t): Remove.
19791 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19792 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19793 (dtv_t): Remove.
19794 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19795 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19796 (dtv_t): Remove.
19797 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19798 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19799 (dtv_t): Remove.
19800 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19801 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19802 (dtv_t): Remove.
19803 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19804 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19805 (dtv_t): Remove.
19806 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19807 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19808 (dtv_t): Remove.
19809 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19810 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19811 (dtv_t): Remove.
19812 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19813 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19814 (dtv_t): Remove.
19815
19816 2016-06-20 Florian Weimer <fweimer@redhat.com>
19817
19818 Revert symbol poisoning of __malloc_initialize_hook.
19819 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19820 poisoning.
19821 * malloc/Makefile: Remove un-poisoning.
19822 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19823 instead of old__malloc_initialize_hook.
19824 * malloc/malloc-hooks.h: Likewise.
19825 * malloc/malloc.c: Likewise.
19826 * malloc/mcheck-init.c: Likewise.
19827
19828 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19829
19830 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19831
19832 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19833
19834 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19835 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19836 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19837 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19838
19839 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19840
19841 * NEWS: Mention addition of nextup and nextdown.
19842 * manual/arith.texi: Document nextup and nextdown.
19843 * manual/libm-err-tab.pl: Add nextup and nextdown.
19844 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19845 * math/Versions (libm): Add GLIBC_2.24.
19846 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19847 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19848 Add new test.
19849 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19850 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19851 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19852 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19853 (nextup_test_data): Likewise.
19854 (nextdown_test_data): Likewise.
19855 * math/s_nextdown.c: New file.
19856 * math/s_nextdownf.c: Likewise.
19857 * math/s_nextdownl.c: Likewise.
19858 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19859 F(nextup): New function.
19860 F(nextdown): Likewise.
19861 * math/tgmath.h: Add nextup and nextdown.
19862 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19863 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19868 Add nextup and nextdown.
19869 (CFLAGS-nldbl-nextup.c): New variable.
19870 (CFLAGS-nldbl-nextdown.c): Likewise.
19871 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19872 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19873 * sysdeps/nacl/libm.abilist: Update.
19874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19888 Likewise.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19899 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19902
19903 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19904
19905 * manual/pattern.texi: Fix typos & grammar errors.
19906
19907 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19908
19909 * manual/search.texi: Fix typos & grammar errors.
19910
19911 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19912
19913 * manual/message.texi: Fix typos & grammar errors.
19914
19915 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19916
19917 * manual/contrib.texi: Fix spelling typos.
19918 * manual/crypt.texi: Likewise.
19919 * manual/filesys.texi: Likewise.
19920 * manual/locale.texi: Likewise.
19921 * manual/message.texi: Likewise.
19922 * manual/nss.texi: Likewise.
19923 * manual/string.texi: Likewise.
19924
19925 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19926
19927 * manual/locale.texi: Fix typos & grammar errors.
19928
19929 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19930
19931 * manual/charset.texi: Fix typos & grammar errors.
19932
19933 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19934
19935 * manual/string.texi: Fix typos.
19936
19937 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19938
19939 * manual/ctype.texi: Fix typos.
19940
19941 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19942
19943 * manual/memory.texi: Fix various typos & grammar errors.
19944
19945 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19946
19947 [BZ #20255]
19948 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19949 * math/libm-test.inc (fdim_test_data): Add another test.
19950
19951 [BZ #6796]
19952 [BZ #20255]
19953 [BZ #20256]
19954 * math/s_fdim.c: Include <math_private.h>.
19955 (__fdim): Use math_narrow_eval on result.
19956 * math/s_fdimf.c: Include <math_private.h>.
19957 (__fdimf): Use math_narrow_eval on result.
19958 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19959 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19960 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19961 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19962 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19963 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19964 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19965 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19966 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19967 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19968 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19969 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19970 overflow. Add sNaN tests.
19971
19972 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19973 fpclassify.
19974 * math/s_fdimf.c (__fdimf): Likewise.
19975 * math/s_fdiml.c (__fdiml): Likewise.
19976
19977 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19978
19979 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19980 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19982 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19983 ifunc'ed strcasecmp/strncasecmp.
19984 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19985 [EALIGN]: Removed.
19986 [END]: Likewise.
19987 [__strcasecmp]: Define instead of the above to control symbol name.
19988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19989 for __strcasecmp_power8.
19990 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19991 for __strncasecmp_power8.
19992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19993 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19994 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19995 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19996 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19997 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19998
19999 2016-06-13 Joseph Myers <joseph@codesourcery.com>
20000
20001 [BZ #20252]
20002 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20003 arguments when second argument is a NaN.
20004 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20005 qNaN tests.
20006
20007 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20008 (conj_test_data): Likewise.
20009 (copysign_test_data): Likewise.
20010 (creal_test_data): Likewise.
20011 (fma_test_data): Likewise.
20012 (fmod_test_data): Likewise.
20013
20014 [BZ #20250]
20015 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20016 itself.
20017 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20018 zero input to itself.
20019 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20020 Likewise.
20021 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20022 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20024 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20025 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20026
20027 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20028
20029 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20030 * nptl/tst-cancel4-common.c: New file.
20031 * nptl/tst-cancel4-common.h: Likewise.
20032 * nptl/tst-cancel4.c: Move common definitions to
20033 tst-cancel4-common.{c,h} file.
20034 * nptl/tst-cancel4_1.c: New test.
20035 * nptl/tst-cancel4_2.c: New test.
20036
20037 2016-06-13 Florian Weimer <fweimer@redhat.com>
20038
20039 [BZ #20248]
20040 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20041 (write_message): New function.
20042 (stackoverflow_handler): Call it instead of printf, to avoid
20043 excessive stack usage by printf.
20044 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20045
20046 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20047
20048 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20049 (prio_inherit_missing): Remove define.
20050 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20051 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20053 Likewise.
20054 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20055 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20056 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20057 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20058 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20059 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20060
20061 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20062
20063 [BZ #19670]
20064 [BZ #19672]
20065
20066 * io/test-lfs.c (do_prepare): Use xmalloc.
20067 * io/tst-fcntl.c (do_prepare): Likewise.
20068 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20069 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20070 * login/tst-utmp.c (do_prepare): Likewise.
20071 * posix/tst-exec.c (do_prepare): Likewise.
20072 * posix/tst-pathconf.c (prepare): Likewise.
20073 * posix/tst-spawn.c (do_prepare): Likewise.
20074 * posix/tst-truncate.c (do_prepare): Likewise.
20075 * rt/tst-aio.c (do_prepare): Likewise.
20076 * rt/tst-aio64.c (do_prepare): Likewise.
20077
20078 2016-06-11 Florian Weimer <fweimer@redhat.com>
20079
20080 [BZ #20237]
20081 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20082 (get*ent): Set entidx to NULL during initialization. If entidx is
20083 NULL, start iteration from the beginning.
20084
20085 2016-06-11 Florian Weimer <fweimer@redhat.com>
20086
20087 * malloc/malloc.c (musable): Return correct size for dumped fake
20088 mmapped chunk.
20089
20090 2016-06-11 Florian Weimer <fweimer@redhat.com>
20091
20092 [BZ #20222]
20093 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20094 (_IO_cookie_write): Likewise.
20095 (_IO_cookie_seek): Likewise.
20096 (_IO_cookie_close): Likewise.
20097 (_IO_old_cookie_seek): Likewise.
20098 (set_callbacks): New function.
20099 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20100
20101 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20102
20103 * locale/programs/localedef.c (oldstyle_tables): Remove.
20104 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20105
20106 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20107
20108 [BZ #20240]
20109 * math/Makefile (CFLAGS-s_modf.c): New variable.
20110 (CFLAGS-s_modff.c): Likewise.
20111 (CFLAGS-s_modfl.c): Likewise.
20112 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20113
20114 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20115
20116 [BZ #20215]
20117 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20118 [!__GNUC_PREREQ (3,2)]: Likewise.
20119
20120 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20121
20122 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20123 (msghdr.msg_controllen): Likewise.
20124 (cmsghdr.cmsg_len): Likewise.
20125 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20126 ptw-oldsendmsg.
20127 (CFLAGS-oldrecvmsg.c): Remove rule.
20128 (CFLAGS-oldsendmsg.c): Likewise.
20129 (CFLAGS-recvmsg.c): Add rule.
20130 (CFLAGS-sendmsg.c): Likewise.
20131 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20132 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20133 (CFLAGS-recvmsg.c): Remove rule.
20134 (CFLAGS-sendmsg.c): Likewise.
20135 (CFLAGS-oldrecvmsg.c): Likewise.
20136 (CFLAGS-oldsendmsg.c): Likewise.
20137 (CFLAGS-recvmmsg.c): Likewise.
20138 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20139 to kernel defined interfaces.
20140 (msghdr.msg_controllen): Likewise.
20141 (cmsghdr.cmsg_len): Likewise.
20142 (msghdr.__glibc_reserved1): Remove member.
20143 (msghdr.__glibc_reserved2): Likewise.
20144 (cmsghdr.__glibc_reserved1): Likewise.
20145 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20146 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20147 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20148 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20149 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20150 version.
20151 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20152 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20153 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20154 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20155 Remove recvmsg and sendmsg.
20156 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20157 Likewise.
20158 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20159 Likewise.
20160 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20161 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20162 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20163 Likewise.
20164 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20165 Likewise.
20166 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20167 [libc] (GLIBC_2.24): Likewise.
20168 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20169 Likewise.
20170 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20171 Likewise.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20173 [libc] (GLIBC_2.24): Likewise.
20174 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20175 Likewise.
20176 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20177 Likewise.
20178 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20179 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20180 Likewise.
20181 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20182 Likewise.
20183 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20184 Likewise.
20185 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20186 Likewise.
20187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20188 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20189 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20190 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20191 version for {recv,send,recm,sendm}msg.
20192 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20193 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20194 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20195 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20196 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20197 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20198 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20200 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20201 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20205 Likewise.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20207 Likewise.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20211 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20212 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20213 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20214 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20215 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20218 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20219 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20220 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20221
20222 2016-06-10 Florian Weimer <fweimer@redhat.com>
20223
20224 [BZ #19564]
20225 Remove __malloc_initialize_hook from the API.
20226 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20227 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20228 #pragma GCC poison.
20229 * malloc/malloc-hooks.h: New file.
20230 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20231 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20232 (old__malloc_initialize_hook): Rename from
20233 __malloc_initialize_hook to evade poisoning. Turn into compat
20234 symbol.
20235 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20236 __malloc_initialize_hook.
20237 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20238 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20239 * manual/memory.texi (Hooks for Malloc): Remove
20240 __malloc_initialize_hook. Adjust hook example.
20241
20242 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20243
20244 [BZ #20235]
20245 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20246 itself.
20247 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20248 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20249
20250 [BZ #20234]
20251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20252 infinity or NaN input to itself.
20253
20254 [BZ #20233]
20255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20256 to itself.
20257
20258 [BZ #20232]
20259 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20260 itself.
20261
20262 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20263
20264 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20265 __libc_start_main via GOT.
20266
20267 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20268
20269 * sysdeps/x86_64/memcopy.h: New file.
20270 * sysdeps/x86_64/wordcopy.c: Likewise.
20271
20272 2016-06-09 Florian Weimer <fweimer@redhat.com>
20273
20274 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20275 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20276 <cstdlib>.
20277 (optimization_barrier): New.
20278 (do_test): Use it. Call quick_exit in the global namespace.
20279 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20280 instead of <cstdlib>, <thread>.
20281 (optimization_barrier): New.
20282 (non_main_thread): Adjust declaration. Call optimization_barrier.
20283 Call quick_exit in the global namespace.
20284 (do_test): Call optimization_barrier. Use pthread_create,
20285 pthread_join instead of std::thread.
20286
20287 2016-06-09 Andreas Schwab <schwab@suse.de>
20288
20289 [BZ #19755]
20290 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20291 new entries in auto-propagate mode.
20292 * nscd/grpcache.c (cache_addgr): Likewise.
20293
20294 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20295
20296 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20297 New functions.
20298 (add_temp_file): Use them.
20299
20300 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20301
20302 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20303
20304 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20305
20306 [BZ #20229]
20307 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20308 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20309 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20310
20311 [BZ #20228]
20312 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20313 itself.
20314 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20315 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20316
20317 [BZ #20227]
20318 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20319 itself.
20320 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20321 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20322 * math/libm-test.inc (log_test_data): Add sNaN tests.
20323
20324 [BZ #20226]
20325 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20326 itself.
20327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20328 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20329 (exp10_test_data): Likewise.
20330 (expm1_test_data): Likewise.
20331
20332 [BZ #20225]
20333 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20334 itself.
20335 * math/s_ldexpf.c (__ldexpf): Likewise.
20336 * math/s_ldexpl.c (__ldexpl): Likewise.
20337 * math/w_scalbln.c (__w_scalbln): Likewise.
20338 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20339 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20340 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20341 (scalbln_test_data): Likewise.
20342
20343 [BZ #20224]
20344 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20345 argument to itself.
20346 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20347
20348 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20349
20350 [BZ #19776]
20351 * sysdeps/x86_64/memcpy.S: Make it dummy.
20352 * sysdeps/x86_64/mempcpy.S: Likewise.
20353 * sysdeps/x86_64/memmove.S: New file.
20354 * sysdeps/x86_64/memmove_chk.S: Likewise.
20355 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20356 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20357 * sysdeps/x86_64/memmove.c: Removed.
20358 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20359 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20360 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20361 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20362 Likewise.
20363 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20364 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20366 memcpy-sse2-unaligned, memmove-avx-unaligned,
20367 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20369 (__libc_ifunc_impl_list): Replace
20370 __memmove_chk_avx512_unaligned_2 with
20371 __memmove_chk_avx512_unaligned. Remove
20372 __memmove_chk_avx_unaligned_2. Replace
20373 __memmove_chk_sse2_unaligned_2 with
20374 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20375 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20376 with __memmove_avx512_unaligned. Replace
20377 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20378 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20379 with __memcpy_chk_avx512_unaligned. Remove
20380 __memcpy_chk_avx_unaligned_2. Replace
20381 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20382 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20383 Replace __memcpy_avx512_unaligned_2 with
20384 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20385 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20386 with __mempcpy_chk_avx512_unaligned. Remove
20387 __mempcpy_chk_avx_unaligned_2. Replace
20388 __mempcpy_chk_sse2_unaligned_2 with
20389 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20390 Replace __mempcpy_avx512_unaligned_2 with
20391 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20392 Replace __mempcpy_sse2_unaligned_2 with
20393 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20394 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20395 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20396 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20397 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20398 (ENTRY): Removed.
20399 (END): Likewise.
20400 (ENTRY_CHK): Likewise.
20401 (libc_hidden_builtin_def): Likewise.
20402 Don't include ../memcpy.S.
20403 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20404 __memcpy_chk_avx512_unaligned_erms and
20405 __memcpy_chk_avx512_unaligned. Use
20406 __memcpy_chk_avx_unaligned_erms and
20407 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20408 Default to __memcpy_chk_sse2_unaligned.
20409 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20410 Change function suffix from unaligned_2 to unaligned.
20411 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20412 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20413 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20414 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20415 (ENTRY): Removed.
20416 (END): Likewise.
20417 (ENTRY_CHK): Likewise.
20418 (libc_hidden_builtin_def): Likewise.
20419 Don't include ../mempcpy.S.
20420 (mempcpy): New. Add a weak alias.
20421 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20422 __mempcpy_chk_avx512_unaligned_erms and
20423 __mempcpy_chk_avx512_unaligned. Use
20424 __mempcpy_chk_avx_unaligned_erms and
20425 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20426 Default to __mempcpy_chk_sse2_unaligned.
20427
20428 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20429
20430 [BZ #19881]
20431 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20432 into ...
20433 * sysdeps/x86_64/memset.S: This.
20434 (__bzero): Removed.
20435 (__memset_tail): Likewise.
20436 (__memset_chk): Likewise.
20437 (memset): Likewise.
20438 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20439 defined.
20440 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20441 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20442 (__memset_zero_constant_len_parameter): Check SHARED instead of
20443 PIC.
20444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20445 memset-avx2 and memset-sse2-unaligned-erms.
20446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20447 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20448 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20449 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20450 (__bzero): Enabled.
20451 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20452 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20453 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20454 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20455 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20456 (memset): Removed.
20457 (__memset_chk): Likewise.
20458 (MEMSET_SYMBOL): New.
20459 (libc_hidden_builtin_def): Replace __memset_sse2 with
20460 __memset_sse2_unaligned.
20461 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20462 __memset_chk_sse2 and __memset_chk_avx2 with
20463 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20464 Use __memset_chk_sse2_unaligned_erms or
20465 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20466 __memset_chk_avx512_unaligned_erms and
20467 __memset_chk_avx512_unaligned.
20468
20469 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20470
20471 * math/gen-auto-libm-test.c (fp_format_desc): remove
20472 suffix member.
20473 (output_generic_value): Remove usage of suffix member,
20474 and the resulting unuse of the fp_format argument.
20475 (output_for_one_input_case): Remove unused fp_format
20476 parameter.
20477
20478 * math/auto-libm-test-out: Regenerate.
20479
20480 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20481 usage with TEST_COND_ibm128.
20482 (TEST_COND_flt_32): Remove.
20483 (TEST_COND_dbl_64): Remove.
20484 (TEST_COND_ldbl_96_intel): Remove.
20485 (TEST_COND_ldbl_96_m68k): Remove.
20486 (TEST_COND_ldbl_128): Remove.
20487
20488 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20489
20490 * auto-libm-test-in:
20491 Replace flt-32 usage with binary32.
20492 Replace dbl-64 usage with binary64.
20493 Replace ldbl-intel-96 usage with intel96.
20494 Replace ldbl-m68k-96 usage with m68k96.
20495 Replace ldbl-128ibm usage with ibm128.
20496 Replace ldbl-128 usage with binary128.
20497
20498 * auto-libm-test-out: Regenerate.
20499
20500 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20501
20502 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20503 (parse_ulps): Dynamically generate type name matching
20504 string from all_floats.
20505 (get_ulps): Generate the ulps as an array instead.
20506 (output_ulps): Dynamically compose the type based
20507 on the number of supported formats, and print
20508 the indices as type specific helper macros.
20509
20510 * math/libm-test.inc: Remove comment about CHOOSE.
20511 (ulp_data): Generate the type in libm-test-ulps.h.
20512 (ULP_IDX): New macro.
20513 (find_ulps): Update usage of max_ulp.
20514
20515 * math/test-double-vlen2.h (CHOOSE): Remove.
20516 * math/test-double-vlen4.h (CHOOSE): Likewise.
20517 * math/test-double-vlen8.h (CHOOSE): Likewise.
20518 * math/test-float.c (CHOOSE): Likewise.
20519 * math/test-float-finite.c (CHOOSE): Likewise.
20520 * math/test-double.c (CHOOSE): Likewise.
20521 * math/test-double-finite.c (CHOOSE): Likewise.
20522 * math/test-idouble.c (CHOOSE): Likewise.
20523 * math/test-ifloat.c (CHOOSE): Likewise.
20524 * math/test-ildoubl.c (CHOOSE): Likewise.
20525 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20526 * math/test-ldouble.c (CHOOSE): Likewise.
20527
20528 * math/test-float.h (TEST_FLOAT): Remove.
20529 * math/test-double.h (TEST_DOUBLE): Likewise.
20530 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20531
20532 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20533
20534 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20535 (parse_args): Strip C suffix from floating point literals
20536 typed with 'f' and wrap them with LIT().
20537
20538 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20539 (test_ff_f_data_nexttoward): Rename to
20540 (test_fj_f_data): New struct.
20541 (nexttoward_test_data): Relabel tests as
20542 TEST_fj_f instead of TEST_ff_f.
20543
20544 2016-06-08 Florian Weimer <fweimer@redhat.com>
20545
20546 Emacs bug 23726.
20547 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20548 (__libc_realloc): Correct size computation for dumped fake mmapped
20549 chunks.
20550
20551 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20552
20553 [BZ #20219]
20554 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20555 to itself.
20556 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20557
20558 [BZ #20218]
20559 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20560 to itself.
20561 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20562
20563 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20564
20565 [BZ #20195]
20566 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20567 check to ...
20568 (init_cpu_features): Here.
20569
20570 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20571
20572 [BZ #20214]
20573 * sysdeps/unix/sysv/linux/bits/in.h
20574 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20575 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20576 Define to 1.
20577 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20578 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20579 Define to 0.
20580 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20581 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20582
20583 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20584
20585 [BZ #20198]
20586 * stdlib/Makefile (tests): Add tst-quick_exit, and
20587 tst-thread-quick_exit.
20588 [ifeq ($(have-cxx-thread_local),yes)]
20589 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20590 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20591 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20592 (LDLIBS-tst-thread-quick_exit): Likewise.
20593 [ifneq ($(have-cxx-thread_local),yes)]
20594 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20595 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20596 If run_dtors is true call __call_tls_dtors.
20597 (exit): Call __run_exit_handlers with run_dtors set to true.
20598 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20599 definition.
20600 * stdlib/quick_exit.c (quick_exit): Remove function.
20601 (__new_quick_exit): New function.
20602 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20603 function.
20604 * stdlib/tst-quick_exit.cc: New file.
20605 * stdlib/tst-thread-quick_exit.cc: New file.
20606 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20607 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20608 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20609 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20610 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20611 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20612 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20613 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20614 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20616 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20617 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20618 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20619 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20620 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20621 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20627 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20628 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20629 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20630 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20633 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20634 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20635 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20636
20637 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20638
20639 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20640 a typo in comments.
20641
20642 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20643
20644 [BZ #20213]
20645 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20646 argument to itself.
20647 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20648
20649 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20650
20651 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20652 required flags.
20653 (CFLAGS-pwritev64.c): Likewise.
20654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20655 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20656 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20657 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20658 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20659 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20660 syscall from auto-generation.
20661 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20662 [WORDSIZE == 64] (pwritev64): Remove macro.
20663 [!PWRITEV] (PWRITEV): Likewise.
20664 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20665 [!PWRITEV] (PWRITE): Likewise.
20666 [!PWRITEV] (OFF_T): Likewise.
20667 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20668 (LO_HI_LONG): Remove macro.
20669 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20670 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20671 (PWRITEV): Remove macro.
20672 (PWRITEV_REPLACEMENTE): Likewise.
20673 (PWRITE): Likewise.
20674 (OFF_T): Likewise.
20675 (pwritev64): New function.
20676 * nptl/tst-cancel4.c (tf_writev): Add test.
20677
20678 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20679 required flags.
20680 (CFLAGS-preadv64.c): Likewise.
20681 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20682 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20683 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20684 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20685 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20686 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20687 syscall from auto-generation.
20688 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20689 [WORDSIZE == 64] (preadv64): Remove macro.
20690 [!PREADV] (PREADV): Likewise.
20691 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20692 [!PREADV] (PREAD): Likewise.
20693 [!PREADV] (OFF_T): Likewise.
20694 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20695 (LO_HI_LONG): Remove macro.
20696 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20697 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20698 (PREADV): Remove macro.
20699 (PREADV_REPLACEMENTE): Likewise.
20700 (PREAD): Likewise.
20701 (OFF_T): Likewise.
20702 (preadv64): New function.
20703 * nptl/tst-cancel4.c (tf_preadv): Add test.
20704
20705 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20706
20707 [BZ #20212]
20708 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20709 argument to itself.
20710 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20711
20712 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20713
20714 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20715 New symbol defined as libc_hidden_def.
20716 (strcasestr): Became a weak alias to __strcasestr.
20717 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20718 according to multi-arch support. Move __stpncpy hidden
20719 definition from here to...
20720 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20721 symbol stpncpy.
20722 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20723 libc_hidden_builtin_def.
20724 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20725 memset symbol to use when multi-arch support is available.
20726
20727 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20728
20729 * dlfcn/tst-rec-dlopen.c: Include string.h.
20730
20731 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20732
20733 * manual/install.texi: Remove mention of --without-tls
20734 * INSTALL: Regenerate.
20735
20736 2016-06-05 Florian Weimer <fweimer@redhat.com>
20737
20738 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20739 Remove.
20740 (call_function, interposed_malloc_called): New variables.
20741 (malloc): New function.
20742 (do_test): Do not change malloc hooks. Initialize malloc. Set
20743 and clear call_function as needed.
20744
20745 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20746
20747 * include/wchar.h (__wmemset): Use __typeof.
20748
20749 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20750
20751 * include/wchar.h (__wmemset): Declare function without typeof.
20752
20753 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20754
20755 [BZ #20205]
20756 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20757 exponent when incrementing negative subnormal with low mantissa
20758 word zero.
20759 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20760 Add another test.
20761
20762 2016-06-03 Florian Weimer <fweimer@redhat.com>
20763
20764 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20765 __wmemset instead of wmemset.
20766
20767 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20768
20769 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20770 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20771 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20772 __USE_KERNEL_IPV6_DEFS to 0.
20773 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20774 Update comment.
20775
20776 2016-06-01 Florian Weimer <fweimer@redhat.com>
20777
20778 [BZ #19861]
20779 Do not use IFUNC resolver with potentially unrelocated symbol.
20780 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20781 (DEFINE_FORK): Remove macro and inline definition.
20782 (fork_alias): Renamed from fork_ifunc.
20783 (__fork_alias): Renamed from __fork_ifunc.
20784
20785 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20786
20787 [BZ 19653]
20788 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20789 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20790
20791 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20792
20793 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20794 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20795 i386-linux-gnu).
20796 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20797 Set to no.
20798 * sysdeps/mach/hurd/configure: Refresh.
20799
20800 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20801
20802 [BZ #20178]
20803 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20804 on failure instead of exit.
20805
20806 2016-05-30 Roland McGrath <roland@hack.frob.com>
20807
20808 [BZ #3629]
20809 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20810 of POSIX.1-2008.
20811
20812 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20813
20814 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20815 Use PLT entry for calling _hurd_self_sigstate.
20816
20817 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20818
20819 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20820 available logical processors with SMT level type sharing L2
20821 cache for Intel processors.
20822
20823 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20824
20825 [BZ #20160]
20826 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20827 argument to itself before returning the result.
20828 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20829 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20830 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20832 Likewise.
20833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20834 Likewise.
20835 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20836 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20837 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20838 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20839 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20840 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20841
20842 [BZ #20160]
20843 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20844 argument to itself before returning the result.
20845 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20846 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20847 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20849 Likewise.
20850 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20851 Likewise.
20852 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20853 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20854 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20855 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20856 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20857 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20858
20859 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20860
20861 * libm-test.inc: Replace usage of M_El with
20862 (lit_e): New macro.
20863
20864 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20865
20866 * libm-test.inc: Replace usage of M_PI_4l with
20867 (lit_pi_4_d): New macro.
20868
20869 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20870
20871 * libm-test.inc: Replace usage of M_PIl with
20872 (lit_pi): New macro.
20873
20874 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20875
20876 * libm-test.inc: Replace usage of M_PI2l with
20877 (lit_pi_2_d): New macro.
20878
20879 * math/test-double.h (LITM): New macro.
20880 * math/test-float.h (LITM): Likewise.
20881 * math/test-ldouble.h (LITM): Likewise.
20882
20883 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20884
20885 * libm-test.inc (M_PI_34l): Rename to
20886 (lit_pi_3_m_4_d): New Macro.
20887 (M_PI_34_LOG10El): Rename to
20888 (lit_pi_3_m_4_ln10_m_d): New Macro.
20889 (M_PI2_LOG10El): Rename to
20890 (lit_pi_2_ln10_m_d): New Macro.
20891 (M_PI4_LOG10El): Rename to
20892 (lit_pi_4_ln10_m_d): New Macro.
20893 (M_PI_LOG10El): Rename to
20894 (lit_pi_ln10_d): New Macro.
20895
20896 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20897
20898 [BZ #20157]
20899 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20900 determine whether to negate low half if [_ARCH_PPCGR], and integer
20901 comparison otherwise.
20902 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20903 determine whether to negate low half.
20904
20905 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20906 (NO_TEST_INLINE_DOUBLE): Likewise.
20907 (TEST_COND_x86_64): Likewise.
20908 (TEST_COND_x86): Likewise.
20909 (M_PI_6l): Likewise.
20910
20911 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20912
20913 * math/libm-test.inc:
20914 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20915 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20916 (TEST_LDOUBLE): Update usage to evaluate as true if
20917 the guarded tests match the property being tested.
20918 (LDBL_MAX_EXP): Change to MAX_EXP.
20919 (LDBL_MIN_EXP): Change to MIN_EXP.
20920 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20921 nexttoward tests.
20922
20923 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20924
20925 * math/libm-test.inc:
20926 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20927 (TYPE_MIN): Likewise.
20928 (TYPE_TRUE_MIN): Likewise.
20929 (TYPE_MAX): Likewise.
20930 (MIN_EXP): Likewise.
20931 (MAX_EXP): Likewise.
20932 (MANT_DIG): Likewise.
20933
20934 (FSTR_MAX): New macro.
20935 (__CONCATX): Likewise.
20936 (QTYPE_STR): Likewise.
20937 (TEST_COND_binary32): Likewise.
20938 (TEST_COND_binary64): Likewise.
20939 (TEST_COND_binary128): Likewise.
20940 (TEST_COND_ibm128): Likewise.
20941 (TEST_COND_intel96): Likewise.
20942 (TEST_COND_m68k96): Likewise.
20943
20944 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20945 (TEST_COND_dbl_64): Likewise.
20946 (TEST_COND_ldbl_96_intel): Likewise.
20947 (TEST_COND_ldbl_96_m68k): Likewise.
20948 (TEST_COND_ldbl_128): Likewise.
20949 (TEST_COND_ldbl_128ibm): Likewise.
20950
20951 (plus_zero): Redefine using LIT macro.
20952 (minus_zero): Likewise.
20953 (plus_infty): Redefine as (INF).
20954 (minux_infty): Redefine as (-INF).
20955 (max_value): Redefine as TYPE_MAX.
20956 (min_value): Redefine as TYPE_MIN.
20957 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20958
20959 (print_float): Refactor to use snprintf to convert FLOAT values
20960 to string. This brings it closer to dropin replacement of strtof
20961 for the TS 18661 defined types.
20962 (update_stats): Likewise.
20963 (print_complex_function_ulps): Likewise.
20964 (print_max_error): Likewise.
20965 (print_complex_max_error): Likewise.
20966 (check_float_internal): Likewise.
20967
20968 * math/test-float.h (PREFIX): New macro.
20969 (LIT): Likewise.
20970 (TYPE_STR): Likewise.
20971 (FTOSTR): Likewise.
20972
20973 * math/test-double.h (PREFIX): New macro.
20974 (LIT): Likewise.
20975 (TYPE_STR): Likewise.
20976 (FTOSTR): Likewise.
20977
20978 * math/test-ldouble.h (PREFIX): New macro.
20979 (LIT): Likewise.
20980 (TYPE_STR): Likewise.
20981 (FTOSTR): Likewise.
20982
20983 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20984
20985 [BZ #20156]
20986 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20987 to itself when zero or not finite.
20988 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20992
20993 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20994
20995 [BZ #20153]
20996 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20997 x * x + x for infinities and NaNs.
20998
20999 [BZ #20151]
21000 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21001 argument to itself before returning result.
21002 (__ieee754_y0l): Likewise.
21003 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21004 (__ieee754_y1l).
21005
21006 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21007 (atan_test_data): Likewise.
21008 (ceil_test_data): Likewise.
21009 (cos_test_data): Likewise.
21010 (cosh_test_data): Likewise.
21011 (erf_test_data): Likewise.
21012 (exp2_test_data): Likewise.
21013 (fabs_test_data): Likewise.
21014 (floor_test_data): Likewise.
21015 (ilogb_test_data): Likewise.
21016 (j0_test_data): Likewise.
21017 (j1_test_data): Likewise.
21018 (jn_test_data): Likewise.
21019 (lgamma_test_data): Likewise.
21020 (lrint_test_data): Likewise.
21021 (llrint_test_data): Likewise.
21022 (logb_test_data): Likewise.
21023 (lround_test_data): Likewise.
21024 (llround_test_data): Likewise.
21025 (nearbyint_test_data): Likewise.
21026 (rint_test_data): Likewise.
21027 (round_test_data): Likewise.
21028 (sin_test_data): Likewise.
21029 (sincos_test_data): Likewise.
21030 (sinh_test_data): Likewise.
21031 (sqrt_test_data): Likewise.
21032 (tan_test_data): Likewise.
21033 (tanh_test_data): Likewise.
21034 (tgamma_test_data): Likewise.
21035 (trunc_test_data): Likewise.
21036 (y0_test_data): Likewise.
21037 (y1_test_data): Likewise.
21038 (yn_test_data): Likewise.
21039
21040 * math/libm-test.inc: Update comment about NaN testing.
21041 (TEST_SNAN): New macro.
21042 (snan_value): Likewise.
21043 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21044 (fpclassify_test_data): Add sNaN tests.
21045 (isfinite_test_data): Likewise.
21046 (isinf_test_data): Likewise.
21047 (isnan_test_data): Likewise.
21048 (isnormal_test_data): Likewise.
21049 (issignaling_test_data): Likewise.
21050 (signbit_test_data): Likewise.
21051 * math/gen-libm-test.pl (%beautify): Add snan_value.
21052 (show_exceptions): Add argument $test_snan.
21053 (parse_args): Handle snan_value as non-finite. Update call to
21054 show_exceptions.
21055 * math/Makefile (libm-test-no-inline-cflags): Add
21056 -fsignaling-nans.
21057
21058 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21059
21060 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21061 (CFLAGS-oldsendmsg.c): Add rule.
21062 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21063 Correct recvmsg symbol name.
21064 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21065 Likewise.
21066
21067 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21068
21069 * sysdeps/unix/sysv/linux/Makefile
21070 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21071 oldsendmmsg.
21072 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21073 sendmmsg.
21074 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21077 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21082 Likewise.
21083 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21084 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21085 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21086 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21087 iovlen and controllen fields to adjust to POSIX specification.
21088 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21089
21090 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21091 and change to correct expected type.
21092 (msghdr.msg_controllen): Likewise.
21093 (cmsghdr.cmsg_len): Likewise.
21094 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21095 expected POSIX assumption about the size.
21096 (msghdr.msg_controllen): Likewise.
21097 (msghdr.__glibc_reserved1): Likewise.
21098 (msghdr.__glibc_reserved2): Likewise.
21099 (cmsghdr.cmsg_len): Likewise.
21100 (cmsghdr.__glibc_reserved1): Likewise.
21101 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21102 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21103 (CFLAGS-sendmsg.c): Remove rule.
21104 (CFLAGS-recvmsg.c): Likewise.
21105 (CFLAGS-oldsendmsg.c): Add rule.
21106 (CFLAGS-oldrecvmsg.c): Likewise.
21107 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21108 recvmsg and sendmsg.
21109 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21110 Likewise.
21111 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21112 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21113 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21114 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21115 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21116 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21117 Likewise.
21118 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21119 Likewise.
21120 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21121 Likewise.
21122 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21123 Likewise.
21124 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21125 Likewise.
21126 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21127 Likewise.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21129 (GLIBC_2.24): Likewise.
21130 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21131 Likewise.
21132 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21133 Likewise.
21134 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21135 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21136 Likewise.
21137 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21138 Likewise.
21139 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21140 Likewise.
21141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21142 (GLIBC_2.24): Likewise.
21143 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21144 Likewise.
21145 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21146 Likewise.
21147 * sysdeps/unix/sysv/linux/Makefile
21148 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21149 (CFLAGS-sendmsg.c): Add rule.
21150 (CFLAGS-recvmsg.c): Likewise.
21151 (CFLAGS-oldsendmsg.c): Likewise.
21152 (CFLAGS-oldrecvmsg.c): Likewise.
21153 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21154 initialization.
21155 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21156 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21157 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21158 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21159 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21160 iovlen and controllen fields to adjust to POSIX specification.
21161 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21162 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21163 added recvmsg and sendmsg.
21164 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21177 Likewise.
21178 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21180 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21181 Likewise.
21182 Likewise.
21183 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21185 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21186 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21187 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21188 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21190 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21192 Likewise.
21193 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21194 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21195
21196 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21197 from auto-generation.
21198 (sendmsg): Likewise.
21199 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21200 (sendmsg): Likewise.
21201 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21202 (sendmsg): Likewise.
21203 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21204 (sendmsg): Likewise.
21205 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21206 (sendmsg): Likewise.
21207 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21208 (sendmsg): Likewise.
21209 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21210 Likewise.
21211 (sendmsg): Likewise.
21212 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21213 (sendmsg): Likewise.
21214 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21215 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21216 Remove.
21217 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21218 Likewise.
21219 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21220 Undefine.
21221 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21222 Likewise.
21223 * sysdeps/unix/sysv/linux/kernel-features.h
21224 (__ASSUME_SENDMSG_SYSCALL): Define.
21225 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21226 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21227 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21228 Remove.
21229 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21230 Likewise.
21231 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21232 Undefine.
21233 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21234 Likewise.
21235 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21236 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21237 Remove.
21238 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21239 Likewise.
21240 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21241 Undefine.
21242 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21243 Likewise.
21244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21245 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21246 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21247 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21248 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21249 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21250 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21251 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21252 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21253
21254 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21255
21256 * stdlib/gen-tst-strtod-round.c: Add backslash to
21257 compile command in comment.
21258 (printfp): Remove the literal suffix, and define an infinite
21259 value as INF to avoid expansion clash with INFINITY.
21260 (round_str): Remove the literal suffix.
21261 (round_for_all): Likewise, remove the now duplicate ldbl-64
21262 entry, and remove some magic constants.
21263
21264 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21265 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21266 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21267 (_CONCAT): New macro.
21268 (CONCAT): Likewise.
21269 (CHOOSE_ld): Likewise.
21270 (CHOOSE_f): Likewise.
21271 (CHOOSE_d): Likewise.
21272 (FTYPE_MEMBER): Likewise.
21273 (BOOL_MEMBER): Likewise.
21274 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21275 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21276 (_XNTRY): Likewise.
21277 (XNTRY): Likewise.
21278 (_ENTRY): Likewise.
21279 (ENTRY): Likewise.
21280 (test_exactness): Generate members via macro.
21281 (test_results): Likewise.
21282 (test): Update members.
21283 (TEST): Redefine using new macros.
21284 (INF): New macro.
21285 (fetestmodes): New structure.
21286 (do_test): Refactor to be type generic.
21287 (test_in_one_mode): Refactor duplicate code into
21288 (GEN_ONE_TEST): New macro.
21289
21290 * stdlib/tst-strtod-round-data.h: Regenerate.
21291
21292 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21293 Extend to pass additional arbitrary parameters to
21294 generators.
21295
21296 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21297
21298 [BZ #15479]
21299 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21300 floating-point state after first floating-point operation on
21301 input. Restore full floating-point state instead of just rounding
21302 mode.
21303 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21304 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21305 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21306 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21307 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21308
21309 [BZ #15479]
21310 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21311 floating-point state after first floating-point operation on
21312 input. Restore full floating-point state instead of just rounding
21313 mode.
21314 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21315 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21316 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21317 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21318 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21319
21320 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21321
21322 [BZ #19727]
21323 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21324 valid high surrogate.
21325 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21326 of an utf16 surrogate.
21327 * iconv/gconv_simple.c (BODY): Likewise.
21328 * iconvdata/bug-iconv12.c: New file.
21329 * iconvdata/Makefile (tests): Add bug-iconv12.
21330
21331 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21332
21333 [BZ #19726]
21334 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21335 outptrp in case of an illegal input.
21336 * iconv/tst-iconv6.c: New file.
21337 * iconv/Makefile (tests): Add tst-iconv6.
21338
21339 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21340
21341 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21342 an error in case of a value in range of an utf16 low surrogate.
21343
21344 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21345
21346 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21347 an error in case of a value in range of an utf16 low surrogate.
21348
21349 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21350
21351 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21352 Move to ...
21353 * sysdeps/s390/Makefile: ... here.
21354 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21355 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21356 (BRANCH_ON_COUNT): New define.
21357 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21358 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21359 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21360 run on s390-32, too.
21361 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21362 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21363 run on s390-32, too.
21364 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21365 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21366 run on s390-32, too.
21367
21368 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21369
21370 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21371 etf3eh or new vector loop-variant.
21372
21373 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21374
21375 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21376 etf3eh or new vector loop-variant.
21377
21378 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21379
21380 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21381 or new vector loop-variant.
21382
21383 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21384
21385 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21386 Rename to TR_LOOP and usage of tr instead of troo instruction.
21387
21388 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21389
21390 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21391 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21392
21393 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21394
21395 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21396 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21397 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21398 New override define.
21399 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21400
21401 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21402
21403 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21404 * sysdeps/s390/configure.ac: Add test for S390 vector register
21405 support in gcc.
21406 * sysdeps/s390/configure: Regenerated.
21407
21408 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21409
21410 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21411 Install file from $(objpfx)gconv-modules.
21412 ($(objpfx)gconv-modules): Concatenate architecture specific file
21413 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21414 * sysdeps/s390/gconv-modules: New file.
21415 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21416 Deleted.
21417 ($(objpfx)gconv-modules-s390): Deleted.
21418 (sysdeps-gconv-modules): New variable.
21419
21420 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21421
21422 [BZ #15479]
21423 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21424 of immediate operand to rounding instruction.
21425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21426 Likewise.
21427 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21428 Likewise.
21429 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21430 Likewise.
21431
21432 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21433
21434 * math/libm-test.inc (MIN_EXP): Directly define as
21435 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21436
21437 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21438
21439 * math/libm-test.inc (MANT_DIG): Directly define as
21440 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21441
21442 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21443
21444 * stdlib/gen-tst-strtod-round.c (main):
21445 Change usage to more closely match the generated
21446 output. Add usage and compilation instructions.
21447 (string_to_fp): Add and use FILE* parameter as
21448 output target.
21449 (print_fp): Likewise.
21450 (round_str): Likewise.
21451 (round_for_all): Likewise.
21452 * stdlib/tst-strtod-round.c (tests): Move into
21453 * stdlib/tst-strtod-round-data.h: New file.
21454
21455 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21456
21457 [BZ #15479]
21458 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21459 (__round): Do not force "inexact" exception.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21461 variable.
21462 (__round): Do not force "inexact" exception.
21463 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21464 (__roundf): Do not force "inexact" exception.
21465 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21466 (__roundl): Do not force "inexact" exception.
21467 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21468 (__roundl): Do not force "inexact" exception.
21469 * math/libm-test.inc (round_test_data): Do not allow spurious
21470 "inexact" exceptions.
21471
21472 [BZ #15479]
21473 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21474 exception in comment.
21475 (huge): Remove variable.
21476 (__floor): Do not force "inexact" exception.
21477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21478 "inexact" exception in comment.
21479 (huge): Remove variable.
21480 (__floor): Do not force "inexact" exception.
21481 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21482 exception in comment.
21483 (huge): Remove variable.
21484 (__floorf): Do not force "inexact" exception.
21485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21486 exception in comment.
21487 (huge): Remove variable.
21488 (__floorl): Do not force "inexact" exception.
21489
21490 [BZ #15479]
21491 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21492 exception in comment.
21493 (huge): Remove variable.
21494 (__ceil): Do not force "inexact" exception.
21495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21496 "inexact" exception in comment.
21497 (huge): Remove variable.
21498 (__ceil): Do not force "inexact" exception.
21499 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21500 (__ceilf): Do not force "inexact" exception.
21501 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21502 exception in comment.
21503 (huge): Remove variable.
21504 (__ceill): Do not force "inexact" exception.
21505
21506 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 * config.h.in (BIND_NOW): New.
21509 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21510 * configure: Regenerated.
21511 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21512 indirect branch via the GOT slot.
21513
21514 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21515
21516 [BZ #19765]
21517 * sysdeps/s390/mempcpy.S: New File.
21518 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21519 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21520 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21521 Add mempcpy variants.
21522 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21523 (memcpy): Adjust to be usable from mempcpy entry point.
21524 (__memcpy_mvcle): Likewise.
21525 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21526 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21527 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21528 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21529 (__memcpy_z10): Likewise.
21530 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21531
21532 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21533
21534 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21535 Remove __GI_ symbol.
21536 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21537 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21538 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21539 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21540 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21541 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21542
21543 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21544
21545 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21546 Use cghi instead of chi to compare 64bit value.
21547
21548 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21549
21550 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21551 Jump to 1MB check before executing mvc-loop.
21552
21553 2016-05-24 Florian Weimer <fweimer@redhat.com>
21554
21555 [BZ #6527]
21556 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21557 unconditionally.
21558 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21559
21560 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21561
21562 * stdlib/tst-strtod6.c (do_test): Use new type generic
21563 invocation of the test function.
21564 (test): Refactor into ...
21565 (TEST_STRTOD): New macro base function.
21566
21567 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21568
21569 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21570 (TEST_STRTOD): New macro.
21571 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21572
21573 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21574
21575 * stdlib/tst-strtod6.c (do_test): Use new type generic
21576 invocation of the test function.
21577 (test): Refactor into ...
21578 (TEST_STRTOD): New macro base function.
21579
21580 2016-05-23 Florian Weimer <fweimer@redhat.com>
21581
21582 CVE-2016-4429
21583 [BZ #20112]
21584 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21585 payload.
21586
21587 2016-05-23 Florian Weimer <fweimer@redhat.com>
21588
21589 [BZ #20111]
21590 * bits/sockaddr.h (_SS_SIZE): Define.
21591 * bits/socket.h (_SS_SIZE): Remove.
21592 (_SS_PADSIZE): Adjust to account for all padding.
21593 (struct sockaddr_storage): Update comment. Avoid implicit
21594 padding.
21595 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21596 (_SS_PADSIZE): Adjust to account for all padding.
21597 (struct sockaddr_storage): Update comment. Avoid implicit
21598 padding.
21599 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21600 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21601 (_SS_PADSIZE): Adjust to account for all padding.
21602 (struct sockaddr_storage): Update comment. Avoid implicit
21603 padding.
21604 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21605 __SS_SIZE is 126 in this version.
21606 * inet/tst-sockaddr.c: New file.
21607 * inet/Makefile (tests): Add tst-sockaddr.c
21608 (tst-sockaddr.c): Compile with non-strict aliasing.
21609
21610 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21611
21612 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21613 [XPG3 || XPG4].
21614 (NL_ARGMAX): Also expect for [XPG3].
21615 (NL_LANGMAX): Likewise.
21616 (NL_MSGMAX): Likewise.
21617 (NL_NMAX): Likewise.
21618 (NL_SETMAX): Likewise.
21619 (NL_TEXTMAX): Likewise.
21620 (NZERO): Likewise.
21621 (TMP_MAX): Likewise.
21622 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21623 variable.
21624
21625 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21626 (PF_MAX): Update value.
21627 (AF_KCM): New macro.
21628 (SOL_NETBEUI): Likewise.
21629 (SOL_LLC): Likewise.
21630 (SOL_DCCP): Likewise.
21631 (SOL_NETLINK): Likewise.
21632 (SOL_TIPC): Likewise.
21633 (SOL_RXRPC): Likewise.
21634 (SOL_PPPOL2TP): Likewise.
21635 (SOL_BLUETOOTH): Likewise.
21636 (SOL_PNPIPE): Likewise.
21637 (SOL_RDS): Likewise.
21638 (SOL_IUCV): Likewise.
21639 (SOL_CAIF): Likewise.
21640 (SOL_ALG): Likewise.
21641 (SOL_NFC): Likewise.
21642 (SOL_KCM): Likewise.
21643 (MSG_BATCH): New enum value and macro.
21644
21645 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 [BZ #18185]
21648 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21649 sharing L2 cache to 2 for Knights Landing.
21650
21651 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21652
21653 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21654 (FTW_DP): Do not expect for [XPG3 || XPG4].
21655 (FTW_SL): Do not expect for [XPG3].
21656 (FTW_SLN): Likewise.
21657 (FTW_PHYS): Likewise.
21658 (FTW_MOUNT): Likewise.
21659 (FTW_DEPTH): Likewise.
21660 (FTW_CHDIR): Likewise.
21661 (nftw): Likewise.
21662 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21663 variable.
21664
21665 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21666
21667 * manual/errno.texi: Fix various typos & grammar errors.
21668
21669 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21670
21671 * manual/intro.texi: Fix duplicated typo.
21672
21673 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21674
21675 [BZ #13304]
21676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21677 <float.h>, <math_private.h> and <stdlib.h>.
21678 (add_split): New function.
21679 (mul_split): Likewise.
21680 (ext_val): New typedef.
21681 (store_ext_val): New function.
21682 (mul_ext_val): New function.
21683 (compare): New function.
21684 (add_split_ext): New function.
21685 (__fmal): After checking for Inf, NaN and zero, compute result as
21686 an exact sum of scaled double values in round-to-nearest before
21687 adding those up and adjusting for other rounding modes.
21688 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21689 tests of fma.
21690 * math/auto-libm-test-out: Regenerated.
21691
21692 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21693
21694 [BZ #20119]
21695 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21696 processor level type mask for CPUID with EAX == 11.
21697
21698 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21701 logical threads if the HTT bit is 0.
21702 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21703 (index_cpu_HTT): Likewise.
21704 (reg_HTT): Likewise.
21705
21706 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21707
21708 [BZ #20115]
21709 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21710 Remove alignments on jump targets.
21711
21712 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21713
21714 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21715 (getpwent): Likewise.
21716 (setpwent): Likewise.
21717 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21718 variable.
21719
21720 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21721 (remque): Likewise.
21722 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21723 variable.
21724
21725 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21726
21727 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21728 not being tested.
21729
21730 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21731
21732 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21733 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21734 call.
21735 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21736 (__condvar_cleanup1): Likewise.
21737
21738 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21741 New
21742 (__pthread_unwind): Renamed to ...
21743 (PTHREAD_UNWIND): This.
21744 (__pthread_enable_asynccancel): Replace
21745 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21746
21747 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21748
21749 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21750 (CLONE_NEWCGROUP): New macro.
21751
21752 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21753 (Q_GETNEXTQUOTA): New macro.
21754
21755 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 [BZ #19907]
21758 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21759 buffer updated by the previous run.
21760 * string/test-memcpy.c (do_one_test): Likewise.
21761 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21762 * string/test-memmove.c (do_one_test): Likewise.
21763
21764 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21765
21766 [BZ #20094]
21767 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21768 not [__USE_XOPEN].
21769 (unlockpt): Likewise.
21770 (ptsname): Likewise.
21771 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21772 variable.
21773
21774 [BZ #20076]
21775 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21776 instead of [__USE_UNIX98].
21777 (S_ISSOCK): Likewise.
21778 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21779 variable.
21780
21781 [BZ #20074]
21782 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21783 [__USE_POSIX].
21784 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21785 variable.
21786
21787 [BZ #20051]
21788 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21789 (ttyslot): Do not declare.
21790 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21791 (ttyslot): New prototype.
21792 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21793 variable.
21794 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21795
21796 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21797
21798 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21799
21800 2016-05-13 Florian Weimer <fweimer@redhat.com>
21801
21802 Fix race condition in tst-mallocfork2, use fewer resources.
21803 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21804 to current process group.
21805 (signal_sender): Yield in the non-sleeping case.
21806
21807 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21808
21809 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21810 (ecvt): Likewise.
21811 (fcvt): Likewise.
21812 (gcvt): Likewise.
21813 (getsubopt): Likewise.
21814 (grantpt): Likewise.
21815 (initstate): Likewise.
21816 (l64a): Likewise.
21817 (mktemp): Likewise.
21818 (mkstemp): Likewise.
21819 (ptsname): Likewise.
21820 (random): Likewise.
21821 (realpath): Likewise.
21822 (setstate): Likewise.
21823 (srandom): Likewise.
21824 (ttyslot): Likewise.
21825 (unlockpt): Likewise.
21826 (valloc): Likewise.
21827
21828 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21829 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21830 variable.
21831
21832 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 [BZ #20072]
21835 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21836 init_cpu_features only if SHARED is defined.
21837 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21838
21839 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21842 non-inclusive caches on Intel processors.
21843
21844 2016-05-13 Florian Weimer <fweimer@redhat.com>
21845
21846 * malloc/malloc.c (dumped_main_arena_start)
21847 (dumped_main_arena_end): New variables.
21848 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21849 (do_check_chunk): Skip dumped fake mmapped chunks.
21850 (munmap_chunk): Likewise.
21851 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21852 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21853 mmapped chunks.
21854 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21855 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21856 and dumped_main_arena_end to cover the dumped heap.
21857
21858 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21859
21860 * conform/data/time.h-data (getdate_err): Do not expect for
21861 [XPG3].
21862 (getdate): Likewise.
21863 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21864 variable.
21865
21866 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21867 (F_ULOCK): Likewise.
21868 (F_TEST): Likewise.
21869 (F_TLOCK): Likewise.
21870 (useconds_t): Likewise.
21871 (intptr_t): Do not expect for [XPG3] or [XPG4].
21872 (brk): Do not expect for [XPG3]
21873 (fchown): Likewise.
21874 (fchdir): Likewise.
21875 (ftruncate): Likewise.
21876 (getdtablesize): Likewise.
21877 (gethostid): Likewise.
21878 (getpagesize): Likewise.
21879 (getpgid): Likewise.
21880 (getsid): Likewise.
21881 (getwd): Likewise.
21882 (lchown): Likewise.
21883 (lockf): Likewise.
21884 (readlink): Likewise.
21885 (sbrk): Likewise.
21886 (setpgrp): Likewise.
21887 (setregid): Likewise.
21888 (setreuid): Likewise.
21889 (symlink): Likewise.
21890 (sync): Likewise.
21891 (truncate): Likewise.
21892 (ualarm): Likewise.
21893 (usleep): Likewise.
21894 (vfork): Likewise.
21895 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21896 variable.
21897
21898 [BZ #20054]
21899 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21900 not [__USE_UNIX98].
21901 * conform/data/unistd.h-data (gethostname): Do not expect for
21902 [XPG3].
21903
21904 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21905 [!POSIX] (S_IFBLK): Likewise.
21906 [!POSIX] (S_IFCHR): Likewise.
21907 [!POSIX] (S_IFIFO): Likewise.
21908 [!POSIX] (S_IFREG): Likewise.
21909 [!POSIX] (S_IFDIR): Likewise.
21910 [!POSIX] (S_IFLNK): Likewise.
21911 [!POSIX] (S_IFSOCK): Likewise.
21912 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21913 variable.
21914 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21915
21916 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21917
21918 * sysdeps/aarch64/memset.S (__memset):
21919 Rewrite of optimized memset.
21920
21921 2016-05-12 Florian Weimer <fweimer@redhat.com>
21922
21923 [BZ #19703]
21924 Partially async-signal-safe fork for single-threaded processes.
21925 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21926 variable. Do not acquire and reset/release malloc and libio locks
21927 in single-threaded processes.
21928 * malloc/tst-mallocfork2.c: New file.
21929 * malloc/Makefile (tests): Add it.
21930
21931 2016-05-12 Florian Weimer <fweimer@redhat.com>
21932
21933 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21934 argument. Use scratch buffer instead of extend_alloca.
21935 (gethosts): Use scratch buffer instead of extend_alloca.
21936 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21937 extend_alloca.
21938 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21939
21940 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21941
21942 [BZ #20055]
21943 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21944 instead of [__USE_UNIX98].
21945 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21946 [__USE_UNIX98].
21947 * conform/data/termios.h-data (tcgetsid): Do not expect for
21948 [XPG3].
21949 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21950 variable.
21951 (test-xfail-XPG4/termios.h/conform): Likewise.
21952
21953 2016-05-11 Florian Weimer <fweimer@redhat.com>
21954
21955 Do not use mcheck in localedef.
21956 * locale/programs/localedef.c (turn_on_mcheck)
21957 (__malloc_initialize_hook): Remove.
21958
21959 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21960
21961 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21962 * sysdeps/s390/s390-64/Makefile: Likewise.
21963
21964 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21965
21966 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21967 Remove ifunc-defines.sym.
21968 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21969 Likewise.
21970 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21971 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21972 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21973 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21974 rtld-global-offsets.sym.
21975 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21976 * sysdeps/x86/cpu-features-offsets.sym: This.
21977 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21978 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21979
21980 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21981
21982 [BZ #20073]
21983 * io/sys/stat.h (fchmod): Declare for
21984 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21985 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21986 variable.
21987
21988 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21989 [XPG3] (S_IFSOCK): Likewise.
21990 [XPG3] (S_ISVTX): Likewise.
21991 [XPG3] (S_ISLNK): Likewise.
21992 [XPG3] (S_ISSOCK): Likewise.
21993 [XPG3] (fchmod): Likewise.
21994 [XPG3] (lstat): Likewise.
21995 [XPG3] (mknod): Likewise.
21996
21997 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21998 [XPG3]. Expect type long and XFAIL for [XPG4].
21999 (st_blocks): Likewise.
22000
22001 [BZ #20044]
22002 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22003 (pthread_atfork): New prototype.
22004 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22005 variable.
22006
22007 [BZ #20043]
22008 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22009 prototype.
22010
22011 2016-05-10 Florian Weimer <fweimer@redhat.com>
22012
22013 [BZ #20017]
22014 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22015 gmtime.
22016
22017 2016-05-10 Florian Weimer <fweimer@redhat.com>
22018
22019 [BZ #19994]
22020 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22021 flag in _res.options.
22022
22023 2016-05-09 Joseph Myers <joseph@codesourcery.com>
22024
22025 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22026 [XPG3 || XPG4].
22027 (blksize_t): Likewise.
22028 (clockid_t): Likewise.
22029 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22030 variable.
22031 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22032
22033 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22034
22035 * sysdeps/unix/sysv/linux/s390/init-first.c:
22036 Add VDSO_SYMBOL(getcpu).
22037 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22038 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22039 Add VDSO_SYMBOL(getcpu).
22040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22041 New define HAVE_GETCPU_VSYSCALL.
22042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22043
22044 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22045
22046 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22047 instead of <sysdeps/x86_64/cacheinfo.c>.
22048 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22049 * sysdeps/x86/cacheinfo.c: Here.
22050
22051 2016-05-04 Florian Weimer <fweimer@redhat.com>
22052
22053 * malloc/malloc-internal.h: Adjust header file guard.
22054
22055 2016-05-04 Florian Weimer <fweimer@redhat.com>
22056
22057 [BZ #19787]
22058 * inet/getnameinfo.c (check_sprintf_result): New function.
22059 (CHECKED_SNPRINTF): New macro.
22060 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22061 to the host buffer.
22062 (gni_host_local): Use checked_copy to copy the host name.
22063 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22064 (gni_serv_local): Use checked_copy to copy the service name.
22065 (getnameinfo): Remove unnecessary truncation of result buffers.
22066
22067 2016-05-04 Florian Weimer <fweimer@redhat.com>
22068
22069 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22070 in case of inet_ntop failure.
22071
22072 2016-05-04 Florian Weimer <fweimer@redhat.com>
22073
22074 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22075 avoid long lines.
22076 (gni_host_inet_numeric): Likewise. Reduce scope of local
22077 variables.
22078 (gni_host_inet, gni_host_local): Add comment.
22079 (gni_host): Add comment. Use temporary to avoid long lines.
22080
22081 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22082
22083 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22084 registers specifiers where general purpose registers specifiers should
22085 have been used.
22086
22087 2016-05-04 Florian Weimer <fweimer@redhat.com>
22088
22089 [BZ #19779]
22090 CVE-2016-1234
22091 Avoid copying names of directory entries.
22092 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22093 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22094 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22095 (struct readdir_result): New type.
22096 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22097 (GL_READDIR): New macros.
22098 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22099 (convert_dirent, convert_dirent64): New functions.
22100 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22101 convert_dirent64. Adjust references to the readdir result.
22102 * sysdeps/unix/sysv/linux/i386/glob64.c:
22103 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22104 * posix/bug-glob2.c (LONG_NAME): Define.
22105 (filesystem): Add LONG_NAME.
22106 (my_DIR): Increase the size of room_for_dirent.
22107
22108 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22109
22110 [BZ #20041]
22111 * misc/sys/select.h (__need_timespec): Only define if
22112 [__USE_XOPEN2K].
22113 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22114 variable.
22115 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22116 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22117 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22118
22119 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22120 Segher Boessenkool <segher@gcc.gnu.org>
22121
22122 [BZ #20004]
22123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22124 (__novec_swapcontext): Add missing load.
22125
22126 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22127
22128 [BZ #20023]
22129 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22130 <time.h>.
22131 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22132 variable.
22133 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22134
22135 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22136
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22138 flags CLONE_VM compare.
22139
22140 2016-05-02 Florian Weimer <fweimer@redhat.com>
22141
22142 [BZ #20031]
22143 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22144 completely empty.
22145
22146 2016-05-02 Florian Weimer <fweimer@redhat.com>
22147
22148 [BZ #19573]
22149 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22150 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22151 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22152 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22153 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22154 (hesiod_free_list): Mark as hidden.
22155 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22156 res_set, res_get.
22157 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22158 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22159 (hesiod_init): Remove obsolete res_ninit call.
22160 (hesiod_end): Do not free resolver state. Do not invoke callback.
22161 (hesiod_bind): Do not call init.
22162 (get_txt_records): Use res_mkquery, res_send instead of
22163 res_nmkquery, res_nsend.
22164 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22165 instead of _nss_hesiod_init.
22166 (_nss_hesiod_initgroups_dyn): Likewise.
22167 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22168 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22169 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22170
22171 2016-05-02 Florian Weimer <fweimer@redhat.com>
22172
22173 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22174 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22175
22176 2016-05-02 Florian Weimer <fweimer@redhat.com>
22177
22178 * hesiod/hesiod.h: Remove RCS keyword.
22179 * hesiod/hesiod_p.h: Likewise.
22180
22181 * hesiod/hesiod.c: Likewise.
22182
22183 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22184
22185 [BZ #12450]
22186 * locale/iso-639.def: Add Samogitian/sgs.
22187
22188 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22189
22190 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22191
22192 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22193
22194 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22195 Carlos O'Donell <carlos@redhat.com>
22196
22197 [BZ #19072]
22198 * grp/Makefile (headers): Add grp-merge.h
22199 (routines): Add grp-merge.
22200 * grp/getgrgid_r.c: Include grp-merge.h.
22201 (DEEPCOPY_FN): Define.
22202 (MERGE_FN): Define.
22203 * grp/getgrname_r.c: Include grp-merge.h.
22204 (DEEPCOPY_FN): Define.
22205 (MERGE_FN): Define.
22206 * grp/grp-merge.c: New file.
22207 * grp/grp-merge.h: New file.
22208 * include/grp-merge.h: New file.
22209 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22210 __copy_grp@GLIBC_PRIVATE.
22211 * manual/nss.texi (Actions in the NSS configuration): Describe
22212 return, continue, and merge.
22213 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22214 (DEEPCOPY_FN): Define.
22215 (MERGE_FN): Define.
22216 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22217 (DEEPCOPY_FN): Define.
22218 (MERGE_FN): Define.
22219 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22220 [!MERGE_FN]: Define __merge_einval.
22221 (CHECK_MERGE): Define.
22222 (REENTRANT_NAME): Process merge if do_merge is true.
22223 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22224 (__nss_getent_r): Likewise.
22225 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22226 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22227
22228 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22229
22230 [BZ #20012]
22231 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22232 length to calculate the buffer to read.
22233 (fmemopen_write): Set the buffer position based on bytes written.
22234 (fmemopen_seek): Return EINVAL for invalid whence modes.
22235
22236 [BZ #19957]
22237 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22238 tst-getpid2.
22239 (test): Add tst-clone2.
22240 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22241 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22242 pid/tid fields for CLONE_VM.
22243 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22244 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22245 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22246 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22247 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22248 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22249 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22250 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22252 Likewise.
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22254 Likewise.
22255 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22256 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22257 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22258 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22259 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22260 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22261 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22262 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22263
22264 2016-04-29 Florian Weimer <fweimer@redhat.com>
22265
22266 [BZ #19642]
22267 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22268 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22269 (gni_serv_local, gni_serv): New functions extracted from
22270 getnameinfo.
22271 (getnameinfo): Call gni_host and gni_serv to perform the
22272 processing. Always free scratch buffer.
22273
22274 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22275
22276 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22277 remaining bytes in the dest string, with zeros.
22278
22279 2016-04-29 Florian Weimer <fweimer@redhat.com>
22280
22281 [BZ #20010]
22282 CVE-2016-3706
22283 * sysdeps/posix/getaddrinfo.c
22284 (convert_hostent_to_gaih_addrtuple): New function.
22285 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22286 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22287 AF_INET data.
22288
22289 2016-04-29 Florian Weimer <fweimer@redhat.com>
22290
22291 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22292 callback function gl_readdir.
22293 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22294 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22295 (glob_in_dir): Remove len. Use strdup instead of malloc and
22296 memcpy to copy the name.
22297 * manual/pattern.texi (Calling Glob): Document requirements for
22298 implementations of the gl_readdir callback function.
22299 * manual/examples/mkdirent.c: New example.
22300 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22301 per the manual guidance.
22302 * posix/tst-gnuglob.c (my_readdir): Likewise.
22303
22304 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22305
22306 [BZ #20014]
22307 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22308 not [__USE_POSIX].
22309 (getchar_unlocked): Likewise.
22310 (putc_unlocked): Likewise.
22311 (putchar_unlocked): Likewise.
22312 (flockfile): Likewise.
22313 (ftrylockfile): Likewise.
22314 (funlockfile): Likewise.
22315 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22316 variable.
22317 (test-xfail-XPG4/stdio.h/conform): Likewise.
22318
22319 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22320 Expect constant.
22321 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22322 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22323 variable.
22324 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22325 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22326
22327 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22328 [__USE_LARGEFILE64] (off64_t): Likewise.
22329 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22330 variable.
22331
22332 2016-04-28 Florian Weimer <fweimer@redhat.com>
22333
22334 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22335
22336 2016-04-28 Florian Weimer <fweimer@redhat.com>
22337
22338 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22339 * resolv/res_init.c: Likewise.
22340 * resolv/res_mkquery.c: Likewise.
22341
22342 2016-04-28 Florian Weimer <fweimer@redhat.com>
22343
22344 * resolv/res_init.c (isascii): Do not define. Use definition in
22345 <ctype.h>.
22346 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22347 (LOG_AUTH): Remove.
22348 (SPRINTF): Remove, adjust caller.
22349 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22350
22351 2016-04-28 Florian Weimer <fweimer@redhat.com>
22352
22353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22354 SUNSECURITY conditional.
22355 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22356
22357 2016-04-28 Florian Weimer <fweimer@redhat.com>
22358
22359 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22360 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22361 Remove BSD-related preprocessor conditionals.
22362 * conf/portability.h: Remove.
22363
22364 2016-04-28 Florian Weimer <fweimer@redhat.com>
22365
22366 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22367 * resolv/res_data.c: Likewise.
22368
22369 2016-04-28 Florian Weimer <fweimer@redhat.com>
22370
22371 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22372 * resolv/res_data.c: Remove code conditional on ultrix.
22373
22374 2016-04-28 Florian Weimer <fweimer@redhat.com>
22375
22376 * resolv/res_init.c (RFC1535): Do not define. Remove
22377 RFC1535 preprocessor conditionals.
22378 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22379 because there configuration options which make the resolver
22380 behavior different.
22381
22382 2016-04-28 Florian Weimer <fweimer@redhat.com>
22383
22384 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22385 RESOLVSORT preprocessor conditionals.
22386 * resolv/nss_dns/dns-host.c: Likewise.
22387 * resolv/res_init.c: Likewise.
22388
22389 2016-04-28 Florian Weimer <fweimer@redhat.com>
22390
22391 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22392 is never defined.
22393
22394 2016-04-28 Florian Weimer <fweimer@redhat.com>
22395
22396 * inet/inet_lnaof.c: Remove SCSS keyword.
22397 * inet/inet_mkadr.c: Likewise.
22398 * inet/inet_net.c: Likewise.
22399 * inet/inet_netof.c: Likewise.
22400 * inet/rcmd.c: Likewise.
22401 * inet/rexec.c: Likewise.
22402 * inet/ruserpass.c: Likewise.
22403
22404 2016-04-28 Florian Weimer <fweimer@redhat.com>
22405
22406 * resolv/inet_addr.c: Remove _LIBC conditionals.
22407 * resolv/res_data.c: Likewise.
22408 * resolv/res_init.c: Likewise.
22409 * resolv/res_mkquery.c: Likewise.
22410 * resolv/res_libc.c: Update comment.
22411 * resolv/README: Update.
22412
22413 2016-04-28 Florian Weimer <fweimer@redhat.com>
22414
22415 * resolv/gethnamaddr.c: Remove SCSS keyword.
22416 * resolv/herror.c: Likewise.
22417 * resolv/inet_addr.c: Likewise.
22418 * resolv/inet_net_ntop.c: Likewise.
22419 * resolv/inet_net_pton.c: Likewise.
22420 * resolv/inet_neta.c: Likewise.
22421 * resolv/inet_ntop.c: Likewise.
22422 * resolv/inet_pton.c: Likewise.
22423 * resolv/ns_date.c: Remove RCS keyword.
22424 * resolv/ns_name.c: Likewise.
22425 * resolv/ns_netint.c: Likewise.
22426 * resolv/ns_parse.c: Likewise.
22427 * resolv/ns_print.c: Likewise.
22428 * resolv/ns_samedomain.c: Likewise.
22429 * resolv/ns_ttl.c: Likewise.
22430 * resolv/nsap_addr.c: Likewise.
22431 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22432 * resolv/res_data.c: Remove RCS keyword.
22433 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22434 * resolv/res_init.c: Likewise.
22435 * resolv/res_mkquery.c: Likewise.
22436 * resolv/res_query.c: Likewise.
22437 * resolv/res_send.c: Likewise.
22438
22439 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22440
22441 * conform/data/stdio.h-data (fdopen): Expect also for
22442 [XPG3 || XPG4].
22443
22444 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22445 (fseeko): Likewise.
22446 (ftello): Likewise.
22447 (ftrylockfile): Likewise.
22448 (funlockfile): Likewise.
22449 (getc_unlocked): Likewise.
22450 (getchar_unlocked): Likewise.
22451 (putc_unlocked): Likewise.
22452 (putchar_unlocked): Likewise.
22453
22454 2016-04-27 Florian Weimer <fweimer@redhat.com>
22455
22456 [BZ #19868]
22457 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22458 DNS packet syntax checks (which were not needed before). Skip
22459 over non-PTR records.
22460
22461 2016-04-27 Florian Weimer <fweimer@redhat.com>
22462
22463 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22464 definition. Include <stddef.h> instead.
22465
22466 2016-04-27 Florian Weimer <fweimer@redhat.com>
22467
22468 [BZ #19831]
22469 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22470 function.
22471 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22472 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22473
22474 2016-04-27 Florian Weimer <fweimer@redhat.com>
22475
22476 [BZ #19862]
22477 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22478 (getanswer_r): Do not call syslog.
22479 (gaih_getanswer_slice): Likewise.
22480 * resolv/gethnamaddr.c (AskedForGot): Remove.
22481 (getanswer): Do not call syslog.
22482 (gethostbyaddr): Likewise.
22483
22484 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22485
22486 * conform/data/signal.h-data (union sigval): Expect also if
22487 [XOPEN2K].
22488 (struct sigevent): Likewise.
22489 (SIGEV_NONE): Likewise.
22490 (SIGEV_SIGNAL): Likewise.
22491 (SIGEV_THREAD): Likewise.
22492 (SIGRTMIN): Likewise.
22493 (SIGRTMAX): Likewise.
22494 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22495 variable.
22496 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22497
22498 2016-04-27 Florian Weimer <fweimer@redhat.com>
22499
22500 [BZ #19830]
22501 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22502 (gaih_getanswer_slice): Likewise.
22503 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22504 Also check for availability of RR metadata.
22505
22506 2016-04-27 Florian Weimer <fweimer@redhat.com>
22507
22508 [BZ #19825]
22509 * resolv/res_send.c (send_vc): Remove early *resplen2
22510 initialization. Set *resplen2 on socket error. Call
22511 close_and_return_error for other errors.
22512
22513 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22514
22515 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22516 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22517 (SCM_IUCV_TRGCLS): New define.
22518
22519 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22520
22521 [BZ #20005]
22522 * libio/fmemopen.c (fmemopen_write): Update internal position after
22523 write.
22524 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22525 * stdio-common/tst-fmemopen4.c: New file..
22526
22527 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22528
22529 [BZ #19996]
22530 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22531 not [__USE_XOPEN2K].
22532 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22533 variable.
22534
22535 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22536 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22537 variable.
22538
22539 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22540 [__USE_XOPEN2K8].
22541 [__USE_LARGEFILE64] (off64_t): Likewise.
22542 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22543 variable.
22544
22545 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22546
22547 [BZ #19989]
22548 * libio/stdio.h (cuserid): Do not declare if
22549 [__USE_XOPEN2K && !__USE_GNU].
22550 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22551 variable.
22552
22553 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22554
22555 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22556 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22558 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22559 ifunc'ed strcspn.
22560 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22561 [EALIGN]: Removed.
22562 [END]: Likewise
22563 [STRSPN]: Define instead of the above to control symbol name.
22564 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22565 New file.
22566 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22567 Likewise.
22568 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22569 Likewise.
22570 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22571 Likewise.
22572 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22573 [INITIAL_MASK]: New macro.
22574 [STRCSPN]: Likewise.
22575 [UPDATE_MASK]: Likewise.
22576 [USE_AS_STRCSPN]: Likewise.
22577
22578 2016-04-25 Florian Weimer <fweimer@redhat.com>
22579
22580 [BZ #19931]
22581 * stdio-common/tst-vfprintf-width-prec.c: New file.
22582 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22583 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22584 (generated): Add mtrace-related files.
22585 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22586 (tst-%-mem.out): New pattern rule, replaces
22587 tst-printf-bz18872-mem.out.
22588 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22589 specifier, deallocate any previously allocated work buffer.
22590
22591 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22592
22593 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22594 Add nop before __startcontext, add explaining comments.
22595
22596 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22597
22598 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22599 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22600 completely different API.
22601
22602 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22603 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22604 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22605 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22606 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22607 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22608 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22609 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22610 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22611 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22612
22613 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22614
22615 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22616
22617 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22618
22619 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22620 when it is the default of 0.
22621
22622 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22623
22624 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22625 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22626 (sysdep_routines): Add new strcasestr targets.
22627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22628 (__libc_ifunc_impl_list): Likewise.
22629 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22630 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22631 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22632 * sysdeps/powerpc/powerpc64/power8/Makefile:
22633 New file to add strcasestr-ppc64 to sysdep_routines.
22634 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22635 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22636
22637 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22638
22639 * benchtests/Makefile (wcsmbs-benchset): Include only for
22640 native builds and runs.
22641 (LOCALES): Likewise.
22642 (bench-build): Build timing-type here instead of the bench
22643 target. Generate locale only for native builds.
22644 * benchtests/README: Add note for cross-building.
22645
22646 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22647
22648 * benchtests/README: Update README to include instructions on
22649 using bench-build.
22650
22651 * Makefile.in (bench-build): New target.
22652 * Rules (PHONY): Add bench-build target.
22653 * benchtests/Makefile (bench): Depend on bench-build.
22654 (bench-build): New target.
22655
22656 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22657
22658 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22659 profil_reply_port.
22660 (profile_waiter): Do not initialize profil_reply_port.
22661 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22662 frequency instead of tick length in us.
22663
22664 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22665
22666 [BZ #18712]
22667 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22668 (__old_mempcpy_small): Likewise.
22669 (__old_strcpy_small): Likewise.
22670 (__old_stpcpy_small): Likewise.
22671 (__old_strpbrk_c2): Fix compat symbol name.
22672 (__old_strpbrk_c3): Likewise.
22673 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22674 (__mempcpy_small): Remove.
22675 (__strcpy_small): Remove.
22676 (__stpcpy_small): Remove.
22677
22678 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22679
22680 [BZ #19400]
22681 * locale/iso-639.def: Add the Talossan/tzl language.
22682
22683 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22684
22685 [BZ #16983]
22686 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22687 comment. Add "ln" to strchr check on postal_fmt.
22688
22689 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22690
22691 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22692 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22693 tel_dom_fmt.
22694
22695 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22696
22697 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22698 (sysdep_routines): Added __strlen_power8.
22699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22700 __strlen_power8 entry.
22701 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22702 Implementation for POWER8.
22703 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22704 for __strlen_power8.
22705 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22706 Implementation for POWER8.
22707
22708 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22709
22710 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22711
22712 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22713
22714 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22715 Goldmont and Airmont processors.
22716
22717 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22718
22719 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22720 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22721 (__STRING2_SMALL_GET32): Remove.
22722 (memset): Remove.
22723 (__memset_1): Remove.
22724 (__memset_gc): Remove.
22725 (__mempcpy): Remove.
22726 (mempcpy): Remove.
22727 (__mempcpy_args): Remove.
22728 (strchr): Remove.
22729 (strcpy): Remove.
22730 (strcpy_args): Remove.
22731 (__stpcpy_args): Remove.
22732 (__strcmp_cc): Remove.
22733 (__strcmp_gc): Remove.
22734 (strstr): Remove.
22735
22736 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22737
22738 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22739 * nis/nis_call.c (nis_server_cache_add): Likewise.
22740
22741 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22742
22743 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22744
22745 2016-04-14 Florian Weimer <fweimer@redhat.com>
22746
22747 * malloc/arena.c (__malloc_fork_lock_parent)
22748 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22749 internal_function attribute.
22750
22751 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22752
22753 * stdio-common/printf_fp.c (__printf_fp_l):
22754 Rename ___printf_fp_l to __printf_fp_l and
22755 remove strong alias. Use libc_hidden_def instead
22756 of ldbl_hidden_def macro.
22757
22758 2016-04-14 Florian Weimer <fweimer@redhat.com>
22759
22760 Remove malloc hooks from fork handler. They are no longer needed
22761 because malloc runs right before fork, and no malloc calls from
22762 other fork handlers are not possible anymore.
22763 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22764 declarations.
22765 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22766 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22767 (atfork_recursive_cntr): Remove.
22768 (__malloc_fork_lock_parent): Do not override malloc hooks and
22769 thread_arena.
22770 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22771 thread_arena.
22772 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22773 thread_arena instead of save_arena.
22774
22775 2016-04-14 Florian Weimer <fweimer@redhat.com>
22776
22777 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22778 (thread_atfork, thread_atfork_static): Remove.
22779 * sysdeps/mach/hurd/malloc-machine.h:
22780 (thread_atfork, thread_atfork_static): Remove.
22781
22782 2016-04-14 Florian Weimer <fweimer@redhat.com>
22783
22784 [BZ #19431]
22785 Run the malloc fork handler as late as possible to avoid deadlocks.
22786 * malloc/malloc-internal.h: New file.
22787 * malloc/malloc.c: Include it.
22788 * malloc/arena.c (ATFORK_MEM): Remove.
22789 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22790 Update comment.
22791 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22792 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22793 Remove outdated comment.
22794 (ptmalloc_init): Do not call thread_atfork. Remove
22795 thread_atfork_static.
22796 * malloc/tst-malloc-fork-deadlock.c: New file.
22797 * Makefile (tests): Add tst-malloc-fork-deadlock.
22798 (tst-malloc-fork-deadlock): Link against libpthread.
22799 * manual/memory.texi (Aligned Memory Blocks): Update safety
22800 annotation comments.
22801 * sysdeps/nptl/fork.c (__libc_fork): Call
22802 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22803 __malloc_fork_unlock_child.
22804 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22805
22806 2016-04-14 Florian Weimer <fweimer@redhat.com>
22807
22808 [BZ #19613]
22809 Remove union wait.
22810 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22811 (w_stopsig, w_stopval): Remove.
22812 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22813 stat_loc argument.
22814 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22815 (__WAIT_STATUS_DEFN): Remove.
22816 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22817 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22818 (wait, wait3, wait4): Use int * for the stat_loc argument.
22819 * posix/wait.c (__wait): Likewise.
22820 * posix/wait3.c (__wait3): Likewise.
22821 * posix/wait4.c (__wait4): Likewise.
22822 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22823 (__WAIT_STATUS_DEFN): Remove.
22824 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22825 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22826 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22827 argument.
22828 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22829 * sysdeps/posix/wait3.c (__wait3): Likewise.
22830 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22831 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22832 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22833 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22834 stat_loc argument.
22835 * manual/process.texi (BSD Wait Functions): Remove union wait.
22836
22837 2016-04-13 Andreas Schwab <schwab@suse.de>
22838
22839 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22840 (test-extras): Add tst-tlsalign-vars.
22841 * math/Makefile: Wrap long lines.
22842 (libm-vec-test-wrappers): Define.
22843 (test-extras): Add $(libm-vec-test-wrappers).
22844 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22845 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22846 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22847 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22848 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22849 (extra-test-objs): Add corresponding objects.
22850
22851 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22852
22853 [BZ #19928]
22854 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22855 New.
22856 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22857 times of shared cache size.
22858 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22859 (VMOVNT): New.
22860 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22861 (VMOVNT): Likewise.
22862 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22863 (VMOVNT): Likewise.
22864 (VMOVU): Changed to movups for smaller code sizes.
22865 (VMOVA): Changed to movaps for smaller code sizes.
22866 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22867 comments.
22868 (PREFETCH): New.
22869 (PREFETCH_SIZE): Likewise.
22870 (PREFETCHED_LOAD_SIZE): Likewise.
22871 (PREFETCH_ONE_SET): Likewise.
22872 Rewrite to use forward and backward loops, which move 4 vector
22873 registers at a time, to support overlapping addresses and use
22874 non temporal store if size is above the threshold and there is
22875 no overlap between destination and source.
22876
22877 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22878
22879 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22880 Include dl-vdso.
22881 * sysdeps/unix/sysv/linux/mips/Versions: Add
22882 __vdso_clock_gettime.
22883 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22884 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22885 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22886 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22887 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22888 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22889 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22890 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22891 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22892
22893 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22894
22895 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22896 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22899 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22900 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22903 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22904 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22905 syscalls generation.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22907 [__NR_pwrite64] (__NR_write): Remove define.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22909 [__NR_pwrite64] (__NR_write): Remove define.
22910 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22911 Remove define.
22912 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22913 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22914 Remove define.
22915 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22916 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22917 Linux implementation as base.
22918 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22919
22920 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22921 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22926 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22928 syscall generation.
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22930 [__NR_pread64] (__NR_pread): Remove define.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22932 [__NR_pread64] (__NR_pread): Likewise.
22933 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22934 define.
22935 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22936 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22937 Remove define.
22938 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22939 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22940 Linux implementation as base.
22941 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22942 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22943 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22944
22945 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22946 definition.
22947 (__ALIGNMENT_COUNT): Likewise.
22948 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22949 (__ALIGNMENT_COUNT): Likewise.
22950 (SYSCALL_LL): New define.
22951 (SYSCALL_LL64): Likewise.
22952 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22953 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22954 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22955 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22956
22957 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22958 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22959 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22960 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22961 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22962 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22963
22964 2016-04-11 Florian Weimer <fweimer@redhat.com>
22965
22966 [BZ #19865]
22967 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22968 original buffer before retry.
22969
22970 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22971
22972 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22973 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22974 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22975 GLRO(dl_auxv) list.
22976 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22977 including <ldsodefs.h>.
22978 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22979
22980 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22981
22982 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22983 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22984 $(CPPFLAGS).
22985
22986 2016-04-09 Khem Raj <raj.khem@gmail.com>
22987
22988 [BZ #17950]
22989 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22990 Add -mfpmath=387.
22991
22992 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22993
22994 * sysdeps/i386/configure.ac: Change == to = when calling test.
22995 * sysdeps/x86_64/configure.ac: Likewise.
22996 * sysdeps/i386/configure: Regenerated.
22997 * sysdeps/x86_64/configure: Likewise.
22998
22999 2016-04-08 Mike Frysinger <vapier@gentoo.org>
23000
23001 [BZ #16137]
23002 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23003 * benchtests/bench-strcoll.c (input_files): Likewise.
23004 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23005 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23006 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23007
23008 2016-04-08 Joseph Myers <joseph@codesourcery.com>
23009
23010 [BZ #19929]
23011 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23012 [__USE_XOPEN2K8 && !__USE_GNU].
23013 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23014 variable.
23015
23016 [BZ #19925]
23017 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23018 define if [!__USE_MISC && __USE_XOPEN2K].
23019 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23020 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23022 Likewise.
23023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23024 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23025 variable.
23026 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23027
23028 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23029
23030 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23031 (sysdep_routines): Add new strspn targets.
23032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23033 (__libc_ifunc_impl_list): Add strspn.
23034 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23035 New file.
23036 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23037 Likewise.
23038 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23039 Likewise.
23040 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23041 Likewise.
23042
23043 2016-04-07 Florian Weimer <fweimer@redhat.com>
23044
23045 * misc/hsearch_r.c: Include <limits.h>.
23046
23047 2016-04-07 Florian Weimer <fweimer@redhat.com>
23048
23049 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23050
23051 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23052
23053 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23054 (MEMCPY_SYMBOL): New.
23055 (MEMPCPY_SYMBOL): Likewise.
23056 (MEMMOVE_CHK_SYMBOL): Likewise.
23057 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23058 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23059 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23060 Provide alias for memcpy in libc.a and ld.so.
23061
23062 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23063
23064 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23065 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23066 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23067 Disabled fro now.
23068 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23069 symbols. Properly check USE_MULTIARCH on __memset symbols.
23070
23071 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23072
23073 * benchtests/Makefile (string-benchset): Add memcpy-large,
23074 memmove-large and memset-large.
23075 * benchtests/bench-memcpy-large.c: New file.
23076 * benchtests/bench-memmove-large.c: Likewise.
23077 * benchtests/bench-memmove-large.c: Likewise.
23078 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23079
23080 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23083 32-bit displacement to avoid long nop between instructions.
23084
23085 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23086
23087 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23088 a comment on VMOVU and VMOVA.
23089
23090 2016-04-04 Florian Weimer <fweimer@redhat.com>
23091
23092 [BZ #19633]
23093 Use specified locale for number formatting in strfmon_l.
23094 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23095 (__nl_lookup_word): New inline functions.
23096 * include/printf.h (__print_fp_l): Declare.
23097 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23098 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23099 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23100 (___printf_fp): New function.
23101 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23102 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23103 * stdlib/tst-strfmon_l.c (do_test): New test.
23104 * stdlib/Makefile (tests): Add kt.
23105 (LOCALES): Build additional locales.
23106 (tst-strfmon_l.out): Require locales.
23107
23108 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23111 if not in libc.
23112 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23113 Likewise.
23114 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23115 Likewise.
23116 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23117 Likewise.
23118
23119 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23120
23121 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23122 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23123 with unaligned_erms.
23124 (__memmove_erms): Skip if source == destination.
23125 (__memmove_unaligned_erms): Don't check source == destination
23126 first.
23127
23128 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23129
23130 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23131 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23132
23133 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23134
23135 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23136 * string/strspn.c (strspn): Likewise.
23137
23138 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23139
23140 * benchtests/bench-memset.c (do_test): Support 64-byte
23141 alignment.
23142 (test_main): Test 64-byte alignment.
23143
23144 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23145
23146 * benchtests/bench-memmove.c (test_main): Test 64-byte
23147 alignment.
23148
23149 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23150
23151 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23152
23153 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23154
23155 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23156 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23157 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23158
23159 * string/strpbrk.c (strpbrk): Rewrite function.
23160 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23161 (__strpbrk_c2): Likewise.
23162 (__strpbrk_c3): Likewise.
23163 * string/string-inlines.c
23164 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23165 Likewise.
23166 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23167 Likewise.
23168
23169 * string/strspn.c (strcspn): Rewrite function.
23170 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23171 (__strspn_c1): Remove inline function.
23172 (__strspn_c2): Likewise.
23173 (__strspn_c3): Likewise.
23174 * string/string-inlines.c
23175 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23176 compatibility symbol.
23177 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23178 Likewise.
23179 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23180 Likewise.
23181 * string/string-inlines.c: Include generic version.
23182
23183 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23184 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23185
23186 * string/Version (libc): Add GLIBC_2.24.
23187 * string/strcspn.c (strcspn): Rewrite function.
23188 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23189 (__strcspn_c1): Remove inline function.
23190 (__strcspn_c2): Likewise.
23191 (__strcspn_c3): Likewise.
23192 * string/string-inline.c
23193 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23194 compatibility symbol.
23195 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23196 Likewise.
23197 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23198 Likewise.
23199 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23200
23201 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23202
23203 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23204 Use ahi instead of aghi to adjust stack pointer.
23205
23206 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23207
23208 [BZ #19853]
23209 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23210 TEST to take significant digits as second parameter.
23211 [TEST]: Redefine in terms of TEST_N taking 30
23212 significant digits.
23213 (do_test): Add test case to demonstrate precision
23214 failure in the ldbl-128ibm printf.
23215 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23216 (__mpn_extract_long_double): Carry 7 extra intermediate
23217 bits of precision to aide computing difference when
23218 signs differ.
23219
23220 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23221
23222 [BZ #19881]
23223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23224 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23225 memset-avx512-unaligned-erms.
23226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23227 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23228 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23229 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23230 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23231 __memset_sse2_unaligned_erms, __memset_erms,
23232 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23233 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23234 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23235 file.
23236 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23237 Likewise.
23238 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23239 Likewise.
23240 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23241 Likewise.
23242
23243 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23244
23245 [BZ #19776]
23246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23247 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23248 memmove-avx512-unaligned-erms.
23249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23250 (__libc_ifunc_impl_list): Test
23251 __memmove_chk_avx512_unaligned_2,
23252 __memmove_chk_avx512_unaligned_erms,
23253 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23254 __memmove_chk_sse2_unaligned_2,
23255 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23256 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23257 __memmove_avx512_unaligned_erms, __memmove_erms,
23258 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23259 __memcpy_chk_avx512_unaligned_2,
23260 __memcpy_chk_avx512_unaligned_erms,
23261 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23262 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23263 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23264 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23265 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23266 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23267 __mempcpy_chk_avx512_unaligned_erms,
23268 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23269 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23270 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23271 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23272 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23273 __mempcpy_erms.
23274 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23275 file.
23276 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23277 Likewise.
23278 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23279 Likewise.
23280 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23281 Likewise.
23282
23283 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23284
23285 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23286 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23287 (La_s390_64_regs): Likewise.
23288 (La_s390_32_retval): Append vector register lrv_v24.
23289 (La_s390_64_retval): Likeweise.
23290 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23291 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23292 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23293 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23294
23295 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23296
23297 [BZ #19916]
23298 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23299 to create a non-vector/vector version for _dl_runtime_resolve and
23300 _dl_runtime_profile. Move implementation to ...
23301 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23302 (_dl_runtime_resolve) Save and restore fpr/vrs.
23303 (_dl_runtime_profile) Save and restore vrs and fix some issues
23304 if _dl_call_pltexit is called.
23305 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23306 Choose the correct resolver function if running on a machine with vx.
23307 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23308 to create a non-vector/vector version for _dl_runtime_resolve and
23309 _dl_runtime_profile. Move implementation to ...
23310 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23311 (_dl_runtime_resolve) Save and restore fpr/vrs.
23312 (_dl_runtime_profile) Save and restore vrs and fix some issues
23313 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23314 Choose the correct resolver function if running on a machine with vx.
23315
23316 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23317
23318 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23319
23320 2016-03-31 Florian Weimer <fweimer@redhat.com>
23321
23322 [BZ #19509]
23323 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23324 skip_map != NULL.
23325 * elf/tst-dlsym-error.c: New file.
23326 * elf/Makefile (tests): Add tst-dlsym-error.
23327 (tst-dlsym-error): Link against libdl.
23328
23329 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23330
23331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23332 (__ASSUME_FUTIMESAT): Remove macro.
23333 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23334
23335 2016-03-29 Florian Weimer <fweimer@redhat.com>
23336
23337 [BZ #19879]
23338 CVE-2016-3075
23339 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23340 copy name.
23341
23342 2016-03-29 Florian Weimer <fweimer@redhat.com>
23343
23344 [BZ #19837]
23345 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23346 error if parse_line fails.
23347
23348 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23349
23350 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23351 (index_cpu_ERMS): Likewise.
23352 (reg_ERMS): Likewise.
23353
23354 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23355
23356 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23357 PER_LINUX_FDPIC): Add.
23358
23359 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23362 memcpy-avx512-no-vzeroupper.
23363 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23364 to ...
23365 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23366 (MEMCPY): Don't define.
23367 (MEMCPY_CHK): Likewise.
23368 (MEMPCPY): Likewise.
23369 (MEMPCPY_CHK): Likewise.
23370 (MEMPCPY_CHK): Renamed to ...
23371 (__mempcpy_chk_avx512_no_vzeroupper): This.
23372 (MEMPCPY_CHK): Renamed to ...
23373 (__mempcpy_chk_avx512_no_vzeroupper): This.
23374 (MEMCPY_CHK): Renamed to ...
23375 (__memmove_chk_avx512_no_vzeroupper): This.
23376 (MEMCPY): Renamed to ...
23377 (__memmove_avx512_no_vzeroupper): This.
23378 (__memcpy_avx512_no_vzeroupper): New alias.
23379 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23380
23381 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23382
23383 [BZ #18858]
23384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23385 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23386 and mempcpy-avx512-no-vzeroupper.
23387 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23388 New.
23389 (MEMPCPY): Likewise.
23390 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23391 (MEMPCPY_CHK): New.
23392 (MEMPCPY): Likewise.
23393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23394 (MEMPCPY): Likewise.
23395 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23396 (MEMPCPY): Likewise.
23397 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23398 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23399 Likewise.
23400 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23401 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23402
23403 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23404 Amit Pawar <Amit.Pawar@amd.com>
23405
23406 [BZ #19583]
23407 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23408 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23409 processors. Set Fast_Copy_Backward for AMD Excavator
23410 processors.
23411 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23412 New.
23413 (index_arch_Fast_Unaligned_Copy): Likewise.
23414 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23415 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23416
23417 2016-03-25 Florian Weimer <fweimer@redhat.com>
23418
23419 [BZ #19791]
23420 * resolv/res_send.c (close_and_return_error): New function.
23421 (send_dg): Initialize *resplen2 after reopen failure. Call
23422 close_and_return_error for error returns. On error paths without
23423 __res_iclose, initialze *resplen2 explicitly. Update comment for
23424 successful return.
23425
23426 2016-03-25 Florian Weimer <fweimer@redhat.com>
23427
23428 [BZ #19860]
23429 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23430 zero if the compiler does not provide the AVX512F bit.
23431
23432 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23433
23434 [BZ #19848]
23435 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23436 from 8 to 4.
23437 (__ieee754_powl): Compare integer exponent against 4 not 8.
23438 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23439 from 8 to 4.
23440 (__ieee754_powl): Compare integer exponent against 4 not 8.
23441 * math/auto-libm-test-in: Add more tests of pow.
23442 * math/auto-libm-test-out: Regenerated.
23443 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23445
23446 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23447
23448 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23449 Make code unconditional.
23450 [!__NR_utimensat]: Remove conditional code.
23451 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23452 Make code unconditional.
23453 [!__NR_utimensat]: Remove conditional code.
23454 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23455 Make code unconditional.
23456 [!__NR_utimensat]: Remove conditional code.
23457
23458 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23459
23460 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23461 Make code unconditional.
23462
23463 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23464
23465 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23466 call-clobbered %eax on retry path.
23467 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23468
23469 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23472 Don't set %rcx twice before "rep movsb".
23473
23474 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 [BZ #19583]
23477 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23478 inline. Check family before setting family, model and
23479 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23480 bits here.
23481 (init_cpu_features): Replace HAS_CPU_FEATURE and
23482 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23483 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23484 for Intel processors with usable AVX2. Call get_common_indeces
23485 for other processors with family == NULL.
23486 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23487 (CPU_FEATURES_ARCH_P): Likewise.
23488 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23489 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23490
23491 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23492
23493 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23494 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23495 $(shared-thread-library) instead of hardcoding the path to libpthread.
23496
23497 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23498
23499 * sysdeps/unix/sysv/linux/kernel-features.h
23500 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23501 * sysdeps/unix/sysv/linux/getdents.c
23502 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23503 [!have_no_getdents64_defined]: Likewise.
23504 (__GETDENTS): Remove __have_no_getdents64 conditional.
23505
23506 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23507
23508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23509 Remove macro.
23510 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23511 <kernel-features.h>.
23512 (signalfd) [__NR_signalfd4]: Make code unconditional.
23513 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23514
23515 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23516
23517 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23518 style.
23519
23520 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23521
23522 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23523 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23524 __pthread_unwind.
23525 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23526 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23527 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23528 (__condvar_cleanup1): Likewise.
23529
23530 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23531
23532 [BZ #19822]
23533 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23534 move it to the final $@ location.
23535
23536 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23537
23538 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23539 access where posix_spawn success and pid argument is null.
23540 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23541 success case.
23542
23543 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23544
23545 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23546
23547 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23548
23549 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23550 and __fcntl.
23551 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23552 __fcntl only.
23553 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23554 adding attribute_hidden to __open and __fcntl.
23555
23556 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23557 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23558 depend on libc-modules.h,
23559 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23560
23561 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23562
23563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23564 Remove macro.
23565 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23566 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23567 entry.
23568
23569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23570 Remove macro.
23571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23572 include <kernel-features.h>.
23573 [!__ASSUME_FALLOCATE]: Remove conditional code.
23574 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23575
23576 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23577
23578 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23579 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23580 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23581 (_ZGVdN4v_cos_avx2): Likewise.
23582 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23583 (_ZGVdN4v_cos): Likewise.
23584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23585 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23587 (_ZGVdN4v_exp_avx2): Likewise.
23588 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23589 (_ZGVdN4v_exp): Likewise.
23590 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23591 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23592 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23593 (_ZGVdN4v_log_avx2): Likewise.
23594 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23595 (_ZGVdN4v_log): Likewise.
23596 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23597 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23598 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23599 (_ZGVdN4vv_pow_avx2): Likewise.
23600 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23601 (_ZGVdN4vv_pow): Likewise.
23602 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23603 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23604 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23605 (_ZGVdN4v_sin_avx2): Likewise.
23606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23607 (_ZGVdN4v_sin): Likewise.
23608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23609 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23611 (_ZGVdN4vvv_sincos_avx2): Likewise.
23612 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23613 (_ZGVdN4vvv_sincos): Likewise.
23614 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23615 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23616 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23617 (_ZGVbN4v_cosf_sse4): Likewise.
23618 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23619 (_ZGVdN8v_cosf_avx2): Likewise.
23620 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23621 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23622 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23623 (_ZGVbN4v_expf_sse4): Likewise.
23624 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23625 (_ZGVdN8v_expf_avx2): Likewise.
23626 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23627 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23628 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23629 (_ZGVbN4v_logf_sse4): Likewise.
23630 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23631 (_ZGVdN8v_logf_avx2): Likewise.
23632 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23633 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23634 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23635 (_ZGVbN4vv_powf_sse4): Likewise.
23636 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23637 (_ZGVdN8vv_powf_avx2): Likewise.
23638 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23639 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23640 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23641 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23642 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23643 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23644 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23645 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23646 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23647 (_ZGVbN4v_sinf_sse4): Likewise.
23648 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23649 (_ZGVdN8v_sinf_avx2): Likewise.
23650 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23651 Use JUMPTARGET to call callee.
23652 (WRAPPER_IMPL_SSE2_ff): Likewise.
23653 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23654 (WRAPPER_IMPL_AVX): Likewise.
23655 (WRAPPER_IMPL_AVX_ff): Likewise.
23656 (WRAPPER_IMPL_AVX_fFF): Likewise.
23657 (WRAPPER_IMPL_AVX512): Likewise.
23658 (WRAPPER_IMPL_AVX512_ff): Likewise.
23659 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23660 Likewise.
23661 (WRAPPER_IMPL_SSE2_ff): Likewise.
23662 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23663 (WRAPPER_IMPL_AVX): Likewise.
23664 (WRAPPER_IMPL_AVX_ff): Likewise.
23665 (WRAPPER_IMPL_AVX_fFF): Likewise.
23666 (WRAPPER_IMPL_AVX512): Likewise.
23667 (WRAPPER_IMPL_AVX512_ff): Likewise.
23668 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23669
23670 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23671
23672 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23673 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23674 qualifier.
23675 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23676 internal_function qualifiers.
23677
23678 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23679
23680 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23681 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23682 * math/atest-exp.c (exp_mpn): Mark chk unused.
23683 * math/atest-exp2.c (exp_mpn): Likewise.
23684 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23685 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23686
23687 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23688
23689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23690 Remove macro.
23691 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23692 <kernel-features.h>.
23693 [__NR_ppoll]: Make code unconditional.
23694 [!__ASSUME_PPOLL]: Remove conditional code.
23695
23696 * sysdeps/unix/sysv/linux/kernel-features.h
23697 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23698 (__ASSUME_ACCEPT4): Likewise.
23699 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23700 Define.
23701 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23702 Likewise.
23703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23704 Likewise.
23705 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23706 Likewise.
23707 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23708 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23709 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23710 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23711 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23712 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23713 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23714 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23715 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23716 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23717 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23718 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23719 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23720 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23721 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23723 Likewise.
23724 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23725 Likewise.
23726 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23727 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23728 0x040300].
23729 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23730 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23731 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23732 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23733 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23734 0x030300].
23735 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23736 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23737 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23738 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23739 0x040300].
23740 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23741 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23743 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23744 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23745 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23746 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23747 0x030300].
23748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23749 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23750 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23751 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23752 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23753 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23754 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23755 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23756 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23757 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23758 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23759 0x040300].
23760 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23761 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23762 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23763 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23764 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23765 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23766 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23767 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23768 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23769 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23771 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23772 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23773 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23774 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23775 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23777 Likewise.
23778 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23779 Likewise.
23780
23781 2016-03-15 Andreas Schwab <schwab@suse.de>
23782
23783 [BZ #19257]
23784 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23785 statp->_u._ext.nscount as loop count.
23786
23787 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23788
23789 * math/test-signgam-finite-c99.c: Also #undef
23790 __LIBC_INTERNAL_MATH_INLINES.
23791 * math/test-signgam-main.c: Likewise.
23792
23793 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23794
23795 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23796 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23797 (MADV_FREE): Likewise.
23798 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23799 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23800 EPOLLEXCLUSIVE.
23801
23802 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23803
23804 * timezone/README: Remove mention of checktab.awk. Mention wiki
23805 SharedSourceFiles.
23806
23807 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23808
23809 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23810 WUNTRACED.
23811
23812 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23813
23814 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23815 order to match the type of p when calling atomic_exchange_acq().
23816
23817 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23818
23819 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23820 cfi_offset calls.
23821 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23822 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23823 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23824 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23825 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23826
23827 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23828
23829 * timezone/checktab.awk: Removed.
23830
23831 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23832
23833 * manual/math.texi (Errors in Math Functions): Document relaxed
23834 accuracy goals for IBM long double.
23835 * math/libm-test.inc (test_exceptions): Always allow spurious
23836 "underflow" and "inexact" exceptions for IBM long double.
23837
23838 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23839
23840 [BZ #19762]
23841 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23842 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23843 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23844 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23845 (bit_arch_*): This for feature array.
23846 (bit_*): Renamed to ...
23847 (bit_cpu_*): This for cpu array.
23848 (index_*): Renamed to ...
23849 (index_arch_*): This for feature array.
23850 (index_*): Renamed to ...
23851 (index_cpu_*): This for cpu array.
23852 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23853 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23854 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23855 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23856 bit_##name with index_cpu_##name and bit_cpu_##name.
23857 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23858 bit_##name with index_arch_##name and bit_arch_##name.
23859
23860 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23861
23862 [BZ #19792]
23863 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23864 Terminate FDE before return label.
23865
23866 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23867
23868 [BZ #19790]
23869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23870 (rintl): Define as macro.
23871 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23872 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23873 of fesetround. Ensure results are evaluated before end of scope.
23874 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23875 USE_AS_NEARBYINTL and include s_rintl.c.
23876 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23877 Disable exception traps in new environment.
23878 (libc_feholdsetround_ppc_ctx): Likewise.
23879
23880 2016-03-08 Roland McGrath <roland@hack.frob.com>
23881
23882 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23883 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23884 (tst_audit10_aux) [__AVX512F__]: ... here.
23885
23886 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23887
23888 * include/sys/auxv.h: New file.
23889
23890 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 [BZ #19759]
23893 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23894
23895 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23896
23897 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23898 operand modifier.
23899 (feclearexcept): Likewise.
23900
23901 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23902
23903 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23904 to reflect the entire 32-bit HWCAP.
23905 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23906 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23907
23908 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 [BZ #19783]
23911 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23912 $(test-via-rtld-prefix).
23913 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23914
23915 2016-03-08 Florian Weimer <fweimer@redhat.com>
23916
23917 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23918 union wait. Report any non-zero exit status as error.
23919
23920 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23921
23922 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23923 configured with --enable-hardcoded-path-in-tests.
23924
23925 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23926
23927 [BZ #19677]
23928 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23929 (__ieee754_remainderl): Put zero low parts in canonical form.
23930 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23931 file. Based on
23932 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23933 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23934 with wrapper round test-fmodrem-ldbl-128ibm.c.
23935 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23936 file.
23937 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23938 Likewise.
23939 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23940 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23941
23942 2016-03-07 Florian Weimer <fweimer@redhat.com>
23943
23944 [BZ #19610]
23945 * elf/ldconfig.c (opt_link): Update comment.
23946 (options): Update help string for option -X.
23947 (search_dir): Unlink stale symbolic link only if updating symbolic
23948 links.
23949 * elf/tst-ldconfig-X.sh: New file.
23950 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23951 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23952
23953 2016-03-07 Andreas Schwab <schwab@suse.de>
23954
23955 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23956 needed arguments.
23957
23958 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23959
23960 [BZ #15333]
23961 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23962 to lstat64.
23963
23964 2016-03-07 Florian Weimer <fweimer@redhat.com>
23965
23966 * libio/filedoalloc.c (isatty): Remove.
23967 (local_isatty): Add comment. Call __isatty directly.
23968 (_IO_file_doallocate): Update comment. Assume _LIBC.
23969 * libio/wfiledoalloc.c (isatty): Remove.
23970 (_IO_wfile_doallocate): Update comment.
23971
23972 2016-03-07 Florian Weimer <fweimer@redhat.com>
23973
23974 [BZ #19269]
23975 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23976 tst-audit4-aux.o.
23977 (tst-audit10): Depend on tst-audit10-aux.o.
23978 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23979 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23980 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23981 instead of inline AVX code.
23982 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23983 instead of inline AVX512 code.
23984 * sysdeps/x86_64/tst-audit4-aux.c: New file
23985 * sysdeps/x86_64/tst-audit10-aux.c: New file
23986
23987 [BZ #19648]
23988 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23989
23990 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23991
23992 [BZ #14750]
23993 [BZ #10354]
23994 [BZ #18433]
23995 * include/sched.h (__clone): Add hidden prototype.
23996 (__clone2): Likewise.
23997 * include/unistd.h (__dup): Likewise.
23998 * posix/Makefile (tests): Add tst-spawn2.
23999 * posix/tst-spawn2.c: New file.
24000 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24001 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24002 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24003 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24004 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24005 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24006 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24007 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24008 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24009 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24010 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24012 Likewise.
24013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24014 Likewise.
24015 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24016 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24017 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24018 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24019 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24020 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24021 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24022 * sysdeps/unix/sysv/linux/nptl-signals.h
24023 (____nptl_is_internal_signal): New function.
24024 * sysdeps/unix/sysv/linux/spawni.c: New file.
24025
24026 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24027 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24028 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24029 * posix/tst-execvp2.c (do_test): Likewise.
24030 * posix/tst-execvp3.c (do_test): Likewise.
24031 * posix/tst-execvp4.c (do_test): Likewise.
24032 * posix/tst-execvpe1.c: New file.
24033 * posix/tst-execvpe2.c: Likewise.
24034 * posix/tst-execvpe3.c: Likewise.
24035 * posix/tst-execvpe4.c: Likewise.
24036 * posix/tst-execvpe5.c: Likewise.
24037 * posix/tst-execvpe6.c: Likewise.
24038
24039 [BZ #19534]
24040 * posix/execl.c (execl): Remove dynamic memory allocation.
24041 * posix/execle.c (execle): Likewise.
24042 * posix/execlp.c (execlp): Likewise.
24043
24044 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24047 Replace .text with .text.avx512.
24048 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24049 Likewise.
24050
24051 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24052
24053 * sysdeps/generic/libnsl.abilist: New file.
24054 * sysdeps/generic/libutil.abilist: New file.
24055
24056 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 [BZ #19762]
24059 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24060 HAS_ARCH_FEATURE with Fast_Rep_String.
24061 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24062 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24063 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24064 Likewise.
24065 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24066 Likewise.
24067 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24068 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24069 Likewise.
24070 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24071 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24072 Likewise.
24073
24074 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 [BZ #19745]
24077 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24078 with *%rax in call.
24079
24080 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24081
24082 [BZ #19745]
24083 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24084 with *__libc_start_main@GOTPCREL(%rip) in call.
24085
24086 2016-03-04 Roland McGrath <roland@hack.frob.com>
24087
24088 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24089 inside conditional for nonempty $(CXX).
24090
24091 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24092 nonempty.
24093
24094 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24095 to test for empty $(CXX) rather than $(CXX) of "no".
24096
24097 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24098
24099 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24100
24101 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24102 H.J. Lu <hongjiu.lu@intel.com>
24103
24104 [BZ #18880]
24105 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24106 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24107 enable __memcpy_ssse3_back.
24108
24109 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24110
24111 [BZ #19758]
24112 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24113 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24114
24115 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24116
24117 [BZ #19490]
24118 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24119 (__fentry__): Likewise.
24120
24121 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24122
24123 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24124 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24125
24126 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24127
24128 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24129 __mcount_internal directly.
24130 (C_LABEL(__fentry__)): Likewise.
24131 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24132 directly.
24133
24134 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24135
24136 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24137 (__start_context): Call __setcontext directly.
24138
24139 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24140
24141 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24142 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24143 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24144 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24146 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24147 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24148 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24149 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24150 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24151 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24152 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24153 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24154 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24155 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24156 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24157 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24159 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24160 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24161 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24162 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24163 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24164 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24165 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24166 Remove conditional code.
24167 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24168 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24169 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24170 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24171 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24172 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24173 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24174 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24175 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24176 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24178 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24179
24180 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24181
24182 * NEWS (2.23): Fix typo in bug 19048 text.
24183
24184 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24185
24186 [BZ #14259]
24187 * Makeconfig: Rename msgcatdir to localedir.
24188 Rename inst_msgcatdir to inst_localedir.
24189 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24190 * config.make.in: Add localedir.
24191 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24192 (ldd-rewrite): Likewise.
24193 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24194 (install-others): Use inst_localedir.
24195 (CPPFLAGS): Use localedir.
24196 * locale/Makefile (locale-CPPFLAGS): Likewise.
24197 * po/Makefile (mo-installed): Use inst_localedir.
24198
24199 [BZ #19575]
24200 * localedata/charmaps/GB18030: Update comments regarding PAU to
24201 non-PUA mappings.
24202
24203 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24204
24205 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24206 test for header.
24207 * sysdeps/unix/sysv/linux/configure: Regenerated.
24208 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24209 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24210 Remove conditional code.
24211 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24212
24213 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24214 Define to 3.2.0.
24215 (arch_minimum_kernel): Likewise.
24216 * sysdeps/unix/sysv/linux/configure: Regenerated.
24217 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24218 Define to 2.6.32.
24219 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24220 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24221 (arch_minimum_kernel): Define to 2.6.32.
24222 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24223 * README: Document Linux 3.2 requirement.
24224 * manual/install.texi (Linux): Document Linux 3.2 headers
24225 requirement.
24226 * INSTALL: Regenerated.
24227
24228 2016-02-24 Andreas Schwab <schwab@suse.de>
24229
24230 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24231 if !NO_LONG_DOUBLE.
24232
24233 2016-02-22 Roland McGrath <roland@hack.frob.com>
24234
24235 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24236 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24237
24238 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24239
24240 [BZ #19512]
24241 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24242
24243 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24244
24245 * posix/tst-dir.c: Include libc-internal.h.
24246
24247 2016-02-20 Florian Weimer <fweimer@redhat.com>
24248
24249 [BZ #19056]
24250 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24251 * manual/filesys.texi (Reading/Closing Directory): Mention
24252 deprecaion.
24253 * posix/tst-dir.c (main): Disable deprecation warning in test.
24254
24255 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 [BZ #19679]
24258 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24259 Renamed to ...
24260 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24261 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24262 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24263 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24264 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24265 * sysdeps/x86_64/dl-trampoline.h
24266 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24267 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24268
24269 2016-02-19 Mark Wielaard <mjw@redhat.com>
24270
24271 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24272
24273 2016-02-19 Mark Wielaard <mjw@redhat.com>
24274
24275 * elf/elf.h (R_386_GOT32X): New.
24276 (R_386_NUM): Update.
24277 (R_X86_64_GOTPCRELX: New.
24278 (R_X86_64_REX_GOTPCRELX): New.
24279 (R_X86_64_NUM): Update.
24280
24281 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24282
24283 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24284
24285 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24286
24287 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24288 assign attr->stackaddr to it, and adjust it down when
24289 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24290 [_STACK_GROWS_UP]: Delete assert.
24291 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24292 Implement stack grows up logic.
24293 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24294 stack grows up logic.
24295
24296 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24297
24298 * NEWS: Update with 2.24 template.
24299
24300 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24301
24302 [BZ #19678]
24303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24304 Ensure +0.0 is returned when taking the next value below the least
24305 positive value.
24306
24307 2016-02-19 Florian Weimer <fweimer@redhat.com>
24308
24309 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24310 available. Do not define NO_THREADS.
24311 * malloc/malloc.c: Do not check NO_THREADS.
24312 * malloc/arena.c: Likewise.
24313
24314 2016-02-19 Florian Weimer <fweimer@redhat.com>
24315
24316 * malloc/malloc.c (__libc_mallinfo): Update comment.
24317 (struct malloc_par): Remove max_total_mem member, it was always 0.
24318 (int_mallinfo): Store 0 into usmblks (no functional change).
24319 * malloc/hooks.c (struct malloc_state): Document that
24320 max_total_mem is always 0.
24321 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24322 always 0.
24323 * manual/memory.texi (Statistics of Malloc): Likewise.
24324
24325 2016-02-19 Florian Weimer <fweimer@redhat.com>
24326
24327 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24328 * malloc/arena.c (arena_max): Remove.
24329 (heap_trim, _int_new_arena): Do not update arena_max.
24330
24331 2016-02-19 Florian Weimer <fweimer@redhat.com>
24332
24333 * resolv/res_init.c (res_ninit): Update comment.
24334
24335 2016-02-19 Florian Weimer <fweimer@redhat.com>
24336
24337 [BZ #19505]
24338 * posix/spawn_int.h: Add headers and include guard.
24339 (__spawn_valid_fd): New function.
24340 * posix/spawn_faction_addopen.c
24341 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24342 * posix/spawn_faction_addclose.c
24343 (posix_spawn_file_actions_addclose): Likewise.
24344 * posix/spawn_faction_adddup2.c
24345 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24346 second file descriptor.
24347 * posix/spawn_valid_fd.c: New file.
24348 * posix/tst-posix_spawn-fd.c: New file.
24349 * posix/Makefile (routines): Add spawn_valid_fd.
24350 (tests): Add tst-posix_spawn-fd.
24351
24352 2016-02-19 Florian Weimer <fweimer@redhat.com>
24353
24354 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24355 (do_test): Limit the number of arenas, so that we can use fewer
24356 outer threads. Limit timeout to 3 seconds, in preparation for a
24357 larger TIMEOUT value.
24358
24359 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24360
24361 [BZ #19674]
24362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24363 sign in overflowing and underflowing results when overflow or
24364 underflow is detected early. Include sign in result before rather
24365 than after scaling.
24366
24367 [BZ #19603]
24368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24369 (__ieee754_remainderl): Adjust sign of integer version of low part
24370 when taking absolute value of high part.
24371 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24372 * math/libm-test.inc (remainder_test_data): Add another test.
24373 (remquo_test_data): Likewise.
24374
24375 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24376
24377 [BZ #19602]
24378 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24379 equal high parts and both low parts zero specially.
24380 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24381 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24382 Add test-fmodl-ldbl-128ibm.
24383
24384 [BZ #19595]
24385 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24386 common logic for all cases of shifting subnormal results. Do not
24387 insert sign bit in shifted mantissa. Always pass -1023 as biased
24388 exponent to ldbl_insert_mantissa in subnormal case.
24389
24390 [BZ #19594]
24391 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24392 on high and low parts then adjust result and use
24393 ldbl_canonicalize_int if needed.
24394
24395 [BZ #19593]
24396 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24397 on high part and __floor or __ceil on low part then use
24398 ldbl_canonicalize_int if needed.
24399
24400 [BZ #19592]
24401 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24402 high and low parts then use ldbl_canonicalize_int if needed.
24403
24404 [BZ #17899]
24405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24406 New function.
24407 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24408 on high and low parts then use ldbl_canonicalize_int if needed.
24409
24410 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24411
24412 * configure: Regenerated.
24413
24414 * po/libc.pot: Regenerated.
24415
24416 * po/be.po: Updated translation.
24417 * po/bg.po: Likewise.
24418 * po/ca.po: Likewise.
24419 * po/cs.po: Likewise.
24420 * po/da.po: Likewise.
24421 * po/el.po: Likewise.
24422 * po/eo.po: Likewise.
24423 * po/es.po: Likewise.
24424 * po/fi.po: Likewise.
24425 * po/fr.po: Likewise.
24426 * po/gl.po: Likewise.
24427 * po/hr.po: Likewise.
24428 * po/hu.po: Likewise.
24429 * po/ia.po: Likewise.
24430 * po/id.po: Likewise.
24431 * po/it.po: Likewise.
24432 * po/ja.po: Likewise.
24433 * po/lt.po: Likewise.
24434 * po/nb.po: Likewise.
24435 * po/nl.po: Likewise.
24436 * po/pt_BR.po: Likewise.
24437 * po/rw.po: Likewise.
24438 * po/sk.po: Likewise.
24439 * po/sl.po: Likewise.
24440 * po/sv.po: Likewise.
24441 * po/tr.po: Likewise.
24442 * po/zh_CN.po: Likewise.
24443 * po/zh_TW.po: Likewise.
24444
24445 * version.h (RELEAES): Set to "development".
24446 (VERSION): Set to 2.23.90.
24447
24448 * version.h (RELEASE): Set to "stable".
24449 (VERSION): Set to 2.23.
24450 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24451
24452 * NEWS: Updated fixed bugs.
24453
24454 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24455 Wilco Dijkstra <wdijkstr@arm.com>
24456
24457 [BZ #19462]
24458 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24459 (_STRING_INLINE_unaligned): This.
24460 * include/string.h: Include <string_private.h>.
24461 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24462 _STRING_INLINE_unaligned.
24463 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24464 (_STRING_INLINE_unaligned): New.
24465 * sysdeps/aarch64/string_private.h: New file.
24466 * sysdeps/generic/string_private.h: Likewise.
24467 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24468 * sysdeps/s390/string_private.h: Likewise.
24469 * sysdeps/x86/string_private.h: Likewise.
24470 * sysdeps/m68k/m680x0/m68020/bits/string.h
24471 (_STRING_ARCH_unaligned): Renamed to ...
24472 (_STRING_INLINE_unaligned): This.
24473 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24474 to ...
24475 (_STRING_INLINE_unaligned): This.
24476 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24477 to ...
24478 (_STRING_INLINE_unaligned): This.
24479 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24480 to ...
24481 (_STRING_INLINE_unaligned): This.
24482
24483 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24484 H.J. Lu <hongjiu.lu@intel.com>
24485
24486 [BZ #19590]
24487 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24488 relocation.
24489
24490 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24491
24492 [BZ #18665]
24493 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24494 *herrno_p.
24495 (gaih_getanswer): Document functional behviour. Return tryagain
24496 if any result is tryagain.
24497 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24498 when freed.
24499 * resolv/res_send.c: Add copyright text.
24500 (__libc_res_nsend): Document that MAXPACKET is expected.
24501 (send_vc): Document. Remove buffer reuse.
24502 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24503 size of the buffer. Add Dprint for truncated UDP buffer.
24504
24505 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24506
24507 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24508 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24509 * INSTALL: Regenerate.
24510
24511 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24512 Jonathan Wakely <jwakely@redhat.com>
24513 Carlos O'Donell <carlos@redhat.com>
24514
24515 [BZ 19439]
24516 * math/Makefile (tests): Add test-math-isinff.
24517 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24518 * math/bits/mathcalls.h [__USE_MISC]: Use
24519 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24520 functions not in C++11 and which don't conflict e.g. isinff,
24521 isinfl etc.
24522 * math/test-math-isinff.cc: New file.
24523
24524 2016-02-12 Florian Weimer <fweimer@redhat.com>
24525
24526 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24527
24528 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24529
24530 [BZ #19529]
24531 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24532
24533 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24534
24535 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24536
24537 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24538
24539 [BZ #19550]
24540 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24541 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24542 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24543 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24544 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24545 New syscall entry.
24546 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24547 New syscall entry.
24548 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24549 syscall entry.
24550
24551 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24552
24553 [BZ #18240]
24554 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24555 unsigned int wraparound.
24556
24557 2016-01-27 Florian Weimer <fweimer@redhat.com>
24558
24559 [BZ #18240]
24560 * misc/bug18240.c: New test.
24561 * misc/Makefile (tests): Add it.
24562
24563 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24564 Joseph Myers <joseph@codesourcery.com>
24565
24566 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24567 load in branch delay slot when less than a word of input left.
24568
24569 2016-01-27 Andreas Schwab <schwab@suse.de>
24570
24571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24572 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24573 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24574 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24575
24576 2016-01-26 David S. Miller <davem@davemloft.net>
24577
24578 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24579
24580 2016-01-25 David S. Miller <davem@davemloft.net>
24581
24582 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24583 __sqrtl_finite.
24584 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24585 instead using versioned_symbol.
24586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24587 of entries.
24588
24589 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24590 __sqrtl_finite to GLIBC_2.23
24591
24592 2016-01-25 Ricchard Henderson <rth@redhat.com>
24593
24594 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24595
24596 2016-01-25 Andreas Schwab <schwab@suse.de>
24597
24598 [BZ #17514]
24599 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24600 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24601 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24602 * nptl/tst-mutex-errorcheck.c: New file.
24603
24604 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24605
24606 [BZ #18560]
24607 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24608 (IPCOP_semop): Likewise.
24609 (IPCOP_semget): Likewise.
24610 (IPCOP_semctl): Likewise.
24611 (IPCOP_msgsnd): Likewise.
24612 (IPCOP_msgrcv): Likewise.
24613 (IPCOP_msgget): Likewise.
24614 (IPCOP_msgctl): Likewise.
24615 (IPCOP_shmat): Likewise.
24616 (IPCOP_shmdt): Likewise.
24617 (IPCOP_shmget): Likewise.
24618 (IPCOP_shmctl): Likewise.
24619
24620 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24621
24622 * string/tst-endian.c: Include <libc-internal.h>.
24623 (do_test): Ignore tautological-compare warnings around
24624 "htobeXX (beXXtoh (i)) != i" and
24625 "htoleXX (leXXtoh (i)) != i" if-statements.
24626
24627 2016-01-24 David S. Miller <davem@davemloft.net>
24628
24629 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24630 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24631 alias.
24632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24633 __sqrtl_finite.
24634
24635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24636
24637 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24638
24639 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24640 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24641 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24642
24643 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24644
24645 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24646 (thread_func): Use new function to simplify barrier check.
24647 (do_test): Use new function to simplify checking barrier exit
24648 code, and actually join the child thread.
24649
24650 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24651
24652 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24653 semicolon.
24654 (__libc_tend): Likewise.
24655 (__libc_tabort): Likewise.
24656
24657 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24658
24659 * sysdeps/nios2/libm-test-ulps: Update.
24660 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24661 (__gtsf2): Likewise.
24662 (__unorddf2): Likewise.
24663 (__unordsf2): Likewise.
24664 (__ledf2): Likewise.
24665
24666 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24667
24668 * nis/nis_table.c (__follow_path): Disable diagnostic for
24669 uninitialized variable that is a false positive for gcc 4.7.
24670 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24671
24672 2016-01-20 Roland McGrath <roland@hack.frob.com>
24673
24674 * sysdeps/nacl/lowlevellock-futex.h
24675 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24676 Always evaluate PRIVATE argument.
24677
24678 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24679
24680 [BZ #19490]
24681 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24682 (pthread_cond_broadcast): Use ENTRY/END
24683 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24684 (pthread_cond_signal): Likewise.
24685 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24686 Likewise.
24687 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24688 Likewise.
24689 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24690 Likewise.
24691
24692 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24693
24694 * sysdeps/ieee754/dbl-64/s_finite.c
24695 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24696 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24697 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24698 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24699 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24700
24701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24702 (__gtsf2): Add as optional for libc.so.
24703 (__unordsf2): Likewise.
24704 (__signbit): Remove for libc.so.
24705 (__signbitl): Likewise.
24706
24707 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24708
24709 * iconvdata/bug-iconv11.c (test_ibm93x):
24710 Use %zu printf format specifier for size_t argument.
24711
24712 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24713
24714 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24715 already-recorded ulps.
24716 * sysdeps/arm/libm-test-ulps: Regenerated.
24717 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24718 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24719 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24720
24721 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24722 Paul Pluzhnikov <ppluzhnikov@google.com>
24723
24724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24725 assembler not supporting AVX-512.
24726
24727 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24728
24729 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24730
24731 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24732
24733 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24734 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24735
24736 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24737
24738 * sysdeps/arm/libm-test-ulps: Regenerated.
24739
24740 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24741
24742 [BZ #19451]
24743 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24744
24745 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24746
24747 [BZ #19486]
24748 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24749 * sysdeps/generic/fix-fp-int-convert-overflow.h
24750 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24751 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24752 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24753 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24754 Likewise.
24755 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24756 Avoid conversions to long int where inexact exceptions
24757 could be raised.
24758 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24759 Likewise.
24760 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24761 Avoid conversions to long long int where inexact exceptions
24762 could be raised.
24763 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24764 Likewise.
24765
24766 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24767
24768 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24769 * configure: Regenerated.
24770
24771 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24772
24773 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24774
24775 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24776
24777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24778 outside of comment.
24779
24780 2016-01-15 Torvald Riegel <triegel@redhat.com>
24781
24782 * nptl/tst-barrier1.c: Add description on first line.
24783 * nptl/tst-barrier2.c: Likewise.
24784 * nptl/tst-barrier3.c: Likewise.
24785 * nptl/tst-barrier4.c: Likewise.
24786 * nptl/tst-barrier5.c: Likewise.
24787
24788 2016-01-15 Torvald Riegel <triegel@redhat.com>
24789
24790 [BZ #18868]
24791 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24792
24793 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24794
24795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24797 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24798 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24799 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24800 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24801 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24802 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24803 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24804 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24805 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24806
24807 2016-01-15 Torvald Riegel <triegel@redhat.com>
24808
24809 [BZ #13065]
24810 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24811 new implementation.
24812 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24813 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24814 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24815 (BARRIER_IN_THRESHOLD): New macro.
24816 * nptl/pthread_barrierattr_setpshared.c
24817 (pthread_barrierattr_setpshared): Clean up.
24818 * nptl/tst-barrier4.c: Correct comment.
24819 * nptl/tst-barrier5.c: New file.
24820 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24821 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24822 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24823 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24824 * nptl/lowlevelbarrier.sym: Remove.
24825 * nptl/DESIGN-barrier.txt: Remove.
24826 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24827 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24828 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24829 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24830 error.
24831 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24832 implementation.
24833
24834 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24835
24836 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24837 (do_child): Mask SIGRTMIN while thr is running.
24838
24839 2016-01-15 Martin Sebor <msebor@redhat.com>
24840
24841 [BZ #19432]
24842 * iconvdata/Makefile: Add bug-iconv11.
24843 * iconvdata/bug-iconv11.c: New test.
24844 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24845 * iconvdata/ibm933.c: Same.
24846 * iconvdata/ibm935.c: Same.
24847 * iconvdata/ibm937.c: Same.
24848 * iconvdata/ibm939.c: Same.
24849
24850 2016-01-15 Martin Sebor <msebor@redhat.com>
24851
24852 [BZ #19443]
24853 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24854 [DEBUG] (_ufc_set_bits): Declare used.
24855 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24856 [DEBUG] (print_all): Declare used.
24857 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24858 operands of the ternary ?: expression to target type.
24859 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24860 calling the undeclared abort.
24861 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24862
24863 2016-01-15 Martin Sebor <msebor@redhat.com>
24864
24865 [BZ #18755]
24866 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24867 warnings.
24868 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24869 (__gai_create_helper_thread): Same.
24870 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24871 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24872 to suppress -Wmaybe-uninitialized warnings.
24873
24874 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24875
24876 [BZ #19465]
24877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24878 inside if.
24879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24880 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24882
24883 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 [BZ #19466]
24886 * time/tst-mktime2.c (time_t_max): Removed.
24887 (time_t_min): Likewise.
24888 (TYPE_SIGNED): New.
24889 (TYPE_MINIMUM): Likewise.
24890 (TYPE_MAXIMUM): Likewise.
24891 (TIME_T_MIN): Likewise.
24892 (TIME_T_MAX): Likewise.
24893 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24894 and TIME_T_MIN.
24895 (do_test): Likewise.
24896
24897 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24898
24899 [BZ #19467]
24900 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24901 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24902
24903 2016-01-02 Marcin Koƛcielnicki <koriakin@0x04.net>
24904
24905 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24906
24907 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24908
24909 * benchtests/Makefile (PYTHON): Define.
24910 (bench-func): Use $(PYTHON) to run python scripts.
24911 ($(objpfx)bench-%.c): Likewise.
24912
24913 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24914
24915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24916 leading slash when `file_name' is "/".
24917
24918 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24919
24920 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24921 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24922 Likewise.
24923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24924 Likewise.
24925 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24926 Likewise.
24927 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24928 enum constant and macro.
24929 (PTRACE_SETSIGMASK): Likewise.
24930 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24931 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24932 (PTRACE_GETSIGMASK): Likewise.
24933 (PTRACE_SETSIGMASK): Likewise.
24934 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24936 Likewise.
24937 (PTRACE_SETSIGMASK): Likewise.
24938 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24940 (PTRACE_GETSIGMASK): Likewise.
24941 (PTRACE_SETSIGMASK): Likewise.
24942 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24944 Likewise.
24945 (PTRACE_SETSIGMASK): Likewise.
24946 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24948 Likewise.
24949 (PTRACE_SETSIGMASK): Likewise.
24950 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24951 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24952 Likewise.
24953 (PTRACE_SETSIGMASK): Likewise.
24954 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24955
24956 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24957 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24958
24959 [BZ #19439]
24960 * math/bits/mathcalls.h
24961 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24962 prototype.
24963 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24964
24965 2016-01-11 Andreas Schwab <schwab@suse.de>
24966
24967 [BZ #19253]
24968 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24969 cache when TZDEFRULES was used.
24970 * time/tst-tzname.c: New file.
24971 * time/Makefile (test): Add tst-tzname.
24972 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24973 * timezone/Makefile (test-zones): Add $(posixrules-file).
24974 ($(testdata)/$(posixrules-file)): New rule.
24975
24976 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24977
24978 Fix doc quoting problems with Texinfo 5
24979 Without this change, in the info file output, Texinfo 5 quotes code
24980 in text with undirected single quotes 'like this' and generates
24981 code examples that with many PDF readers cannot be cut out of PDFs
24982 and pasted into code.
24983 * manual/libc.texinfo: Configure the libc manual like the GNU
24984 Emacs manual, by using @documentencoding and setting
24985 txicodequoteundirected and txicodequotebacktick. This way,
24986 Texinfo 5 quotes code in text with directed single quotes ‘like
24987 this’ and produces examples that can be cut out of PDFs. This
24988 change causes Texinfo 5 to generate info files that contain UTF-8
24989 characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
24990 '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
24991
24992 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24993
24994 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24995 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24996 barriers to their respective compiler built-ins.
24997 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24998 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24999 * sysdeps/powerpc/sysdep.h: Likewise.
25000 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25001 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25002 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25003
25004 2016-01-08 Marko Myllynen <myllynen@redhat.com>
25005
25006 * scripts/config.guess: Revert previous shebang change.
25007 * scripts/config.sub: Likewise.
25008 * scripts/mkinstalldirs: Likewise.
25009
25010 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25011
25012 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25013 PPC_FEATURE2_HAS_IEEE128.
25014 * sysdeps/powerpc/dl-procinfo.c:
25015 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25016
25017 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
25018
25019 [BZ #19415]
25020 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25021 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25022 (_dl_lookup_address): Rewrite using function resolver trampoline.
25023 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25024 two bits in address.
25025
25026 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25027
25028 * longlong.h: Change !__SHMEDIA__ to
25029 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25030 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25031
25032 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25033 Joseph Myers <joseph@codesourcery.com>
25034 Mark Shinwell <shinwell@codesourcery.com>
25035 Andrew Stubbs <ams@codesourcery.com>
25036 Rich Felker <dalias@libc.org>
25037
25038 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25039
25040 2016-01-07 Richard Henderson <rth@redhat.com>
25041
25042 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25043
25044 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25045
25046 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25047 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25048 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25049 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25050 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25051
25052 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25053 Joseph Myers <joseph@codesourcery.com>
25054
25055 * timezone/private.h: Update from tzcode 2015g.
25056 * timezone/tzfile.h: Likewise.
25057 * timezone/tzselect.ksh: Likewise.
25058 * timezone/zdump.c: Likewise.
25059 * timezone/zic.c: Likewise.
25060 * timezone/ialloc.c: Remove file.
25061 * timezone/scheck.c: Likewise.
25062 * timezone/Makefile (extra-objs): Remove variable.
25063 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25064 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25065 -Wno-maybe-uninitialized.
25066 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25067 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25068 (CFLAGS-ialloc.c): Remove variable.
25069 (CFLAGS-scheck.c): Likewise.
25070 * timezone/README: Update list of files from tzcode.
25071
25072 2016-01-07 Khem Raj <raj.khem@gmail.com>
25073
25074 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25075 instead of __fxprintf when _LIBC is undefined.
25076
25077 2016-01-07 Marko Myllynen <myllynen@redhat.com>
25078
25079 * catgets/test-gencat.sh: Remove space after shebang.
25080 * conform/GlibcConform.pm: Likewise.
25081 * conform/check-header-lists.sh: Likewise.
25082 * conform/conformtest.pl: Likewise.
25083 * conform/linknamespace.pl: Likewise.
25084 * conform/list-header-symbols.pl: Likewise.
25085 * debug/catchsegv.sh: Likewise.
25086 * elf/genrtldtbl.awk: Likewise.
25087 * elf/tst-pathopt.sh: Likewise.
25088 * elf/tst-rtld-load-self.sh: Likewise.
25089 * grp/tst_fgetgrent.sh: Likewise.
25090 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25091 * iconvdata/gen-8bit-gap.sh: Likewise.
25092 * iconvdata/gen-8bit.sh: Likewise.
25093 * iconvdata/run-iconv-test.sh: Likewise.
25094 * intl/tst-gettext.sh: Likewise.
25095 * intl/tst-gettext2.sh: Likewise.
25096 * intl/tst-gettext4.sh: Likewise.
25097 * intl/tst-gettext6.sh: Likewise.
25098 * intl/tst-translit.sh: Likewise.
25099 * io/ftwtest-sh: Likewise.
25100 * libio/test-freopen.sh: Likewise.
25101 * locale/gen-translit.pl: Likewise.
25102 * malloc/tst-mtrace.sh: Likewise.
25103 * manual/check-safety.sh: Likewise.
25104 * manual/libc-texinfo.sh: Likewise.
25105 * manual/tsort.awk: Likewise.
25106 * manual/xtract-typefun.awk: Likewise.
25107 * nptl/tst-cancel-wrappers.sh: Likewise.
25108 * nptl/tst-tls6.sh: Likewise.
25109 * posix/globtest.sh: Likewise.
25110 * posix/tst-getconf.sh: Likewise.
25111 * posix/wordexp-tst.sh: Likewise.
25112 * scripts/check-c++-types.sh: Likewise.
25113 * scripts/check-local-headers.sh: Likewise.
25114 * scripts/config.guess: Likewise.
25115 * scripts/config.sub: Likewise.
25116 * scripts/cpp: Likewise.
25117 * scripts/cross-test-ssh.sh: Likewise.
25118 * scripts/documented.sh: Likewise.
25119 * scripts/evaluate-test.sh: Likewise.
25120 * scripts/gen-libc-abis: Likewise.
25121 * scripts/gen-sorted.awk: Likewise.
25122 * scripts/list-fixed-bugs.py: Likewise.
25123 * scripts/merge-test-results.sh: Likewise.
25124 * scripts/mkinstalldirs: Likewise.
25125 * scripts/rellns-sh: Likewise.
25126 * scripts/test-installation.pl: Likewise.
25127 * scripts/update-copyrights: Likewise.
25128 * stdio-common/tst-printf.sh: Likewise.
25129 * stdio-common/tst-unbputc.sh: Likewise.
25130 * stdlib/tst-fmtmsg.sh: Likewise.
25131 * stdlib/tst-setcontext3.sh: Likewise.
25132 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25133 * sysdeps/unix/make-syscalls.sh: Likewise.
25134
25135 2016-01-06 John David Anglin <dave.anglin@bell.net>
25136
25137 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25138 asm stw with atomic_exchange_rel. Add explanatory comment.
25139 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25140 Likewise.
25141
25142 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25143
25144 [BZ #19122]
25145 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25146 * sysdeps/generic/dl-unistd.h: New file.
25147 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25148
25149 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25150
25151 [BZ #19122]
25152 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25153 * sysdeps/generic/dl-mman.h: New file.
25154 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25155
25156 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25157
25158 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25159 trailing whitespace removed.
25160 * scripts/config.guess: Update to version 2016-01-01.
25161 * scripts/config.sub: Update to version 2016-01-01.
25162 * scripts/move-if-change: Update from gnulib.
25163
25164 2016-01-04 Anton Blanchard <anton@samba.org>
25165
25166 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25167 for array indices.
25168 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25169
25170 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25171
25172 * NEWS: Update copyright dates.
25173 * catgets/gencat.c (print_version): Likewise.
25174 * csu/version.c (banner): Likewise.
25175 * debug/catchsegv.sh: Likewise.
25176 * debug/pcprofiledump.c (print_version): Likewise.
25177 * debug/xtrace.sh (do_version): Likewise.
25178 * elf/ldconfig.c (print_version): Likewise.
25179 * elf/ldd.bash.in: Likewise.
25180 * elf/pldd.c (print_version): Likewise.
25181 * elf/sotruss.sh: Likewise.
25182 * elf/sprof.c (print_version): Likewise.
25183 * iconv/iconv_prog.c (print_version): Likewise.
25184 * iconv/iconvconfig.c (print_version): Likewise.
25185 * locale/programs/locale.c (print_version): Likewise.
25186 * locale/programs/localedef.c (print_version): Likewise.
25187 * login/programs/pt_chown.c (print_version): Likewise.
25188 * malloc/memusage.sh (do_version): Likewise.
25189 * malloc/memusagestat.c (print_version): Likewise.
25190 * malloc/mtrace.pl: Likewise.
25191 * manual/libc.texinfo: Likewise.
25192 * nptl/version.c (banner): Likewise.
25193 * nscd/nscd.c (print_version): Likewise.
25194 * nss/getent.c (print_version): Likewise.
25195 * nss/makedb.c (print_version): Likewise.
25196 * posix/getconf.c (main): Likewise.
25197 * scripts/test-installation.pl: Likewise.
25198 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25199
25200 * All files with FSF copyright notices: Update copyright dates
25201 using scripts/update-copyrights.
25202 * intl/plural.c: Regenerated.
25203 * locale/programs/charmap-kw.h: Likewise.
25204 * locale/programs/locfile-kw.h: Likewise.
25205
25206 2016-01-02 Helge Deller <deller@gmx.de>
25207
25208 [BZ #19285]
25209 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25210 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25211 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25212 (MADV_xxK_PAGES): Remove.
25213
25214 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25215
25216 [BZ #15421]
25217 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25218 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25219 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25220 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25221
25222 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25223
25224 [BZ #19408]
25225 * sysdeps/unix/sysv/linux/personality.c: New file.
25226 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25227 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25228 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25229 (sysdep_routines): Add personality.
25230 (tests): Add tst-personality.
25231 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25233 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25234 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25235 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25236 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25237 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25238 Likewise.
25239 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25240 Likewise.
25241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25242 Likewise.
25243 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25244 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25245 Likewise.
25246
25247 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25248
25249 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25250 (PATH_ARM_SYSTYPE): Remove.
25251 (PATH_CPUINFO): Likewise.
25252 (IO_BASE_FOOTBRIDGE): Likewise.
25253 (IO_SHIFT_FOOTBRIDGE): Likewise.
25254 (struct platform): Likewise.
25255 (init_iosys): Remove compatibility code for 2.4 kernels.
25256 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25257
25258 2015-12-29 Florian Weimer <fweimer@redhat.com>
25259
25260 * malloc/tst-malloc-thread-fail.c: New file.
25261 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25262 (tst-malloc-thread-fail): Link against libpthread.
25263
25264 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25265
25266 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25267 (get_parser): New function.
25268 (main): New function.
25269
25270 2015-12-29 Rob Wu <rob@robwu.nl>
25271
25272 [BZ #19369]
25273 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25274
25275 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25276
25277 [BZ #19270]
25278 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25279
25280 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25281
25282 [BZ #15421]
25283 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25284
25285 2015-12-23 Torvald Riegel <triegel@redhat.com>
25286
25287 [BZ #13690]
25288 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25289 after releasing it.
25290 (__lll_robust_unlock): Likewise.
25291 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25293 (lll_robust_unlock): Likewise.
25294 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25295 Prevent warnings in callers.
25296
25297 2015-12-23 Florian Weimer <fweimer@redhat.com>
25298
25299 * malloc/arena.c (list_lock): Update comment.
25300
25301 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25302
25303 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25304 __parse_hwcap_and_convert_at_platform to libc.a.
25305
25306 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25307
25308 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25309 platform and feature support for POWER9.
25310 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25311 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25312 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25313 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25314 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25315 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25316 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25317 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25318
25319 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25320
25321 Harmonize generic stdio-lock support with nptl
25322
25323 This fixes build when _IO_funlockfile is a macro, fixes build where
25324 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25325 stack unwind.
25326
25327 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25328 _IO_release_lock ): Use cleanup attribute on new
25329 _IO_acquire_lock_file variable instead of assuming that
25330 _IO_release_lock will be called.
25331 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25332 _IO_acquire_lock_needs_exceptions_enabled.
25333 (_IO_acquire_lock_clear_flags2): New macro.
25334
25335 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25336
25337 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25338
25339 2015-12-21 Florian Weimer <fweimer@redhat.com>
25340
25341 [BZ #19182]
25342 * malloc/arena.c (list_lock): Document lock ordering requirements.
25343 (free_list_lock): New lock.
25344 (ptmalloc_lock_all): Comment on free_list_lock.
25345 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25346 (detach_arena): Update comment. free_list_lock is now needed.
25347 (_int_new_arena): Use free_list_lock around detach_arena call.
25348 Acquire arena lock after list_lock. Add comment, including FIXME
25349 about incorrect synchronization.
25350 (get_free_list): Switch to free_list_lock.
25351 (reused_arena): Acquire free_list_lock around detach_arena call
25352 and attached threads counter update. Add two FIXMEs about
25353 incorrect synchronization.
25354 (arena_thread_freeres): Switch to free_list_lock.
25355 * malloc/malloc.c (struct malloc_state): Update comments to
25356 mention free_list_lock.
25357
25358 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25359
25360 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25361 Remove functions.
25362 (sloww, sloww1): Accept argument to offset quadrant.
25363 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25364 quadrant.
25365 (__sin, __cos): Consolidate common code into new functions.
25366 (reduce_sincos_1, do_sincos_1): New functions.
25367 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25368
25369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25370 code to new functions.
25371 (reduce_sincos_2, do_sincos_2): New functions.
25372 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25373
25374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25375 common code for sincos.
25376 (__cos) [!IN_SINCOS]: Likewise.
25377 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25378 New function.
25379 (__sincos): Use it.
25380
25381 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25382
25383 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25384 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25385 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25386
25387 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25388
25389 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25392 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25393 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25394 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25395 index_Prefer_No_VZEROUPPER): New feature.
25396 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25397 Prefer_No_VZEROUPPER for Knights Landing.
25398
25399 015-12-18 Torvald Riegel <triegel@redhat.com>
25400
25401 * math/atest-exp2.c (mp_exp_m1): Remove.
25402
25403 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25404
25405 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25406 syscalls.
25407 (__SYSCALL0): New macro.
25408 (__SYSCALL1): Likewise.
25409 (__SYSCALL2): Likewise.
25410 (__SYSCALL3): Likewise.
25411 (__SYSCALL4): Likewise.
25412 (__SYSCALL5): Likewise.
25413 (__SYSCALL6): Likewise.
25414 (__SYSCALL_CONCAT_X): Likewise.
25415 (__SYSCALL_CONCAT): Likewise.
25416 (__SYSCALL_DIST): Likewise.
25417 (__SYSCALL_CALL): Likewise.
25418
25419 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25420
25421 [BZ #19363]
25422 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25423
25424 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25425
25426 [BZ #19375]
25427 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25428 negative subnormals.
25429
25430 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25433 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25434 (INTERNAL_SYSCALL_NCS): Use it.
25435 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25436
25437 2015-12-16 Florian Weimer <fweimer@redhat.com>
25438
25439 [BZ #19243]
25440 * malloc/arena.c (get_free_list): Remove assert and adjust
25441 reference count handling. Add comment about reused_arena
25442 interaction.
25443 (reused_arena): Add comments abount get_free_list interaction.
25444 * malloc/tst-malloc-thread-exit.c: New file.
25445 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25446 (tst-malloc-thread-exit): Link against libpthread.
25447
25448 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 [BZ #19367]
25451 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25452 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25453 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25454 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25455 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25456
25457 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25458
25459 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25460 Silvermont optimizations for Knights Landing.
25461
25462 2015-12-15 Andreas Schwab <schwab@suse.de>
25463
25464 [BZ #17197]
25465 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25466 immediately after emitting SI.
25467 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25468 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25469 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25470 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25471 * iconvdata/bug-iconv10.c: New file.
25472 * iconvdata/Makefile (tests): Add bug-iconv10.
25473 ($(objpfx)bug-iconv10.out): New rule.
25474
25475 2015-12-15 Florian Weimer <fweimer@redhat.com>
25476
25477 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25478 aliasing violation.
25479
25480 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25481
25482 [BZ #18472]
25483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25484 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25485 conditionals for them.
25486 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25487 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25489 sys/kdaemon.h.
25490 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25491 compat-only syscall, obsoleted in glibc 2.23.
25492 (create_module): Likewise.
25493 (get_kernel_syms): Likewise.
25494 (query_module): Likewise.
25495 (uselib): Likewise.
25496 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25497
25498 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25499
25500 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25501 <linux/version.h>.
25502 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25503 conditional code.
25504 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25505 and ioshift_name initialization.
25506
25507 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25508
25509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25510 Fix indentation.
25511
25512 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25513
25514 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25515
25516 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25517
25518 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25519
25520 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25521 Jakub Wilk <jwilk@debian.org>
25522
25523 [BZ #19347]
25524 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25525 to change the group of the device to the tty group.
25526
25527 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25528
25529 Split large string section; add truncation advice
25530 * manual/examples/strncat.c: Remove.
25531 This example was misleading, as the code would have undefined
25532 behavior if "hello" was longer than SIZE. Anyway, the manual
25533 shouldn't encourage strncpy+strncat for this sort of thing.
25534 * manual/string.texi (Copying Strings and Arrays): Split into
25535 three sections Copying Strings and Arrays, Concatenating Strings,
25536 and Truncating Strings, as this section was way too long. All
25537 cross-referenced changed. Add advice about string-truncation
25538 functions. Remove misleading strncat example.
25539
25540 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25541
25542 * manual/nss.texi (NSS Modules Interface): Document
25543 NSS_STATUS_NOTFOUND and SUCCESS.
25544
25545 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25546
25547 [BZ 18568]
25548 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25549 201505L, for Unicode 8.
25550
25551 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25552
25553 * locale/C-translit.h: Regenerate.
25554
25555 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25556
25557 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25558 and U+0153.
25559
25560 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25561
25562 [BZ #19351]
25563 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25564 expanding log(1+z), compare z rather than its square with epsilon
25565 to determine when to avoid evaluating the expansion.
25566
25567 [BZ #19350]
25568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25569 Increase overflow threshold.
25570
25571 [BZ #19349]
25572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25573 when small.
25574
25575 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25576 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25577 New macro.
25578 [__LINUX_KERNEL_VERSION >= 0x040300]
25579 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25580 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25581 Likewise.
25582 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25583 Likewise.
25584 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25585 Likewise.
25586 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25587 Likewise.
25588 [__LINUX_KERNEL_VERSION >= 0x040300]
25589 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25590 [__LINUX_KERNEL_VERSION >= 0x040300]
25591 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25592 [__LINUX_KERNEL_VERSION >= 0x040300]
25593 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25594 [__LINUX_KERNEL_VERSION >= 0x040300]
25595 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25596 [__LINUX_KERNEL_VERSION >= 0x040300]
25597 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25598 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25599 Likewise.
25600 [__LINUX_KERNEL_VERSION >= 0x040300]
25601 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25602 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25603 Likewise.
25604 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25605 Likewise.
25606 [__LINUX_KERNEL_VERSION >= 0x040300]
25607 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25608 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25609 Likewise.
25610 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25611 Likewise.
25612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25613 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25614 Likewise.
25615 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25616 Likewise.
25617 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25618 Likewise.
25619 [__LINUX_KERNEL_VERSION >= 0x040300]
25620 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25621 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25622 Likewise.
25623 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25624 Likewise.
25625 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25626 Likewise.
25627 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25628 Likewise.
25629 [__LINUX_KERNEL_VERSION >= 0x040300]
25630 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25631 [__LINUX_KERNEL_VERSION >= 0x040300]
25632 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25633 [__LINUX_KERNEL_VERSION >= 0x040300]
25634 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25635 [__LINUX_KERNEL_VERSION >= 0x040300]
25636 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25637 [__LINUX_KERNEL_VERSION >= 0x040300]
25638 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25639 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25640 Likewise.
25641 [__LINUX_KERNEL_VERSION >= 0x040300]
25642 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25643 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25644 Likewise.
25645 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25646 Likewise.
25647 [__LINUX_KERNEL_VERSION >= 0x040300]
25648 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25649 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25650 Likewise.
25651 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25652 Likewise.
25653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25654 (__ASSUME_SOCKET_SYSCALL): Likewise.
25655 (__ASSUME_BIND_SYSCALL): Likewise.
25656 (__ASSUME_CONNECT_SYSCALL): Likewise.
25657 (__ASSUME_LISTEN_SYSCALL): Likewise.
25658 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25659 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25660 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25661 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25662 (__ASSUME_SEND_SYSCALL): Likewise.
25663 (__ASSUME_SENDTO_SYSCALL): Likewise.
25664 (__ASSUME_RECV_SYSCALL): Likewise.
25665 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25666 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25667 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25668 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25669 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25670 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25671 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25672 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25673 Likewise.
25674 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25675 Likewise.
25676 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25677 Likewise.
25678 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25679 Likewise.
25680 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25681 Likewise.
25682 [__LINUX_KERNEL_VERSION >= 0x020625]
25683 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25684 [__LINUX_KERNEL_VERSION >= 0x020625]
25685 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25686 [__LINUX_KERNEL_VERSION >= 0x020625]
25687 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25688 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25689 Likewise.
25690 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25691 Likewise.
25692 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25693 Likewise.
25694 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25695 Likewise.
25696 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25697 Likewise.
25698 [__LINUX_KERNEL_VERSION >= 0x020625]
25699 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25700 [__LINUX_KERNEL_VERSION >= 0x020625]
25701 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25702 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25703 Likewise.
25704 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25705 Likewise.
25706
25707 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25708
25709 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25710 record the current if the current ABI and CPU support the FP64
25711 extension.
25712 (has-modd-spreg): Define to record the current if the current ABI and
25713 CPU support 32-bit floating point values in odd FPU registers.
25714 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25715 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25716 $(has-modd-spreg) equals yes.
25717 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25718 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25719 $(has-modd-spreg) equal yes.
25720
25721 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25722
25723 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25724 basename.
25725
25726 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25727
25728 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25729 (bench-string): ... here.
25730 (bench): Add bench-string.
25731 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25732 to *-benchset to reflect what they are.
25733 (benchset): Adjust.
25734
25735 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25736 cos-inputs.
25737
25738 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25739
25740 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25741 __attribute__ ((__simd__)) for vector math function declarations.
25742
25743 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25744
25745 Fix typo in strncat, wcsncat manual entries
25746 * manual/string.texi (Copying and Concatenation): Fix typos in
25747 sample implementations of strncat and wcsncat, by having them use
25748 the old value of the destination length, not the new one.
25749
25750 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25751
25752 [BZ #16961]
25753 [BZ #16962]
25754 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25755 string on the stack for strtod.
25756 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25757 a string on the stack for strtof.
25758 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25759 constructing a string on the stack for strtold.
25760 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25761 __strtold_nan to GLIBC_PRIVATE.
25762 * math/test-nan-overflow.c: New file.
25763 * math/test-nan-payload.c: Likewise.
25764 * math/Makefile (tests): Add test-nan-overflow and
25765 test-nan-payload.
25766
25767 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25768
25769 Consistency about byte vs character in string.texi
25770 * manual/string.texi (String and Array Utilities):
25771 Distinguish more carefully among bytes, multibyte characters,
25772 and wide characters. Use "byte" when talking about C 'char',
25773 to distinguish it more clearly from multibyte characters.
25774 Say "wide character" or "multibyte character" instead of
25775 "character", when a wide or multibyte character is intended.
25776 Similarly for "multibyte string" versus "string".
25777 Define these terms more carefully.
25778
25779 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25780
25781 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25782 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25783 Likewise.
25784 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25785 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25786 * sysdeps/sh/math_private.h: New file.
25787 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25788 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25789 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25790 long double function name.
25791 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25797 Remove __finitel, __isinfl, and __isnanl.
25798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25799 Likewise.
25800 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25802 Remove __finitel.
25803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25804 Likewise.
25805 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25806
25807 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25808
25809 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25810 installed libmvec_nonshared.a.
25811
25812 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25813
25814 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25815 (sysdep_routines): Likewise.
25816 (sysdep-rtld-routines): Likewise.
25817 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25818 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25819 * sysdeps/powerpc/Versions: Added new
25820 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25821 * sysdeps/powerpc/hwcapinfo.c: New file.
25822 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25823 and parse hwcap, hwcap2 and platform number information.
25824 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25825 to store HWCAP+HWCAP2 and platform number.
25826 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25827 for HWCAP+HWCAP2 and platform number in the TCB.
25828 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25829 the HWCAP, HWCAP2 and platform number in the TCB.
25830 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25831 (TLS_INIT_TP): Included calls to add the hwcap and
25832 at_platform values in the TCB in TP initialization.
25833 (TLS_DEFINE_INIT_TP): Likewise.
25834 (THREAD_GET_HWCAP): New macro.
25835 (THREAD_SET_HWCAP): Likewise.
25836 (THREAD_GET_AT_PLATFORM): Likewise.
25837 (THREAD_SET_AT_PLATFORM): Likewise.
25838 * sysdeps/powerpc/powerpc32/dl-machine.h:
25839 (dl_platform_init): New function that calls
25840 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25841 powerpc32.
25842 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25843 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25844 this functionality, static linking case.
25845 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25846 linking case.
25847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25848 __parse_hwcap_and_convert_at_platform for the static linking case.
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25850 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25851 ABI list for GLIBC 2.23.
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25853 Likewise.
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25855 Likewise.
25856
25857 2015-12-02 Ludovic CourtĂšs <ludo@gnu.org>
25858
25859 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25860 * configure: Regenerate.
25861 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25862 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25863
25864 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25865
25866 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25867 * iconvdata/ibm933.c: Likewise.
25868 * iconvdata/ibm935.c: Likewise.
25869 * iconvdata/ibm937.c: Likewise.
25870 * iconvdata/ibm939.c: Likewise.
25871
25872 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25873
25874 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25875 pthread_join.
25876 * nptl/tst-cancel21.c (tf): Likewise.
25877
25878 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25879
25880 [BZ #19313]
25881 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25882 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25883 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25884 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25885 Likewise.
25886 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25887 Likewise.
25888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25889 Likewise.
25890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25891 Likewise.
25892 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25893 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25894 unsigned long int with __CPU_MASK_TYPE.
25895
25896 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25897
25898 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25899
25900 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25901
25902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25903 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25904 t512.x.
25905 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25906
25907 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25908
25909 [BZ #19214]
25910 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25911 argument to return extended model. Update family and model
25912 with extended family and model when family == 0x0f.
25913 (init_cpu_features): Updated.
25914
25915 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25916
25917 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25918 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25919
25920 * sysdeps/mach/hurd/mmap64.c: New file.
25921
25922 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25923
25924 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25925 rights for its main user thread in NEWTASK.
25926
25927 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25928
25929 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25930 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25931
25932 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25933
25934 [BZ #14259]
25935 * Makeconfig: Rename localedir to complocaledir.
25936 Rename inst_localedir to inst_complocaledir.
25937 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25938 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25939 * configure.ac: Use libc_cv_complocaledir.
25940 * configure: Regenerate.
25941 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25942 -DCOMPLOCALEDIR.
25943 * locale/findlocale.c: Use COMPLOCALEDIR.
25944 * locale/loadarchive.c: Likewise.
25945 * locale/programs/locale.c: Likewise.
25946 * locale/programs/localedef.c: Likewise.
25947 * locale/programs/locarchive.c: Likewise.
25948 * localedata/Makefile: Use inst_complocaledir.
25949 * sysdeps/gnu/configure: Regenerate.
25950 * sysdeps/hppa/configure: Regenerate.
25951 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25952 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25954 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25955 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25956 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25957 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25958
25959 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25960
25961 [BZ #19058]
25962 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25963 AS_NEEDED.
25964 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25965 workaround.
25966 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25967 libmvec-static-only-routines): Added new file.
25968 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25969
25970 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25971
25972 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25973 of interrupted RPC instead of restoring it.
25974
25975 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25976 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25977 libc_hidden_def.
25978 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25979 into initialized data instead of common. Define rtld_hidden_data_def.
25980 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25981 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25982 libc_hidden_def.
25983 (if_freenameindex): Add libc_hidden_weak.
25984 (if_nameindex): Add libc_hidden_weak.
25985 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25986 __open64.
25987 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25988 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25989 * sysdeps/mach/nanosleep.c: Include <time.h>
25990 (__nanosleep): Rename to __libc_nanosleep.
25991 (__nanosleep): Add weak_alias.
25992 (nanosleep): Update alias.
25993
25994 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25995
25996 * stdlib/strtod_nan.c: New file.
25997 * stdlib/strtod_nan_double.h: Likewise.
25998 * stdlib/strtod_nan_float.h: Likewise.
25999 * stdlib/strtod_nan_main.c: Likewise.
26000 * stdlib/strtod_nan_narrow.h: Likewise.
26001 * stdlib/strtod_nan_wide.h: Likewise.
26002 * stdlib/strtof_nan.c: Likewise.
26003 * stdlib/strtold_nan.c: Likewise.
26004 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26005 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26006 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26007 * wcsmbs/wcstod_nan.c: Likewise.
26008 * wcsmbs/wcstof_nan.c: Likewise.
26009 * wcsmbs/wcstold_nan.c: Likewise.
26010 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26011 strtold_nan.
26012 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26013 wcstof_nan.
26014 * include/stdlib.h (__strtof_nan): Declare and use
26015 libc_hidden_proto.
26016 (__strtod_nan): Likewise.
26017 (__strtold_nan): Likewise.
26018 (__wcstof_nan): Likewise.
26019 (__wcstod_nan): Likewise.
26020 (__wcstold_nan): Likewise.
26021 * include/wchar.h (____wcstoull_l_internal): Declare.
26022 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26023 (____strtoull_l_internal): Remove declaration.
26024 (STRTOF_NAN): Define macro.
26025 (SET_MANTISSA): Remove macro.
26026 (STRTOULL): Likewise.
26027 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26028 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26029 (STRTOF_NAN): Define macro.
26030 (SET_MANTISSA): Remove macro.
26031 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26032 (SET_MANTISSA): Remove macro.
26033 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26034 macro.
26035 (SET_MANTISSA): Remove macro.
26036 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26037 macro.
26038 (SET_MANTISSA): Remove macro.
26039 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26040 (SET_MANTISSA): Remove macro.
26041 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26042 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26043 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26044
26045 [BZ #19266]
26046 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26047 upper case and lower case letters inside NAN(), not using TOLOWER.
26048 * stdlib/tst-strtod-nan-locale-main.c: New file.
26049 * stdlib/tst-strtod-nan-locale.c: Likewise.
26050 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26051 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26052 Depend on $(gen-locales).
26053 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26054 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26055 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26056 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26057 Depend on $(gen-locales).
26058 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26059
26060 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26061
26062 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26063
26064 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26066 __finitel, __isinfl, and __isnanl.
26067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26068 Likewise.
26069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26071 __finitel.
26072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26073 Likewise.
26074 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26075
26076 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26077
26078 * malloc/memusage.c (me): Remove redundant getenv call.
26079
26080 2015-10-24 Florian Weimer <fweimer@redhat.com>
26081
26082 [BZ #19143]
26083 [BZ #19164]
26084 * nptl/check-cpuset.h: Remove.
26085 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26086 Remove CPU set size check.
26087 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26088 Likewise.
26089 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26090 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26091 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26092 (__pthread_setaffinity_new): Remove CPU set size check.
26093 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26094 (__kernel_cpumask_size): Remove.
26095 (__sched_setaffinity_new): Remove CPU set size check.
26096 * manual/threads.texi (Default Thread Attributes): Remove stale
26097 reference to check_cpuset_attr, determine_cpumask_size in comment.
26098 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26099 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26100 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26101 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26102 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26103 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26104 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26105 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26106 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26107 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26108 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26109 skeleton test file.
26110 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26111 tst-affinity-pid.
26112
26113 2015-11-24 Florian Weimer <fweimer@redhat.com>
26114
26115 * scripts/update-abilist.sh: New file.
26116 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26117 * Makerules (update-all-abi-%, update-all-abi)
26118 (subdir_update-all-abi): New targets.
26119 * elf/Makefile (update-all-abi): New target.
26120
26121 2015-11-24 Florian Weimer <fweimer@redhat.com>
26122
26123 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26124 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26125 (__libc_lock_define_initialized): Use it.
26126 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26127 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26128 * malloc/malloc.c (main_arena): Likewise.
26129 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26130 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26131
26132 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26133
26134 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26135 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26136 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26137 (PTRACE_O_MASK): Update value.
26138 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26139 New value in enum __ptrace_setoptions.
26140 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26141 (PTRACE_O_MASK): Update value.
26142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26143 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26144 (PTRACE_O_MASK): Update value.
26145 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26146 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26147 (PTRACE_O_MASK): Update value.
26148 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26149 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26150 (PTRACE_O_MASK): Update value.
26151 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26152 New value in enum __ptrace_setoptions.
26153 (PTRACE_O_MASK): Update value.
26154 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26155 New value in enum __ptrace_setoptions.
26156 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26157 (PTRACE_O_MASK): Update value.
26158
26159 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26160 New macro.
26161 (PACKET_AUXDATA): Likewise.
26162 (PACKET_ORIGDEV): Likewise.
26163 (PACKET_VERSION): Likewise.
26164 (PACKET_HDRLEN): Likewise.
26165 (PACKET_RESERVE): Likewise.
26166 (PACKET_TX_RING): Likewise.
26167 (PACKET_LOSS): Likewise.
26168 (PACKET_VNET_HDR): Likewise.
26169 (PACKET_TX_TIMESTAMP): Likewise.
26170 (PACKET_TIMESTAMP): Likewise.
26171 (PACKET_FANOUT): Likewise.
26172 (PACKET_TX_HAS_OFF): Likewise.
26173 (PACKET_QDISC_BYPASS): Likewise.
26174 (PACKET_ROLLOVER_STATS): Likewise.
26175 (PACKET_FANOUT_DATA): Likewise.
26176 (PACKET_MR_UNICAST): Likewise.
26177
26178 [BZ #19242]
26179 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26180 (TOUPPER): Likewise.
26181 * stdlib/tst-strtol-locale-main.c: New file.
26182 * stdlib/tst-strtol-locale.c: Likewise.
26183 * stdlib/Makefile (tests): Add tst-strtol-locale.
26184 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26185 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26186 Depend on $(gen-locales).
26187 * wcsmbs/tst-wcstol-locale.c: New file.
26188 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26189 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26190 tr_TR.ISO-8859-9.
26191 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26192 Depend on $(gen-locales).
26193
26194 2015-11-20 Roland McGrath <roland@hack.frob.com>
26195
26196 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26197 __glibc_likely instead of __builtin_expect. After falling back to
26198 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26199 system interface to register the code pages as occupied.
26200
26201 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26202
26203 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26204 [!ARM_MATH_PRIVATE_H].
26205 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26206 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26207 [!HPPA_MATH_PRIVATE_H].
26208 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26209 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26210 to [!I386_MATH_PRIVATE_H].
26211 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26212 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26213 Change guard to [!M68K_MATH_PRIVATE_H].
26214 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26215 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26216 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26217 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26218 macro.
26219 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26220 [!MIPS_MATH_PRIVATE_H].
26221 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26222 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26223 [!NIO2_MATH_PRIVATE_H].
26224 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26225 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26226 [!TILE_MATH_PRIVATE_H].
26227 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26228
26229 [BZ #15421]
26230 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26231 initialize with 0 and define as weak alias of __signgam.
26232 * include/math.h [!_ISOMAC] (__signgam): Declare.
26233 * math/Makefile (libm-calls): Add w_lgamma_compat.
26234 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26235 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26236 test-signgam-ullong-init.
26237 (tests-static): Add test-signgam-uchar-static,
26238 test-signgam-uchar-init-static, test-signgam-uint-static,
26239 test-signgam-uint-init-static, test-signgam-ullong-static and
26240 test-signgam-ullong-init-static.
26241 (CFLAGS-test-signgam-uchar.c): New variable.
26242 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26243 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26244 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26245 (CFLAGS-test-signgam-uint.c): Likewise.
26246 (CFLAGS-test-signgam-uint-init.c): Likewise.
26247 (CFLAGS-test-signgam-uint-static.c): Likewise.
26248 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26249 (CFLAGS-test-signgam-ullong.c): Likewise.
26250 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26251 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26252 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26253 * math/Versions (libm): Add GLIBC_2.23.
26254 * math/lgamma-compat.h: New file.
26255 * math/test-signgam-main.c: Likewise.
26256 * math/test-signgam-uchar-init-static.c: Likewise.
26257 * math/test-signgam-uchar-init.c: Likewise.
26258 * math/test-signgam-uchar-static.c: Likewise.
26259 * math/test-signgam-uchar.c: Likewise.
26260 * math/test-signgam-uint-init-static.c: Likewise.
26261 * math/test-signgam-uint-init.c: Likewise.
26262 * math/test-signgam-uint-static.c: Likewise.
26263 * math/test-signgam-uint.c: Likewise.
26264 * math/test-signgam-ullong-init-static.c: Likewise.
26265 * math/test-signgam-ullong-init.c: Likewise.
26266 * math/test-signgam-ullong-static.c: Likewise.
26267 * math/test-signgam-ullong.c: Likewise.
26268 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26269 wrapper of w_lgamma_main.c.
26270 * math/w_lgamma_compat.c: New file.
26271 * math/w_lgamma_compatf.c: Likewise.
26272 * math/w_lgamma_compatl.c: Likewise.
26273 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26274 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26275 defining compatibility symbols.
26276 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26277 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26278 wrapper of w_lgammaf_main.c.
26279 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26280 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26281 defining compatibility symbols.
26282 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26283 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26284 wrapper of w_lgammal_main.c.
26285 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26286 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26287 defining compatibility symbols.
26288 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26289 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26290 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26291 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26292 <lgamma-compat.h>.
26293 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26294 (__ieee754_gamma): Define as alias.
26295 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26296 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26297 <lgamma-compat.h>.
26298 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26299 (__ieee754_gammaf): Define as alias.
26300 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26301 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26302 <lgamma-compat.h>.
26303 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26304 (__ieee754_gammal): Define as alias.
26305 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26306 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26307 <math/w_lgamma_compat.c>.
26308 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26309 Define as alias of __lgamma_compat and use in defining lgammal.
26310 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26311 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26312 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26313 (USE_AS_COMPAT): New macro.
26314 (LGAMMA_OLD_VER): Undefine and redefine.
26315 (lgammal): Do not define here.
26316 (gammal): Only define here if [GAMMA_ALIAS].
26317 * conform/linknamespace.pl (@whitelist): Remove signgam.
26318 * sysdeps/nacl/libm.abilist: Update.
26319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26321 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26327 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26332 Likewise.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26334 Likewise.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26336 Likewise.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26338 Likewise.
26339 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26340 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26341 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26342 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26345 Likewise.
26346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26347 Likewise.
26348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26351
26352 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26353
26354 [BZ #16364]
26355 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26356 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26357
26358 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26359
26360 * sysdeps/s390/fpu/bits/mathinline.h:
26361 Use __asm__ [__volatile__] instead of asm [volatile].
26362 * sysdeps/s390/abort-instr.h: Likewise.
26363 * sysdeps/s390/atomic-machine.h: Likewise.
26364 * sysdeps/s390/bits/string.h: Likewise.
26365 * sysdeps/s390/dl-tls.h: Likewise.
26366 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26367 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26368 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26369 * sysdeps/s390/fpu/fesetround.c: Likewise.
26370 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26371 * sysdeps/s390/fpu/s_fma.c: Likewise.
26372 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26373 * sysdeps/s390/memusage.h: Likewise.
26374 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26375 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26376 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26377 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26378 * sysdeps/s390/nptl/tls.h: Likewise.
26379 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26380 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26381 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26382 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26383 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26384 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26385 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26386 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26387 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26388 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26389 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26390 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26391 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26392 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26393 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26394 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26395 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26396 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26397 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26399 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26401 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26402
26403 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26404 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26405
26406 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26407 Add lwarx hint, and use macro for acquire instruction.
26408 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26409 Likewise.
26410 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26411 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26412 update to use new atomic macros.
26413
26414 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26415
26416 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26417 (__lll_trylock_elision): Fix setting of adapt_count.
26418 * sysdeps/unix/sysv/linux/powerpc/htm.h
26419 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26420 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26421 (_ABORT_SYSCALL): Renumber, and clarify definition.
26422 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26423
26424 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26425
26426 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26427 after system headers to prevent MIN/MAX redefinition. Define
26428 HAVE_ALLOCA to preserve builtin alloca usage.
26429
26430 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26431
26432 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26433 static and don't set or restore rounding.
26434 (__cos)[IN_SINCOS]: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26436 (__sincos): Set and restore rounding mode. Remove check for infinite
26437 or NaN input.
26438
26439 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26440
26441 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26442 as used.
26443
26444 2015-11-16 Florian Weimer <fweimer@redhat.com>
26445
26446 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26447
26448 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26449
26450 * config.make.in (have-glob-dat-reloc): New.
26451 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26452 target supports GLOB_DAT relocaton. AC_SUBST.
26453 * configure: Regenerated.
26454 * elf/Makefile (tests): Add tst-prelink.
26455 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26456 (tst-prelink-ENV): New.
26457 ($(objpfx)tst-prelink-conflict.out): Likewise.
26458 ($(objpfx)tst-prelink-cmp.out): Likewise.
26459 * sysdeps/x86/tst-prelink.c: Moved to ...
26460 * elf/tst-prelink.c: Here.
26461 * sysdeps/x86/tst-prelink.exp: Moved to ...
26462 * elf/tst-prelink.exp: Here.
26463 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26464 (tst-prelink-ENV): Removed.
26465 ($(objpfx)tst-prelink-conflict.out): Likewise.
26466 ($(objpfx)tst-prelink-cmp.out): Likewise.
26467 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26468
26469 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26470
26471 [BZ #14551]
26472 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26473 (__mpn_construct_long_double): If high part overflows to infinity,
26474 set errno and recompute overflowed result of the correct sign.
26475 * sysdeps/ieee754/ldbl-128ibm/Makefile
26476 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26477 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26478 $(libm).
26479 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26480
26481 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26482
26483 [BZ #15479]
26484 [BZ #19238]
26485 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26486 floating-point state after first operation on input. Restore full
26487 state rather than just rounding mode.
26488 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26489 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26490 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26491
26492 [BZ #19235]
26493 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26494 add 0.5 to integer arguments.
26495 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26496 Likewise.
26497 (.LC2): New object.
26498
26499 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26500
26501 * scripts/pylintrc (reports): Set to no.
26502
26503 2015-11-10 Roland McGrath <roland@hack.frob.com>
26504
26505 * elf/dl-load.c (open_verify): Take new argument FD.
26506 Skip __open call if passed FD is not -1.
26507 (_dl_map_object, open_path): Update callers.
26508 * elf/dl-sysdep-open.h: New file.
26509 * elf/dl-load.c: Include it.
26510 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26511 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26512 * sysdeps/nacl/dl-sysdep-open.h: New file.
26513 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26514 from libc to rtld.
26515
26516 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26517
26518 [BZ #19228]
26519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26520 and restore full floating-point state.
26521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26522 Likewise.
26523 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26524 Likewise.
26525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26526 Likewise.
26527 * math/test-nearbyint-except-2.c: New file.
26528 * math/Makefile (tests): Add test-nearbyint-except-2.
26529
26530 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26531
26532 [BZ #19178]
26533 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26534 (tst-prelink-ENV): New.
26535 ($(objpfx)tst-prelink-conflict.out): Likewise.
26536 ($(objpfx)tst-prelink-cmp.out): Likewise.
26537 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26538 * sysdeps/x86/tst-prelink.c: New file.
26539 * sysdeps/x86/tst-prelink.exp: Likewise.
26540
26541 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26542
26543 * math/auto-libm-test-in: Add another test of pow.
26544 * math/auto-libm-test-out: Regenerated.
26545 * math/libm-test.inc (pow_test_data): Add another test.
26546
26547 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26548
26549 [BZ #19219]
26550 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26551 weak_alias to nearbyintl.
26552
26553 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26554
26555 * sysdeps/aarch64/bits/string.h: New file.
26556 (_STRING_ARCH_unaligned): Define.
26557
26558 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26559
26560 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26561 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26562 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26563 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26565
26566 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26567
26568 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26569 for original name of the DSO. Add it to the name list of the DSO
26570 if it is actually given.
26571 (_dl_map_object): Keep track of whether an audit module rewrote
26572 the file name. If yes, pass the original name to
26573 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26574 debugging is enabled, log the change of the file name.
26575 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26576 _dl_map_object_from_fd.
26577 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26578 * elf/tst-audit11.c: New file
26579 * elf/tst-auditmod11.c: New file.
26580 * elf/tst-audit11mod1.c: New file.
26581 * elf/tst-audit11mod2.c: New file.
26582 * elf/tst-audit11mod2.map: New file.
26583 * elf/tst-audit12.c: New file
26584 * elf/tst-auditmod12.c: New file.
26585 * elf/tst-audit12mod1.c: New file.
26586 * elf/tst-audit12mod2.c: New file.
26587 * elf/tst-audit12mod2.map: New file.
26588 * elf/tst-audit12mod3.c: New file.
26589
26590 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26591
26592 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26593 Don't create weak aliases,
26594 because versioned symbols are created later.
26595 * sysdeps/s390/s390-32/setjmp.S
26596 (setjmp, _setjmp): Remove weak and rename to an unique name
26597 in SHARED case due to existing versioned symbols.
26598 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26600 (getcontext): Create weak alias only in non SHARED case.
26601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26602
26603 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26604
26605 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26606 (__ASSUME_*_SYSCALL) Define new macros.
26607 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26608 Remove socketcall syscalls.
26609 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26610 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26611 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26612 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26613 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26614 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26615
26616 2015-11-09 Florian Weimer <fweimer@redhat.com>
26617
26618 [BZ #12926]
26619 Terminate process on invalid netlink response.
26620 * sysdeps/unix/sysv/linux/netlinkaccess.h
26621 (__netlink_assert_response): Declare.
26622 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26623 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26624 (sysdep_routines): Add netlink_assert_response.
26625 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26626 __netlink_assert_response.
26627 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26628 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26629 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26630 __netlink_assert_response.
26631
26632 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26633
26634 [BZ #19178]
26635 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26636 (RTYPE_CLASS_PLT): Likewise.
26637 (RTYPE_CLASS_COPY): Likewise.
26638 (RTYPE_CLASS_TLS): Likewise.
26639 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26640 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26641 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26642 DL_DEBUG_PRELINK.
26643
26644 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26645
26646 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26647 calls with argument -0.5.
26648 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26649
26650 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26651 (libc_cv_z_nodlopen): Likewise.
26652 (libc_cv_z_initfirst): Likewise.
26653 * configure: Regenerated.
26654
26655 2015-11-06 Florian Weimer <fweimer@redhat.com>
26656
26657 Simplify abilist format to be line-based.
26658 * scripts/abilist.awk: Collect descriptors in the descs variable.
26659 (emit): Write descs variable and sort it
26660 externally, with sort.
26661 * sysdeps/**/*.abilist: Convert to new format.
26662
26663 2015-11-06 Mark Wielaard <mjw@redhat.com>
26664
26665 [BZ #11460]
26666 * io/Makefile (routines): Add fts64.
26667 (tests): Add tst-fts and tst-fts-lfs.
26668 (CFLAGS-fts64.c): New.
26669 * io/Versions (GLIBC_2.23): New.
26670 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26671 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26672 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26673 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26674 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26675 (FTSENT64): Likewise.
26676 (fts64_children): Likewise.
26677 (fts64_close): Likewise.
26678 (fts64_open): Likewise.
26679 (fts64_read): Likewise.
26680 (fts64_set): Likewise.
26681 * io/fts64.c: New file.
26682 * io/tst-fts.c: New test.
26683 * io/tst-fts-lfs.c: Likewise.
26684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26685 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26686 fts64_set.
26687 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26688 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26690 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26691 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26692 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26696 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26699 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26701 Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26703 Likewise.
26704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26706 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26710 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26713 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26714 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26715 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26716 * sysdeps/wordsize-64/fts.c: New file.
26717 * sysdeps/wordsize-64/fts64.c: Likewise.
26718 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26719 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26720 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26721 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26722
26723 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26724
26725 * math/libm-test.inc (NON_FINITE): New macro.
26726 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26727 * math/gen-libm-test.pl (show_exceptions): Add argument
26728 $non_finite.
26729 (parse_args): Update call to show_exceptions.
26730 * math/test-math-finite.h: New file.
26731 * math/test-math-no-finite.h: Likewise.
26732 * math/test-double-finite.c: Likewise.
26733 * math/test-float-finite.c: Likewise.
26734 * math/test-ldouble-finite.c: Likewise.
26735 * math/test-double.c: Include "test-math-no-finite.h".
26736 * math/test-float.c: Include "test-math-no-finite.h".
26737 * math/test-ldouble.c: Include "test-math-no-finite.h".
26738 * math/test-math-inline.h (TEST_FINITE): New macro.
26739 * math/test-math-vector.h (TEST_FINITE): Likewise.
26740 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26741 (libm-tests): Add test-float-finite and test-double-finite.
26742 ($(objpfx)test-float-finite.o): New dependency on
26743 $(objpfx)libm-test.stmp.
26744 ($(objpfx)test-double-finite.o): Likewise.
26745 ($(objpfx)test-ldouble-finite.o): Likewise.
26746 (libm-test-no-inline-cflags): New variable.
26747 (libm-test-finite-cflags): Likewise.
26748 (CFLAGS-test-float-finite.c): Likewise.
26749 (CFLAGS-test-double-finite.c): Likewise.
26750 (CFLAGS-test-ldouble-finite.c): Likewise.
26751 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26752 (CFLAGS-test-double.c): Likewise.
26753 (CFLAGS-test-ldouble.c): Likewise.
26754
26755 2015-11-05 Roland McGrath <roland@hack.frob.com>
26756
26757 * io/fcntl.c (__fcntl): Add ... to prototype.
26758 * misc/ioctl.c (__ioctl): Likewise.
26759 * misc/syscall.c (syscall): Likewise.
26760
26761 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26762
26763 * scripts/list-fixed-bugs.py: New file.
26764
26765 [BZ #19213]
26766 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26767 returned for argument 1.
26768 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26769 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26770 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26771 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26772 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26773 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26774
26775 [BZ #19211]
26776 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26777 __USE_XOPEN], not if [!__USE_ISOC99].
26778 (lgammaf): Likewise.
26779 (lgammal): Likewise.
26780 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26781 (gammaf): Likewise.
26782 (gammal): Likewise.
26783 * math/test-signgam-finite-c11.c: New file.
26784 * math/test-signgam-finite-c99.c: Likewise.
26785 * math/test-signgam-finite.c: Likewise.
26786 * math/Makefile (tests): Add test-signgam-finite,
26787 test-signgam-finite-c99 and test-signgam-finite-c11.
26788 (CFLAGS-test-signgam-finite.c): New variable.
26789 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26790 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26791
26792 [BZ #19212]
26793 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26794 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26795 500].
26796 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26797 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26798 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26799 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26800 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26801 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26802 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26803 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26804 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26805 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26806
26807 [BZ #19209]
26808 * math/bits/math-finite.h (ldexp): Remove declaration.
26809 (ldexpf): Likewise.
26810 (ldexpl): Likewise.
26811
26812 [BZ #19205]
26813 * math/bits/math-finite.h (acosf): Condition declaration on
26814 [__USE_ISOC99].
26815 (acosl): Likewise.
26816 (acoshf): Likewise.
26817 (acoshl): Likewise.
26818 (asinf): Likewise.
26819 (asinl): Likewise.
26820 (atan2f): Likewise.
26821 (atan2l): Likewise.
26822 (atanhf): Likewise.
26823 (atanhl): Likewise.
26824 (coshf): Likewise.
26825 (coshl): Likewise.
26826 (expf): Likewise.
26827 (expl): Likewise.
26828 (fmodf): Likewise.
26829 (fmodl): Likewise.
26830 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26831 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26832 (j0l): Likewise.
26833 (y0f): Likewise.
26834 (y0l): Likewise.
26835 (j1f): Likewise.
26836 (j1l): Likewise.
26837 (y1f): Likewise.
26838 (y1l): Likewise.
26839 (jnf): Likewise.
26840 (jnl): Likewise.
26841 (ynf): Likewise.
26842 (ynl): Likewise.
26843 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26844 (lgammal_r): Likewise.
26845 (__lgamma_r_finite): New declaration.
26846 (__lgammaf_r_finite): Likewise.
26847 (__lgammal_r_finite): Likewise.
26848 (lgamma): Use __lgamma_r_finite.
26849 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26850 __lgammaf_r_finite.
26851 (lgammal): Condition definition on [__USE_ISOC99]. Use
26852 __lgammal_r_finite.
26853 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26854 __lgamma_r_finite.
26855 (gammaf): Condition definition on [__USE_ISOC99]. Use
26856 __lgammaf_r_finite.
26857 (gammal): Condition definition on [__USE_ISOC99]. Use
26858 __lgammal_r_finite.
26859 (logf): Condition declaration on [__USE_ISOC99].
26860 (logl): Likewise.
26861 (log10f): Likewise.
26862 (log10l): Likewise.
26863 (ldexpf): Likewise.
26864 (ldexpl): Likewise.
26865 (powf): Likewise.
26866 (powl): Likewise.
26867 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26868 __USE_ISOC99].
26869 (remainderf): Condition declaration on [__USE_ISOC99].
26870 (remainderl): Likewise.
26871 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26872 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26873 (scalbl): Likewise.
26874 (sinhf): Condition declaration on [__USE_ISOC99].
26875 (sinhl): Likewise.
26876 (sqrtf): Likewise.
26877 (sqrtl): Likewise.
26878
26879 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26880
26881 * sysdeps/arm/atomic-machine.h
26882 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26883 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26884 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26885 Remove conditional code.
26886 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26887 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26888 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26889 Change conditional to [__ASSEMBLER__].
26890 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26891 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26892 [!__ASSEMBLER__].
26893 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26894 code.
26895 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26896 conditional macro definitions.
26897 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26898 (__arch_compare_and_exchange_val_16_acq): Likewise.
26899 (__arch_compare_and_exchange_val_32_acq): Likewise.
26900 (atomic_exchange_and_add): Likewise.
26901 (atomic_add): Likewise.
26902 (atomic_add_negative): Likewise.
26903 (atomic_add_zero): Likewise.
26904 (atomic_bit_set): Likewise.
26905 (atomic_bit_test_set): Likewise.
26906 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26907 code unconditional.
26908 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26909
26910 * math/test-math-errno.h: New file.
26911 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26912 empty.
26913 (TEST_ERRNO): New macro.
26914 (TEST_EXCEPTIONS): Likewise.
26915 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26916 (TEST_EXCEPTIONS): Likewise.
26917 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26918 * math/test-double.c: Include "test-math-errno.h".
26919 * math/test-float.c: Likewise.
26920 * math/test-ldouble.c: Likewise.
26921 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26922 code unconditional.
26923 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26924 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26925 unconditional.
26926 (test_errno): Only run code if TEST_ERRNO.
26927 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26928
26929 2015-11-04 Florian Weimer <fweimer@redhat.com>
26930
26931 * nptl/tst-once5.cc: Remove attribution.
26932
26933 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26934
26935 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26936 sqrt, tan, tanh, y0, y1 and yn.
26937 * math/auto-libm-test-out: Regenerated.
26938 * math/libm-test.inc (scalb_test_data): Add more tests.
26939 (scalbn_test_data): Likewise.
26940 (scalbln_test_data): Likewise.
26941 (signbit_test_data): Likewise.
26942 (sin_test_data): Likewise.
26943 (sincos_test_data): Likewise.
26944 (sinh_test_data): Likewise.
26945 (sqrt_test_data): Likewise.
26946 (tan_test_data): Likewise.
26947 (tanh_test_data): Likewise.
26948 (tgamma_test_data): Likewise.
26949 (y0_test_data): Likewise.
26950 (y1_test_data): Likewise.
26951 (yn_test_data): Likewise.
26952 (significand_test_data): Likewise.
26953 * sysdeps/i386/fpu/libm-test-ulps: Update.
26954
26955 2015-11-03 David Kastrup <dak@gnu.org>
26956
26957 [BZ #18604]
26958 * assert/assert.h (assert): Don't macro-expand failed assertion
26959 expression in error message.
26960 * malloc/malloc.c (assert): Likewise.
26961
26962 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26963
26964 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26965 test.
26966 * configure: Regenerated.
26967
26968 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26969
26970 * math/libm-test.inc (modf_test_data): Add more tests.
26971 (nearbyint_test_data): Likewise.
26972 (nextafter_test_data): Likewise.
26973 (nexttoward_test_data): Likewise.
26974 (pow_test_data): Likewise.
26975 (remainder_test_data): Likewise.
26976 (remquo_test_data): Likewise.
26977 (rint_test_data): Likewise.
26978
26979 [BZ #19201]
26980 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26981 Check for zero remainder in case of large exponents and ensure
26982 correct sign of result in that case.
26983 * math/libm-test.inc (remainder_test_data): Add more tests.
26984
26985 [BZ #6799]
26986 * math/s_nextafter.c: Include <errno.h>.
26987 (__nextafter): Set errno on overflow and underflow.
26988 * math/s_nexttowardf.c: Include <errno.h>.
26989 (__nexttowardf): Set errno on overflow and underflow.
26990 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26991 (__nextafterl): Set errno on overflow and underflow.
26992 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26993 (__nexttoward): Set errno on overflow and underflow.
26994 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26995 (__nexttowardf): Set errno on overflow and underflow.
26996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26997 (__nextafterf): Set errno on overflow and underflow.
26998 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26999 (__nextafterl): Set errno on overflow and underflow.
27000 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27001 (__nexttoward): Set errno on overflow and underflow.
27002 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27003 (__nexttowardf): Set errno on overflow and underflow.
27004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27005 (__nextafterl): Set errno on overflow and underflow.
27006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27007 (__nexttoward): Set errno on overflow and underflow.
27008 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27009 (__nexttowardf): Set errno on overflow and underflow.
27010 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27011 (__nexttoward): Set errno on overflow and underflow.
27012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27013 (__nexttowardf): Set errno on overflow and underflow.
27014 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27015 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27016 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27017 (__nextafterl): Set errno on overflow and underflow.
27018 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27019 setting to be missing on overflow. Add more tests.
27020 (nexttoward_test_data): Likewise.
27021
27022 * configure.ac (libc_cv_initfini_array): Remove configure test.
27023 * configure: Regenerated.
27024
27025 2015-10-29 Joseph Myers <joseph@codesourcery.com>
27026
27027 [BZ #19189]
27028 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27029 non-finite argument handle arguments with negative sign.
27030
27031 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27032 result from infinite argument.
27033 (j1_test_data): Likewise.
27034 (jn_test_data): Likewise.
27035 (y0_test_data): Likewise.
27036 (y1_test_data): Likewise.
27037 (yn_test_data): Likewise.
27038
27039 [BZ #16171]
27040 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27041 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27042 * math/w_remainderf.c (dremf): Define as weak alias of
27043 __remainderf.
27044 * math/w_remainderl.c (dreml): Define as weak alias of
27045 __remainderl.
27046 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27047 __remainder.
27048 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27049 __remainderf.
27050 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27051 __remainderl.
27052 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27053 weak alias of remainderl.
27054 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27055 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27056 alias of __remainder.
27057 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27058 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27059 strong alias of __remainderl.
27060 (dreml): Use long_double_symbol.
27061 * math/Makefile (libm-calls): Remove w_drem.
27062 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27063 (CFLAGS-nldbl-drem.c): Remove variable.
27064 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27065 * math/w_drem.c: Remove file.
27066 * math/w_dremf.c: Likewise.
27067 * math/w_dreml.c: Likewise.
27068 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27069 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27070 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27071
27072 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27073 * sysdeps/i386/configure: Regenerated.
27074 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27075 * sysdeps/x86_64/configure: Regenerated.
27076
27077 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27078 test.
27079 (libc_cv_visibility_attribute): Likewise.
27080 (libc_cv_protected_data): Test unconditionally.
27081 (libc_cv_broken_visibility_attribute): Remove configure test.
27082 (libc_cv_have_sdata_section): Test unconditionally.
27083 * configure: Regenerated.
27084
27085 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27086 * include/scratch_buffer.h: Include <stddef.h> instead of
27087 <libc-internal.h>.
27088 (struct scratch_buffer): Use max_align_t instead of
27089 libc_max_align_t.
27090
27091 2015-10-29 Florian Weimer <fweimer@redhat.com>
27092
27093 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27094 instead of extend_alloca. Change control flow to avoid a goto.
27095 Remove assert which is trivially always true.
27096
27097 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27098
27099 [BZ #16068]
27100 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27101 (FE_ALL_EXCEPT_X86): New macro.
27102 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27103 FE_ALL_EXCEPT. Ensure precision control is included in
27104 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27105 handle "denormal operand exception" and clear FZ and DAZ bits.
27106 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27107 (FE_ALL_EXCEPT_X86): New macro.
27108 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27109 FE_ALL_EXCEPT. Ensure precision control is included in
27110 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27111 handle "denormal operand exception" and clear FZ and DAZ bits.
27112 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27113 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27114 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27115 test-fenv-x87 and test-fenv-sse-2.
27116 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27117
27118 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27119 * math/test-double.h (BUILD_COMPLEX): New macro.
27120 * math/test-float.h (BUILD_COMPLEX): Likewise.
27121 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27122
27123 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27124 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27125 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27127 instead of DBL_DENORM_MIN in comment.
27128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27129 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27130 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27131 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27133 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27134
27135 2015-10-28 Florian Weimer <fweimer@redhat.com>
27136
27137 [BZ #19048]
27138 * malloc/malloc.c (struct malloc_state): Update comment. Add
27139 attached_threads member.
27140 (main_arena): Initialize attached_threads.
27141 * malloc/arena.c (list_lock): Update comment.
27142 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27143 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27144 (deattach_arena): New function.
27145 (_int_new_arena): Initialize arena reference count and deattach
27146 replaced arena.
27147 (get_free_list, reused_arena): Update reference count and deattach
27148 replaced arena.
27149 (arena_thread_freeres): Update arena reference count and only put
27150 unreferenced arenas on the free list.
27151
27152 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27153
27154 [BZ #19181]
27155 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27156 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27157 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27158 * math/test-fenv-clear-main.c: New file.
27159 * math/test-fenv-clear.c: Likewise.
27160 * math/Makefile (tests): Add test-fenv-clear.
27161 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27162 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27163 test-fenv-clear-sse.
27164 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27165
27166 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27167 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27168 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27169
27170 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27171
27172 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27173 static libc.
27174
27175 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27176
27177 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27178 test.
27179 * sysdeps/i386/configure: Regenerated.
27180 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27181 test.
27182 * sysdeps/x86_64/configure: Regenerated.
27183 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27185 memset-avx2 unconditionally instead of conditionally on
27186 [$(config-cflags-avx2) = yes].
27187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27188 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27189 unconditional.
27190 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27191 * sysdeps/x86_64/multiarch/memset_chk.S
27192 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27193 to [IS_IN (libc) && SHARED].
27194
27195 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27196
27197 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27198 configure test.
27199 * sysdeps/arm/configure: Regenerated.
27200 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27201 Define variable if not already defined.
27202
27203 [BZ #17404]
27204 * sysdeps/mips/atomic-machine.h
27205 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27206 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27207 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27208
27209 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27210 unconditional.
27211 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27212 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27213 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27214 unconditional.
27215 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27216 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27217 unconditional.
27218 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27219 * stdlib/setenv.c
27220 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27221 code unconditional.
27222 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27223 Remove conditional code.
27224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27225 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27226 unconditional.
27227 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27228 code.
27229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27230 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27231 unconditional.
27232 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27233 code.
27234 * sysdeps/ieee754/ldbl-128/k_tanl.c
27235 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27236 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27238 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27239 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27240 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27241 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27242 unconditional.
27243 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27244 code.
27245 * sysdeps/ieee754/ldbl-96/k_tanl.c
27246 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27247 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27248
27249 * nptl/tst-initializers1-c11.c: New file.
27250 * nptl/tst-initializers1-gnu11.c: Likewise.
27251 * nptl/Makefile (tests): Add these new tests.
27252 (CFLAGS-tst-initializers1-c11.c): New variable.
27253 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27254
27255 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27256 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27257 instead of -std=gnu99.
27258 * configure.ac (systemtap): Test with -std=gnu11 instead of
27259 -std=gnu99.
27260 * configure: Regenerated.
27261 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27262 in compilation command in comment.
27263
27264 * sysdeps/nptl/configure.ac: Remove file.
27265 * sysdeps/nptl/configure: Remove generated file.
27266 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27267 * configure: Regenerated.
27268 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27269 * config.make.in (have-forced-unwind): Remove variable.
27270 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27271 unconditional.
27272 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27273 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27274 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27275 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27276 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27277 unconditional.
27278
27279 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27280
27281 [BZ #19174]
27282 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27283 .skip_lock_out_of_tbegin_retries.
27284 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27285 (__lll_lock_elision): Likewise, and respect a value of
27286 try_tbegin <= 0.
27287
27288 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27289
27290 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27291 statement.
27292
27293 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27294
27295 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27296 variable.
27297 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27298 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27299
27300 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27301 of -std=c1x -D_ISOC11_SOURCE.
27302
27303 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27304 * configure: Regenerated.
27305 * manual/install.texi (Tools for Compilation): Document
27306 requirement for GCC 4.7 or later.
27307 * INSTALL: Regenerated.
27308
27309 2015-10-27 Ludovic CourtĂšs <ludo@gnu.org>
27310
27311 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27312 on CNT to a conditional jump to 'puntdata'.
27313
27314 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27315
27316 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27317 (libc_cv_gcc_tls_model_attr): Likewise.
27318 * configure: Regenerated.
27319
27320 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27321 * configure: Regenerated.
27322 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27323
27324 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27325
27326 * configure.ac (old_glibc_headers): Remove configure test.
27327 * configure: Regenerated.
27328 * config.make.in (old-glibc-headers): Remove variable.
27329 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27330 (install): Remove dependency on remove-old-headers.
27331 (headers2_0): Remove variable.
27332 (remove-old-headers): Remove rule.
27333
27334 * configure.ac (libc_cv_dot_text): Remove configure test.
27335 (libc_cv_asm_set_directive): Use .text instead of
27336 ${libc_cv_dot_text} in configure test.
27337 * configure: Regenerated.
27338
27339 2015-10-26 Florian Weimer <fweimer@redhat.com>
27340
27341 [BZ #19168]
27342 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27343
27344 2015-10-26 Florian Weimer <fweimer@redhat.com>
27345
27346 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27347 not support static linking.
27348 * configure: Regenerate.
27349
27350 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27351
27352 * math/libm-test.inc (check_float_internal): Do not special-case
27353 errors up to 0.5 ulp.
27354
27355 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27356 log2.
27357 * math/auto-libm-test-out: Regenerated.
27358 * math/libm-test.inc (MAX_EXP): New macro.
27359 (ilogb_test_data): Add more tests.
27360 (isfinite_test_data): Likewise.
27361 (isgreater_test_data): Likewise.
27362 (isgreaterequal_test_data): Likewise.
27363 (isinf_test_data): Likewise.
27364 (isless_test_data): Likewise.
27365 (islessequal_test_data): Likewise.
27366 (islessgreater_test_data): Likewise.
27367 (isnan_test_data): Likewise.
27368 (isnormal_test_data): Likewise.
27369 (issignaling_test_data): Likewise.
27370 (isunordered_test_data): Likewise.
27371 (j0_test_data): Likewise.
27372 (j1_test_data): Likewise.
27373 (jn_test_data): Likewise.
27374 (lgamma_test_data): Likewise.
27375 (log_test_data): Likewise.
27376 (log10_test_data): Likewise.
27377 (log1p_test_data): Likewise.
27378 (log2_test_data): Likewise.
27379 (logb_test_data): Likewise.
27380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27381
27382 [BZ #18611]
27383 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27384 avoid excess range and precision on underflow.
27385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27386 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27387 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27388 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27389 underflow.
27390 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27392 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27393 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27394 * math/auto-libm-test-in: Do not allow missing errno setting for
27395 tests of j1 and jn.
27396 * math/auto-libm-test-out: Regenerated.
27397
27398 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27399
27400 [BZ #15491]
27401 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27402 floating-point environment instead of clearing all exceptions.
27403 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27404 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27405 merging in "invalid" exceptions from frndint.
27406 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27407 * math/test-nearbyint-except.c: New file.
27408 * math/Makefile (tests): Add test-nearbyint-except.
27409
27410 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27411
27412 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27413
27414 * sysdeps/tile/libm-test-ulps: Regenerated.
27415
27416 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27417
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27419 (__NR_sync_file_range2): Assume it is always defined.
27420 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27421 (__NR_sync_file_range): Assume it is always defined.
27422
27423 2015-10-22 Andreas Schwab <schwab@suse.de>
27424
27425 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27426 INTERNAL_SYSCALL_ERRNO.
27427 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27428 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27429 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27430 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27431 Likewise.
27432 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27433
27434 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27435
27436 * io/tst-fcntl.c (fd): New static variable.
27437 (do_prepare): Open temporary file here....
27438 (do_test): ...not here.
27439
27440 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27441
27442 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27445 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27446 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27447 Moved before "#ifdef __ASSEMBLER__".
27448
27449 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27450
27451 [BZ #19156]
27452 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27453 arguments very close to 0.
27454
27455 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27456
27457 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27458 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27459
27460 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27461
27462 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27463 New. Defined for GCC 5 and above when not compiling for
27464 profiling.
27465 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27466
27467 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27468 Renamed to ...
27469 (CFLAGS-epoll_pwait.o): This.
27470 (CFLAGS-mmap.c): Renamed to ...
27471 (CFLAGS-mmap.o): This.
27472 (CFLAGS-mmap64.c): Renamed to ...
27473 (CFLAGS-mmap64.o): This.
27474 (CFLAGS-epoll_pwait.os): New.
27475 (CFLAGS-mmap.os): Likewise.
27476 (CFLAGS-mmap64.os): Likewise.
27477 (CFLAGS-semtimedop.os): Likewise.
27478 (CFLAGS-semtimedop.c): Renamed to ...
27479 (CFLAGS-semtimedop.o): This.
27480
27481 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27482
27483 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27484 warning message.
27485
27486 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27487
27488 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27489 * Makefile ($(objpfx)c++-types-check.out): Filter out
27490 $(+gccwarn-c) instead of -Wstrict-prototypes.
27491
27492 * io/fts.c (fts_open): Convert to prototype-style function
27493 definition.
27494 * malloc/mcheck.c (mcheck): Likewise.
27495 (mcheck_pedantic): Likewise.
27496 * posix/regexec.c (re_search_2_stub): Likewise. Use
27497 internal_function.
27498 (re_search_internal): Likewise.
27499 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27500 prototype-style function definition.
27501 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27502 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27503 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27504 (xdr_utmpptr): Likewise.
27505 (xdr_utmparr): Likewise.
27506 (xdr_utmpidle): Likewise.
27507 (xdr_utmpidleptr): Likewise.
27508 (xdr_utmpidlearr): Likewise.
27509
27510 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27511 log, log10 and log2.
27512 * math/auto-libm-test-out: Regenerated.
27513 * math/libm-test.inc (fmod_test_data): Add more tests.
27514 (fpclassify_test_data): Likewise.
27515 (frexp_test_data): Likewise.
27516 (hypot_test_data): Likewise.
27517 (ilogb_test_data): Likewise.
27518
27519 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27520
27521 * debug/fortify_fail.c (__fortify_fail): Convert to
27522 prototype-style function definition. Use internal_function.
27523 * libio/genops.c (save_for_backup): Convert to prototype-style
27524 function definition.
27525 * libio/wgenops.c (save_for_wbackup): Likewise.
27526 * login/grantpt.c (grantpt): Likewise.
27527 * login/ptsname.c (ptsname): Likewise.
27528 (__ptsname_r): Likewise.
27529 * login/unlockpt.c (unlockpt): Likewise.
27530 * mach/msgserver.c (__mach_msg_server): Likewise.
27531 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27532 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27533 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27534 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27535 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27536 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27537 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27538 Likewise.
27539 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27540 internal_function.
27541 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27542 prototype-style function definition.
27543 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27544 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27545 (__pthread_create_2_0): Likewise.
27546 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27547 * nptl/register-atfork.c (__register_atfork): Likewise.
27548 * posix/glob.c (glob): Likewise.
27549 * posix/regcomp.c (re_comp): Likewise.
27550 * posix/regexec.c (re_exec): Likewise.
27551 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27552 [!__STDC__]: Remove conditional code.
27553 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27554 [!__STDC__]: Remove conditional code.
27555 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27556 [!__STDC__]: Remove conditional code.
27557 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27558 [!__STDC__]: Remove conditional code.
27559 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27560 [!__STDC__]: Remove conditional code.
27561 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27562 [!__STDC__]: Remove conditional code.
27563 * stdlib/mul.c [__STDC__]: Make code unconditional.
27564 [!__STDC__]: Remove conditional code.
27565 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27566 [!__STDC__]: Remove conditional code.
27567 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27568 [!__STDC__]: Remove conditional code.
27569 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27570 function definition.
27571 (STRTOF): Likewise.
27572 * stdlib/strtod_l.c (__STRTOF): Likewise.
27573 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27574 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27575 (__strtol_l): Likewise.
27576 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27577 [!__STDC__]: Remove conditional code.
27578 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27579 definition.
27580 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27581 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27582 type.
27583 (__strcasecmp): Convert to prototype-style function definition.
27584 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27585 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27586 type.
27587 (__strncasecmp): Convert to prototype-style function definition.
27588 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27589 * sunrpc/xdr.c (xdr_union): Likewise.
27590 * sunrpc/xdr_array.c (xdr_array): Likewise.
27591 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27592 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27593 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27594 Likewise.
27595 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27596 Likewise.
27597 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27598 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27599 Likewise.
27600 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27601 (LOCALE_PARAM_PROTO): Likewise.
27602 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27603 argument type.
27604 (ut_argument_spec): Remove macro.
27605 (ut_argument_spec_iso): Rename to ut_argument_spec.
27606 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27607 prototype-style function definition.
27608 (memcpy_uppcase): Likewise.
27609 (__strftime_internal): Likewise.
27610 (my_strftime): Likewise.
27611 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27612 (LOCALE_PARAM_DECL): Likewise.
27613 [_LIBC] (LOCALE_PARAM): Include argument type.
27614 (__strptime_internal): Convert to prototype-style function
27615 definition.
27616 (strptime): Likewise.
27617 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27618 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27619 type.
27620 (__wcscasecmp): Convert to prototype-style function definition.
27621 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27622 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27623 type.
27624 (__wcsncasecmp): Convert to prototype-style function definition.
27625
27626 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27627 function definition.
27628 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27629 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27630 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27631 * elf/dl-minimal.c (_itoa): Likewise.
27632 * hurd/hurdmalloc.c (malloc): Likewise.
27633 (free): Likewise.
27634 (realloc): Likewise.
27635 * inet/inet6_option.c (inet6_option_space): Likewise.
27636 (inet6_option_init): Likewise.
27637 (inet6_option_append): Likewise.
27638 (inet6_option_alloc): Likewise.
27639 (inet6_option_next): Likewise.
27640 (inet6_option_find): Likewise.
27641 * io/ftw.c (FTW_NAME): Likewise.
27642 (NFTW_NAME): Likewise.
27643 (NFTW_NEW_NAME): Likewise.
27644 (NFTW_OLD_NAME): Likewise.
27645 * libio/iofwide.c (_IO_fwide): Likewise.
27646 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27647 (_IO_str_init_static): Likewise.
27648 (_IO_str_init_readonly): Likewise.
27649 (_IO_str_overflow): Likewise.
27650 (_IO_str_underflow): Likewise.
27651 (_IO_str_count): Likewise.
27652 (_IO_str_seekoff): Likewise.
27653 (_IO_str_pbackfail): Likewise.
27654 (_IO_str_finish): Likewise.
27655 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27656 (_IO_wstr_overflow): Likewise.
27657 (_IO_wstr_underflow): Likewise.
27658 (_IO_wstr_count): Likewise.
27659 (_IO_wstr_seekoff): Likewise.
27660 (_IO_wstr_pbackfail): Likewise.
27661 (_IO_wstr_finish): Likewise.
27662 * locale/programs/localedef.c (normalize_codeset): Likewise.
27663 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27664 (add_locales_to_archive): Likewise.
27665 (delete_locales_from_archive): Likewise.
27666 * malloc/malloc.c (__libc_mallinfo): Likewise.
27667 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27668 * misc/tsearch.c (__tfind): Likewise.
27669 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27670 * nptl/pthread_attr_getdetachstate.c
27671 (__pthread_attr_getdetachstate): Likewise.
27672 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27673 Likewise.
27674 * nptl/pthread_attr_getinheritsched.c
27675 (__pthread_attr_getinheritsched): Likewise.
27676 * nptl/pthread_attr_getschedparam.c
27677 (__pthread_attr_getschedparam): Likewise.
27678 * nptl/pthread_attr_getschedpolicy.c
27679 (__pthread_attr_getschedpolicy): Likewise.
27680 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27681 Likewise.
27682 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27683 Likewise.
27684 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27685 Likewise.
27686 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27687 Likewise.
27688 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27689 (__pthread_attr_init_2_0): Likewise.
27690 * nptl/pthread_attr_setdetachstate.c
27691 (__pthread_attr_setdetachstate): Likewise.
27692 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27693 Likewise.
27694 * nptl/pthread_attr_setinheritsched.c
27695 (__pthread_attr_setinheritsched): Likewise.
27696 * nptl/pthread_attr_setschedparam.c
27697 (__pthread_attr_setschedparam): Likewise.
27698 * nptl/pthread_attr_setschedpolicy.c
27699 (__pthread_attr_setschedpolicy): Likewise.
27700 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27701 Likewise.
27702 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27703 Likewise.
27704 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27705 Likewise.
27706 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27707 Likewise.
27708 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27709 Likewise.
27710 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27711 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27712 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27713 use internal_function.
27714 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27715 prototype-style function definition.
27716 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27717 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27718 internal_function.
27719 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27720 Convert to prototype-style function definition.
27721 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27722 Likewise.
27723 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27724 Likewise.
27725 (__pthread_mutex_unlock): Likewise.
27726 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27727 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27728 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27729 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27730 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27731 * nss/makedb.c (process_input): Likewise.
27732 * posix/fnmatch.c (__strchrnul): Likewise.
27733 (__wcschrnul): Likewise.
27734 (fnmatch): Likewise.
27735 * posix/fnmatch_loop.c (FCT): Likewise.
27736 * posix/glob.c (globfree): Likewise.
27737 (__glob_pattern_type): Likewise.
27738 (__glob_pattern_p): Likewise.
27739 * posix/regcomp.c (re_compile_pattern): Likewise.
27740 (re_set_syntax): Likewise.
27741 (re_compile_fastmap): Likewise.
27742 (regcomp): Likewise.
27743 (regerror): Likewise.
27744 (regfree): Likewise.
27745 * posix/regexec.c (regexec): Likewise.
27746 (re_match): Likewise.
27747 (re_search): Likewise.
27748 (re_match_2): Likewise.
27749 (re_search_2): Likewise.
27750 (re_search_stub): Likewise. Use internal_function
27751 (re_copy_regs): Likewise.
27752 (re_set_registers): Convert to prototype-style function
27753 definition.
27754 (prune_impossible_nodes): Likewise. Use internal_function.
27755 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27756 prototype-style function definition.
27757 (inet_net_pton_ipv4): Likewise.
27758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27759 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27760 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27761 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27762 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27763 Make variadic.
27764 * time/strptime_l.c (localtime_r): Convert to prototype-style
27765 function definition.
27766 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27767 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27768 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27769 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27770
27771 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27772 definition.
27773 (_ufc_doit_r): Likewise.
27774 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27775 (_ufc_output_conversion_r): Likewise.
27776 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27777 * inet/rcmd.c (rcmd_af): Likewise.
27778 (rcmd): Likewise.
27779 (ruserok_af): Likewise.
27780 (ruserok): Likewise.
27781 (ruserok2_sa): Likewise.
27782 (ruserok_sa): Likewise.
27783 (iruserok_af): Likewise.
27784 (iruserok): Likewise.
27785 (__ivaliduser): Likewise.
27786 (__validuser2_sa): Likewise.
27787 * inet/rexec.c (rexec_af): Likewise.
27788 (rexec): Likewise.
27789 * inet/ruserpass.c (ruserpass): Likewise.
27790 * locale/programs/xmalloc.c (xcalloc): Likewise.
27791 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27792 * math/w_drem.c (__drem): Likewise.
27793 * math/w_dremf.c (__dremf): Likewise.
27794 * math/w_dreml.c (__dreml): Likewise.
27795 * misc/daemon.c (daemon): Likewise.
27796 * resolv/res_debug.c (p_fqnname): Likewise.
27797 * stdlib/div.c (div): Likewise.
27798 * string/memcmp.c (memcmp_bytes): Likewise.
27799 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27800 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27801
27802 * crypt/cert.c (main): Convert to prototype-style function
27803 definition.
27804 * io/pipe.c (__pipe): Likewise.
27805 * io/pipe2.c (__pipe2): Likewise.
27806 * misc/futimesat.c (futimesat): Likewise.
27807 * misc/utimes.c (__utimes): Likewise.
27808 * posix/execve.c (__execve): Likewise.
27809 * posix/execvp.c (execvp): Likewise.
27810 * posix/execvpe.c (__execvpe): Likewise.
27811 * posix/fexecve.c (fexecve): Likewise.
27812 * socket/socketpair.c (socketpair): Likewise.
27813 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27814 * stdlib/erand48.c (erand48): Likewise.
27815 * stdlib/erand48_r.c (__erand48_r): Likewise.
27816 * stdlib/jrand48.c (jrand48): Likewise.
27817 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27818 * stdlib/lcong48.c (lcong48): Likewise.
27819 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27820 * stdlib/nrand48.c (nrand48): Likewise.
27821 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27822 * stdlib/seed48.c (seed48): Likewise.
27823 * stdlib/seed48_r.c (__seed48_r): Likewise.
27824 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27825 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27826 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27827
27828 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27829
27830 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27831 * configure: Regenerated.
27832 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27833 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27834 unconditional.
27835 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27836 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27837 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27838 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27839 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27840 unconditional.
27841 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27842
27843 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27844 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27845
27846 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27847 function definition.
27848 * crypt/crypt_util.c (__encrypt_r): Likewise.
27849 * libio/genops.c (_IO_no_init): Likewise.
27850 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27851 (_IO_old_fopencookie): Likewise.
27852 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27853 * libio/iogetline.c (_IO_getline): Likewise.
27854 (_IO_getline_info): Likewise.
27855 * libio/iogetwline.c (_IO_getwline): Likewise.
27856 (_IO_getwline_info): Likewise.
27857 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27858 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27859 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27860 (find_entry): Likewise.
27861 (iterate_table): Likewise.
27862 (lookup): Likewise.
27863 * login/forkpty.c (forkpty): Likewise.
27864 * misc/hsearch_r.c (__hsearch_r): Likewise.
27865 * misc/select.c (__select): Likewise.
27866 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27867 Likewise.
27868 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27869 Likewise.
27870 * nptl/old_pthread_cond_timedwait.c
27871 (__pthread_cond_timedwait_2_0): Likewise.
27872 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27873 * nptl/pthread_barrierattr_getpshared.c
27874 (pthread_barrierattr_getpshared): Likewise.
27875 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27876 Likewise.
27877 * nptl/pthread_mutex_setprioceiling.c
27878 (pthread_mutex_setprioceiling): Likewise.
27879 * nptl/pthread_mutexattr_getprioceiling.c
27880 (pthread_mutexattr_getprioceiling): Likewise.
27881 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27882 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27883 Likewise.
27884 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27885 Likewise.
27886 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27887 Likewise.
27888 * socket/recvfrom.c (__recvfrom): Likewise.
27889 * socket/sendto.c (__sendto): Likewise.
27890 * socket/setsockopt.c (__setsockopt): Likewise.
27891 * stdio-common/_itoa.c (_itoa): Likewise.
27892 * stdio-common/_itowa.c (_itowa): Likewise.
27893 * stdio-common/reg-printf.c (__register_printf_specifier):
27894 Likewise.
27895 (__register_printf_function): Likewise.
27896 * stdio-common/tempname.c (__path_search): Likewise.
27897 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27898 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27899 * stdlib/random_r.c (__initstate_r): Likewise.
27900 * stdlib/setenv.c (__add_to_environ): Likewise.
27901 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27902 * streams/getpmsg.c (getpmsg): Likewise.
27903 * streams/putmsg.c (putmsg): Likewise.
27904 * streams/putpmsg.c (putpmsg): Likewise.
27905 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27906 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27907 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27908 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27909 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27910 * sunrpc/svc_udp.c (cache_get): Likewise.
27911 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27912 * sysdeps/mach/hurd/getcwd.c
27913 (__canonicalize_directory_name_internal): Likewise.
27914 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27915 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27916 * sysdeps/mach/hurd/select.c (__select): Likewise.
27917 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27918 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27919 * sysdeps/sparc/nptl/pthread_barrier_init.c
27920 (__pthread_barrier_init): Likewise.
27921 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27922 (__pthread_cond_timedwait): Likewise.
27923 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27924 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27925 Likewise.
27926 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27927 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27928 Likewise.
27929 * sysvipc/semtimedop.c (semtimedop): Likewise.
27930 * time/setitimer.c (__setitimer): Likewise.
27931 * time/strftime_l.c (emacs_strftime): Likewise.
27932
27933 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27934
27935 * config.make.in (have-ssp): Delete.
27936 (stack-protector): New variable.
27937 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27938 cache test for -fstack-protector-strong. Export stack_protector to
27939 the best ssp flag.
27940 * configure: Regenerated.
27941 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27942 * nscd/Makefile (CFLAGS-nscd): Likewise.
27943 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27944
27945 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #19122]
27948 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27949 attribute_hidden.
27950
27951 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27952
27953 [BZ #18743]
27954 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27955 code to...
27956 (ELIDE_LOCK): ...here.
27957 (__get_new_count): New function with part of the code from
27958 __elide_lock that updates the value of adapt_count after a
27959 transaction abort.
27960 (__elided_trylock): Moved this code to...
27961 (ELIDE_TRYLOCK): ...here.
27962
27963 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27964
27965 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27966 * configure: Regenerate.
27967 * INSTALL: Regenerate.
27968 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27969 and tweak grammar.
27970
27971 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27972
27973 * login/programs/pt_chown.c: Include signal.h
27974 (main): Clear any signal mask from the parent process.
27975
27976 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27977
27978 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27979 * configure: Regenerated.
27980 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27981 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27982 $(gnu89-inline-CFLAGS).
27983
27984 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27985 test.
27986 (libc_cv_asm_weakext_directive): Likewise.
27987 * configure: Regenerated.
27988 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27989 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27990 * include/libc-symbols.h
27991 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27992 #error.
27993 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27994 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27995
27996 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27997 prototype-style function definition.
27998 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27999 * sysdeps/i386/ffs.c (__ffs): Likewise.
28000 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28001 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28002 Likewise.
28003 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28004 Likewise.
28005 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28006 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28007 Likewise.
28008 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28009 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28010 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28011 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28012 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28013 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28014 * sysdeps/mach/hurd/access.c (__access): Likewise.
28015 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28016 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28017 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28018 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28019 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28020 (cthread_getspecific): Likewise.
28021 (cthread_setspecific): Likewise.
28022 (__libc_getspecific): Likewise.
28023 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28024 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28025 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28026 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28027 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28028 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28029 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28030 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28031 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28032 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28033 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28034 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28035 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28036 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28037 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28038 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28039 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28040 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28041 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28042 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28043 * sysdeps/mach/hurd/link.c (__link): Likewise.
28044 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28045 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28046 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28047 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28048 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28049 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28050 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28051 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28052 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28053 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28054 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28055 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28056 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28057 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28058 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28059 * sysdeps/mach/hurd/send.c (__send): Likewise.
28060 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28061 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28062 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28063 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28064 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28065 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28066 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28067 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28068 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28069 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28070 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28071 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28072 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28073 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28074 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28075 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28076 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28077 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28078 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28079 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28080 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28081 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28082 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28083 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28084 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28085 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28086 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28087 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28088 * sysdeps/posix/alarm.c (alarm): Likewise.
28089 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28090 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28091 * sysdeps/posix/dup.c (__dup): Likewise.
28092 * sysdeps/posix/dup2.c (__dup2): Likewise.
28093 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28094 (main): Likewise.
28095 * sysdeps/posix/flock.c (__flock): Likewise.
28096 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28097 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28098 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28099 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28100 * sysdeps/posix/isatty.c (__isatty): Likewise.
28101 * sysdeps/posix/killpg.c (killpg): Likewise.
28102 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28103 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28104 * sysdeps/posix/raise.c (raise): Likewise.
28105 * sysdeps/posix/remove.c (remove): Likewise.
28106 * sysdeps/posix/rename.c (rename): Likewise.
28107 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28108 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28109 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28110 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28111 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28112 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28113 * sysdeps/posix/sigset.c (sigset): Likewise.
28114 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28115 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28116 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28117 * sysdeps/posix/time.c (time): Likewise.
28118 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28119 (ttyname): Likewise.
28120 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28121 * sysdeps/posix/utime.c (utime): Likewise.
28122 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28123 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28124 Likewise.
28125 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28126 (pthread_spin_trylock): Likewise.
28127 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28128 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28129 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28130 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28131 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28132 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28133 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28134 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28135 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28136 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28137 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28138 * sysdeps/s390/ffs.c (__ffs): Likewise.
28139 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28140 Likewise.
28141 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28142 Likewise.
28143 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28144 Likewise.
28145 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28146 (pthread_barrier_destroy): Likewise.
28147 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28148 (__pthread_barrier_wait): Likewise.
28149 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28150 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28151 (__pthread_barrier_wait): Likewise.
28152 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28153 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28154 (memcmp_not_common_alignment): Likewise.
28155 (MEMCMP): Likewise.
28156 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28157 (_wordcopy_fwd_dest_aligned): Likewise.
28158 (_wordcopy_bwd_aligned): Likewise.
28159 (_wordcopy_bwd_dest_aligned): Likewise.
28160 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28161 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28162 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28163 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28164 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28165 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28166 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28167 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28168 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28169 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28170 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28171 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28172 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28173 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28174 * sysdeps/unix/stime.c (stime): Likewise.
28175 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28176 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28177 Likewise. Use internal_function.
28178 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28179 Convert to prototype-style function definition.
28180 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28181 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28182 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28183 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28184 Likewise. Use internal_function.
28185 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28186 prototype-style function definition
28187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28188 Likewise.
28189 (__getlogin_r): Likewise.
28190 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28191 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28192 (__pthread_cond_broadcast): Likewise.
28193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28194 (__pthread_cond_destroy): Likewise.
28195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28196 (__pthread_cond_init): Likewise.
28197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28198 (__pthread_cond_signal): Likewise.
28199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28200 (__pthread_cond_wait): Likewise.
28201 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28202 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28203 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28204 Likewise.
28205 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28206 Likewise.
28207 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28208 Likewise.
28209 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28210 Likewise.
28211 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28213 (__ftruncate64): Likewise.
28214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28215 (truncate64): Likewise.
28216 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28217 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28218 (pthread_getcpuclockid): Likewise.
28219 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28220 Likewise.
28221 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28222 Likewise.
28223 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28224 Likewise.
28225 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28226 Likewise.
28227 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28228 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28229 (__libc_sigaction): Likewise.
28230 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28231 Likewise.
28232 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28233 (__sigprocmask): Likewise.
28234 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28235 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28236 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28238 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28239 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28240 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28241 Likewise.
28242 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28243 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28244 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28245 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28247 Likewise.
28248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28249 (__sigprocmask): Likewise.
28250 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28251 (cfgetispeed): Likewise.
28252 (cfsetospeed): Likewise.
28253 (cfsetispeed): Likewise.
28254 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28255 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28256 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28257 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28258 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28259 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28260 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28261 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28262 Likewise.
28263 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28264 Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28266 Likewise.
28267 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28268 Likewise.
28269 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28270
28271 2015-10-17 Florian Weimer <fweimer@redhat.com>
28272
28273 sunrpc: Rewrite with explicit TLS access using __thread.
28274 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28275 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28276 directly.
28277 (__rpc_thread_variables): Access thread_rpc_vars directly.
28278 Eliminate redundant assignment of the tvp variable.
28279
28280 2015-10-17 Florian Weimer <fweimer@redhat.com>
28281
28282 malloc: Rewrite with explicit TLS access using __thread.
28283 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28284 (tsd_setspecific, tsd_getspecific): Remove.
28285 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28286 (tsd_setspecific, tsd_getspecific): Likewise.
28287 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28288 (tsd_setspecific, tsd_getspecific): Likewise.
28289 * malloc/arena.c (thread_arena): New TLS variable.
28290 (arena_key): Remove variable.
28291 (arena_get): Use thread_arena.
28292 (arena_lookup): Remove macro.
28293 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28294 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28295 (_int_new_arena, get_free_list, reused_arena)
28296 (arena_thread_freeres): Use thread_arena.
28297 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28298 tsd_getspecific, tsd_setspecific from safety annotations.
28299 (Allocating Cleared Space): Remove arena_lookup from safety
28300 annotations.
28301
28302 2015-10-17 Florian Weimer <fweimer@redhat.com>
28303
28304 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28305 struct scratch_buffer instead of extend_alloca.
28306
28307 2015-10-17 Florian Weimer <fweimer@redhat.com>
28308
28309 * sysdeps/unix/sysv/linux/kernel-features.h
28310 (__ASSUME_SOCK_CLOEXEC): Remove.
28311 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28312 (__have_paccept): Remove unused macro.
28313 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28314 * misc/syslog.c (openlog_internal): Remove fallback code for
28315 !__ASSUME_SOCK_CLOEXEC.
28316 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28317 missing SOCK_CLOEXEC.
28318 * nscd/connections.c (have_sock_cloexec): Remove definition.
28319 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28320 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28321 !__ASSUME_SOCK_CLOEXEC.
28322 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28323 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28324 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28325 definition.
28326 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28327 code for !__ASSUME_SOCK_CLOEXEC.
28328
28329 2015-10-17 Florian Weimer <fweimer@redhat.com>
28330
28331 [BZ #18982]
28332 * manual/stdio.texi (Variable Arguments Output): Add portability
28333 note, explaining that vfprintf clobbers the va_list pointer.
28334
28335 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28336
28337 * math/libm-test.inc (fabs_test_data): Add more tests.
28338 (fdim_test_data): Likewise.
28339 (fma_test_data): Likewise.
28340 (fmax_test_data): Likewise.
28341 (fmin_test_data): Likewise.
28342 (fmod_test_data): Likewise.
28343
28344 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28345
28346 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28347 data.
28348
28349 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28350
28351 * math/libm-test.inc (ceil_test_data): Add more tests and more
28352 expectations for "inexact".
28353 (floor_test_data): Add more tests.
28354 (round_test_data): Likewise.
28355 (trunc_test_data): Likewise.
28356
28357 * crypt/cert.c (good_bye): Convert to prototype-style function
28358 definition.
28359 (get8): Likewise.
28360 (put8): Likewise.
28361 * crypt/crypt-entry.c (crypt): Likewise.
28362 (__fcrypt): Likewise.
28363 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28364 (_ufc_set_bits): Likewise.
28365 (_ufc_clearmem): Likewise.
28366 (__init_des_r): Likewise.
28367 (shuffle_sb): Likewise.
28368 (shuffle_sb): Likewise.
28369 (_ufc_setup_salt_r): Likewise.
28370 (_ufc_mk_keytab_r): Likewise.
28371 (_ufc_dofinalperm_r): Likewise.
28372 (encrypt): Likewise.
28373 (__setkey_r): Likewise.
28374 (setkey): Likewise.
28375 * crypt/md5.c (md5_init_ctx): Likewise.
28376 (md5_read_ctx): Likewise.
28377 (md5_finish_ctx): Likewise.
28378 (md5_stream): Likewise.
28379 (md5_buffer): Likewise.
28380 (md5_process_bytes): Likewise.
28381 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28382 (__sha256_finish_ctx): Likewise.
28383 (__sha256_process_bytes): Likewise.
28384 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28385 (__sha512_finish_ctx): Likewise.
28386 (__sha512_process_bytes): Likewise.
28387 * ctype/isctype.c (__isctype): Likewise.
28388 * debug/backtrace.c (__backtrace): Likewise.
28389 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28390 * debug/fgets_chk.c (__fgets_chk): Likewise.
28391 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28392 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28393 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28394 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28395 * debug/memset_chk.c (__memset_chk): Likewise.
28396 * debug/strcat_chk.c (__strcat_chk): Likewise.
28397 * debug/strncat_chk.c (__strncat_chk): Likewise.
28398 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28399 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28400 * dirent/dirfd.c (dirfd): Likewise.
28401 * dirent/getdents.c (__getdirentries): Likewise.
28402 * dirent/getdents64.c (getdirentries64): Likewise.
28403 * dirent/rewinddir.c (__rewinddir): Likewise.
28404 * dirent/seekdir.c (seekdir): Likewise.
28405 * dirent/telldir.c (telldir): Likewise.
28406 * elf/sln.c (makesymlinks): Likewise.
28407 (makesymlink): Likewise.
28408 * gmon/gmon.c (__moncontrol): Likewise.
28409 (__monstartup): Likewise.
28410 (write_hist): Likewise.
28411 (write_call_graph): Likewise.
28412 (write_bb_counts): Likewise.
28413 * grp/setgroups.c (setgroups): Likewise.
28414 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28415 * inet/inet_net.c (inet_network): Likewise.
28416 * inet/inet_netof.c (inet_netof): Likewise.
28417 * inet/rcmd.c (rresvport_af): Likewise.
28418 (rresvport): Likewise.
28419 * io/access.c (__access): Likewise.
28420 * io/chdir.c (__chdir): Likewise.
28421 * io/chmod.c (__chmod): Likewise.
28422 * io/chown.c (__chown): Likewise.
28423 * io/close.c (__close): Likewise.
28424 * io/creat.c (creat): Likewise.
28425 * io/creat64.c (creat64): Likewise.
28426 * io/dup.c (__dup): Likewise.
28427 * io/dup2.c (__dup2): Likewise.
28428 * io/dup3.c (__dup3): Likewise.
28429 * io/euidaccess.c (__euidaccess): Likewise.
28430 * io/faccessat.c (faccessat): Likewise.
28431 * io/fchmod.c (__fchmod): Likewise.
28432 * io/fchmodat.c (fchmodat): Likewise.
28433 * io/fchown.c (__fchown): Likewise.
28434 * io/fchownat.c (fchownat): Likewise.
28435 * io/fcntl.c (__fcntl): Likewise.
28436 * io/flock.c (__flock): Likewise.
28437 * io/fts.c (fts_load): Likewise.
28438 (fts_close): Likewise.
28439 (fts_read): Likewise.
28440 (fts_set): Likewise.
28441 (fts_children): Likewise.
28442 (fts_build): Likewise.
28443 (fts_stat): Likewise.
28444 (fts_sort): Likewise.
28445 (fts_alloc): Likewise.
28446 (fts_lfree): Likewise.
28447 (fts_palloc): Likewise.
28448 (fts_padjust): Likewise.
28449 (fts_maxarglen): Likewise.
28450 (fts_safe_changedir): Likewise.
28451 * io/getwd.c (getwd): Likewise.
28452 * io/isatty.c (__isatty): Likewise.
28453 * io/lchown.c (__lchown): Likewise.
28454 * io/link.c (__link): Likewise.
28455 * io/linkat.c (linkat): Likewise.
28456 * io/lseek.c (__libc_lseek): Likewise.
28457 * io/mkdir.c (__mkdir): Likewise.
28458 * io/mkdirat.c (mkdirat): Likewise.
28459 * io/mkfifo.c (mkfifo): Likewise.
28460 * io/mkfifoat.c (mkfifoat): Likewise.
28461 * io/open.c (__libc_open): Likewise.
28462 * io/open64.c (__libc_open64): Likewise.
28463 * io/readlink.c (__readlink): Likewise.
28464 * io/readlinkat.c (readlinkat): Likewise.
28465 * io/rmdir.c (__rmdir): Likewise.
28466 * io/symlink.c (__symlink): Likewise.
28467 * io/symlinkat.c (symlinkat): Likewise.
28468 * io/ttyname.c (ttyname): Likewise.
28469 * io/ttyname_r.c (__ttyname_r): Likewise.
28470 * io/umask.c (__umask): Likewise.
28471 * io/unlink.c (__unlink): Likewise.
28472 * io/unlinkat.c (unlinkat): Likewise.
28473 * io/utime.c (utime): Likewise.
28474 * libio/clearerr.c (clearerr): Likewise.
28475 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28476 * libio/feof.c (_IO_feof): Likewise.
28477 * libio/feof_u.c (feof_unlocked): Likewise.
28478 * libio/ferror.c (_IO_ferror): Likewise.
28479 * libio/ferror_u.c (ferror_unlocked): Likewise.
28480 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28481 * libio/fileno.c (__fileno): Likewise.
28482 * libio/fputc.c (fputc): Likewise.
28483 * libio/fputc_u.c (fputc_unlocked): Likewise.
28484 * libio/fputwc.c (fputwc): Likewise.
28485 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28486 * libio/freopen.c (freopen): Likewise.
28487 * libio/freopen64.c (freopen64): Likewise.
28488 * libio/fseek.c (fseek): Likewise.
28489 * libio/fseeko.c (fseeko): Likewise.
28490 * libio/fseeko64.c (fseeko64): Likewise.
28491 * libio/ftello.c (__ftello): Likewise.
28492 * libio/ftello64.c (ftello64): Likewise.
28493 * libio/fwide.c (fwide): Likewise.
28494 * libio/genops.c (_IO_un_link): Likewise.
28495 (_IO_link_in): Likewise.
28496 (_IO_least_marker): Likewise.
28497 (_IO_switch_to_main_get_area): Likewise.
28498 (_IO_switch_to_backup_area): Likewise.
28499 (_IO_switch_to_get_mode): Likewise.
28500 (_IO_free_backup_area): Likewise.
28501 (_IO_switch_to_put_mode): Likewise.
28502 (__overflow): Likewise.
28503 (__underflow): Likewise.
28504 (__uflow): Likewise.
28505 (_IO_setb): Likewise.
28506 (_IO_doallocbuf): Likewise.
28507 (_IO_default_underflow): Likewise.
28508 (_IO_default_uflow): Likewise.
28509 (_IO_default_xsputn): Likewise.
28510 (_IO_sgetn): Likewise.
28511 (_IO_default_xsgetn): Likewise.
28512 (_IO_sync): Likewise.
28513 (_IO_default_setbuf): Likewise.
28514 (_IO_default_seekpos): Likewise.
28515 (_IO_default_doallocate): Likewise.
28516 (_IO_init): Likewise.
28517 (_IO_old_init): Likewise.
28518 (_IO_default_sync): Likewise.
28519 (_IO_default_finish): Likewise.
28520 (_IO_default_seekoff): Likewise.
28521 (_IO_sputbackc): Likewise.
28522 (_IO_sungetc): Likewise.
28523 (_IO_set_column): Likewise.
28524 (_IO_set_column): Likewise.
28525 (_IO_adjust_column): Likewise.
28526 (_IO_get_column): Likewise.
28527 (_IO_init_marker): Likewise.
28528 (_IO_remove_marker): Likewise.
28529 (_IO_marker_difference): Likewise.
28530 (_IO_marker_delta): Likewise.
28531 (_IO_seekmark): Likewise.
28532 (_IO_unsave_markers): Likewise.
28533 (_IO_nobackup_pbackfail): Likewise.
28534 (_IO_default_pbackfail): Likewise.
28535 (_IO_default_seek): Likewise.
28536 (_IO_default_stat): Likewise.
28537 (_IO_default_read): Likewise.
28538 (_IO_default_write): Likewise.
28539 (_IO_default_showmanyc): Likewise.
28540 (_IO_default_imbue): Likewise.
28541 (_IO_iter_next): Likewise.
28542 (_IO_iter_file): Likewise.
28543 * libio/getc.c (_IO_getc): Likewise.
28544 * libio/getwc.c (_IO_getwc): Likewise.
28545 * libio/iofclose.c (_IO_new_fclose): Likewise.
28546 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28547 * libio/iofflush.c (_IO_fflush): Likewise.
28548 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28549 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28550 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28551 * libio/iofgets.c (_IO_fgets): Likewise.
28552 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28553 * libio/iofgetws.c (fgetws): Likewise.
28554 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28555 * libio/iofopen64.c (_IO_fopen64): Likewise.
28556 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28557 (_IO_cookie_write): Likewise.
28558 (_IO_cookie_seek): Likewise.
28559 (_IO_cookie_close): Likewise.
28560 (_IO_cookie_seekoff): Likewise.
28561 (_IO_old_cookie_seek): Likewise.
28562 * libio/iofputs.c (_IO_fputs): Likewise.
28563 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28564 * libio/iofputws.c (fputws): Likewise.
28565 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28566 * libio/iofread.c (_IO_fread): Likewise.
28567 * libio/iofread_u.c (__fread_unlocked): Likewise.
28568 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28569 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28570 * libio/ioftell.c (_IO_ftell): Likewise.
28571 * libio/iofwrite.c (_IO_fwrite): Likewise.
28572 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28573 * libio/iogets.c (_IO_gets): Likewise.
28574 * libio/iopadn.c (_IO_padn): Likewise.
28575 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28576 (_IO_new_popen): Likewise.
28577 (_IO_new_proc_close): Likewise.
28578 * libio/ioputs.c (_IO_puts): Likewise.
28579 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28580 (_IO_seekoff): Likewise.
28581 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28582 (_IO_seekpos): Likewise.
28583 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28584 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28585 * libio/ioungetc.c (_IO_ungetc): Likewise.
28586 * libio/ioungetwc.c (ungetwc): Likewise.
28587 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28588 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28589 * libio/iowpadn.c (_IO_wpadn): Likewise.
28590 * libio/libc_fatal.c (__libc_fatal): Likewise.
28591 * libio/memstream.c (__open_memstream): Likewise.
28592 (_IO_mem_sync): Likewise.
28593 (_IO_mem_finish): Likewise.
28594 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28595 (_IO_old_file_close_it): Likewise.
28596 (_IO_old_file_finish): Likewise.
28597 (_IO_old_file_fopen): Likewise.
28598 (_IO_old_file_attach): Likewise.
28599 (_IO_old_file_setbuf): Likewise.
28600 (_IO_old_do_write): Likewise.
28601 (old_do_write): Likewise.
28602 (_IO_old_file_underflow): Likewise.
28603 (_IO_old_file_overflow): Likewise.
28604 (_IO_old_file_sync): Likewise.
28605 (_IO_old_file_seekoff): Likewise.
28606 (_IO_old_file_write): Likewise.
28607 (_IO_old_file_xsputn): Likewise.
28608 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28609 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28610 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28611 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28612 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28613 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28614 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28615 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28616 (_IO_old_popen): Likewise.
28617 (_IO_old_proc_close): Likewise.
28618 * libio/oldpclose.c (__old_pclose): Likewise.
28619 * libio/pclose.c (__new_pclose): Likewise.
28620 * libio/peekc.c (_IO_peekc_locked): Likewise.
28621 * libio/putc.c (_IO_putc): Likewise.
28622 * libio/putc_u.c (putc_unlocked): Likewise.
28623 * libio/putchar.c (putchar): Likewise.
28624 * libio/putchar_u.c (putchar_unlocked): Likewise.
28625 * libio/putwc.c (putwc): Likewise.
28626 * libio/putwc_u.c (putwc_unlocked): Likewise.
28627 * libio/putwchar.c (putwchar): Likewise.
28628 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28629 * libio/rewind.c (rewind): Likewise.
28630 * libio/setbuf.c (setbuf): Likewise.
28631 * libio/setlinebuf.c (setlinebuf): Likewise.
28632 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28633 * libio/vscanf.c (_IO_vscanf): Likewise.
28634 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28635 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28636 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28637 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28638 (_IO_switch_to_main_wget_area): Likewise.
28639 (_IO_switch_to_wbackup_area): Likewise.
28640 (_IO_wsetb): Likewise.
28641 (_IO_wdefault_pbackfail): Likewise.
28642 (_IO_wdefault_finish): Likewise.
28643 (_IO_wdefault_uflow): Likewise.
28644 (__woverflow): Likewise.
28645 (__wuflow): Likewise.
28646 (__wunderflow): Likewise.
28647 (_IO_wdefault_xsputn): Likewise.
28648 (_IO_wdefault_xsgetn): Likewise.
28649 (_IO_wdoallocbuf): Likewise.
28650 (_IO_wdefault_doallocate): Likewise.
28651 (_IO_switch_to_wget_mode): Likewise.
28652 (_IO_free_wbackup_area): Likewise.
28653 (_IO_switch_to_wput_mode): Likewise.
28654 (_IO_sputbackwc): Likewise.
28655 (_IO_sungetwc): Likewise.
28656 (_IO_adjust_wcolumn): Likewise.
28657 (_IO_init_wmarker): Likewise.
28658 (_IO_wmarker_delta): Likewise.
28659 (_IO_seekwmark): Likewise.
28660 (_IO_unsave_wmarkers): Likewise.
28661 * libio/wmemstream.c (open_wmemstream): Likewise.
28662 (_IO_wmem_sync): Likewise.
28663 (_IO_wmem_finish): Likewise.
28664 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28665 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28666 * locale/programs/simple-hash.c (init_hash): Likewise.
28667 (delete_hash): Likewise.
28668 (insert_entry): Likewise.
28669 (set_entry): Likewise.
28670 (next_prime): Likewise.
28671 (is_prime): Likewise.
28672 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28673 (xmalloc): Likewise.
28674 (xrealloc): Likewise.
28675 * locale/programs/xstrdup.c (xstrdup): Likewise.
28676 * localedata/collate-test.c (xstrcoll): Likewise.
28677 * localedata/xfrm-test.c (xstrcmp): Likewise.
28678 * login/getlogin_r.c (__getlogin_r): Likewise.
28679 * login/getpt.c (__posix_openpt): Likewise.
28680 * login/login_tty.c (login_tty): Likewise.
28681 * login/setlogin.c (setlogin): Likewise.
28682 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28683 (mach_msg_destroy_port): Likewise.
28684 (mach_msg_destroy_memory): Likewise.
28685 * malloc/mcheck.c (flood): Likewise.
28686 * misc/acct.c (acct): Likewise.
28687 * misc/brk.c (__brk): Likewise.
28688 * misc/chflags.c (chflags): Likewise.
28689 * misc/chroot.c (chroot): Likewise.
28690 * misc/fchflags.c (fchflags): Likewise.
28691 * misc/fstab.c (getfsspec): Likewise.
28692 (getfsfile): Likewise.
28693 * misc/fsync.c (fsync): Likewise.
28694 * misc/ftruncate.c (__ftruncate): Likewise.
28695 * misc/ftruncate64.c (__ftruncate64): Likewise.
28696 * misc/getdomain.c (getdomainname): Likewise.
28697 (getdomainname): Likewise.
28698 * misc/gethostname.c (__gethostname): Likewise.
28699 * misc/getpass.c (getpass): Likewise.
28700 * misc/getttyent.c (skip): Likewise.
28701 (value): Likewise.
28702 * misc/gtty.c (gtty): Likewise.
28703 * misc/hsearch.c (hsearch): Likewise.
28704 (hcreate): Likewise.
28705 * misc/hsearch_r.c (__hcreate_r): Likewise.
28706 (__hdestroy_r): Likewise.
28707 * misc/ioctl.c (__ioctl): Likewise.
28708 * misc/mkdtemp.c (mkdtemp): Likewise.
28709 * misc/mkostemp.c (mkostemp): Likewise.
28710 * misc/mkostemp64.c (mkostemp64): Likewise.
28711 * misc/mkostemps.c (mkostemps): Likewise.
28712 * misc/mkostemps64.c (mkostemps64): Likewise.
28713 * misc/mkstemp.c (mkstemp): Likewise.
28714 * misc/mkstemp64.c (mkstemp64): Likewise.
28715 * misc/mkstemps.c (mkstemps): Likewise.
28716 * misc/mkstemps64.c (mkstemps64): Likewise.
28717 * misc/mktemp.c (__mktemp): Likewise.
28718 * misc/preadv.c (preadv): Likewise.
28719 * misc/preadv64.c (preadv64): Likewise.
28720 * misc/pwritev.c (pwritev): Likewise.
28721 * misc/pwritev64.c (pwritev64): Likewise.
28722 * misc/readv.c (__readv): Likewise.
28723 * misc/revoke.c (revoke): Likewise.
28724 * misc/setdomain.c (setdomainname): Likewise.
28725 * misc/setegid.c (setegid): Likewise.
28726 * misc/seteuid.c (seteuid): Likewise.
28727 * misc/sethostid.c (sethostid): Likewise.
28728 * misc/sethostname.c (sethostname): Likewise.
28729 * misc/setregid.c (__setregid): Likewise.
28730 * misc/setreuid.c (__setreuid): Likewise.
28731 * misc/sstk.c (sstk): Likewise.
28732 * misc/stty.c (stty): Likewise.
28733 * misc/syscall.c (syscall): Likewise.
28734 * misc/syslog.c (setlogmask): Likewise.
28735 * misc/truncate.c (__truncate): Likewise.
28736 * misc/truncate64.c (truncate64): Likewise.
28737 * misc/ualarm.c (ualarm): Likewise.
28738 * misc/usleep.c (usleep): Likewise.
28739 * misc/ustat.c (ustat): Likewise.
28740 * misc/writev.c (__writev): Likewise.
28741 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28742 * nptl/old_pthread_cond_broadcast.c
28743 (__pthread_cond_broadcast_2_0): Likewise.
28744 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28745 Likewise.
28746 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28747 Likewise.
28748 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28749 Likewise.
28750 * nptl/pt-raise.c (raise): Likewise.
28751 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28752 Likewise.
28753 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28754 * nptl/pthread_barrierattr_destroy.c
28755 (pthread_barrierattr_destroy): Likewise.
28756 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28757 Likewise.
28758 * nptl/pthread_barrierattr_setpshared.c
28759 (pthread_barrierattr_setpshared): Likewise.
28760 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28761 Likewise.
28762 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28763 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28764 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28765 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28766 Likewise.
28767 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28768 Likewise.
28769 * nptl/pthread_condattr_getpshared.c
28770 (pthread_condattr_getpshared): Likewise.
28771 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28772 Likewise.
28773 * nptl/pthread_condattr_setpshared.c
28774 (pthread_condattr_setpshared): Likewise.
28775 * nptl/pthread_detach.c (pthread_detach): Likewise.
28776 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28777 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28778 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28779 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28780 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28781 Likewise.
28782 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28783 Likewise.
28784 * nptl/pthread_mutex_getprioceiling.c
28785 (pthread_mutex_getprioceiling): Likewise.
28786 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28787 Likewise.
28788 * nptl/pthread_mutexattr_getprotocol.c
28789 (pthread_mutexattr_getprotocol): Likewise.
28790 * nptl/pthread_mutexattr_getpshared.c
28791 (pthread_mutexattr_getpshared): Likewise.
28792 * nptl/pthread_mutexattr_getrobust.c
28793 (pthread_mutexattr_getrobust): Likewise.
28794 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28795 Likewise.
28796 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28797 Likewise.
28798 * nptl/pthread_mutexattr_setprioceiling.c
28799 (pthread_mutexattr_setprioceiling): Likewise.
28800 * nptl/pthread_mutexattr_setprotocol.c
28801 (pthread_mutexattr_setprotocol): Likewise.
28802 * nptl/pthread_mutexattr_setpshared.c
28803 (pthread_mutexattr_setpshared): Likewise.
28804 * nptl/pthread_mutexattr_setrobust.c
28805 (pthread_mutexattr_setrobust): Likewise.
28806 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28807 Likewise.
28808 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28809 Likewise.
28810 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28811 Likewise.
28812 * nptl/pthread_rwlockattr_getkind_np.c
28813 (pthread_rwlockattr_getkind_np): Likewise.
28814 * nptl/pthread_rwlockattr_getpshared.c
28815 (pthread_rwlockattr_getpshared): Likewise.
28816 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28817 Likewise.
28818 * nptl/pthread_rwlockattr_setkind_np.c
28819 (pthread_rwlockattr_setkind_np): Likewise.
28820 * nptl/pthread_rwlockattr_setpshared.c
28821 (pthread_rwlockattr_setpshared): Likewise.
28822 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28823 Likewise.
28824 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28825 Likewise.
28826 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28827 Likewise.
28828 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28829 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28830 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28831 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28832 * nptl/sem_close.c (sem_close): Likewise.
28833 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28834 * nptl/sem_init.c (__old_sem_init): Likewise.
28835 * nptl/sigaction.c (__sigaction): Likewise.
28836 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28837 * posix/_exit.c (_exit): Likewise.
28838 * posix/alarm.c (alarm): Likewise.
28839 * posix/confstr.c (confstr): Likewise.
28840 * posix/fpathconf.c (__fpathconf): Likewise.
28841 * posix/getgroups.c (__getgroups): Likewise.
28842 * posix/getpgid.c (__getpgid): Likewise.
28843 * posix/group_member.c (__group_member): Likewise.
28844 * posix/pathconf.c (__pathconf): Likewise.
28845 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28846 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28847 * posix/setgid.c (__setgid): Likewise.
28848 * posix/setpgid.c (__setpgid): Likewise.
28849 * posix/setuid.c (__setuid): Likewise.
28850 * posix/sleep.c (__sleep): Likewise.
28851 * posix/sysconf.c (__sysconf): Likewise.
28852 * posix/times.c (__times): Likewise.
28853 * posix/uname.c (__uname): Likewise.
28854 * posix/waitid.c (__waitid): Likewise.
28855 * pwd/getpw.c (__getpw): Likewise.
28856 * resolv/base64.c (b64_pton): Likewise.
28857 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28858 * resolv/gethnamaddr.c (Dprintf): Likewise.
28859 (gethostbyname): Likewise.
28860 (gethostbyname2): Likewise.
28861 (gethostbyaddr): Likewise.
28862 (_sethtent): Likewise.
28863 (_gethtbyname): Likewise.
28864 (_gethtbyname2): Likewise.
28865 (_gethtbyaddr): Likewise.
28866 (map_v4v6_address): Likewise.
28867 (map_v4v6_hostent): Likewise.
28868 (addrsort): Likewise.
28869 (ht_sethostent): Likewise.
28870 (ht_gethostbyname): Likewise.
28871 (ht_gethostbyaddr): Likewise.
28872 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28873 (inet_net_ntop_ipv4): Likewise.
28874 * resolv/inet_neta.c (inet_neta): Likewise.
28875 * resolv/inet_ntop.c (inet_ntop): Likewise.
28876 (inet_ntop4): Likewise.
28877 (inet_ntop6): Likewise.
28878 * resolv/inet_pton.c (__inet_pton): Likewise.
28879 (inet_pton4): Likewise.
28880 (inet_pton6): Likewise.
28881 * resolv/res_debug.c (loc_aton): Likewise.
28882 (loc_ntoa): Likewise.
28883 * resource/getpriority.c (__getpriority): Likewise.
28884 * resource/getrusage.c (__getrusage): Likewise.
28885 * resource/nice.c (nice): Likewise.
28886 * resource/setpriority.c (__setpriority): Likewise.
28887 * resource/setrlimit64.c (setrlimit64): Likewise.
28888 * resource/vlimit.c (vlimit): Likewise.
28889 * resource/vtimes.c (vtimes): Likewise.
28890 * rt/aio_error.c (aio_error): Likewise.
28891 * rt/aio_return.c (aio_return): Likewise.
28892 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28893 * signal/kill.c (__kill): Likewise.
28894 * signal/killpg.c (killpg): Likewise.
28895 * signal/raise.c (raise): Likewise.
28896 * signal/sigaction.c (__sigaction): Likewise.
28897 * signal/sigaddset.c (sigaddset): Likewise.
28898 * signal/sigaltstack.c (sigaltstack): Likewise.
28899 * signal/sigandset.c (sigandset): Likewise.
28900 * signal/sigblock.c (__sigblock): Likewise.
28901 * signal/sigdelset.c (sigdelset): Likewise.
28902 * signal/sigempty.c (sigemptyset): Likewise.
28903 * signal/sigfillset.c (sigfillset): Likewise.
28904 * signal/sighold.c (sighold): Likewise.
28905 * signal/sigignore.c (sigignore): Likewise.
28906 * signal/sigintr.c (siginterrupt): Likewise.
28907 * signal/sigisempty.c (sigisemptyset): Likewise.
28908 * signal/sigismem.c (sigismember): Likewise.
28909 * signal/signal.c (signal): Likewise.
28910 * signal/sigorset.c (sigorset): Likewise.
28911 * signal/sigpause.c (__sigpause): Likewise.
28912 * signal/sigpending.c (sigpending): Likewise.
28913 * signal/sigprocmask.c (__sigprocmask): Likewise.
28914 * signal/sigrelse.c (sigrelse): Likewise.
28915 * signal/sigreturn.c (__sigreturn): Likewise.
28916 * signal/sigset.c (sigset): Likewise.
28917 * signal/sigsetmask.c (__sigsetmask): Likewise.
28918 * signal/sigstack.c (sigstack): Likewise.
28919 * signal/sigsuspend.c (__sigsuspend): Likewise.
28920 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28921 * signal/sysv_signal.c (__sysv_signal): Likewise.
28922 * socket/accept.c (accept): Likewise.
28923 * socket/accept4.c (__libc_accept4): Likewise.
28924 * socket/bind.c (__bind): Likewise.
28925 * socket/connect.c (__connect): Likewise.
28926 * socket/getpeername.c (getpeername): Likewise.
28927 * socket/getsockname.c (__getsockname): Likewise.
28928 * socket/getsockopt.c (getsockopt): Likewise.
28929 * socket/listen.c (__listen): Likewise.
28930 * socket/recv.c (__recv): Likewise.
28931 * socket/recvmsg.c (__recvmsg): Likewise.
28932 * socket/send.c (__send): Likewise.
28933 * socket/sendmsg.c (__sendmsg): Likewise.
28934 * socket/shutdown.c (shutdown): Likewise.
28935 * socket/sockatmark.c (sockatmark): Likewise.
28936 * socket/socket.c (__socket): Likewise.
28937 * stdio-common/ctermid.c (ctermid): Likewise.
28938 * stdio-common/cuserid.c (cuserid): Likewise.
28939 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28940 * stdio-common/remove.c (remove): Likewise.
28941 * stdio-common/rename.c (rename): Likewise.
28942 * stdio-common/renameat.c (renameat): Likewise.
28943 * stdio-common/tempname.c (__gen_tempname): Likewise.
28944 * stdio-common/xbug.c (InitBuffer): Likewise.
28945 (AppendToBuffer): Likewise.
28946 (ReadFile): Likewise.
28947 * stdlib/a64l.c (a64l): Likewise.
28948 * stdlib/drand48_r.c (drand48_r): Likewise.
28949 * stdlib/getcontext.c (getcontext): Likewise.
28950 * stdlib/getenv.c (getenv): Likewise.
28951 * stdlib/l64a.c (l64a): Likewise.
28952 * stdlib/llabs.c (llabs): Likewise.
28953 * stdlib/lldiv.c (lldiv): Likewise.
28954 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28955 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28956 * stdlib/putenv.c (putenv): Likewise.
28957 * stdlib/random.c (__srandom): Likewise.
28958 (__initstate): Likewise.
28959 (__setstate): Likewise.
28960 * stdlib/random_r.c (__srandom_r): Likewise.
28961 (__setstate_r): Likewise.
28962 (__random_r): Likewise.
28963 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28964 * stdlib/setcontext.c (setcontext): Likewise.
28965 * stdlib/setenv.c (setenv): Likewise.
28966 (unsetenv): Likewise.
28967 * stdlib/srand48.c (srand48): Likewise.
28968 * stdlib/srand48_r.c (__srand48_r): Likewise.
28969 * stdlib/swapcontext.c (swapcontext): Likewise.
28970 * stdlib/system.c (__libc_system): Likewise.
28971 * stdlib/tst-strtod.c (expand): Likewise.
28972 * stdlib/tst-strtol.c (expand): Likewise.
28973 * stdlib/tst-strtoll.c (expand): Likewise.
28974 * streams/fattach.c (fattach): Likewise.
28975 * streams/fdetach.c (fdetach): Likewise.
28976 * streams/getmsg.c (getmsg): Likewise.
28977 * streams/isastream.c (isastream): Likewise.
28978 * string/ffs.c (__ffs): Likewise.
28979 * string/ffsll.c (ffsll): Likewise.
28980 * string/memcmp.c (memcmp_common_alignment): Likewise.
28981 (memcmp_not_common_alignment): Likewise.
28982 (MEMCMP): Likewise.
28983 * string/memcpy.c (memcpy): Likewise.
28984 * string/memmove.c (MEMMOVE): Likewise.
28985 * string/memset.c (memset): Likewise.
28986 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28987 * string/strchrnul.c (STRCHRNUL): Likewise.
28988 * string/strerror.c (strerror): Likewise.
28989 * string/strndup.c (__strndup): Likewise.
28990 * string/strverscmp.c (__strverscmp): Likewise.
28991 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28992 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28993 (clnttcp_freeres): Likewise.
28994 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28995 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28996 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28997 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28998 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28999 (xdr_callhdr): Likewise.
29000 * sunrpc/rpcinfo.c (udpping): Likewise.
29001 (tcpping): Likewise.
29002 (pstatus): Likewise.
29003 (pmapdump): Likewise.
29004 (brdcst): Likewise.
29005 (deletereg): Likewise.
29006 (getprognum): Likewise.
29007 (getvers): Likewise.
29008 (get_inet_address): Likewise.
29009 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29010 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29011 (svcudp_stat): Likewise.
29012 (svcudp_recv): Likewise.
29013 (svcudp_reply): Likewise.
29014 (svcudp_getargs): Likewise.
29015 (svcudp_freeargs): Likewise.
29016 (svcudp_destroy): Likewise.
29017 * sunrpc/xdr.c (xdr_bytes): Likewise.
29018 (xdr_netobj): Likewise.
29019 (xdr_string): Likewise.
29020 (xdr_wrapstring): Likewise.
29021 * sunrpc/xdr_float.c (xdr_float): Likewise.
29022 (xdr_double): Likewise.
29023 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29024 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29025 * sysvipc/ftok.c (ftok): Likewise.
29026 * sysvipc/msgctl.c (msgctl): Likewise.
29027 * sysvipc/msgget.c (msgget): Likewise.
29028 * sysvipc/msgrcv.c (msgrcv): Likewise.
29029 * sysvipc/msgsnd.c (msgsnd): Likewise.
29030 * sysvipc/semget.c (semget): Likewise.
29031 * sysvipc/semop.c (semop): Likewise.
29032 * sysvipc/shmat.c (shmat): Likewise.
29033 * sysvipc/shmctl.c (shmctl): Likewise.
29034 * sysvipc/shmdt.c (shmdt): Likewise.
29035 * sysvipc/shmget.c (shmget): Likewise.
29036 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29037 * termios/speed.c (cfgetospeed): Likewise.
29038 (cfgetispeed): Likewise.
29039 (cfsetospeed): Likewise.
29040 (cfsetispeed): Likewise.
29041 * termios/tcflow.c (tcflow): Likewise.
29042 * termios/tcflush.c (tcflush): Likewise.
29043 * termios/tcgetattr.c (__tcgetattr): Likewise.
29044 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29045 * termios/tcgetsid.c (tcgetsid): Likewise.
29046 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29047 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29048 * time/adjtime.c (__adjtime): Likewise.
29049 * time/dysize.c (dysize): Likewise.
29050 * time/ftime.c (ftime): Likewise.
29051 * time/getitimer.c (__getitimer): Likewise.
29052 * time/gettimeofday.c (__gettimeofday): Likewise.
29053 * time/gmtime.c (__gmtime_r): Likewise.
29054 (gmtime): Likewise.
29055 * time/localtime.c (__localtime_r): Likewise.
29056 (localtime): Likewise.
29057 * time/offtime.c (__offtime): Likewise.
29058 * time/settimeofday.c (__settimeofday): Likewise.
29059 * time/stime.c (stime): Likewise.
29060 * time/strftime_l.c (tm_diff): Likewise.
29061 (iso_week_days): Likewise.
29062 * time/strptime.c (strptime): Likewise.
29063 * time/time.c (time): Likewise.
29064 * time/timespec_get.c (timespec_get): Likewise.
29065 * time/tzset.c (tzset_internal): Likewise.
29066 (compute_change): Likewise.
29067 (__tz_compute): Likewise.
29068 * wcsmbs/btowc.c (__btowc): Likewise.
29069 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29070 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29071 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29072 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29073 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29074 * wcsmbs/wcscat.c (__wcscat): Likewise.
29075 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29076 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29077 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29078 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29079 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29080 * wcsmbs/wcslen.c (__wcslen): Likewise.
29081 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29082 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29083 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29084 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29085 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29086 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29087 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29088 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29089 * wcsmbs/wcstok.c (wcstok): Likewise.
29090 * wcsmbs/wctob.c (wctob): Likewise.
29091 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29092 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29093 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29094 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29095 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29096 * wcsmbs/wmemset.c (__wmemset): Likewise.
29097 * wctype/wcfuncs.c (__towlower): Likewise.
29098 (__towupper): Likewise.
29099
29100 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29101 (lll_unlock_elision): Add adapt_count parameter.
29102
29103 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29104
29105 * sysdeps/nptl/configure.ac: Do not give errors based on the
29106 results of top-level configure tests.
29107 * sysdeps/nptl/configure: Regenerated.
29108
29109 * configure.ac (libc_cv_Bgroup): Remove configure test.
29110 * configure: Regenerated.
29111 * config.make.in (have-Bgroup): Remove variable.
29112
29113 * configure.ac (sizeof_long_double): Remove configure test.
29114 * configure: Regenerated.
29115 * config.make.in (sizeof-long-double): Remove variable.
29116
29117 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29118 * configure: Regenerated.
29119 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29120 variable.
29121 (exceptions): Likewise.
29122 * sysdeps/arm/configure: Regenerated.
29123 * config.make.in (exceptions): Remove variable.
29124 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29125 $(exceptions).
29126 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29127 (CFLAGS-vdprintf_chk.c): Likewise.
29128 (CFLAGS-printf_chk.c): Likewise.
29129 (CFLAGS-fprintf_chk.c): Likewise.
29130 (CFLAGS-vprintf_chk.c): Likewise.
29131 (CFLAGS-vfprintf_chk.c): Likewise.
29132 (CFLAGS-gets_chk.c): Likewise.
29133 (CFLAGS-fgets_chk.c): Likewise.
29134 (CFLAGS-fgets_u_chk.c): Likewise.
29135 (CFLAGS-fread_chk.c): Likewise.
29136 (CFLAGS-fread_u_chk.c): Likewise.
29137 (CFLAGS-wprintf_chk.c): Likewise.
29138 (CFLAGS-fwprintf_chk.c): Likewise.
29139 (CFLAGS-vwprintf_chk.c): Likewise.
29140 (CFLAGS-vfwprintf_chk.c): Likewise.
29141 (CFLAGS-fgetws_chk.c): Likewise.
29142 (CFLAGS-fgetws_u_chk.c): Likewise.
29143 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29144 (CFLAGS-fputc.c): Likewise.
29145 (CFLAGS-fputwc.c): Likewise.
29146 (CFLAGS-freopen64.c): Likewise.
29147 (CFLAGS-freopen.c): Likewise.
29148 (CFLAGS-fseek.c): Likewise.
29149 (CFLAGS-fseeko64.c): Likewise.
29150 (CFLAGS-fseeko.c): Likewise.
29151 (CFLAGS-ftello64.c): Likewise.
29152 (CFLAGS-ftello.c): Likewise.
29153 (CFLAGS-fwide.c): Likewise.
29154 (CFLAGS-genops.c): Likewise.
29155 (CFLAGS-getc.c): Likewise.
29156 (CFLAGS-getchar.c): Likewise.
29157 (CFLAGS-getwc.c): Likewise.
29158 (CFLAGS-getwchar.c): Likewise.
29159 (CFLAGS-iofclose.c): Likewise.
29160 (CFLAGS-iofflush.c): Likewise.
29161 (CFLAGS-iofgetpos64.c): Likewise.
29162 (CFLAGS-iofgetpos.c): Likewise.
29163 (CFLAGS-iofgets.c): Likewise.
29164 (CFLAGS-iofgetws.c): Likewise.
29165 (CFLAGS-iofputs.c): Likewise.
29166 (CFLAGS-iofputws.c): Likewise.
29167 (CFLAGS-iofread.c): Likewise.
29168 (CFLAGS-iofsetpos64.c): Likewise.
29169 (CFLAGS-iofsetpos.c): Likewise.
29170 (CFLAGS-ioftell.c): Likewise.
29171 (CFLAGS-iofwrite.c): Likewise.
29172 (CFLAGS-iogetdelim.c): Likewise.
29173 (CFLAGS-iogetline.c): Likewise.
29174 (CFLAGS-iogets.c): Likewise.
29175 (CFLAGS-iogetwline.c): Likewise.
29176 (CFLAGS-ioputs.c): Likewise.
29177 (CFLAGS-ioseekoff.c): Likewise.
29178 (CFLAGS-ioseekpos.c): Likewise.
29179 (CFLAGS-iosetbuffer.c): Likewise.
29180 (CFLAGS-iosetvbuf.c): Likewise.
29181 (CFLAGS-ioungetc.c): Likewise.
29182 (CFLAGS-ioungetwc.c): Likewise.
29183 (CFLAGS-oldfileops.c): Likewise.
29184 (CFLAGS-oldiofclose.c): Likewise.
29185 (CFLAGS-oldiofgetpos64.c): Likewise.
29186 (CFLAGS-oldiofgetpos.c): Likewise.
29187 (CFLAGS-oldiofsetpos64.c): Likewise.
29188 (CFLAGS-oldiofsetpos.c): Likewise.
29189 (CFLAGS-peekc.c): Likewise.
29190 (CFLAGS-putc.c): Likewise.
29191 (CFLAGS-putchar.c): Likewise.
29192 (CFLAGS-putwc.c): Likewise.
29193 (CFLAGS-putwchar.c): Likewise.
29194 (CFLAGS-rewind.c): Likewise.
29195 (CFLAGS-wfileops.c): Likewise.
29196 (CFLAGS-wgenops.c): Likewise.
29197 (CFLAGS-oldiofopen.c): Likewise.
29198 (CFLAGS-iofopen.c): Likewise.
29199 (CFLAGS-iofopen64.c): Likewise.
29200 (CFLAGS-oldtmpfile.c): Likewise.
29201 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29202 (CFLAGS-fprintf.c): Likewise.
29203 (CFLAGS-printf.c): Likewise.
29204 (CFLAGS-vfwprintf.c): Likewise.
29205 (CFLAGS-vfscanf.c): Likewise.
29206 (CFLAGS-vfwscanf.c): Likewise.
29207 (CFLAGS-fscanf.c): Likewise.
29208 (CFLAGS-scanf.c): Likewise.
29209 (CFLAGS-isoc99_vfscanf.c): Likewise.
29210 (CFLAGS-isoc99_vscanf.c): Likewise.
29211 (CFLAGS-isoc99_fscanf.c): Likewise.
29212 (CFLAGS-isoc99_scanf.c): Likewise.
29213 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29214 (CFLAGS-isoc99_fwscanf.c): Likewise.
29215 (CFLAGS-isoc99_vwscanf.c): Likewise.
29216 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29217
29218 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29219 after mkstemp64.
29220 * login/tst-utmp.c (do_prepare): Likewise.
29221 * rt/tst-aio.c (do_prepare): Likewise.
29222 * rt/tst-aio64.c (do_prepare): Likewise.
29223
29224 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29225
29226 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29227 (__lll_lock_elision): Remove adapt_count decrement...
29228 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29229 (__lll_trylock_elision): Likewise.
29230 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29231 (__lll_unlock_elision): ... to here. And utilize
29232 new adapt_count parameter.
29233 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29234 (__lll_unlock_elision): Update to include adapt_count
29235 parameter.
29236 (lll_unlock_elision): Pass pointer to adapt_count
29237 variable.
29238
29239 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29240
29241 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29242 Add elision adapt_count parameter to list of arguments.
29243 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29244 (lll_unlock_elision): Update with new parameter list
29245 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29246 (lll_unlock_elision): Likewise.
29247 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29248 (lll_unlock_elision): Likewise.
29249
29250 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29251
29252 [BZ #19122]
29253 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29254 attribute_hidden.
29255
29256 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29257 attribute_hidden.
29258 [IS_IN (rtld)] (__strdup): Likewise.
29259 [IS_IN (rtld)] (__strerror_r): Likewise.
29260 [IS_IN (rtld)] (__strsep_g): Likewise.
29261 [IS_IN (rtld)] (memchr): Likewise.
29262 [IS_IN (rtld)] (memcmp): Likewise.
29263 [IS_IN (rtld)] (memcpy): Likewise.
29264 [IS_IN (rtld)] (memmove): Likewise.
29265 [IS_IN (rtld)] (memset): Likewise.
29266 [IS_IN (rtld)] (rawmemchr): Likewise.
29267 [IS_IN (rtld)] (stpcpy): Likewise.
29268 [IS_IN (rtld)] (strchr): Likewise.
29269 [IS_IN (rtld)] (strcmp): Likewise.
29270 [IS_IN (rtld)] (strlen): Likewise.
29271 [IS_IN (rtld)] (strnlen): Likewise.
29272 [IS_IN (rtld)] (strsep): Likewise.
29273
29274 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29275 attribute_hidden.
29276 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29277
29278 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29279 attribute_hidden.
29280 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29281
29282 * include/setjmp.h (__longjmp): Add attribute_hidden.
29283 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29284
29285 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29286 Add attribute_hidden.
29287
29288 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29289 [IS_IN (rtld)] (__open): Likewise.
29290 [IS_IN (rtld)] (__fcntl): Likewise.
29291
29292 * include/dirent.h (__opendirat): Add attribute_hidden.
29293 (__getdents): Likewise.
29294 (__getdents64): Likewise.
29295 (__alloc_dir): Likewise.
29296 [IS_IN (rtld)] (__closedir): Likewise.
29297 [IS_IN (rtld)] (__fdopendir): Likewise.
29298 [IS_IN (rtld)] (__readdir): Likewise.
29299 [IS_IN (rtld)] (__readdir64): Likewise.
29300 [IS_IN (rtld)] (__rewinddir): Likewise.
29301
29302 * include/dlfcn.h (_dl_catch_error): Moved to ...
29303 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29304 attribute_hidden.
29305
29306 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29307 (_itoa_word): Likewise.
29308
29309 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29310 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29311 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29312 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29313 (_dl_higher_prime_number): Likewise.
29314 (_dl_debug_printf_c): Likewise.
29315 (_dl_signal_cerror): Likewise.
29316 (_dl_receive_error): Likewise.
29317 (_dl_reloc_bad_type): Likewise.
29318 (_dl_resolve_conflicts): Likewise.
29319 (_dl_check_all_versions): Likewise.
29320 (_dl_check_map_versions): Likewise.
29321 (_dl_sort_fini): Likewise.
29322 (_dl_debug_initialize): Likewise.
29323 (_dl_init_paths): Likewise.
29324 (_dl_show_auxv): Likewise.
29325 (_dl_next_ld_env_entry): Likewise.
29326 (_dl_important_hwcaps): Likewise.
29327 (_dl_load_cache_lookup): Likewise.
29328 (_dl_update_slotinfo): Likewise.
29329 (_dl_show_scope): Likewise.
29330
29331 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29332 attribute_hidden.
29333 (_wordcopy_fwd_dest_aligned): Likewise.
29334 (_wordcopy_bwd_aligned): Likewise.
29335 (_wordcopy_bwd_dest_aligned): Likewise.
29336
29337 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29338 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29339 Likewise.
29340 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29341 Likewise.
29342 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29343
29344 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29345
29346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29347 GCC 5 requirement.
29348
29349 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29350
29351 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29352 test.
29353 * sysdeps/i386/configure: Regenerated.
29354 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29355 code unconditional.
29356
29357 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29358 test.
29359 (libc_cv_asm_popsection_directive): Likewise.
29360 * configure: Regenerated.
29361 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29362 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29363 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29364 (__make_section_unallocated): Make definition unconditional.
29365 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29366 Remove conditional definition.
29367 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29368 (__make_section_unallocated): Likewise.
29369
29370 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29371 * configure: Regenerated.
29372 * config.make.in (static-libgcc): Remove variable.
29373 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29374 $(static-libgcc).
29375 (build-module-helper): Likewise.
29376
29377 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29378 * configure: Regenerated.
29379
29380 2015-10-15 Florian Weimer <fweimer@redhat.com>
29381
29382 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29383 (struct char_buffer): New type.
29384 (char_buffer_start, char_buffer_size, char_buffer_error)
29385 (char_buffer_rewind, char_buffer_add): New functions.
29386 (ADDW): Remove macro, replaced by the char_buffer_add function.
29387 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29388 of extend_alloca. Make control flow more explicit.
29389
29390 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29391
29392 [BZ #19137]
29393 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29394 Add -fomit-frame-pointer.
29395 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29396
29397 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29398
29399 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29400 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29402 only if !__GNUC_PREREQ (5,0).
29403 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29404 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29405 (INTERNAL_SYSCALL_NCS): Likewise.
29406 (LOADREGS_0): New macro for GCC 5.
29407 (ASMARGS_0): Likewise.
29408 (LOADREGS_1): Likewise.
29409 (ASMARGS_1): Likewise.
29410 (LOADREGS_2): Likewise.
29411 (ASMARGS_2): Likewise.
29412 (LOADREGS_3): Likewise.
29413 (ASMARGS_3): Likewise.
29414 (LOADREGS_4): Likewise.
29415 (ASMARGS_4): Likewise.
29416 (LOADREGS_5): Likewise.
29417 (ASMARGS_5): Likewise.
29418 (LOADREGS_6): Likewise.
29419 (ASMARGS_6): Likewise.
29420
29421 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29422
29423 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29424 -fomit-frame-pointer.
29425 (CFLAGS-mmap64.c): Likewise.
29426 (CFLAGS-semtimedop.c): Likewise.
29427 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29428 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29429 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29430 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29431
29432 2015-10-15 Florian Weimer <fweimer@redhat.com>
29433
29434 [BZ #18928]
29435 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29436 _dl_pointer_guard member.
29437 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29438 initializer.
29439 (security_init): Always set up pointer guard.
29440 (process_envvars): Do not process LD_POINTER_GUARD.
29441
29442 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29443
29444 [BZ #19134]
29445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29446 (.LC2): Likewise.
29447 (.LC3): Likewise.
29448 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29449
29450 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29451
29452 [BZ #19129]
29453 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29454 r0 and r1.
29455
29456 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29457
29458 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29459
29460 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29461
29462 * include/stap-probe.h: Fix macro definition formatting.
29463
29464 2015-10-14 Florian Weimer <fweimer@redhat.com>
29465
29466 [BZ #19074]
29467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29468 load and store num_ifs.
29469
29470 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29471
29472 [BZ #18822]
29473 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29474 (__sched_getaffinity_new): Add libc_hidden_proto and
29475 libc_hidden_def.
29476
29477 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29478
29479 [BZ #19007]
29480 * scripts/localplt.awk: Also allow GOT references.
29481 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29482 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29483 with "+ REL R_386_GLOB_DAT".
29484 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29485 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29486
29487 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29488
29489 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29490 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29491 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29492 Likewise.
29493 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29494 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29495 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29496 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29497 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29498 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29499 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29500 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29501 Likewise.
29502 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29503
29504 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29505
29506 [BZ #19125]
29507 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29508 <math_private.h> and <stdint.h>.
29509 (__llround): Avoid conversions to and from long long int, and
29510 subtractions, where those might raise spurious exceptions.
29511 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29512 <math_private.h> and <stdint.h>.
29513 (__llroundf): Avoid conversions to and from long long int, and
29514 subtractions, where those might raise spurious exceptions.
29515
29516 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29519 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29520 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29521 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29522 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29523 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29524 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29525 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29526 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29527 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29528 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29529 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29530 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29531 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29532 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29534 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29535 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29536 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29537 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29539 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29540 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29541 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29542 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29543 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29544 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29545 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29546 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29547 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29548 (__xstat64_conv): Likewise.
29549 (__xstat32_conv): Likewise.
29550
29551 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29554 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29555 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29556 <sysdeps/unix/sysv/linux/sysdep.h>.
29557 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29558 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29559 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29560 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29561 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29562 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29563 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29564 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29565 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29570 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29573 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29574 (sysdep-dl-routines): Add sysdep.
29575 [$(subdir) == nptl] (libpthread-routines): Likewise.
29576 [$(subdir) == rt] (librt-routines): Likewise.
29577 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29578 PIC when branching to SYSCALL_ERROR_LABEL.
29579 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29581 <sysdeps/unix/sysv/linux/sysdep.h>.
29582 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29583 (SYSCALL_ERROR_ERRNO): Removed.
29584 (SYSCALL_ERROR_HANDLER): Changed to empty.
29585 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29586 (__syscall_error): New prototype.
29587 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29588 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29589
29590 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29591
29592 [BZ #19124]
29593 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29594 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29595 _dl_runtime_resolve_avx.
29596 (_dl_runtime_profile_avx512): Make it a hidden alias of
29597 _dl_runtime_profile_avx.
29598
29599 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29600
29601 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29602 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29603 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29604 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29605
29606 [BZ #16422]
29607 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29608 New configure test.
29609 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29610 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29611 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29612 <math_private.h> and <stdint.h>.
29613 (__llrint): Avoid conversions to long long int where those might
29614 raise spurious exceptions.
29615 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29616 <math_private.h> and <stdint.h>.
29617 (__llrintf): Avoid conversions to long long int where those might
29618 raise spurious exceptions.
29619
29620 2015-10-12 Andreas Schwab <schwab@suse.de>
29621
29622 [BZ #18969]
29623 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29624 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29625 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29626 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29627 $(gen-locales).
29628 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29629 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29630 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29631 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29632 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29633 $(gen-locales).
29634 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29635 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29636 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29637 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29638 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29639 ($(objpfx)tst-ftell-active-handler.out)
29640 ($(objpfx)tst-ftell-append.out)
29641 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29642 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29643 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29644 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29645 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29646 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29647 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29648 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29649 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29650 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29651 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29652 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29653 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29654 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29655 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29656 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29657 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29658 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29659 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29660 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29661 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29662 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29663 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29664 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29665 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29666 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29667 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29668 $(gen-locales).
29669 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29670 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29671 $(gen-locales).
29672 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29673 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29674 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29675 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29676 $(gen-locales).
29677 * libio/tst_wprintf2.c (main): Use explicit locale.
29678 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29679
29680 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29681
29682 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29683 __msg_sig_post.
29684 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29685
29686 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29687
29688 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29689 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29690
29691 * sysdeps/arm/libm-test-ulps: Regenerated.
29692
29693 [BZ #15470]
29694 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29695
29696 [BZ #16399]
29697 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29698 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29699 and <fix-fp-int-convert-overflow.h>.
29700 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29701 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29702 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29703 and <fix-fp-int-convert-overflow.h>.
29704 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29705 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29706 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29707 <fix-fp-int-convert-overflow.h>.
29708 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29709 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29710 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29711 <fix-fp-int-convert-overflow.h>.
29712 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29713 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29714 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29715 and <fix-fp-int-convert-overflow.h>.
29716 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29717 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29718 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29719 <limits.h> and <fix-fp-int-convert-overflow.h>.
29720 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29721 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29722 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29723 and <fix-fp-int-convert-overflow.h>.
29724 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29725 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29726 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29727 and <fix-fp-int-convert-overflow.h>.
29728 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29729 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29730 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29731
29732 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29733
29734 [BZ #18589]
29735 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29736 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29737 $(gen-locales).
29738
29739 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29740 Phil Blundell <pb@pbcl.net>
29741
29742 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29743 * nptl/tst-cancel26.c: New file.
29744 * nptl/tst-cancel27.c: Likewise.
29745
29746 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29747
29748 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29749 __ILP32__ isn't defined.
29750 (lrint): Likewise.
29751 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29752 (lrintf): Likewise.
29753 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29754 (lrintl): Likewise.
29755 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29756 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29757 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29758
29759 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29760
29761 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29763
29764 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29765 file.
29766 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29767 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29768
29769 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29770
29771 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29772 configure test.
29773 * sysdeps/i386/configure: Regenerated.
29774 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29775 configure test.
29776 * sysdeps/x86_64/configure: Regenerated.
29777 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29778 Make code unconditional.
29779
29780 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29781 test.
29782 * sysdeps/i386/configure: Regenerated.
29783 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29784 test.
29785 * sysdeps/x86_64/configure: Regenerated.
29786 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29787 Make code unconditional.
29788 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29789 Likewise.
29790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29791 Likewise.
29792 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29793 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29794 code unconditional.
29795 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29796 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29797 code unconditional.
29798 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29799 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29800 code unconditional.
29801 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29802 code unconditional.
29803 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29804 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29805 code unconditional.
29806 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29807 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29808 code unconditional.
29809 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29810 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29811 code unconditional.
29812 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29813 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29814 code unconditional.
29815 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29816 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29817
29818 [BZ #19095]
29819 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29820 mantissa to long int before shifting left.
29821
29822 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29823
29824 [BZ #19094]
29825 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29826 <limits.h>.
29827 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29828 when result overflows but exception would not result from cast.
29829 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29830 <limits.h>.
29831 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29832 when result overflows but exception would not result from cast.
29833 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29834 <limits.h>.
29835 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29836 when result overflows but exception would not result from cast.
29837 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29838 <limits.h>.
29839 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29840 when result overflows but exception would not result from cast.
29841 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29842 <limits.h>.
29843 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29844 when result overflows but exception would not result from cast.
29845 * math/libm-test.inc (lrint_test_data): Add more tests.
29846 (llrint_test_data): Likewise.
29847
29848 2015-10-08 Roland McGrath <roland@hack.frob.com>
29849
29850 [BZ #18872]
29851 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29852 Move out from under [$(run-built-tests) = yes] conditional.
29853 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29854 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29855
29856 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29857
29858 [BZ #18589]
29859 * string/Makefile (tests): Add bug-strcoll2.
29860 (LOCALES): Add cs_CZ.UTF-8.
29861 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29862
29863 [BZ #18589]
29864 * string/bug-strcoll2.c: New file.
29865 * locale/categories.def: Revert commit
29866 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29867 * locale/langinfo.h: Likewise.
29868 * locale/localeinfo.h: Likewise.
29869 * locale/C-collate.c: Likewise.
29870 * locale/programs/ld-collate.c (collate_output): Likewise.
29871 * string/strcoll_l.c (STRDIFF): Likewise.
29872 (STRCOLL): Likewise.
29873 * wcsmbs/wcscoll_l.c: Likewise.
29874
29875 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29876
29877 * math/libm-test.inc (lround_test_data): Do not expect the absence
29878 of "inexact" for some tests with non-integer arguments.
29879 (llround_test_data): Likewise.
29880
29881 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29882 test.
29883 (libc_cv_cc_sse2avx): Likewise.
29884 * sysdeps/i386/configure: Regenerated.
29885 * sysdeps/i386/i686/multiarch/Makefile
29886 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29887 [$(subdir) = math].
29888 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29889 code unconditional.
29890 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29891 Likewise.
29892 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29893 Likewise.
29894 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29895 Likewise.
29896 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29897 test.
29898 (libc_cv_cc_sse2avx): Likewise.
29899 * sysdeps/x86_64/configure: Regenerated.
29900 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29901 unconditional.
29902 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29903 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29904 unconditional.
29905 (_dl_runtime_profile)
29906 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29907 conditional code.
29908 * sysdeps/x86_64/fpu/multiarch/Makefile
29909 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29911 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29913 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/e_log.c
29915 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29917 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29918 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29919 Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29921 Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29923 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29925 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29926 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29927 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29928 (HAVE_SSE2AVX_SUPPORT): Likewise.
29929
29930 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29931
29932 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29933 instead of #pragma optimize.
29934
29935 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29936
29937 [BZ #17195]
29938 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29939 as is similarly done in systrim and _int_free already.
29940
29941 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29942
29943 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29944
29945 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29946
29947 [BZ #19088]
29948 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29949 <limits.h>.
29950 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29951 overflows but exception would not result from cast.
29952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29953 and <limits.h>.
29954 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29955 overflows but exception would not result from cast.
29956 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29957 <limits.h>.
29958 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29959 overflows but exception would not result from cast.
29960 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29961 <limits.h>.
29962 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29963 overflows but exception would not result from cast.
29964 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29965 <limits.h>.
29966 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29967 overflows but exception would not result from cast.
29968 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29969 <limits.h>.
29970 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29971 overflows but exception would not result from cast.
29972 * math/libm-test.inc (lround_test_data): Add more tests.
29973 (llround_test_data): Likewise.
29974
29975 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29976
29977 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29978 (CFLAGS-ialloc.c): Ditto.
29979 (CFLAGS-scheck.c): Ditto.
29980
29981 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29982
29983 [BZ #19086]
29984 * manual/filesys.texi (Storage Allocation): Fix argument order for
29985 posix_fallocate64.
29986
29987 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29988
29989 [BZ #19085]
29990 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29991 exponent below 48 inside case for non-overflowing exponent.
29992 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29993
29994 2015-10-07 Florian Weimer <fweimer@redhat.com>
29995
29996 * iconvdata/cp737.h (from_idx): Add const.
29997 * iconvdata/cp775.h (from_idx): Likewise.
29998
29999 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30000
30001 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30002 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30003 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30004
30005 [BZ #19079]
30006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30007 file, conditioned on [!_LP64].
30008 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30009 [!_LP64] (__lround): Do not define as function or alias.
30010 [!_LP64] (lround): Likewise.
30011 [!_LP64] (__lroundl): Likewise.
30012 [!_LP64] (lroundl): Likewise.
30013 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30014 macro.
30015 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30016 Likewise.
30017
30018 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30019
30020 * math/libm-test.inc (lrint_test_data): Add more tests.
30021 (llrint_test_data): Likewise.
30022 (lround_test_data): Likewise.
30023 (llround_test_data): Likewise.
30024
30025 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30026 (llrint_test_data): Add tests used for lrint.
30027
30028 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30029 test.
30030 * sysdeps/i386/configure: Regenerated.
30031 * sysdeps/i386/i686/multiarch/Makefile
30032 [$(config-cflags-sse4) = yes]: Make code unconditional.
30033 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30034 Likewise.
30035 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30036 Likewise.
30037 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30038 test.
30039 * sysdeps/x86_64/configure: Regenerated.
30040 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30041 Make code unconditional.
30042 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30043 Likewise.
30044 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30045 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30046
30047 * scripts/rpm2dynsym.sh: Remove file.
30048
30049 2015-10-06 Florian Weimer <fweimer@redhat.com>
30050
30051 * configure.ac (libc_cv_cxx_thread_local): Define.
30052 * configure: Regenerate.
30053 * config.make.in (have-cxx-thread_local): Define.
30054 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30055 (LDLIBS-tst-thread_local1): Define.
30056 (tests): Add tst-thread_local1.
30057 [have-cxx-thread_local != yes] (tests-unsupported): Add
30058 tst-thread_local1.
30059 * nptl/tst-thread_local1.cc: New file.
30060
30061 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30062
30063 [BZ #19078]
30064 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30065 (u_thres): Likewise.
30066 (__expl): Determine whether to call __kernel_standard_l based on
30067 value of result, not argument.
30068
30069 * math/libm-test.inc (scalb_test_data): Add more expectations for
30070 the "inexact" exception.
30071
30072 [BZ #19077]
30073 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30074 0.0L for argument 1.0L.
30075
30076 [BZ #19076]
30077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30078 constant 0.0L when computing infinite result.
30079
30080 2015-10-06 Florian Weimer <fweimer@redhat.com>
30081
30082 [BZ #10432]
30083 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30084 malloc_usable_size.
30085
30086 2015-10-06 Florian Weimer <fweimer@redhat.com>
30087
30088 [BZ #19018]
30089 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30090 Mangle function pointer before storing it.
30091 (__call_tls_dtors): Demangle function pointer before calling it.
30092
30093 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30094
30095 [BZ #19012]
30096 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30097 Clean up on failure.
30098
30099 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30100
30101 [BZ #19071]
30102 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30103 long int variable to store possibly incremented high part of
30104 mantissa.
30105 * math/libm-test.inc (lround_test_data): Add tests used for
30106 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30107 for tests requiring 64-bit long. Do not condition tests on
30108 [TEST_FLOAT] unnecessarily.
30109 (llround_test_data): Add tests used for lround. Add another
30110 expectation for the "inexact" exception. Do not condition tests
30111 on [TEST_FLOAT] unnecessarily.
30112
30113 [BZ #887]
30114 [BZ #19049]
30115 [BZ #19050]
30116 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30117 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30118 <fix-int-fp-convert-zero.h>.
30119 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30120 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30121 <fix-int-fp-convert-zero.h>.
30122 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30123 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30124 <fix-int-fp-convert-zero.h>.
30125 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30126 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30127 <fix-int-fp-convert-zero.h>.
30128 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30129 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30130 <fix-int-fp-convert-zero.h>.
30131 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30132 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30133 <fix-int-fp-convert-zero.h>.
30134 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30135 * sysdeps/ieee754/flt-32/s_erff.c: Include
30136 <fix-int-fp-convert-zero.h>.
30137 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30138 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30139 <fix-int-fp-convert-zero.h>.
30140 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30142 <fix-int-fp-convert-zero.h>.
30143 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30145 <fix-int-fp-convert-zero.h>.
30146 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30147 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30148 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30149 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30150 file.
30151 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30152
30153 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30154
30155 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30156
30157 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30158
30159 [BZ #19059]
30160 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30161 overflowing computation.
30162 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30163 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30165 Likewise.
30166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30167 Likewise.
30168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30169 Likewise.
30170 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30171 Likewise.
30172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30174 Likewise.
30175 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30176 Likewise.
30177 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30178
30179 * nss/rewrite_field.c (__nss_rewrite_field): Use
30180 internal_function.
30181 * nss/valid_field.c (__nss_valid_field): Likewise.
30182 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30183
30184 2015-10-02 Florian Weimer <fweimer@redhat.com>
30185
30186 [BZ #18724]
30187 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30188 (__nss_invalid_field_characters, __nss_valid_field)
30189 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30190 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30191 tst-field.c: New file.
30192 * nss/Makefile (routines): Add valid_field, rewrite_field.
30193 (tests-static): Define unconditionally.
30194 (tests): Include tests-static.
30195 [build-static-nss] (tests-static): Use append.
30196 [build-static-nss] (tests): Remove modification.
30197 * nss/getent.c (print_group): Call putgrent. Report error.
30198 (print_gshadow): Call putsgent. Report error.
30199 (print_passwd): Call putpwent. Report error.
30200 (print_shadow): Call putspent. Report error.
30201 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30202 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30203 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30204 name, password, directory, shell fields for valid syntax. Rewrite
30205 GECOS field to match syntax.
30206 * pwd/Makefile (tests): Add tst-putpwent.
30207 * pwd/tst-putpwent.c: New file.
30208 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30209 Check grName, grpasswd, gr_mem fields for valid syntax.
30210 Change loop variable i to size_t.
30211 * grp/Makefile (tests): Add tst-putgrent.
30212 * grp/tst-putgrent.c: New file.
30213 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30214 valid syntax.
30215 * shadow/Makefile (tests): Add tst-putspent.
30216 * shadow/tst-putspent.c: New file.
30217 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30218 sg_mem fields for valid syntax.
30219 * gshadow/Makefile (tests): Add tst-putsgent.
30220 * gshadow/tst-putsgent.c: New file.
30221
30222 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30223
30224 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30225 assembly instructions.
30226
30227 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30228
30229 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30230 prefix from operands.
30231
30232 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30233
30234 [BZ #16347]
30235 [BZ #19046]
30236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30237 <libc-internal.h>.
30238 (MAXLGM): Do not use diagnostic control macros.
30239 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30240 threshold for ldbl-128ibm.
30241 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30242 instead of multiplying by log then subtracting.
30243 * math/auto-libm-test-in: Add more tests of lgamma.
30244 * math/auto-libm-test-out: Regenerated.
30245
30246 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30247 (TYPE_HEX_DIG): Likewise.
30248 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30249 precisions when printing floating-point numbers.
30250 (check_float_internal): Likewise.
30251
30252 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30253
30254 [BZ #16620]
30255 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30256 of log (10) rounded downward to 48 bits.
30257 (log10_low): Use corresponding low part of log (10).
30258
30259 [BZ #19032]
30260 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30261 compute result as (x - x) / (x - x) not as 0 / 0.
30262 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30263 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30264
30265 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30266 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30267 and expm1.
30268 * math/auto-libm-test-out: Regenerated.
30269 * math/libm-test.inc (acos_test_data): Add more tests.
30270 (asin_test_data): Likewise.
30271 (asinh_test_data): Likewise.
30272 (atan_test_data): Likewise.
30273 (atanh_test_data): Likewise.
30274 (atan2_test_data): Likewise.
30275 (cbrt_test_data): Likewise.
30276 (ceil_test_data): Likewise.
30277 (copysign_test_data): Likewise.
30278 (cos_test_data): Likewise.
30279 (cosh_test_data): Likewise.
30280 (erf_test_data): Likewise.
30281 (erfc_test_data): Likewise.
30282 (exp_test_data): Likewise.
30283 (exp10_test_data): Likewise.
30284 (exp2_test_data): Likewise.
30285 (expm1_test_data): Likewise.
30286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30287
30288 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30289
30290 [BZ #19006]
30291 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30292 to ...
30293 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30294 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30295 to ...
30296 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30297 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30298 to ...
30299 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30300 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30301 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30302 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30303 to ...
30304 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30305 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30306 Moved to ...
30307 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30308 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30309 Moved to ...
30310 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30311 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30312 to ...
30313 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30314 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30315 Moved to ...
30316 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30317 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30318 to ...
30319 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30320 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30321 Removed.
30322 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30323 Likewise.
30324 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30325 Likewise.
30326 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30327 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30328 Likewise.
30329 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30330 Likewise.
30331 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30332 Likewise.
30333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30334 Likewise.
30335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30336 Likewise.
30337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30338 Likewise.
30339 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30340 Likewise.
30341 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30342 Likewise.
30343 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30344 Likewise.
30345 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30346 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30347 Likewise.
30348 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30349 Likewise.
30350 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30351 Likewise.
30352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30353 Likewise.
30354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30355 Likewise.
30356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30357 Replace ../i486/pthread_cond_timedwait.S with
30358 ../pthread_cond_timedwait.S.
30359
30360 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30361
30362 * math/libm-test.inc (acos_test_data): Refine expectations for
30363 errno and "inexact" exceptions.
30364 (acosh_test_data): Likewise.
30365 (asin_test_data): Likewise.
30366 (asinh_test_data): Likewise.
30367 (atan_test_data): Likewise.
30368 (atanh_test_data): Likewise.
30369 (atan2_test_data): Likewise.
30370 (cbrt_test_data): Likewise.
30371 (ceil_test_data): Likewise.
30372 (copysign_test_data): Likewise.
30373 (cosh_test_data): Likewise.
30374 (erf_test_data): Likewise.
30375 (erfc_test_data): Likewise.
30376 (exp_test_data): Likewise.
30377 (exp10_test_data): Likewise.
30378 (exp2_test_data): Likewise.
30379 (expm1_test_data): Likewise.
30380 (fabs_test_data): Likewise.
30381 (floor_test_data): Likewise.
30382 (fma_test_data): Likewise.
30383 (fmax_test_data): Likewise.
30384 (fmin_test_data): Likewise.
30385 (fmod_test_data): Likewise.
30386 (fpclassify_test_data): Likewise.
30387 (frexp_test_data): Likewise.
30388 (hypot_test_data): Likewise.
30389 (ilogb_test_data): Likewise.
30390 (isgreater_test_data): Likewise.
30391 (isgreaterequal_test_data): Likewise.
30392 (isinf_test_data): Likewise.
30393 (isless_test_data): Likewise.
30394 (islessequal_test_data): Likewise.
30395 (islessgreater_test_data): Likewise.
30396 (isnan_test_data): Likewise.
30397 (isnormal_test_data): Likewise.
30398 (issignaling_test_data): Likewise.
30399 (isunordered_test_data): Likewise.
30400 (j0_test_data): Likewise.
30401 (j1_test_data): Likewise.
30402 (jn_test_data): Likewise.
30403 (lgamma_test_data): Likewise.
30404 (lrint_test_data): Likewise.
30405 (llrint_test_data): Likewise.
30406 (log_test_data): Likewise.
30407 (log10_test_data): Likewise.
30408 (log1p_test_data): Likewise.
30409 (log2_test_data): Likewise.
30410 (logb_test_data): Likewise.
30411 (lround_test_data): Likewise.
30412 (llround_test_data): Likewise.
30413 (modf_test_data): Likewise.
30414 (nearbyint_test_data): Likewise.
30415 (nextafter_test_data): Likewise.
30416 (nexttoward_test_data): Likewise.
30417 (pow_test_data): Likewise.
30418 (remainder_test_data): Likewise.
30419 (remquo_test_data): Likewise.
30420 (rint_test_data): Likewise.
30421 (round_test_data): Likewise.
30422 (signbit_test_data): Likewise.
30423 (sinh_test_data): Likewise.
30424 (sqrt_test_data): Likewise.
30425 (tanh_test_data): Likewise.
30426 (tgamma_test_data): Likewise.
30427 (trunc_test_data): Likewise.
30428 (y0_test_data): Likewise.
30429 (y1_test_data): Likewise.
30430 (yn_test_data): Likewise.
30431 (significand_test_data): Likewise.
30432
30433 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30434
30435 * manual/filesys.texi (Storage Allocation): Document that
30436 posix_fallocate emulation fails when fd is open with O_WRONLY.
30437
30438 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30439
30440 [BZ #19016]
30441 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30442 allow more cases with X^2 + Y^2 >= 0.5.
30443 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30444 normal element in sum instead of special-casing based on values of
30445 arguments.
30446 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30447 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30448 -1 as normal element in sum instead of special-casing based on
30449 values of arguments.
30450 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30451 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30452 (__x2y2m1): Update comment.
30453 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30454 as normal element in sum instead of special-casing based on values
30455 of arguments.
30456 * math/s_clog.c (__clog): Handle more cases using log1p without
30457 hypot.
30458 * math/s_clog10.c (__clog10): Likewise.
30459 * math/s_clog10f.c (__clog10f): Likewise.
30460 * math/s_clog10l.c (__clog10l): Likewise.
30461 * math/s_clogf.c (__clogf): Likewise.
30462 * math/s_clogl.c (__clogl): Likewise.
30463 * math/auto-libm-test-in: Add more tests of clog and clog10.
30464 * math/auto-libm-test-out: Regenerated.
30465 * sysdeps/i386/fpu/libm-test-ulps: Update.
30466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30467
30468 2015-09-28 Martin Sebor <msebor@redhat.com>
30469
30470 [BZ #18969]
30471 * string/Makefile (LOCALES): Define.
30472 (gen-locales.mk): Include.
30473 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30474 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30475 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30476 on setlocale failure.
30477
30478 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30479
30480 [BZ #18985]
30481 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30482 (__strftime_internal): Likewise.
30483 * time/tst-strftime.c (do_bz18985): New test.
30484 (do_test): Call it.
30485
30486 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30487
30488 [BZ #18956]
30489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30490 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30491 extracting high part.
30492 * math/auto-libm-test-in: Add another test of pow.
30493 * math/auto-libm-test-out: Regenerated.
30494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30495
30496 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30497
30498 [BZ #18825]
30499 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30500 New macro.
30501 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30502 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30503 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30504 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30505 DBL_NARROW_EVAL, reloading the PIC register as needed.
30506 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30507 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30508 FLT_NARROW_EVAL. Use separate return path for case when first
30509 argument is NaN.
30510 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30511 DEFINE_LDBL_MIN.
30512 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30513 PIC register.
30514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30515 math_check_force_underflow_nonneg.
30516 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30517 underflow for subnormal result.
30518 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30520 math_check_force_underflow_nonneg.
30521 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30522 math_check_force_underflow.
30523 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30524 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30525 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30526 DEFINE_LDBL_MIN.
30527 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30528 * math/auto-libm-test-in: Add more tests of pow.
30529 * math/auto-libm-test-out: Regenerated.
30530
30531 2015-09-25 Florian Weimer <fweimer@redhat.com>
30532
30533 * nss/bug17079.c (init_test_items): Add diagnostic for
30534 inconsistent entries.
30535 (test_buffer_size): Skip inconsistent entries.
30536
30537 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30538
30539 [BZ #13304]
30540 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30541 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30542 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30543
30544 [BZ #13304]
30545 * sysdeps/microblaze/s_fma.c: New file.
30546 * sysdeps/microblaze/s_fmaf.c: Likewise.
30547 * sysdeps/microblaze/sfp-machine.h: Likewise.
30548
30549 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30550
30551 [BZ #17250]
30552 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30553 member.
30554
30555 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30556
30557 [BZ #18803]
30558 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30559 (MO): New macro.
30560 (__ieee754_hypot) [PIC]: Load PIC register.
30561 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30562 DBL_NARROW_EVAL.
30563 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30564 math_check_force_underflow_nonneg in case where result might be
30565 tiny.
30566 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30567 Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30569 Likewise.
30570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30571 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30572 * math/auto-libm-test-in: Add more tests of hypot.
30573 * math/auto-libm-test-out: Regenerated.
30574
30575 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30576
30577 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30578
30579 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30580
30581 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30582 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30583 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30584 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30585 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30586 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30587 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30588
30589 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30590 LOAD_PIC_REG.
30591
30592 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30593 (FLT_CHECK_FORCE_UFLOW): Likewise.
30594 (DBL_CHECK_FORCE_UFLOW): Likewise.
30595 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30596 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30597 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30598 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30599 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30600 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30601 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30602 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30603 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30604 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30605 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30606 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30607 (flt_min): Replace with use of DEFINE_FLT_MIN.
30608 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30609 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30610 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30611 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30612 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30613 (flt_min): Replace with use of DEFINE_FLT_MIN.
30614 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30615 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30616 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30617 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30618 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30619 (flt_min): Replace with use of DEFINE_FLT_MIN.
30620 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30621 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30622 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30623 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30624 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30625 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30626 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30627 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30628 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30629 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30630 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30631 (flt_min): Replace with use of DEFINE_FLT_MIN.
30632 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30633 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30634 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30635 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30636 main computation.
30637 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30638 (flt_min): Replace with use of DEFINE_FLT_MIN.
30639 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30640 main computation.
30641 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30642 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30643 (MO): New macro.
30644 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30645 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30646 (flt_min): Replace with use of DEFINE_FLT_MIN.
30647 (MO): New macro.
30648 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30649 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30650 (__log1pl): Use MO.
30651
30652 [BZ #19003]
30653 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30654 $(config-cflags-nofma).
30655
30656 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30657
30658 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30659
30660 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30661
30662 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30663 (TWO127): Likewise.
30664
30665 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30666 (min_of_type): Likewise.
30667 (math_check_force_underflow): Likewise.
30668 (math_check_force_underflow_nonneg): Likewise.
30669 (math_check_force_underflow_complex): Likewise.
30670 * math/e_exp2l.c (__ieee754_exp2l): Use
30671 math_check_force_underflow_nonneg.
30672 * math/k_casinh.c (__kernel_casinh): Likewise.
30673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30675 * math/s_catan.c (__catan): Use
30676 math_check_force_underflow_complex.
30677 * math/s_catanf.c (__catanf): Likewise.
30678 * math/s_catanh.c (__catanh): Likewise.
30679 * math/s_catanhf.c (__catanhf): Likewise.
30680 * math/s_catanhl.c (__catanhl): Likewise.
30681 * math/s_catanl.c (__catanl): Likewise.
30682 * math/s_ccosh.c (__ccosh): Likewise.
30683 * math/s_ccoshf.c (__ccoshf): Likewise.
30684 * math/s_ccoshl.c (__ccoshl): Likewise.
30685 * math/s_cexp.c (__cexp): Likewise.
30686 * math/s_cexpf.c (__cexpf): Likewise.
30687 * math/s_cexpl.c (__cexpl): Likewise.
30688 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30689 * math/s_clog10.c (__clog10): Likewise.
30690 * math/s_clog10f.c (__clog10f): Likewise.
30691 * math/s_clog10l.c (__clog10l): Likewise.
30692 * math/s_clogf.c (__clogf): Likewise.
30693 * math/s_clogl.c (__clogl): Likewise.
30694 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30695 * math/s_csinf.c (__csinf): Likewise.
30696 * math/s_csinh.c (__csinh): Likewise.
30697 * math/s_csinhf.c (__csinhf): Likewise.
30698 * math/s_csinhl.c (__csinhl): Likewise.
30699 * math/s_csinl.c (__csinl): Likewise.
30700 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30701 * math/s_csqrtf.c (__csqrtf): Likewise.
30702 * math/s_csqrtl.c (__csqrtl): Likewise.
30703 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30704 * math/s_ctanf.c (__ctanf): Likewise.
30705 * math/s_ctanh.c (__ctanh): Likewise.
30706 * math/s_ctanhf.c (__ctanhf): Likewise.
30707 * math/s_ctanhl.c (__ctanhl): Likewise.
30708 * math/s_ctanl.c (__ctanl): Likewise.
30709 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30710 instead of volatile.
30711 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30712 math_check_force_underflow.
30713 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30714 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30715 volatile when forcing underflow.
30716 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30717 math_check_force_underflow_nonneg.
30718 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30719 Likewise.
30720 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30721 math_check_force_underflow.
30722 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30723 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30724 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30725 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30726 math_check_force_underflow_nonneg.
30727 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30728 math_check_force_underflow.
30729 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30731 instead of volatile.
30732 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30733 math_check_force_underflow.
30734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30736 math_check_force_underflow_nonneg.
30737 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30738 math_check_force_underflow.
30739 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30740 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30741 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30742 math_check_force_underflow_nonneg.
30743 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30744 Likewise.
30745 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30746 math_check_force_underflow.
30747 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30748 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30749 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30750 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30751 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30752 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30753 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30754 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30755 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30756 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30757 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30758 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30759 Likewise.
30760 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30761 math_check_force_underflow_nonneg.
30762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30763 Likewise.
30764 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30765 math_check_force_underflow.
30766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30767 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30769 Likewise.
30770 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30771 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30773 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30777 instead of volatile.
30778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30779 math_check_force_underflow.
30780 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30782 math_check_force_underflow.
30783 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30784 Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30786 Use math_check_force_underflow_nonneg.
30787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30788 math_check_force_underflow.
30789 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30790 Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30792 Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30799 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30800 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30802 math_check_force_underflow_nonneg.
30803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30804 math_check_force_underflow.
30805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30806 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30807 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30808 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30809 math_check_force_underflow_nonneg.
30810 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30811 math_check_force_underflow.
30812 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30814 instead of volatile.
30815 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30816 math_check_force_underflow.
30817
30818 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30819 * stdlib/strtod_l.c: Include <math_private.h>.
30820 (overflow_value): Use math_narrow_eval.
30821 (underflow_value): Likewise.
30822 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30823 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30824 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30825 (__ieee754_gamma_r): Likewise.
30826 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30827 Likewise.
30828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30829 Likewise.
30830 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30831 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30832 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30833 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30834 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30835 (__ieee754_gammaf_r): Likewise.
30836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30837 Likewise.
30838 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30839 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30840 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30841 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30842 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30843 volatile.
30844 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30846 math_narrow_eval.
30847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30848 Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30850 Likewise.
30851 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30852 Likewise.
30853 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30854 volatile.
30855 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30857 math_narrow_eval.
30858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30859 Likewise.
30860 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30861 Likewise.
30862
30863 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30864
30865 * nptl/Versions: Remove ignored symbols.
30866
30867 2015-09-22 Florian Weimer <fweimer@redhat.com>
30868
30869 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30870 * nss/Makefile (tests): Update.
30871
30872 2015-09-22 Florian Weimer <fweimer@redhat.com>
30873
30874 * nss/bug18287.c: New file.
30875 * nss/Makefile (tests): Add bug18287.
30876
30877 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30878
30879 * mach/Versions (__mach_host_self_): Add symbol.
30880
30881 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30882
30883 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30884 vm_page_size.
30885
30886 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30887
30888 Really fix sysdeps/i386/fpu/s_scalbn.S build
30889
30890 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30891 (libc: GLIBC_2_22): Remove unused version set.
30892
30893 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30894
30895 * config.make.in (enable-timezone-tools): New variable.
30896 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30897 (enable_timezone_tools): Export to generated files.
30898 * configure: Regenerate.
30899 * INSTALL: Regenerate.
30900 * manual/install.texi (--disable-timezone-tools): Document new flag.
30901 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30902 ifeq ($(enable-timezone-tools),yes) check.
30903
30904 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30905
30906 * timezone/Makefile: Revert previous change.
30907
30908 [BZ #18980]
30909 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30910 (DEFINE_DBL_MIN): Likewise.
30911 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30912 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30913 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30914 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30915 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30916 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30917 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30918 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30919 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30920 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30921 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30922 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30923 (flt_min): Replace with use of DEFINE_FLT_MIN.
30924 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30925 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30926 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30927 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30928 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30929 (flt_min): Replace with use of DEFINE_FLT_MIN.
30930 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30931 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30932 (flt_min): Replace with use of DEFINE_FLT_MIN.
30933 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30934 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30935 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30936 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30937 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30938 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30939 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30940 (__ieee754_pow): Use DBL_NARROW_EVAL.
30941 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30942 (__ieee754_powf): Use FLT_NARROW_EVAL.
30943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30944 (__ieee754_expf_sse2): Convert double-precision result to single
30945 precision.
30946 * sysdeps/i386/fpu/libm-test-ulps: Update.
30947
30948 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30949
30950 * timezone/Makefile: Ignore unused variable errors due to private.h
30951 (time_t_min) and (time_t_max).
30952 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30953 Likewise.
30954
30955 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30956
30957 [BZ #18981]
30958 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30959 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30960 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30961 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30962 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30963 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30964 (__scalbn): Use DBL_NARROW_EVAL.
30965 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30966 (__scalbnf): Use FLT_NARROW_EVAL.
30967
30968 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30969
30970 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30971 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30972 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30973 * stdio-common/printf_fp.c (___printf_fp):
30974 Use signbit to get the sign. Use isinf macro to allow inlining.
30975 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30976 * stdio-common/printf_size.c (__printf_size): Likewise.
30977
30978 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30979
30980 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30981
30982 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30983
30984 [BZ #18980]
30985 * sysdeps/generic/math_private.h: Include <float.h>.
30986 (math_narrow_eval): New macro.
30987 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30988 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30989 math_narrow_eval on overflowing return value.
30990 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30991 Likewise.
30992 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30993 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30994 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30995 Likewise.
30996 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30997
30998 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30999
31000 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31001 * math/Makefile: Remove isinf_ns.c.
31002 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31003 * math/multc3.c (__multc3): Likewise.
31004 * math/s_casin.c (__casin): Likewise.
31005 * math/s_casinf.c (__casinf): Likewise.
31006 * math/s_casinl.c (__casinl): Likewise.
31007 * math/s_cproj.c (__cproj): Likewise.
31008 * math/s_cprojf.c (__cprojf): Likewise.
31009 * math/s_cprojl.c (__cprofl): Likewise.
31010 * math/s_ctan.c (__ctan): Likewise.
31011 * math/s_ctanf.c (__ctanf): Likewise.
31012 * math/s_ctanh.c (__ctanh): Likewise.
31013 * math/s_ctanhf.c (__ctanhf): Likewise.
31014 * math/s_ctanhl.c (__ctanhl): Likewise.
31015 * math/s_ctanl.c (__ctanl): Likewise.
31016 * math/w_fmod.c (__fmod): Likewise.
31017 * math/w_fmodf.c (__fmodf): Likewise.
31018 * math/w_fmodl.c (_fmodl): Likewise.
31019 * math/w_remainder.c (__remainder): Likewise.
31020 * math/w_remainderf.c (__remainderf): Likewise.
31021 * math/w_remainderl.c (__remainderl): Likewise.
31022 * math/w_scalb.c (__scalb): Likewise.
31023 * math/w_scalbf.c (__scalbf): Likewise.
31024 * math/w_scalbl.c (__scalbl): Likewise.
31025 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31026 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31027 with isinf.
31028 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31030 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31031 __isinf_nsf with isinf.
31032 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31033 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31034 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31035 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31036 with isinf.
31037 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31038 __isinf_nsl with isinf.
31039 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31040 with isinf.
31041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31043 __isinf_nsl with isinf.
31044 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31045 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31046 with isinf.
31047
31048 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31049
31050 * resolv/base64.c (rcsid): Remove unused static.
31051 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31052 static. (tqpi1): Likewise.
31053 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31054 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31055 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31056 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31057 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31058 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31060 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31061 Likewise.
31062
31063 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31066 <nptl/pthreadP.h>.
31067 (_longjmp_unwind): Use __libc_ptf_call.
31068 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31069
31070 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31071
31072 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31073 * sysdeps/arm/__longjmp.S: Likewise.
31074
31075 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31076
31077 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31078 Use __builtin_signbit.
31079 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31080 Use __builtin_signbitf.
31081 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31082 Use __builtin_signbitl.
31083 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31084 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31085
31086 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31087
31088 [BZ #15367]
31089 [BZ #17441]
31090
31091 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31092 * math/math.h (fpclassify): Use __builtin_fpclassify when
31093 available. (signbit): Use __builtin_signbit(f/l).
31094 (isfinite): Use__builtin_isfinite. (isnormal): Use
31095 __builtin_isnormal. (isnan): Use __builtin_isnan.
31096 (isinf): Use __builtin_isinf_sign.
31097
31098 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31099
31100 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31101 * benchtests/bench-math-inlines.c: New benchmark.
31102 * benchtests/bench-util.h: New file.
31103 * benchtests/bench-util.c: New file.
31104 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31105
31106 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31107
31108 * elf/tst-dlmopen1.c: Define TEST_SO.
31109 (do_test): Use TEST_SO.
31110
31111 * elf/dl-load.c: Include libc-internal.h.
31112 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31113
31114 2015-09-18 Vincent Bernat <vincent@bernat.im>
31115
31116 [BZ #17887]
31117 * time/strptime_l.c (__strptime_internal): Make %z accept
31118 [+-]HH:MM time zones.
31119
31120 2015-09-18 Vincent Bernat <vincent@bernat.im>
31121
31122 [BZ #17886]
31123 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31124 valid time zone.
31125
31126 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31127
31128 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31129 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31130 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31131 (__ASSUME_FDATASYNC): Delete.
31132
31133 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31134
31135 * conform/linknamespace.pl: Require weak undefined symbols to be
31136 in the standard namespace.
31137 (%strong_syms): Rename to %seen_syms.
31138 (%strong_seen): Rename to %seen_where.
31139
31140 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31141
31142 [BZ #18970]
31143 * misc/error.c (error): Replace pthread_setcancelstate with
31144 __pthread_setcancelstate.
31145 (error_at_line): Likewise.
31146 * posix/wordexp.c (parse_comm): Likewise.
31147 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31148 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31149 (__pthread_setcancelstate): This.
31150 (pthread_setcancelstate): Add an alias.
31151 * nptl/nptl-init.c (pthread_functions): Replace
31152 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31153 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31154 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31155 hidden_proto.
31156 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31157 it with hidden_def.
31158 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31159 (pthread_setcancelstate): Renamed to ...
31160 (__pthread_setcancelstate): This.
31161 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31162 __libc_ptf_call with __pthread_setcancelstate.
31163
31164 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31165 Andreas Schwab <schwab@suse.de>
31166
31167 [BZ #17118]
31168 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31169 result when imaginary part of argument is infinite using sine and
31170 cosine.
31171 * math/s_ctanf.c (__ctanf): Likewise.
31172 * math/s_ctanl.c (__ctanl): Likewise.
31173 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31174 of result when real part of argument is infinite using sine and
31175 cosine.
31176 * math/s_ctanhf.c (__ctanhf): Likewise.
31177 * math/s_ctanhl.c (__ctanhl): Likewise.
31178 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31179 (ctanh_test_data): Add more tests of ctanh.
31180
31181 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31182
31183 [BZ #15384]
31184 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31185 bit-mask as in subtraction.
31186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31187 Likewise.
31188 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31189 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31191
31192 [BZ #18951]
31193 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31194 underflow exception for small results.
31195 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31196 Likewise.
31197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31198 Likewise.
31199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31200 Likewise.
31201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31202 Likewise.
31203 * math/auto-libm-test-in: Add more tests of tgamma.
31204 * math/auto-libm-test-out: Regenerated.
31205
31206 2015-09-17 Andreas Schwab <schwab@suse.de>
31207
31208 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31209
31210 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31211
31212 [BZ #18977]
31213 * math/bits/mathcalls.h
31214 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31215 not declare.
31216 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31217 Likewise.
31218 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31219 Likewise.
31220 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31221 Likewise.
31222 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31223 Likewise.
31224 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31225 Likewise.
31226 * conform/data/math.h-data
31227 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31228 function.
31229 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31230 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31231 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31232 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31233 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31234 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31235 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31236 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31237 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31238 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31239 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31240
31241 [BZ #6803]
31242 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31243 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31244 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31245 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31246 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31247 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31248 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31249 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31250 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31252 Likewise.
31253 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31254 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31257 long_double_symbol calls.
31258 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31259 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31260 strong alias of __ldexpl.
31261 (scalbnl): Define using long_double_symbol.
31262 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31263 Remove alias.
31264 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31265 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31266 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31267 (scalbln_test_data): Add more errno expectations.
31268
31269 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31270
31271 Cache the host port like we cache the task port. This way we do not
31272 need to call the kernel just to get the port. Furthermore, we no
31273 longer increase the reference count on every invocation of
31274 `mach_host_self'.
31275
31276 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31277 Protect declarations against the macro expansion.
31278 * mach/mach_init.c (__mach_host_self_): New variable.
31279 (mach_init): Initialize `__mach_host_self_'.
31280 * mach/mach_init.h (__mach_host_self_): New declaration.
31281 (__mach_host_self, mach_host_self): New macros.
31282 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31283 Release reference.
31284
31285 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31286
31287 [BZ #4404]
31288 * po/de.po: Update from Translation Project.
31289
31290 [BZ #16415]
31291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31292 (__expm1l): Remove code to handle positive infinity and overflow.
31293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31294 variable.
31295 (__expm1l): Remove code to handle positive infinity and overflow.
31296
31297 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31298 Paul Pluzhnikov <ppluzhnikov@google.com>
31299
31300 [BZ #18872]
31301 * stdio-common/Makefile (tst-printf-bz18872): New test.
31302 (tst-printf-bz18872-mem.out): Likewise.
31303 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31304 * stdio-common/vfprintf.c: Fix memory leaks.
31305
31306 2015-09-16 Andreas Schwab <schwab@suse.de>
31307
31308 [BZ #17244]
31309 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31310 Remove extra va_start/va_end calls.
31311
31312 [BZ #17243]
31313 * posix/execl.c (execl): Add missing va_end.
31314 * posix/execle.c (execle): Likewise.
31315 * posix/execlp.c (execlp): Likewise.
31316
31317 2015-09-15 Roland McGrath <roland@hack.frob.com>
31318
31319 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31320 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31321
31322 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31323
31324 [BZ #18967]
31325 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31326 undefine around includes of <bits/mathcalls.h>.
31327 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31328 not declare function.
31329 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31330 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31331 (scalb): Likewise.
31332 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31333 not define macro.
31334 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31335 variable.
31336 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31337 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31338 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31339
31340 [BZ #18857]
31341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31342 return non-finite argument without doing ordered comparisons on
31343 it.
31344
31345 [BZ #16296]
31346 * math/fenv.h (fegetround): Use __attribute_pure__.
31347 * include/fenv.h (__fegetround): Likewise.
31348
31349 [BZ #18595]
31350 * math/s_ctan.c (__ctan): Force underflow exception for results
31351 whose real or imaginary part has small absolute value.
31352 * math/s_ctanf.c (__ctanf): Likewise.
31353 * math/s_ctanh.c (__ctanh): Likewise.
31354 * math/s_ctanhf.c (__ctanhf): Likewise.
31355 * math/s_ctanhl.c (__ctanhl): Likewise.
31356 * math/s_ctanl.c (__ctanl): Likewise.
31357 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31358 and ctanh. Add more tests of ctan and ctanh.
31359
31360 [BZ #15918]
31361 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31362 handling of cases where one argument is an infinity.
31363
31364 [BZ #18875]
31365 [BZ #18966]
31366 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31367 (MO): New macro.
31368 (__ieee754_exp10): For small results, force underflow exception
31369 and remove excess range and precision from return value.
31370 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31371 (MO): New macro.
31372 (__ieee754_exp10f): For small results, force underflow exception
31373 and remove excess range and precision from return value.
31374 * math/auto-libm-test-in: Add more tests of exp10.
31375 * math/auto-libm-test-out: Regenerated.
31376
31377 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31378
31379 [BZ #18875]
31380 [BZ #18961]
31381 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31382 (MO): New macro.
31383 (__ieee754_exp): For small results, force underflow exception and
31384 remove excess range and precision from return value.
31385 (__exp_finite): Likewise.
31386 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31387 (MO): New macro.
31388 (__ieee754_expf): For small results, force underflow exception and
31389 remove excess range and precision from return value.
31390 (__expf_finite): Likewise.
31391 * math/auto-libm-test-in: Add more tests of exp.
31392 * math/auto-libm-test-out: Regenerated.
31393
31394 [BZ #16521]
31395 [BZ #18875]
31396 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31397 small results.
31398 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31399 (MO): New macro.
31400 (__ieee754_exp2): For small results, force underflow exception and
31401 remove excess range and precision from return value.
31402 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31403 (MO): New macro.
31404 (__ieee754_exp2f): For small results, force underflow exception
31405 and remove excess range and precision from return value.
31406 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31407 (MO): New macro.
31408 (__ieee754_exp2l): Force underflow exception for small results.
31409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31410 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31411 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31412 (MO): New macro.
31413 (__ieee754_exp2l): Force underflow exception for small results.
31414 * math/auto-libm-test-in: Add more tests or exp2.
31415 * math/auto-libm-test-out: Regenerated.
31416
31417 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31418
31419 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31420
31421 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31422 /dev/null.
31423
31424 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31425
31426 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31427 io fs process)): Drop spurious backslash.
31428
31429 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31430
31431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31432 Use sysinfo system call instead of parsing /proc/meminfo.
31433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31434 Likewise.
31435
31436 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31437
31438 [BZ #16985]
31439 * programs/localedef.c (main): Display argv[remaining] when
31440 output_path is NULL.
31441
31442 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31443
31444 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31445 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31446 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31447 tanh.
31448 * math/auto-libm-test-out: Regenerated.
31449 * sysdeps/i386/fpu/libm-test-ulps: Update.
31450 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31451 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31453
31454 2015-09-11 Roland McGrath <roland@hack.frob.com>
31455
31456 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31457 Use 'override' keyword to freeze the value here, preventing
31458 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31459
31460 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31461
31462 [BZ #14912]
31463 * sysdeps/aarch64/bits/atomic.h: Move to ...
31464 * sysdeps/aarch64/atomic-machine.h: ...here.
31465 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31466 _AARCH64_ATOMIC_MACHINE_H.
31467 * sysdeps/alpha/bits/atomic.h: Move to ...
31468 * sysdeps/alpha/atomic-machine.h: ...here.
31469 * sysdeps/arm/bits/atomic.h: Move to ...
31470 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31471 * bits/atomic.h: Move to ...
31472 * sysdeps/generic/atomic-machine.h: ...here.
31473 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31474 * sysdeps/i386/bits/atomic.h: Move to ...
31475 * sysdeps/i386/atomic-machine.h: ...here.
31476 * sysdeps/ia64/bits/atomic.h: Move to ...
31477 * sysdeps/ia64/atomic-machine.h: ...here.
31478 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31479 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31480 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31481 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31482 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31483 * sysdeps/microblaze/bits/atomic.h: Move to ...
31484 * sysdeps/microblaze/atomic-machine.h: ...here.
31485 * sysdeps/mips/bits/atomic.h: Move to ...
31486 * sysdeps/mips/atomic-machine.h: ...here.
31487 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31488 * sysdeps/powerpc/bits/atomic.h: Move to ...
31489 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31490 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31491 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31492 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31493 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31494 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31495 <atomic-machine.h> instead of <bits/atomic.h>.
31496 * sysdeps/s390/bits/atomic.h: Move to ...
31497 * sysdeps/s390/atomic-machine.h: ...here.
31498 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31499 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31500 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31501 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31502 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31503 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31504 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31505 * sysdeps/tile/bits/atomic.h: Move to ...
31506 * sysdeps/tile/atomic-machine.h: ...here.
31507 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31508 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31509 <sysdeps/tile/atomic-machine.h> instead of
31510 <sysdeps/tile/bits/atomic.h>.
31511 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31512 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31513 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31514 <sysdeps/tile/atomic-machine.h> instead of
31515 <sysdeps/tile/bits/atomic.h>.
31516 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31517 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31518 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31519 <sysdeps/arm/atomic-machine.h> instead of
31520 <sysdeps/arm/bits/atomic.h>.
31521 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31522 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31523 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31524 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31525 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31526 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31527 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31528 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31529 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31530 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31531 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31532 * sysdeps/x86_64/bits/atomic.h: Move to ...
31533 * sysdeps/x86_64/atomic-machine.h: ...here.
31534 * include/atomic.h: Include <atomic-machine.h> instead of
31535 <bits/atomic.h>.
31536
31537 * sysdeps/mips/mips32/libm-test-ulps: Update.
31538 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31539
31540 [BZ #18952]
31541 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31542 not convert non-integer negative arguments to int to determine the
31543 value of signgam.
31544 * math/auto-libm-test-in: Add more tests of lgamma.
31545 * math/auto-libm-test-out: Regenerated.
31546
31547 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31548 cosh, csqrt, erfc, expm1 and lgamma.
31549 * math/auto-libm-test-out: Regenerated.
31550 * sysdeps/i386/fpu/libm-test-ulps: Update.
31551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31552
31553 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31554
31555 [BZ #2542]
31556 [BZ #2543]
31557 [BZ #2558]
31558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31559 __lgamma_neg for arguments from -28.0 to -2.0.
31560 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31561 __lgamma_negf for arguments from -15.0 to -2.0.
31562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31563 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31564 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31565 Call __lgamma_negl for arguments from -33.0 to -2.0.
31566 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31567 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31568 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31569 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31570 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31571 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31572 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31574 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31575 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31576 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31577 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31578 (__lgamma_neg): Likewise.
31579 (__lgamma_negl): Likewise.
31580 (__lgamma_product): Likewise.
31581 (__lgamma_productl): Likewise.
31582 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31583 * math/auto-libm-test-in: Add more tests of lgamma.
31584 * math/auto-libm-test-out: Regenerated.
31585 * sysdeps/i386/fpu/libm-test-ulps: Update.
31586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31587
31588 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31589
31590 [BZ #18675]
31591 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31592
31593 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31594
31595 [BZ #14912]
31596 * bits/libc-lock.h: Move to ...
31597 * sysdeps/generic/libc-lock.h: ...here.
31598 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31599 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31600 * sysdeps/mach/hurd/libc-lock.h: ...here.
31601 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31602 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31603 * sysdeps/mach/bits/libc-lock.h: Move to ...
31604 * sysdeps/mach/libc-lock.h: ...here.
31605 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31606 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31607 * sysdeps/nptl/libc-lock.h: ...here.
31608 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31609 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31610 * sysdeps/nptl/libc-lockP.h: ...here.
31611 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31612 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31613 <bits/libc-lock.h>.
31614 * dirent/scandir-tail.c: Likewise.
31615 * dlfcn/dlerror.c: Likewise.
31616 * elf/dl-close.c: Likewise.
31617 * elf/dl-iteratephdr.c: Likewise.
31618 * elf/dl-lookup.c: Likewise.
31619 * elf/dl-open.c: Likewise.
31620 * elf/dl-support.c: Likewise.
31621 * elf/dl-writev.h: Likewise.
31622 * elf/rtld.c: Likewise.
31623 * grp/fgetgrent.c: Likewise.
31624 * gshadow/fgetsgent.c: Likewise.
31625 * gshadow/sgetsgent.c: Likewise.
31626 * iconv/gconv_conf.c: Likewise.
31627 * iconv/gconv_db.c: Likewise.
31628 * iconv/gconv_dl.c: Likewise.
31629 * iconv/gconv_int.h: Likewise.
31630 * iconv/gconv_trans.c: Likewise.
31631 * include/link.h: Likewise.
31632 * inet/getnameinfo.c: Likewise.
31633 * inet/getnetgrent.c: Likewise.
31634 * inet/getnetgrent_r.c: Likewise.
31635 * intl/bindtextdom.c: Likewise.
31636 * intl/dcigettext.c: Likewise.
31637 * intl/finddomain.c: Likewise.
31638 * intl/gettextP.h: Likewise.
31639 * intl/loadmsgcat.c: Likewise.
31640 * intl/localealias.c: Likewise.
31641 * intl/textdomain.c: Likewise.
31642 * libidn/idn-stub.c: Likewise.
31643 * libio/libioP.h: Likewise.
31644 * locale/duplocale.c: Likewise.
31645 * locale/freelocale.c: Likewise.
31646 * locale/newlocale.c: Likewise.
31647 * locale/setlocale.c: Likewise.
31648 * login/getutent_r.c: Likewise.
31649 * login/getutid_r.c: Likewise.
31650 * login/getutline_r.c: Likewise.
31651 * login/utmp-private.h: Likewise.
31652 * login/utmpname.c: Likewise.
31653 * malloc/mtrace.c: Likewise.
31654 * misc/efgcvt.c: Likewise.
31655 * misc/error.c: Likewise.
31656 * misc/fstab.c: Likewise.
31657 * misc/getpass.c: Likewise.
31658 * misc/mntent.c: Likewise.
31659 * misc/syslog.c: Likewise.
31660 * nis/nis_call.c: Likewise.
31661 * nis/nis_callback.c: Likewise.
31662 * nis/nss-default.c: Likewise.
31663 * nis/nss_compat/compat-grp.c: Likewise.
31664 * nis/nss_compat/compat-initgroups.c: Likewise.
31665 * nis/nss_compat/compat-pwd.c: Likewise.
31666 * nis/nss_compat/compat-spwd.c: Likewise.
31667 * nis/nss_nis/nis-alias.c: Likewise.
31668 * nis/nss_nis/nis-ethers.c: Likewise.
31669 * nis/nss_nis/nis-grp.c: Likewise.
31670 * nis/nss_nis/nis-hosts.c: Likewise.
31671 * nis/nss_nis/nis-network.c: Likewise.
31672 * nis/nss_nis/nis-proto.c: Likewise.
31673 * nis/nss_nis/nis-pwd.c: Likewise.
31674 * nis/nss_nis/nis-rpc.c: Likewise.
31675 * nis/nss_nis/nis-service.c: Likewise.
31676 * nis/nss_nis/nis-spwd.c: Likewise.
31677 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31678 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31679 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31680 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31681 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31682 * nis/nss_nisplus/nisplus-network.c: Likewise.
31683 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31684 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31685 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31686 * nis/nss_nisplus/nisplus-service.c: Likewise.
31687 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31688 * nis/ypclnt.c: Likewise.
31689 * nptl/libc_pthread_init.c: Likewise.
31690 * nss/getXXbyYY.c: Likewise.
31691 * nss/getXXent.c: Likewise.
31692 * nss/getXXent_r.c: Likewise.
31693 * nss/nss_db/db-XXX.c: Likewise.
31694 * nss/nss_db/db-netgrp.c: Likewise.
31695 * nss/nss_db/nss_db.h: Likewise.
31696 * nss/nss_files/files-XXX.c: Likewise.
31697 * nss/nss_files/files-alias.c: Likewise.
31698 * nss/nsswitch.c: Likewise.
31699 * posix/regex_internal.h: Likewise.
31700 * posix/wordexp.c: Likewise.
31701 * pwd/fgetpwent.c: Likewise.
31702 * resolv/res_hconf.c: Likewise.
31703 * resolv/res_libc.c: Likewise.
31704 * shadow/fgetspent.c: Likewise.
31705 * shadow/lckpwdf.c: Likewise.
31706 * shadow/sgetspent.c: Likewise.
31707 * socket/opensock.c: Likewise.
31708 * stdio-common/reg-modifier.c: Likewise.
31709 * stdio-common/reg-printf.c: Likewise.
31710 * stdio-common/reg-type.c: Likewise.
31711 * stdio-common/vfprintf.c: Likewise.
31712 * stdio-common/vfscanf.c: Likewise.
31713 * stdlib/abort.c: Likewise.
31714 * stdlib/cxa_atexit.c: Likewise.
31715 * stdlib/fmtmsg.c: Likewise.
31716 * stdlib/random.c: Likewise.
31717 * stdlib/setenv.c: Likewise.
31718 * string/strsignal.c: Likewise.
31719 * sunrpc/auth_none.c: Likewise.
31720 * sunrpc/bindrsvprt.c: Likewise.
31721 * sunrpc/create_xid.c: Likewise.
31722 * sunrpc/key_call.c: Likewise.
31723 * sunrpc/rpc_thread.c: Likewise.
31724 * sysdeps/arm/backtrace.c: Likewise.
31725 * sysdeps/generic/ldsodefs.h: Likewise.
31726 * sysdeps/generic/stdio-lock.h: Likewise.
31727 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31728 * sysdeps/i386/backtrace.c: Likewise.
31729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31730 * sysdeps/m68k/backtrace.c: Likewise.
31731 * sysdeps/mach/hurd/cthreads.c: Likewise.
31732 * sysdeps/mach/hurd/dirstream.h: Likewise.
31733 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31734 * sysdeps/nptl/malloc-machine.h: Likewise.
31735 * sysdeps/nptl/stdio-lock.h: Likewise.
31736 * sysdeps/posix/dirstream.h: Likewise.
31737 * sysdeps/posix/getaddrinfo.c: Likewise.
31738 * sysdeps/posix/system.c: Likewise.
31739 * sysdeps/pthread/aio_suspend.c: Likewise.
31740 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31741 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31742 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31743 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31744 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31745 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31746 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31747 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31748 * sysdeps/unix/sysv/linux/system.c: Likewise.
31749 * sysdeps/x86_64/backtrace.c: Likewise.
31750 * time/alt_digit.c: Likewise.
31751 * time/era.c: Likewise.
31752 * time/tzset.c: Likewise.
31753 * wcsmbs/wcsmbsload.c: Likewise.
31754 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31755 instead of <bits/libc-lock.h> in comment.
31756
31757 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31758
31759 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31760 Only use .set mips2 if the current ISA is below mips2.
31761 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31762 Likewise.
31763 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31764 mips32r2 if the current ISA is below mips32r2.
31765 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31766 (TLS_IE): Updated to use the TLD_RDHWR macro.
31767 (TLS_LE): Likewise.
31768 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31769 __ASSEMBLER__ condition.
31770
31771 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31772
31773 Fix parallel build of before-compile targets.
31774
31775 * sysdeps/mach/Makefile ($(patsubst
31776 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31777 mach-before-compile target.
31778 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31779 io fs process)): Move rule to dedicated hurd-before-compile target.
31780
31781 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31782
31783 Fix rules generating headers in hurd/ and mach/ when initial make call
31784 has subdir= explicitly set.
31785
31786 * sysdeps/mach/Makefile ($(patsubst
31787 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31788 calling $(MAKE).
31789 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31790 io fs process)): Force subdir to hurd when calling $(MAKE).
31791 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31792 subdir to mach when calling $(MAKE).
31793
31794 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31795
31796 Check sysheaders when looking for Mach and Hurd headers
31797
31798 * sysdeps/mach/configure.ac: Add sysheaders check.
31799 * sysdeps/mach/configure: Regenerate.
31800 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31801 * sysdeps/mach/hurd/configure: Regenerate.
31802
31803 2015-09-04 Roland McGrath <roland@hack.frob.com>
31804
31805 [BZ #18921]
31806 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31807 Fix inverted sense of test of 'o_directory_works' value.
31808 Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31809 Bernhard Voelker <mail@bernhard-voelker.de>.
31810
31811 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31812
31813 [BZ #14912]
31814 * bits/linkmap.h: Move to ...
31815 * sysdeps/generic/linkmap.h: ...here.
31816 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31817 * sysdeps/aarch64/linkmap.h: ...here.
31818 * sysdeps/arm/bits/linkmap.h: Move to ...
31819 * sysdeps/arm/linkmap.h: ...here.
31820 * sysdeps/hppa/bits/linkmap.h: Move to ...
31821 * sysdeps/hppa/linkmap.h: ...here.
31822 * sysdeps/ia64/bits/linkmap.h: Move to ...
31823 * sysdeps/ia64/linkmap.h: ...here.
31824 * sysdeps/mips/bits/linkmap.h: Move to ...
31825 * sysdeps/mips/linkmap.h: ...here.
31826 * sysdeps/s390/bits/linkmap.h: Move to ...
31827 * sysdeps/s390/linkmap.h: ...here.
31828 * sysdeps/sh/bits/linkmap.h: Move to ...
31829 * sysdeps/sh/linkmap.h: ...here.
31830 * sysdeps/x86/bits/linkmap.h: Move to ...
31831 * sysdeps/x86/linkmap.h: ...here.
31832 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31833
31834 2015-09-04 Andreas Schwab <schwab@suse.de>
31835
31836 [BZ #18635]
31837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31838 (__makecontext): Terminate FDE before return label.
31839 (__novec_makecontext): Likewise.
31840
31841 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31842
31843 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31844 first member of struct sv in syscall macro.
31845
31846 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31847
31848 [BZ #14912]
31849 * bits/stdio-lock.h: Move to ...
31850 * sysdeps/generic/stdio-lock.h: ...here.
31851 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31852 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31853 * sysdeps/nptl/stdio-lock.h: ...here.
31854 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31855 * include/libio.h: Include <stdio-lock.h> instead of
31856 <bits/stdio-lock.h>.
31857 * sysdeps/nptl/fork.c: Likewise.
31858 * sysdeps/pthread/flockfile.c: Likewise.
31859 * sysdeps/pthread/ftrylockfile.c: Likewise.
31860 * sysdeps/pthread/funlockfile.c: Likewise.
31861
31862 [BZ #14912]
31863 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31864 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31865 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31866 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31867 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31868 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31869 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31870
31871 2015-09-03 Roland McGrath <roland@hack.frob.com>
31872
31873 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31874 (test-xfail-tst-protected1b): New variable.
31875
31876 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31877
31878 [BZ #14912]
31879 * bits/libc-tsd.h: Move to ...
31880 * sysdeps/generic/libc-tsd.h: ...here.
31881 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31882 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31883 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31884 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31885 * include/ctype.h: Include <libc-tsd.h> instead of
31886 <bits/libc-tsd.h>.
31887 * include/rpc/rpc.h: Likewise.
31888 * locale/localeinfo.h: Likewise.
31889 * sunrpc/rpc_thread.c: Likewise.
31890 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31891 * sysdeps/nptl/malloc-machine.h: Likewise.
31892
31893 * Makefile (headers): Remove bits/libc-lock.h.
31894 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31895
31896 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31897 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31898 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31899 <bits/stdio-lock.h>.
31900 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31901 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31902
31903 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31904
31905 [BZ #18757]
31906 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31907 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31908 BZ #18757.
31909
31910 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31911
31912 * malloc/mtrace.pl: Filter out NULL entries.
31913
31914 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31915
31916 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31917 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31918 macro.
31919
31920 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31921 (TCP_CC_INFO): Likewise.
31922 (TCP_SAVE_SYN): Likewise.
31923 (TCP_SAVED_SYN): Likewise.
31924
31925 2015-08-31 Brett Neumeier <brett@neumeier.us>
31926
31927 [BZ #18870]
31928 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31929
31930 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31931
31932 [BZ #18873]
31933 Fix broken overflow check in posix_fallocate
31934 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31935 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31936 Fix parenthesization typo.
31937
31938 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31939
31940 [BZ #18887]
31941 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31942 tst-mntent-blank-passno.
31943 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31944 * misc/tst-mntent-blank-corrupt.c: New test.
31945 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31946 * misc/tst-mntent.c (do_test): ... here.
31947
31948 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31949
31950 [BZ #4404]
31951 * po/de.po: Fix SIGALRM typo.
31952
31953 2015-08-28 James Perkins <james@loowit.net>
31954
31955 * time/tst-strptime2.c (tests): Replace short list of test
31956 strings for strptime %z specifier with code which exhaustively
31957 tests every combination of sign and 0 to 5 digits. Tests for
31958 rejection of invalid strings.
31959
31960 2015-08-28 James Perkins <james@loowit.net>
31961
31962 [BZ #16141]
31963 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31964 calculation, removing incorrect decimal time rounding, so that
31965 all minute values result in a valid seconds value.
31966 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31967 offset range limits to UTC-99:59 through UTC+99:59 to parse
31968 current and historical use cases.
31969 * time/tst-strptime2.c (tests): Modify and add tests for the
31970 strptime %z input field descriptor, specifically conversion of
31971 minutes to seconds and validating an offset range of -9959 to
31972 +9959.
31973
31974 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31975 Dmitry V. Levin <ldv@altlinux.org>
31976
31977 [BZ #18877]
31978 * posix/Makefile (tests): Add tst-mmap-offset.
31979 * posix/tst-mmap.c: New file.
31980 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31981 offset calculation for negative values.
31982
31983 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31984
31985 * sysdeps/i386/init-arch.h: New file.
31986 * sysdeps/i386/i586/init-arch.h: Likewise.
31987 * sysdeps/i386/i686/init-arch.h: Likewise.
31988 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31989 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31990 * sysdeps/x86/cpu-features.h (bit_I586): New.
31991 (bit_I686): Likewise.
31992 (bit_CX8): Likewise.
31993 (bit_CMOV): Likewise.
31994 (index_CX8): Likewise.
31995 (index_CMOV): Likewise.
31996 (index_I586): Likewise.
31997 (index_I686): Likewise.
31998 (reg_CX8): Likewise.
31999 (reg_CMOV): Likewise.
32000 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32001 available at compile-time.
32002 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32003 available at compile-time.
32004 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32005 (USE_I686): Likewise.
32006
32007 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32008
32009 * sysdeps/i386/bcopy.S: New file.
32010 * sysdeps/i386/bzero.S: Likewise.
32011 * sysdeps/i386/memcpy.S: Likewise.
32012 * sysdeps/i386/memmove.S: Likewise.
32013 * sysdeps/i386/mempcpy.S: Likewise.
32014 * sysdeps/i386/memset.S: Likewise.
32015 * sysdeps/i386/bzero.c: Removed.
32016 * sysdeps/i386/memset.c: Likewise.
32017 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32018 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32019 * sysdeps/i386/i586/memset_chk.S: Likewise.
32020 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32021 * sysdeps/i386/memcpy_chk.S: Here.
32022 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32023 * sysdeps/i386/memmove_chk.S: Here.
32024 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32025 * sysdeps/i386/mempcpy_chk.S: Likewise.
32026 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32027 * sysdeps/i386/memset_chk.S: Likewise.
32028
32029 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
32030
32031 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32032 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32033 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32034 * soft-fp/fmadf4.c: Ditto.
32035 * soft-fp/fmatf4.c: Ditto.
32036
32037 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32038
32039 * sysdeps/i386/i586/Implies: Removed.
32040 * sysdeps/i386/i686/Implies: Likewise.
32041
32042 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32043
32044 * sysdeps/i386/i486/strlen.S: Moved to ...
32045 * sysdeps/i386/strlen.S: Here.
32046
32047 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 * sysdeps/i386/i486/strcat.S: Moved to ...
32050 * sysdeps/i386/strcat.S: Here.
32051
32052 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32053
32054 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32055 * sysdeps/i386/pthread_spin_trylock.S: Here.
32056 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32057 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32058
32059 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32060
32061 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32062 * sysdeps/i386/string-inlines.c: Here.
32063
32064 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32065
32066 * sysdeps/i386/i486/htonl.S: Moved ...
32067 * sysdeps/i386/htonl.S: here.
32068
32069 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32072 * sysdeps/i386/bits/atomic.h: Here.
32073
32074 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * sysdeps/i386/i486/Versions: Removed.
32077
32078 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32079
32080 [BZ #2898]
32081 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32082 Based on patch by Aurelien Jarno.
32083
32084 2015-08-26 Stan Shebs <stanshebs@google.com>
32085
32086 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32087 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32088
32089 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32090
32091 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32092 * sysdeps/powerpc/dl-procinfo.c:
32093 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32094 feature so it shows when LD_SHOW_AUXV=1.
32095
32096 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32097
32098 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32099 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32100 definition. ISA 2.07B no longer requires full sync.
32101
32102 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32103
32104 [BZ #18863]
32105 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32106 (si_call_addr): Define.
32107 (si_syscall): Define.
32108 (si_arch): Define.
32109
32110 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32111
32112 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32113 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32114 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32115 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32116 (__memset_zero_constant_len_parameter): New.
32117 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32118 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32119 (__memset_zero_constant_len_parameter): Don't define if
32120 __memset_chk or USE_AS_BZERO are defined.
32121
32122 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32123 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32124 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32125
32126 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32127 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32128 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32129 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32130 comments.
32131 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32132 -mno-mmx for $(all-rtld-routines).
32133 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32134 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32135 i386.
32136
32137 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32138
32139 * sysdeps/generic/unwind.h
32140 (_Unwind_Word): Use __mode__(__unwind_word__)
32141 instead of __mode__(__word__).
32142 (_Unwind_Sword): Likewise.
32143
32144 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32145 (MAX_NEEDED_INPUT): New define.
32146 (MAX_NEEDED_OUTPUT): New define.
32147
32148 * NEWS: New item for IBM z13 string optimizations.
32149
32150 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32151 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32152 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32153 * sysdeps/s390/multiarch/Makefile
32154 (sysdep_routines): Add memrchr functions.
32155 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32156 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32157
32158 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32159 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32160 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32161 * sysdeps/s390/multiarch/Makefile
32162 (sysdep_routines): Add wmemcmp functions.
32163 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32164 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32165 * benchtests/bench-wmemcmp.c: New File.
32166 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32167
32168 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32169 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32170 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32171 * sysdeps/s390/multiarch/Makefile
32172 (sysdep_routines): Add wmemset functions.
32173 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32174 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32175 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32176 * string/test-memset.c: Add wmemset support.
32177 * wcsmbs/test-wmemset.c: New File.
32178 * wcsmbs/Makefile (strop-tests): Add wmemset.
32179 * benchtests/bench-memset.c: Add wmemset support.
32180 * benchtests/bench-wmemset.c: New File.
32181 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32182
32183 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32184 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32185 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32186 * sysdeps/s390/multiarch/Makefile
32187 (sysdep_routines): Add memccpy functions.
32188 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32189 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32190 * string/memccpy.c: Use MEMCCPY if defined.
32191
32192 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32193 * sysdeps/s390/multiarch/memchr.c: Likewise.
32194 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32195 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32196 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32197 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32198 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32199 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32200 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32201 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32202 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32203 and rawmemchr functions.
32204 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32205 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32206 and wmemchr.
32207 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32208 * string/test-memchr.c: Add wmemchr support.
32209 * wcsmbs/test-wmemchr.c: New File.
32210 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32211 * benchtests/bench-memchr.c: Add wmemchr support.
32212 * benchtests/bench-wmemchr.c: New File.
32213 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32214
32215 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32216 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32217 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32218 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32219 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32220 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32221 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32222 wcscspn functions.
32223 * sysdeps/s390/multiarch/ifunc-impl-list.c
32224 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32225 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32226 * string/test-strcspn.c: Add wcscspn support.
32227 * wcsmbs/test-wcscspn.c: New File.
32228 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32229 * benchtests/bench-strcspn.c: Add wcscspn support.
32230 * benchtests/bench-wcscspn.c: New File.
32231 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32232
32233 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32234 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32235 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32236 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32237 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32238 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32239 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32240 wcspbrk functions.
32241 * sysdeps/s390/multiarch/ifunc-impl-list.c
32242 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32243 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32244 * string/test-strpbrk.c: Add wcspbrk support.
32245 * wcsmbs/test-wcspbrk.c: New File.
32246 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32247 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32248 * benchtests/bench-wcspbrk.c: New File.
32249 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32250
32251 * sysdeps/s390/multiarch/strspn-c.c: New File.
32252 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32253 * sysdeps/s390/multiarch/strspn.c: Likewise.
32254 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32255 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32256 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32257 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32258 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32259 wcsspn functions.
32260 * sysdeps/s390/multiarch/ifunc-impl-list.c
32261 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32262 * string/test-strspn.c: Add wcsspn support.
32263 * wcsmbs/test-wcsspn.c: New File.
32264 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32265 * benchtests/bench-strspn.c: Add wcsspn support.
32266 * benchtests/bench-wcsspn.c: New File.
32267 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32268
32269 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32270 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32271 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32272 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32273 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32274 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32275 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32276 wcsrchr functions.
32277 * sysdeps/s390/multiarch/ifunc-impl-list.c
32278 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32279 * benchtests/bench-wcsrchr.c: New File.
32280 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32281
32282 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32283 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32284 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32285 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32286 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32287 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32288 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32289 wcschrnul functions.
32290 * sysdeps/s390/multiarch/ifunc-impl-list.c
32291 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32292 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32293 * string/test-strchr.c: Add wcschrnul support.
32294 * wcsmbs/test-wcschrnul.c: New File.
32295 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32296 * benchtests/bench-strchr.c: Add wcschrnul support.
32297 * benchtests/bench-wcschrnul.c: New File.
32298 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32299
32300 * sysdeps/s390/multiarch/strchr-c.c: New File.
32301 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32302 * sysdeps/s390/multiarch/strchr.c: Likewise.
32303 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32304 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32305 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32306 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32307 wcschr functions.
32308 * sysdeps/s390/multiarch/ifunc-impl-list.c
32309 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32310 * string/strchr.c (STRCHR): Define and use macro.
32311 * benchtests/bench-wcschr.c: New File.
32312 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32313
32314 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32315 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32316 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32317 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32318 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32319 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32320 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32321 wcsncmp functions.
32322 * sysdeps/s390/multiarch/ifunc-impl-list.c
32323 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32324 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32325 * benchtests/bench-strncmp.c: Add wcsncmp support.
32326 * benchtests/bench-wcsncmp.c: New File.
32327 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32328
32329 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32330 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32331 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32332 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32333 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32334 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32335 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32336 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32337 wcscmp functions.
32338 * sysdeps/s390/multiarch/ifunc-impl-list.c
32339 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32340 * string/strcmp.c (STRCMP): Define and use macro.
32341 * benchtests/bench-wcscmp.c: New File.
32342 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32343 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32344 instead of _HAVE_STRING_ARCH_memchr.
32345
32346 * sysdeps/s390/multiarch/strncat-c.c: New File.
32347 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32348 * sysdeps/s390/multiarch/strncat.c: Likewise.
32349 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32350 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32351 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32352 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32353 wcsncat functions.
32354 * sysdeps/s390/multiarch/ifunc-impl-list.c
32355 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32356 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32357 * string/test-strncat.c: Add wcsncat support.
32358 * wcsmbs/test-wcsncat.c: New File.
32359 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32360 * benchtests/bench-strncat.c: Add wcsncat support.
32361 * benchtests/bench-wcsncat.c: New File.
32362 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32363
32364 * sysdeps/s390/multiarch/strcat-c.c: New File.
32365 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32366 * sysdeps/s390/multiarch/strcat.c: Likewise.
32367 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32368 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32369 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32370 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32371 wcscat functions.
32372 * sysdeps/s390/multiarch/ifunc-impl-list.c
32373 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32374 * string/strcat.c (STRCAT): Define and use macro.
32375 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32376 * string/test-strcat.c: Add wcscat support.
32377 * wcsmbs/test-wcscat.c: New File.
32378 * wcsmbs/Makefile (strop-tests): Add wcscat.
32379 * benchtests/bench-strcat.c: Add wcscat support.
32380 * benchtests/bench-wcscat.c: New File.
32381 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32382
32383 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32384 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32385 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32386 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32387 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32388 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32389 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32390 wcpncpy functions.
32391 * sysdeps/s390/multiarch/ifunc-impl-list.c
32392 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32393 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32394 * string/test-stpncpy.c: Add wcpncpy support.
32395 * wcsmbs/test-wcpncpy.c: New File.
32396 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32397 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32398 * benchtests/bench-wcpncpy.c: New File.
32399 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32400
32401 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32402 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32403 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32404 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32405 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32406 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32407 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32408 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32409 wcsncpy functions.
32410 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32411 * sysdeps/s390/multiarch/ifunc-impl-list.c
32412 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32413 * string/test-strncpy.c: Add wcsncpy support.
32414 * wcsmbs/test-wcsncpy.c: New File.
32415 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32416 * benchtests/bench-strncpy.c: Add wcsncpy support.
32417 * benchtests/bench-wcsncpy.c: New File.
32418 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32419
32420 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32421 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32422 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32423 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32424 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32425 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32426 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32427 wcpcpy functions.
32428 * string/stpcpy.c: Use STPCPY if defined.
32429 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32430 * sysdeps/s390/multiarch/ifunc-impl-list.c
32431 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32432 * string/test-stpcpy.c: Add wcpcpy support.
32433 * wcsmbs/test-wcpcpy.c: New File.
32434 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32435 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32436 * benchtests/bench-wcpcpy.c: New File.
32437 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32438
32439 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32440 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32441 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32442 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32443 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32444 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32445 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32446 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32447 wcscpy functions.
32448 * sysdeps/s390/multiarch/ifunc-impl-list.c
32449 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32450 * benchtests/bench-wcscpy.c: New File.
32451 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32452
32453 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32454 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32455 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32456 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32457 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32458 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32459 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32460 wcsnlen functions.
32461 * sysdeps/s390/multiarch/ifunc-impl-list.c
32462 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32463 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32464 * string/test-strnlen.c: Add wcsnlen support.
32465 * wcsmbs/test-wcsnlen.c: New File.
32466 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32467 * benchtests/bench-strnlen.c: Add wcsnlen support.
32468 * benchtests/bench-wcsnlen.c: New File.
32469 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32470
32471 * sysdeps/s390/multiarch/Makefile: New File.
32472 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32473 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32474 * sysdeps/s390/multiarch/strlen.c: Likewise.
32475 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32476 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32477 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32478 * string/strlen.c (STRLEN): Define and use macro.
32479 * sysdeps/s390/multiarch/ifunc-impl-list.c
32480 (IFUNC_VX_IMPL): New macro function.
32481 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32482 * benchtests/Makefile (wcsmbs-bench): New variable.
32483 (string-bench-all): Added wcsmbs-bench.
32484 * benchtests/bench-wcslen.c: New File.
32485
32486 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32487 s390_vx_libc_ifunc2): New macro function.
32488
32489 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32490 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32491 assembler support.
32492 * sysdeps/s390/configure: Regenerated.
32493
32494 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32495 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32496
32497 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32498 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32499 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32500
32501 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32502 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32504 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32505 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32506 (memcmp, bcmp): Use __memcmp_default as alias source.
32507 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32508 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32509 Rename to __memcmp_default.
32510 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32511 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32512 (memcpy): Use __memcpy_default as alias source.
32513 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32514 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32515 Rename to __memcpy_default.
32516 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32517 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32518 (memset): Use __memset_default as alias source.
32519 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32520 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32521 Rename to __memset_default.
32522 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32523 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32525 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32526 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32527 (memcmp, bcmp): Use __memcmp_default as alias source.
32528 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32529 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32530 Rename to __memcmp_default.
32531 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32532 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32533 (memcpy): Use __memcpy_default as alias source.
32534 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32535 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32536 Rename to __memcpy_default.
32537 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32538 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32539 (memset): Use __memset_default as alias source.
32540 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32541 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32542 Rename to __memset_default.
32543 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32544 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32545
32546 [BZ #18610]
32547 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32548 __ieee_instruction_pointer to __unused.
32549 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32550 __ieee_instruction_pointer.
32551 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32552 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32553 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32554 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32555 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32556 Mark dxc-field as reserved.
32557
32558 2015-08-25 Roland McGrath <roland@hack.frob.com>
32559
32560 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32561 if the weak reference is not null.
32562
32563 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32564
32565 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32566
32567 [BZ #11214]
32568 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32569
32570 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32571
32572 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32573 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32574 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32575 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32576 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32577 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32578 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32579 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32580 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32581 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32582 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32583 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32584 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32585 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32586 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32587 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32588 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32589 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32590
32591 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32592
32593 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32594 register other than r0 for tabort, it has special meaning.
32595 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32596 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32597 transaction before starting syscall.
32598
32599 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32600
32601 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32602
32603 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32604
32605 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32606
32607 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32608 * sysdeps/x86_64/rtld-memset.S: Likewise.
32609 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32610 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32611 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32612 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32613
32614 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32615
32616 2015-08-25 Ondƙej Bílka <neleai@seznam.cz>
32617
32618 * debug/strcpy_chk.c: Improve performance.
32619 * debug/stpcpy_chk.c: Likewise.
32620 * sysdeps/x86_64/strcpy_chk.S: Remove.
32621 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32622
32623 [BZ #18240]
32624 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32625
32626 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32627
32628 [BZ #15128]
32629 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32630 ifuncmain8.
32631 (modules-names): Add ifuncmod8.
32632 ($(objpfx)ifuncmain8): New rule.
32633 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32634 <cpuid.h>.
32635 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32636 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32637 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32638 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32639 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32640 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32641 * sysdeps/x86_64/ifuncmain8.c: New file.
32642 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32643 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32644 Removed.
32645 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32646 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32647 Change rtld_savespace_sse to __glibc_unused2.
32648 (RTLD_CHECK_FOREIGN_CALL): Removed.
32649 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32650 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32651 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32652
32653 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32654
32655 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32656
32657 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32658
32659 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32660 Unconditionally set __fpcr to avoid uninialized warning.
32661 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32662
32663 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32664
32665 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32666 is corrupt.
32667
32668 * malloc/arena.c (arena_get2): Drop unused argument.
32669 (arena_lock): Adjust.
32670 (arena_get_retry): Likewise.
32671
32672 2015-08-24 Andreas Schwab <schwab@suse.de>
32673
32674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32675 Don't define.
32676 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32677 (__ASSUME_IPC64): Don't undef.
32678 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32679 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32680 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32681 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32682 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32683 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32684 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32685 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32686 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32687 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32688 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32689 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32690 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32691 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32692 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32693 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32694 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32695 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32696 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32697 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32698 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32699
32700 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32701
32702 * manual/Makefile (install): Only build manual when perl is available.
32703
32704 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32705
32706 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32707 '#undef memcpy' by '#undef memchr'.
32708
32709 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32710
32711 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32712 memchr not point to the internal __GI_memchr implementation.
32713
32714 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32715
32716 * timezone/Makefile (CFLAGS-zdump.c): Remove
32717 -Wno-strict-prototypes.
32718 (CFLAGS-zic.c): Likewise.
32719 (CFLAGS-ialloc.c): Likewise.
32720 (CFLAGS-scheck.c): Likewise.
32721
32722 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32723 -Wno-error=undef.
32724
32725 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32726
32727 * i386/i686/multiarch/strcasestr-c.c: Removed.
32728 * x86_64/multiarch/strcasestr.c: Likewise.
32729 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32730 Remove strcasestr.
32731
32732 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32733
32734 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32735
32736 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32737 variables for high and low parts before possibly modifying them.
32738
32739 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32740
32741 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32742 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32743 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32744 of "multiarch/init-arch.h".
32745 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32746 * sysdeps/x86/init-arch.h: This.
32747
32748 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32749
32750 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32751 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32752
32753 2015-08-20 Ondƙej Bílka <neleai@seznam.cz>
32754
32755 [BZ #17787]
32756 * manual/macros.texi: Add twoexp macro.
32757 * manual/filesys.texi: Fix exponents.
32758 * manual/llio.texi: Likewise.
32759 * manual/stdio.texi: Likewise.
32760
32761 2015-08-20 Florian Weimer <fweimer@redhat.com>
32762
32763 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32764 incorrect use.
32765
32766 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32767
32768 [BZ #18370]
32769 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32770 whose real or imaginary part has small absolute value.
32771 * math/s_csqrtf.c (__csqrtf): Likewise.
32772 * math/s_csqrtl.c (__csqrtl): Likewise.
32773 * math/auto-libm-test-in: Add more tests of csqrt.
32774 * math/auto-libm-test-out: Regenerated.
32775 * sysdeps/i386/fpu/libm-test-ulps: Update.
32776
32777 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32778
32779 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32780 __ppc_set_ppr_very_low): New functions.
32781 * manual/platform.texi: Add documentation about
32782 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32783
32784 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32785
32786 * string/stpncpy.c (stpncpy): Improve performance using
32787 __strnlen/memcpy/memset.
32788
32789 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32790
32791 [BZ #18796]
32792 * scripts/test-installation.pl: Don't add -lmvec to build options if
32793 libmvec wasn't built.
32794
32795 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32796
32797 [BZ #14341]
32798 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32799 case when there is a gap between DT_REL and DT_JMPREL sections.
32800 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32801 (LDFLAGS-tst-split-dynreloc): New.
32802 (tst-split-dynreloc-ENV): Likewise.
32803 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32804 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32805
32806 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 [BZ #18822]
32809 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32810 attribute_hidden.
32811 (__xstat64_conv): Likewise.
32812 (__xstat32_conv): Likewise.
32813
32814 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 [BZ #18822]
32817 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32818 Don't load %ebx when calling __setcontext. Call __setcontext
32819 with HIDDEN_JUMPTARGET.
32820 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32821 libc_hidden_def.
32822
32823 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 * sysdeps/i386/i686/Makefile
32826 [$(subdir) == string] (sysdep_routines): Moved to ...
32827 * sysdeps/i386/Makefile: Here.
32828 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32829 * sysdeps/i386/cacheinfo.c: Here.
32830 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32831 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32832 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32833 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32834
32835 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32838 __i586__ is defined.
32839 (HAS_I686): Defined to 1 if __i686__ is defined.
32840
32841 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32842
32843 * elf/Makefile [$(have-z-execstack) = yes]
32844 (CPPFLAGS-tst-execstack.c): New variable.
32845
32846 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32847 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32848 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32849 UTMPX || _HAVE_UT_TV].
32850 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32851 UTMPX || _HAVE_UT_TV - 0].
32852
32853 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32854
32855 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32856 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32857 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32858
32859 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32860
32861 * sysdeps/powerpc/dl-procinfo.c:
32862 (_dl_powerpc_cap_flags): Added missing strings for some
32863 hwcap features.
32864 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32865
32866 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32867
32868 Port the 0x7efe...feff pattern to GCC 6.
32869 See Steve Ellcey's bug report in:
32870 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32871 * string/memrchr.c (MEMRCHR):
32872 * string/rawmemchr.c (RAWMEMCHR):
32873 * string/strchr.c (strchr):
32874 * string/strchrnul.c (STRCHRNUL):
32875 Rewrite code to avoid issues with signed shift overflow.
32876
32877 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32880 whether cpuid is available only if HAS_CPUID is 0.
32881 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32882 (HAS_I586): Likewise.
32883 (HAS_I686): Likewise.
32884
32885 2015-08-18 Zack Weinberg <zackw@panix.com>
32886
32887 * misc/Versions (libc): Add GLIBC_2.23.
32888
32889 2015-08-18 Alan Modra <amodra@gmail.com>
32890
32891 [BZ #18421]
32892 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32893 .Lp__global.
32894 (_start): Load %dp via .Lp__global.
32895 [!SHARED]: Use .section .rodata.
32896
32897 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32898
32899 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32900 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32901
32902 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32903
32904 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32905 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32906
32907 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32908
32909 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32910 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32911
32912 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32913
32914 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32915 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32916
32917 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32918
32919 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32920 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32921
32922 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32923
32924 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32925 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32926
32927 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32928
32929 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32930
32931 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32932
32933 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32934 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32935 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32936 (__ASSUME_LWS_CAS): Delete.
32937
32938 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32939
32940 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32941 * sysdeps/hppa/configure: Regenerated.
32942 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32943 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32944 * sysdeps/hppa/nptl/tls.h: Likewise.
32945
32946 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32947
32948 [BZ #18823]
32949 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32950 for scaling up small arguments.
32951 * math/s_csqrtf.c (__csqrtf): Likewise.
32952 * math/s_csqrtl.c (__csqrtl): Likewise.
32953 * math/auto-libm-test-in: Add more tests of csqrt.
32954 * math/auto-libm-test-out: Regenerated.
32955
32956 2015-08-17 Andreas Schwab <schwab@suse.de>
32957
32958 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32959 version set GLIBC_2.19.
32960
32961 2015-08-16 Zack Weinberg <zackw@panix.com>
32962
32963 [BZ #18681]
32964 * misc/regexp.h: This interface is no longer supported.
32965 Remove all contents, leaving only an #error directive.
32966 * misc/regexp.c (loc1, loc2, locs, step, advance):
32967 Demote to compatibility symbols.
32968
32969 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32970
32971 [BZ #18084]
32972 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32973 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32974 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32975 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32976 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32977 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32978 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32979 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32980 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32981
32982 2015-08-15 Zack Weinberg <zackw@panix.com>
32983
32984 [BZ #18795]
32985 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32986 buffer length is known to be too large, not if it's known to be
32987 small enough.
32988 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32989 overflow at runtime, involving a length parameter, twice: once
32990 with a compile-time constant length parameter, once without.
32991
32992 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32993
32994 [BZ #18824]
32995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32996 scaling x * y up instead of down.
32997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32999 * math/auto-libm-test-in: Add more tests of fma.
33000 * math/auto-libm-test-out: Regenerated.
33001
33002 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33003
33004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33005
33006 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33007
33008 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33009 unnecessary movq.
33010 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33011 Likewise.
33012
33013 2015-08-13 Joseph Myers <joseph@codesourcery.com>
33014
33015 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33016 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33017 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33018 and tgamma.
33019 * math/auto-libm-test-out: Regenerated.
33020 * sysdeps/i386/fpu/libm-test-ulps: Update.
33021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33022
33023 [BZ #16520]
33024 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33025 (__tanh): Force underflow exception for arguments with small
33026 absolute value.
33027 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33028 (__tanhf): Force underflow exception for arguments with small
33029 absolute value.
33030 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33031 (__tanhl): Force underflow exception for arguments with small
33032 absolute value.
33033 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33034 (__tanhl): Force underflow exception for arguments with small
33035 absolute value.
33036 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33037 (__tanhl): Force underflow exception for arguments with small
33038 absolute value.
33039 * math/auto-libm-test-in: Add more tests of tanh.
33040 * math/auto-libm-test-out: Regenerated.
33041 * sysdeps/i386/fpu/libm-test-ulps: Update.
33042
33043 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33046 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33047
33048 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33049
33050 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33051 <cpuid.h>.
33052
33053 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33054
33055 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33056 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33057
33058 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33059
33060 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33061 Remove $(objpfx)init-arch.o.
33062 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33063 init-arch.
33064 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33065 (INIT_ARCH_EXT): Defined as empty.
33066 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33068 __init_cpu_features call. Replace HAS_XXX with
33069 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33079 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33080 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33083 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33102 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33103 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33104 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33105
33106 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33107
33108 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33109 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33110 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33111 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33113 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33114 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33115 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33116 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33117 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33118 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33119 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33120 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33121 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33123 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33124 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33125 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33126 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33127 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33128 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33129 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33130 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33131 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33132 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33133 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33135 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33136 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33138 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33139 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33140 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33141 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33142 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33143 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33144 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33145 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33146 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33147 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33148 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33149 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33150 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33151
33152 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33153
33154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33155 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33157 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33158 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33161 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33162 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33165 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33166 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33167 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33169 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33170 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33171 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33172 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33173 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33175 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33176 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33177 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33178 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33179 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33180 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33181 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33182 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33183 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33184 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33185 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33186 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33187 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33188 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33189 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33190 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33191 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33192 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33193 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33194 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33195 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33196 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33197
33198 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33199
33200 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33201 (dl_platform_init): Call init_cpu_features.
33202 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33203 * sysdeps/i386/i686/cacheinfo.c
33204 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33205 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33206 * sysdeps/i386/i686/multiarch/Versions: Removed.
33207 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33208 Removed.
33209 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33210 * sysdeps/unix/sysv/linux/x86/Makefile
33211 (libpthread-sysdep_routines): Remove init-arch.
33212 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33213 <sysdeps/x86_64/dl-procinfo.c> instead of
33214 sysdeps/generic/dl-procinfo.c>.
33215 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33216 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33217 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33218 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33219 [$(subdir) == elf] (tests-static): Add
33220 tst-get-cpu-features-static.
33221 * sysdeps/x86/Versions: New file.
33222 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33223 * sysdeps/x86/cpu-features.c: Likewise.
33224 * sysdeps/x86/cpu-features.h: Likewise.
33225 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33226 * sysdeps/x86/libc-start.c: Likewise.
33227 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33228 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33229 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33230 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33231 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33232 Assume USE_MULTIARCH is defined and don't check it.
33233 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33234 (is_amd): Likewise.
33235 (max_cpuid): Likewise.
33236 (intel_check_word): Likewise.
33237 (__cache_sysconf): Don't call __init_cpu_features.
33238 (__x86_preferred_memory_instruction): Removed.
33239 (init_cacheinfo): Don't call __init_cpu_features. Replace
33240 __cpu_features with GLRO(dl_x86_cpu_features).
33241 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33242 (dl_platform_init): Call init_cpu_features.
33243 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33244 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33245 * sysdeps/x86_64/multiarch/Versions: Removed.
33246 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33247 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33248 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33249 Removed.
33250 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33251
33252 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33253
33254 [BZ #18820]
33255 * libio/Makefile (test-fmemopen-mem): New test.
33256 * libio/test-fmemopen.c (do_bz18820): New test.
33257 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33258 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33259
33260 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33261
33262 [BZ #16734]
33263 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33264 (FREE_BUF): Delete.
33265 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33266 * libio/genops.c (_IO_setb): Use malloc and free directly.
33267 (_IO_default_doallocate, _IO_default_finish): Likewise.
33268 ( _IO_unbuffer_all): Likewise.
33269 ( libc_freeres_fn): Likewise.
33270 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33271 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33272 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33273 (_IO_wdefault_doallocate): Likewise.
33274
33275 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33276
33277 [BZ #18086]
33278 * sysdeps/posix/nice.c (nice): Restore old errno.
33279 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33280
33281 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33282
33283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33284
33285 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33286
33287 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33288 __bcopy and add a weak_alias to bcopy.
33289 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33290 for static build.
33291
33292 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33293 cleanup macro usage.
33294 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33295 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33297 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33299 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33300 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33301 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33302 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33303 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33305 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33307 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33308 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33310 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33312 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33313
33314 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33315 libc_hidden_def.
33316 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33317
33318 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33319 (sysdep_routines): Add strstr-ppc64.
33320 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33321
33322 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33323
33324 [BZ #18778]
33325 * elf/Makefile (tests): Add Add tst-nodelete2.
33326 (modules-names): Add tst-nodelete2mod.
33327 (tst-nodelete2mod.so-no-z-defs): New.
33328 ($(objpfx)tst-nodelete2): Likewise.
33329 ($(objpfx)tst-nodelete2.out): Likewise.
33330 (LDFLAGS-tst-nodelete2): Likewise.
33331 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33332 out of loop through all loaded libraries.
33333 * elf/tst-nodelete2.c: New file.
33334 * elf/tst-nodelete2mod.c: Likewise.
33335 * elf/tst-znodelete-zlib.cc: Delete.
33336
33337 2015-08-11 Andreas Schwab <schwab@suse.de>
33338
33339 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33340 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33341 (__openat64_nocancel): Likewise.
33342
33343 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33344
33345 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33346 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33347 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33348 * math/auto-libm-test-out: Regenerated.
33349 * sysdeps/i386/fpu/libm-test-ulps: Update.
33350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351
33352 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33353
33354 [BZ #18790]
33355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33356 threshold for returning +/- 1.
33357 * math/auto-libm-test-in: Add more tests of tanh.
33358 * math/auto-libm-test-out: Regenerated.
33359 * sysdeps/i386/fpu/libm-test-ulps: Update.
33360
33361 2015-08-10 Andreas Schwab <schwab@suse.de>
33362
33363 [BZ #18781]
33364 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33365 MORE_OFLAGS to oflag.
33366 * io/test-lfs.c (do_test): Test openat64.
33367
33368 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33369
33370 [BZ #18789]
33371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33372 smaller threshold for returning the argument.
33373 * math/auto-libm-test-in: Add more tests of sinh.
33374 * math/auto-libm-test-out: Regenerated.
33375 * sysdeps/i386/fpu/libm-test-ulps: Update.
33376
33377 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 [BZ #18674]
33380 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33381 break.
33382
33383 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33384
33385 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33386 (generated): Don't add $(addprefix z.,$(tzfiles)).
33387
33388 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33389
33390 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33391 * scripts/sysd-rules.awk: Likewise.
33392
33393 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33394
33395 * iconvdata/tst-tables.sh: Change echo -n to printf.
33396 * nss/db-Makefile: Likewise.
33397 * posix/tst-getconf.sh: Likewise.
33398 * stdio-common/tst-unbputc.sh: Likewise.
33399
33400 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33401
33402 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33403 MADV_*_PAGES defines behind this feature check.
33404
33405 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33406
33407 [BZ #18480]
33408 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33409 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33410 Define.
33411 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33412 LOAD_REGS_5, LOAD_REGS_6): Update.
33413 (INTERNAL_SYSCALL): Update using new LOAD defines.
33414 (INTERNAL_SYSCALL_NCS): Likewise.
33415 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33416
33417 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33418
33419 [BZ #16734]
33420 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33421
33422 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33423
33424 [BZ #17905]
33425 * catgets/Makefile (tst-catgets-mem): New test.
33426 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33427 * catgets/open_catalog.c (__open_catalog): Likewise.
33428 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33429
33430 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33431
33432 [BZ #18787]
33433 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33434 clobber registers.
33435 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33436 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33437 Cast return to __typeof (oldval).
33438
33439 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33440
33441 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33442 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33443 and delete sys/syscall.h include.
33444
33445 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33446
33447 [BZ #16517]
33448 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33449 (tan): Force underflow exception for arguments with small absolute
33450 value.
33451 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33452 (__kernel_tanf): Force underflow exception for arguments with
33453 small absolute value.
33454 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33455 (__kernel_tanl): Force underflow exception for arguments with
33456 small absolute value.
33457 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33458 (__kernel_tanl): Force underflow exception for arguments with
33459 small absolute value.
33460 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33461 (__kernel_tanl): Force underflow exception for arguments with
33462 small absolute value.
33463 * math/auto-libm-test-in: Add more tests of tan.
33464 * math/auto-libm-test-out: Regenerated.
33465
33466 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33467
33468 Fix sysdeps/i386/fpu/s_scalbn.S build
33469
33470 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33471
33472 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33473
33474 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33475
33476 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33477
33478 Fix gcrt0.o compilation
33479
33480 When static-start-installed-name is different from
33481 start-installed-name, we must not use the shared objects.
33482
33483 * csu/Makefile
33484 (extra-objs): Add gmon-start.o when building shared library and
33485 $(static-start-installed-name) is different from
33486 $(start-installed-name).
33487 $(objpfx)g$(static-start-installed-name): When building shared
33488 library and $(static-start-installed-name) is different from
33489 $(static-start-installed-name), revert to non-shared rule,
33490 i.e. using $(objpfx)% and gmon-start.o.
33491
33492 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33493
33494 [BZ #16519]
33495 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33496 (__ieee754_sinh): Force underflow exception for arguments with
33497 small absolute value.
33498 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33499 (__ieee754_sinhf): Force underflow exception for arguments with
33500 small absolute value.
33501 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33502 (__ieee754_sinhl): Force underflow exception for arguments with
33503 small absolute value.
33504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33505 (__ieee754_sinhl): Force underflow exception for arguments with
33506 small absolute value.
33507 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33508 (__ieee754_sinhl): Force underflow exception for arguments with
33509 small absolute value.
33510 * math/auto-libm-test-in: Add more tests of sinh.
33511 * math/auto-libm-test-out: Regenerated.
33512 * sysdeps/i386/fpu/libm-test-ulps: Update.
33513
33514 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33515
33516 * libio/oldfileops.c: Include unistd.h.
33517
33518 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33519
33520 * stdlib/isomac.c: Include ctype.h.
33521
33522 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33523
33524 * dirent/tst-seekdir.c (main): Converted to ...
33525 (do_test): ... this.
33526 (TEST_FUNCTION): New macro.
33527 Include test-skeleton.c.
33528 * elf/tst-dlmodcount.c (main): Converted to ...
33529 (do_test): ... this.
33530 (TEST_FUNCTION): New macro.
33531 Include test-skeleton.c.
33532 * elf/tst-order-main.c (main): Converted to ...
33533 (do_test): ... this.
33534 (TEST_FUNCTION): New macro.
33535 Include test-skeleton.c.
33536 * elf/tst-pie2.c (main): Converted to ...
33537 (do_test): ... this.
33538 (TEST_FUNCTION): New macro.
33539 Include test-skeleton.c.
33540 * inet/tst-ether_aton.c (main): Converted to ...
33541 (do_test): ... this.
33542 (TEST_FUNCTION): New macro.
33543 Include test-skeleton.c.
33544 * misc/tst-mntent.c (main): Converted to ...
33545 (do_test): ... this.
33546 (TEST_FUNCTION): New macro.
33547 Include test-skeleton.c.
33548 * misc/tst-tsearch.c (main): Converted to ...
33549 (do_test): ... this.
33550 (TEST_FUNCTION): New macro.
33551 Include test-skeleton.c.
33552 * posix/tst-regexloc.c (main): Converted to ...
33553 (do_test): ... this.
33554 (TEST_FUNCTION): New macro.
33555 Include test-skeleton.c.
33556 * resolv/tst-aton.c (main): Converted to ...
33557 (do_test): ... this.
33558 (TEST_FUNCTION): New macro.
33559 Include test-skeleton.c.
33560 * stdio-common/test-fwrite.c (main): Converted to ...
33561 (do_test): ... this.
33562 (TEST_FUNCTION): New macro.
33563 Include test-skeleton.c.
33564 * stdio-common/tst-ferror.c (main): Converted to ...
33565 (do_test): ... this.
33566 (TEST_FUNCTION): New macro.
33567 Include test-skeleton.c.
33568 * stdio-common/tst-printf.c (main): Converted to ...
33569 (do_test): ... this.
33570 (TEST_FUNCTION): New macro.
33571 Include test-skeleton.c.
33572 * stdio-common/tst-printfsz.c (main): Converted to ...
33573 (do_test): ... this.
33574 (TEST_FUNCTION): New macro.
33575 Include test-skeleton.c.
33576 * stdlib/tst-strtod.c (main): Converted to ...
33577 (do_test): ... this.
33578 (TEST_FUNCTION): New macro.
33579 Include test-skeleton.c.
33580 * string/tst-strlen.c (main): Converted to ...
33581 (do_test): ... this.
33582 (TEST_FUNCTION): New macro.
33583 Include test-skeleton.c.
33584 * string/tst-svc.c (main): Converted to ...
33585 (do_test): ... this.
33586 (TEST_FUNCTION): New macro.
33587 Include test-skeleton.c.
33588 * time/tst-strptime.c (main): Converted to ...
33589 (do_test): ... this.
33590 (TEST_FUNCTION): New macro.
33591 Include test-skeleton.c.
33592 * timezone/tst-timezone.c (main): Converted to ...
33593 (do_test): ... this.
33594 (TEST_FUNCTION): New macro.
33595 Include test-skeleton.c.
33596
33597 2015-08-05 Zack Weinberg <zackw@panix.com>
33598
33599 * misc/regexp.h: Update comments.
33600
33601 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33602
33603 [BZ #18635]
33604 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33605 before return label.
33606
33607 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33608
33609 [BZ #18661]
33610 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33611 when calling __errno_location.
33612 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33613 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33614
33615 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33616
33617 [BZ #18661]
33618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33619 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33620 __gettimeofday.
33621
33622 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33623
33624 [BZ #18661]
33625 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33626 (__start_context): Don't use pop to restore %rdi so that stack
33627 is aligned to 16 bytes when calling __setcontext.
33628
33629 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33630
33631 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33632 only for libc.
33633 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33634
33635 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33636
33637 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33638 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33639 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33640
33641 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33642
33643 * string/memccpy.c (memccpy):
33644 Improve performance by using memchr/memcpy/__mempcpy.
33645
33646 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33647
33648 * string/strncpy.c (strncpy):
33649 Improve performance by using __strnlen/memcpy.
33650
33651 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33652
33653 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33654 Optimize to avoid an unnecessary FPCR read.
33655
33656 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33657
33658 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33659 Optimize to reduce FPCR/FPSR accesses.
33660
33661 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33662
33663 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33664 dead->data[category] != NULL.
33665
33666 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33667
33668 [BZ #18647]
33669 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33670 and |x| close to 1, use absolute value of x when computing log.
33671 * math/auto-libm-test-in: Add more tests of pow.
33672 * math/auto-libm-test-out: Regenerated.
33673
33674 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33675
33676 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33677 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33678 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33679
33680 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33681
33682 [BZ #18525]
33683 * locales/km_KH: Remove timezone definition.
33684 * locales/lo_LA: Likewise.
33685 * locales/my_MM: Likewise.
33686 * locales/nan_TW@latin: Likewise.
33687 * locales/th_TH: Likewise.
33688 * locales/uk_UA: Likewise.
33689
33690 2015-08-05 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
33691
33692 [BZ #18265]
33693 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33694 (wcsncat): Likewise.
33695 (wcscmp): Likewise.
33696 (wcsncmp): Likewise.
33697
33698 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33699
33700 * test-skeleton.c (usage): New function.
33701 (main): Call usage when opt is '?'.
33702
33703 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33704
33705 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33706 before first use.
33707
33708 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33709
33710 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33711 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33712 in there too.
33713
33714 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33715
33716 * version.h (RELEASE): Set to "development".
33717 (VERSION): Set to "2.22.90"
33718
33719 * version.h (RELEASE): Set to "stable".
33720 (VERSION): Set to "2.22"
33721 * include/features.h (__GLIBC_MINOR__): Set to 22.
33722
33723 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33724
33725 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33726 Restructure macro to avoid "value computed is not used" warning.
33727 (atomic_compare_and_exchange_val_acq): Likewise.
33728
33729 2015-08-04 Andreas Schwab <schwab@suse.de>
33730
33731 [BZ #18635]
33732 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33733 ret.
33734 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33735
33736 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33737
33738 * po/pl.po: Updated translation.
33739 * po/uk.po: Likewise.
33740 * po/fi.po: Likewise.
33741 * po/ko.po: Likewise.
33742 * po/ru.po: Likewise.
33743 * po/vi.po: Likewise.
33744
33745 2015-07-31 Zack Weinberg <zackw@panix.com>
33746
33747 [BZ #18681]
33748 * regexp.h: Add unconditional #warning stating that this header
33749 will be removed soon. Revise banner comment to match.
33750 (compile): Consistently use ERROR instead of RETURN to report
33751 errors (partial fix for BZ #18681).
33752 * regexp.c: Don't include regexp.h. Remove some unnecessary
33753 declarations.
33754
33755 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33756
33757 * po/libc.pot: Regenerated.
33758
33759 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33760
33761 [BZ #18740]
33762 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33763 float-vlen4-arch-ext-cflags): Removed.
33764 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33765 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33766
33767 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33768
33769 [BZ #14113]
33770 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33771 aligned to __aligned__.
33772 (pthread_cond_t, pthread_rwlock_t): Likewise.
33773
33774 2015-07-30 Torvald Riegel <triegel@redhat.com>
33775
33776 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33777
33778 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33779
33780 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33781 (struct sigaction): Change sa_flags from a long to an int, and add
33782 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33783
33784 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33785
33786 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33787 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33788 sysdeps/generic/sysdep.h include.
33789 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33790 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33791 sysdeps/hppa/sysdep.h.
33792 (ENTRY, PSEUDO): Undefine before defining.
33793
33794 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33795
33796 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33797 from scratch to use INTERNAL_SYSCALL.
33798
33799 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33800
33801 [BZ #18078]
33802 * scripts/check-localplt.awk: Support alternate relocations.
33803 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33804 sections.
33805 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33806 malloc entries with + REL R_386_GLOB_DAT.
33807 * sysdeps/x86_64/localplt.data: New file.
33808
33809 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33810
33811 [BZ #18731]
33812 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33813 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33814 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33815
33816 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33817
33818 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33819
33820 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33821
33822 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33823 directly in terms of __sync_fetch_and_add and delete (int) cast.
33824
33825 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33826
33827 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33828 the -D_ASM_IA64_CURRENT_H flag.
33829
33830 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33831
33832 [BZ #18641]
33833 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33834
33835 2015-07-27 Andreas Schwab <schwab@suse.de>
33836
33837 * conform/conformtest.pl (checknamespace): Filter out string
33838 literals while tokenizing.
33839
33840 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33841
33842 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33843 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33844 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33845
33846 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33847
33848 * nptl/tst-join7mod.c: Add #include <string.h>.
33849
33850 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33851
33852 * sysdeps/nios2/libm-test-ulps: Update.
33853
33854 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33855
33856 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33857 Fix order of arguments to the rt_sigprocmask syscall.
33858 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33859 Likewise.
33860
33861 2015-07-24 Roland McGrath <roland@hack.frob.com>
33862
33863 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33864
33865 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33866
33867 [BZ #18457]
33868 * nptl/Makefile (tests): New test case tst-join7.
33869 (modules-names): New test case module tst-join7mod.
33870 * nptl/tst-join7.c: New file.
33871 * nptl/tst-join7mod.c: New file.
33872 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33873 all translation units in libc.so, libpthread.so and rtld.
33874
33875 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33876
33877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33878
33879 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33880
33881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33882 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33883 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33884 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33885 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33886 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33887 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33888 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33889 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33890 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33891 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33892 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33893 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33894 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33895 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33896 implementation.
33897
33898 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33899
33900 [BZ #17711]
33901 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33902 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33903 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33904 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33905 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33906 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33907
33908 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33909
33910 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33911 instead of just saying load lock in the comments.
33912
33913 2015-07-23 Roland McGrath <roland@hack.frob.com>
33914
33915 * sysdeps/unix/Subdirs: Moved ...
33916 * sysdeps/posix/Subdirs: ... here.
33917 * login/pty.h (struct termios, struct winsize): Add forward decls.
33918 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33919 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33920 * sysdeps/arm/nacl/libc.abilist: Updated.
33921 * sysdeps/nacl/libutil.abilist: New file.
33922
33923 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33924 (SIGWINCH): New macro.
33925
33926 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33927 * sysdeps/arm/nacl/libc.abilist: Add it.
33928
33929 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33930
33931 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33932
33933 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33934
33935 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33936 Swap __glibc_reserved0 and sa_flags order.
33937
33938 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33939
33940 [BZ #18657]
33941 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33942 are pending TLS destructor calls.
33943 * include/link.h (struct link_map): Add concurrency note for
33944 L_TLS_DTOR_COUNT.
33945 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33946 Don't touch the link map flag. Atomically increment
33947 l_tls_dtor_count.
33948 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33949 Avoid taking the load lock and don't touch the link map flag.
33950 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33951 * stdlib/Makefile (tests): Use it.
33952 * stdlib/tst-tls-atexit.c (do_test): dlopen
33953 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33954 to allow tst-tls-atexit-nodelete test case to use it.
33955
33956 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33957
33958 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33959 to bits/types.h.
33960 (msgqnum_t): New typedef.
33961 (msglen_t): Likewise.
33962 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33963 and msg_qbytes type to msglen_t.
33964
33965 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33966
33967 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33968 pad0 to __glibc_reserved0.
33969 (struct stat64): Likewise.
33970
33971 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33972
33973 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33974 Change sa_flags from a long to an int and add __glibc_reserved0 before
33975 it for padding.
33976
33977 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33978
33979 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33980 anonymous by deleting "siginfo" name.
33981
33982 2015-07-21 Roland McGrath <roland@hack.frob.com>
33983
33984 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33985 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33986 rather than __nacl_irt_filename.
33987 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33988
33989 * NEWS: New item for arm-nacl port.
33990 * sysdeps/arm/nacl/libc.abilist: New file.
33991 * sysdeps/nacl/ld.abilist: New file.
33992 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33993 * sysdeps/nacl/libanl.abilist: New file.
33994 * sysdeps/nacl/libcrypt.abilist: New file.
33995 * sysdeps/nacl/libdl.abilist: New file.
33996 * sysdeps/nacl/libm.abilist: New file.
33997 * sysdeps/nacl/libpthread.abilist: New file.
33998 * sysdeps/nacl/libresolv.abilist: New file.
33999 * sysdeps/nacl/librt.abilist: New file.
34000
34001 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34002
34003 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34004 __startcontext to initialize the new context.
34005 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34006 up CFI directive to forbid further backtracing.
34007
34008 2015-07-21 Marko Myllynen <myllynen@redhat.com>
34009
34010 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34011 reference.
34012 * charmaps/ANSI_X3.4-1968: Likewise.
34013 * charmaps/BS_4730: Likewise.
34014 * charmaps/BS_VIEWDATA: Likewise.
34015 * charmaps/CP1250: Likewise.
34016 * charmaps/CP1251: Likewise.
34017 * charmaps/CP1252: Likewise.
34018 * charmaps/CP1253: Likewise.
34019 * charmaps/CP1254: Likewise.
34020 * charmaps/CP1255: Likewise.
34021 * charmaps/CP1256: Likewise.
34022 * charmaps/CSN_369103: Likewise.
34023 * charmaps/EBCDIC-DK-NO: Likewise.
34024 * charmaps/GB_1988-80: Likewise.
34025 * charmaps/GREEK-CCITT: Likewise.
34026 * charmaps/GREEK7: Likewise.
34027 * charmaps/INIS-8: Likewise.
34028 * charmaps/ISIRI-3342: Likewise.
34029 * charmaps/ISO_2033-1983: Likewise.
34030 * charmaps/ISO_5427-EXT: Likewise.
34031 * locales/POSIX: Likewise.
34032 * locales/ar_SA: Likewise.
34033 * locales/be_BY: Likewise.
34034 * locales/be_BY@latin: Likewise.
34035 * locales/ca_ES: Likewise.
34036 * locales/cs_CZ: Likewise.
34037 * locales/da_DK: Likewise.
34038 * locales/de_BE: Likewise.
34039 * locales/de_CH: Likewise.
34040 * locales/de_LU: Likewise.
34041 * locales/en_AU: Likewise.
34042 * locales/en_BW: Likewise.
34043 * locales/en_CA: Likewise.
34044 * locales/en_DK: Likewise.
34045 * locales/en_GB: Likewise.
34046 * locales/en_IE: Likewise.
34047 * locales/en_NZ: Likewise.
34048 * locales/en_ZA: Likewise.
34049 * locales/en_ZW: Likewise.
34050 * locales/es_AR: Likewise.
34051 * locales/es_BO: Likewise.
34052 * locales/es_CL: Likewise.
34053 * locales/es_CO: Likewise.
34054 * locales/es_DO: Likewise.
34055 * locales/es_EC: Likewise.
34056 * locales/es_ES: Likewise.
34057 * locales/es_HN: Likewise.
34058 * locales/es_MX: Likewise.
34059 * locales/es_PA: Likewise.
34060 * locales/es_PE: Likewise.
34061 * locales/es_PY: Likewise.
34062 * locales/es_SV: Likewise.
34063 * locales/es_US: Likewise.
34064 * locales/es_UY: Likewise.
34065 * locales/es_VE: Likewise.
34066 * locales/et_EE: Likewise.
34067 * locales/fa_IR: Likewise.
34068 * locales/fo_FO: Likewise.
34069 * locales/fr_CA: Likewise.
34070 * locales/fr_CH: Likewise.
34071 * locales/gv_GB: Likewise.
34072 * locales/he_IL: Likewise.
34073 * locales/hr_HR: Likewise.
34074 * locales/id_ID: Likewise.
34075 * locales/is_IS: Likewise.
34076 * locales/it_CH: Likewise.
34077 * locales/iw_IL: Likewise.
34078 * locales/kl_GL: Likewise.
34079 * locales/ko_KR: Likewise.
34080 * locales/kw_GB: Likewise.
34081 * locales/lg_UG: Likewise.
34082 * locales/lt_LT: Likewise.
34083 * locales/lv_LV: Likewise.
34084 * locales/mi_NZ: Likewise.
34085 * locales/nhn_MX: Likewise.
34086 * locales/nl_BE: Likewise.
34087 * locales/pl_PL: Likewise.
34088 * locales/sk_SK: Likewise.
34089 * locales/sl_SI: Likewise.
34090 * locales/sv_FI: Likewise.
34091 * locales/tl_PH: Likewise.
34092 * locales/tr_TR: Likewise.
34093 * locales/vi_VN: Likewise.
34094
34095 2015-07-21 Khem Raj <raj.khem@gmail.com>
34096
34097 [BZ #17475]
34098 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34099 of tu_IN and bh_IN.
34100
34101 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34102
34103 [BZ #18694]
34104 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34105 bits/wordsize.h.
34106 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34107
34108 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34109
34110 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34111 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34112 (spawn_thread): New function.
34113 (load): Rename to reg_dtor_and_close. Move dlopen to...
34114 (do_test): ... here. Use IS_LOADED to test for its
34115 availability.
34116
34117 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34118
34119 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34120
34121 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34122
34123 [BZ #18696]
34124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34125 si_addr_bnd.
34126 (si_lower): New.
34127 (si_upper): Likewise.
34128
34129 2015-07-16 David S. Miller <davem@davemloft.net>
34130
34131 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34132
34133 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34134
34135 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34136 buffer.
34137 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34138 fail output information.
34139
34140 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34141
34142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34143 and strstr-ppc64..
34144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34145 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34146 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34147 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34148 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34149
34150 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34151
34152 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34153 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34154 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34155 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34156
34157 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34158
34159 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34160 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34161 rtld_hidden_proto.
34162 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34163
34164 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34165
34166 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34167 the test can fail.
34168
34169 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34170
34171 [BZ #18676]
34172 * elf/tst-nodelete-opened.c: New test case.
34173 * elf/tst-nodelete-opened-lib.c: New test case module.
34174 * elf/Makefile (tests, modules-names): Use them.
34175 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34176 early.
34177
34178 2015-07-15 David S. Miller <davem@davemloft.net>
34179
34180 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34181 futex-intenal.h
34182 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34183 * sysdeps/sparc/sparc64/Makefile: Likewise.
34184 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34185 Remove space from macro define.
34186 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34187
34188 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34189
34190 [BZ #17475]
34191 * locale/iso-639.def: Update Bhili and Tulu language codes as
34192 per iso639-3.
34193
34194 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34195
34196 * elf/tst-leaks1.c (main): Converted to ...
34197 (do_test): ... this.
34198 (TEST_FUNCTION): New macro.
34199 Include test-skeleton.c.
34200 * localedata/tst-langinfo.c (main): Converted to ...
34201 (do_test): ... this.
34202 (TEST_FUNCTION): New macro.
34203 Include test-skeleton.c.
34204 * math/test-fpucw.c (main): Converted to ...
34205 (do_test): ... this.
34206 (TEST_FUNCTION): New macro.
34207 Include test-skeleton.c.
34208 * math/test-tgmath.c (main): Converted to ...
34209 (do_test): ... this.
34210 (TEST_FUNCTION): New macro.
34211 Include test-skeleton.c.
34212 * math/test-tgmath2.c (main): Converted to ...
34213 (do_test): ... this.
34214 (TEST_FUNCTION): New macro.
34215 Include test-skeleton.c.
34216 * setjmp/tst-setjmp.c (main): Converted to ...
34217 (do_test): ... this.
34218 (TEST_FUNCTION): New macro.
34219 Include test-skeleton.c.
34220 * stdio-common/tst-sscanf.c (main): Converted to ...
34221 (do_test): ... this.
34222 (TEST_FUNCTION): New macro.
34223 Include test-skeleton.c.
34224 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34225 (do_test): ... this.
34226 (TEST_FUNCTION): New macro.
34227 Include test-skeleton.c.
34228
34229 * elf/tst-audit9.c (main): Converted to ...
34230 (do_test): ... this.
34231 (TEST_FUNCTION): New macro.
34232 Include test-skeleton.c.
34233
34234 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34235
34236 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34237
34238 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34239
34240 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34241 New variable.
34242
34243 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34244
34245 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34246
34247 2015-07-14 Roland McGrath <roland@hack.frob.com>
34248
34249 * sysdeps/generic/dl-fileid.h: New file.
34250 * sysdeps/posix/dl-fileid.h: New file.
34251 * sysdeps/nacl/dl-fileid.h: New file.
34252 * include/link.h: Include <dl-fileid.h>.
34253 (struct link_map): Replace l_dev and l_ino with l_file_id.
34254 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34255 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34256 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34257
34258 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34259
34260 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34261
34262 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34263
34264 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34265 Add iff $CXX is set.
34266 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34267 Likewise.
34268 (tst-nodelete-zmodiff): Likewise.
34269 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34270
34271 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34272
34273 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34274
34275 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34276
34277 * sysdeps/aarch64/fpu/math_private.h
34278 (define math_opt_barrier): Add AArch64 version.
34279 (math_force_eval): Likewise.
34280
34281 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34282
34283 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34284
34285 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34286
34287 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34288 %ld with %jd and cast to intmax_t.
34289 (do_test_length_zero): Likewise.
34290
34291 2015-07-10 Roland McGrath <roland@hack.frob.com>
34292
34293 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34294
34295 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34296
34297 * sysdeps/tile/libm-test-ulps: Regenerated.
34298
34299 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34300 Comment out the whole function, not just its body.
34301
34302 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34303
34304 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34305 locks.
34306
34307 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34308
34309 2015-07-10 Torvald Riegel <triegel@redhat.com>
34310
34311 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34312 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34313
34314 2015-07-10 Torvald Riegel <triegel@redhat.com>
34315
34316 * sysdeps/nptl/futex-internal.h: New file.
34317 * sysdeps/nacl/futex-internal.h: New file.
34318 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34319 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34320 error checking.
34321 (setxid_unmark_thread): Likewise.
34322 (__nptl_setxid): Likewise.
34323 (__wait_lookup_done): Likewise.
34324 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34325 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34326 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34327 * nptl/pthread_once.c (clear_once_control): Likewise.
34328 (__pthread_once_slow): Likewise.
34329 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34330 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34331 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34332 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34333 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34334 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34335 Likewise.
34336 (__pthread_rwlock_rdlock): Likewise.
34337 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34338 Likewise.
34339 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34340 Likewise.
34341 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34342 Likewise.
34343 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34344 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34345 Likewise.
34346 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34347 __ASSUME_PRIVATE_FUTEX check.
34348 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34349 Check that shared futexes are supported.
34350 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34351 wrappers with error checking.
34352 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34353 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34354 * nptl/pthread_barrierattr_setpshared.c
34355 (pthread_barrierattr_setpshared): Check that shared futexes are
34356 supported.
34357 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34358 Likewise.
34359 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34360 Likewise.
34361 * nptl/sem_init.c (futex_private_if_supported): Remove.
34362 (__new_sem_init): Adapt and check that shared futexes are supported.
34363 * nptl/sem_open.c (sem_open): Likewise.
34364 * nptl/sem_post.c (futex_wake): Remove.
34365 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34366 (do_futex_wait): Use futex wrappers with error checking.
34367 * nptl/sem_wait.c: Include lowlevellock.h.
34368 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34369 Use futex_supports_pshared.
34370 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34371 Use futex wrappers with error checking.
34372 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34373 Likewise.
34374 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34375 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34376 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34377 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34378 (futex_wake): Likewise.
34379 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34380 (do_futex_wait): Use futex wrappers with error checking.
34381 (__new_sem_wait_slow): Update EINTR handling.
34382 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34383
34384 2015-07-09 Martin Sebor <msebor@redhat.com>
34385
34386 [BZ #18435]
34387 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34388 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34389 * nptl/Makefile (test-xfail-tst-once5): Define.
34390
34391 2015-07-09 Roland McGrath <roland@hack.frob.com>
34392
34393 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34394 * elf/dl-minimal.c: For readability, reorder some definitions and
34395 introduce more page breaks. Include <stdio.h>.
34396 (__libc_fatal): New function.
34397
34398 * include/unistd.h: Add rtld_hidden_proto for _exit.
34399 * posix/_exit.c: Add rtld_hidden_def.
34400 * sysdeps/mach/hurd/_exit.c: Likewise.
34401 * sysdeps/nacl/_exit.c: Likewise.
34402 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34403 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34404
34405 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34406
34407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34408 bndmov encoding with zero displacement.
34409
34410 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34411 H.J. Lu <hongjiu.lu@intel.com>
34412
34413 [BZ #18134]
34414 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34415 * sysdeps/i386/configure: Regenerated.
34416 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34417 (_dl_runtime_profile): Save and restore Intel MPX return bound
34418 registers when calling _dl_call_pltexit. Add
34419 PRESERVE_BND_REGS_PREFIX before return.
34420 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34421 (LRV_BND1_OFFSET): Likewise.
34422 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34423 lrv_bnd1.
34424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34425 typo in bndmov encoding.
34426 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34427 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34428 branch instructions to preserve bounds.
34429
34430 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34431
34432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34433 [GLIBC_2.22]: Add fmemopen.
34434
34435 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34436
34437 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34438 returns an error, also try to use host port from __mach_host_self for
34439 the __vm_wire call.
34440 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34441
34442 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34443
34444 [BZ #18400]
34445 [BZ #18648]
34446 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34447 Fix pr_uid and pr_gid members.
34448 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34449 definition to elf_greg_t.
34450
34451 2015-07-08 Roland McGrath <roland@hack.frob.com>
34452
34453 [BZ #18383]
34454 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34455 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34456 * sysdeps/arm/configure: Regenerated.
34457 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34458 (test-xfail-tst-tlsalign-static): Variable removed.
34459
34460 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34461 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34462 rather than explicit 'ln -s'.
34463
34464 * resolv/rpc/netdb.h: New file.
34465 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34466
34467 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34468
34469 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34470 length buffers.
34471 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34472 test-skeleton.c.
34473
34474 [BZ #6544]
34475 [BZ #11216]
34476 [BZ #12836]
34477 [BZ #13151]
34478 [BZ #13152]
34479 [BZ #14292]
34480 * include/stdio.h (fmemopen): Remove hidden prototype.
34481 (__fmemopen): Add new hidden prototype.
34482 * libio/Makefile: Add oldfmemopen object.
34483 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34484 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34485 compliance.
34486 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34487 symbol compatibility.
34488 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34489 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34490 fmemopen.
34491 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34492 on append and read mode.
34493 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34494 fmemopen.
34495 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34496 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34497 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34498 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34499 Likewise.
34500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34501 [GLIBC_2.22]: Likewise.
34502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34503 Likewise.
34504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34505 Likewise.
34506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34507 [GLIBC_2.22]: Likewise.
34508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34509 [GLIBC_2.22]: Likewise.
34510 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34511 [GLIBC_2.22]: Likewise.
34512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34513 [GLIBC_2.22]: Likewise.
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34515 [GLIBC_2.22]: Likewise.
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34517 [GLIBC_2.22]: Likewise.
34518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34519 [GLIBC_2.22]: Likewise.
34520 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34521 Likewise.
34522 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34523 Likewise.
34524 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34525 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34526 [GLIBC_2.22]: Likewise.
34527 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34528 [GLIBC_2.22]: Likewise.
34529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34530 [GLIBC_2.22]: Likewise.
34531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34532 [GLIBC_2.22]: Likewise.
34533 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34534 Likewise.
34535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34536 Likewise.
34537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34538 Likewise.
34539 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34540 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34541
34542 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34543
34544 [BZ #18643]
34545 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34546 IPV6_PATHMTU, and IPV6_DONTFRAG.
34547
34548 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34549
34550 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34551 and _IO_UNBUFFERED.
34552 * libio/oldfileops.c: Likewise.
34553 * libio/wfileops.c: Likewise.
34554
34555 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34556
34557 * nscd/selinux.c: Delete selinux/flask.h include.
34558
34559 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34560
34561 [BZ #18641]
34562 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34563 (putpwent): Likewise.
34564 (getpwnam): Likewise.
34565 (getpwent_r): Likewise.
34566 (getpwuid_r): Likewise.
34567 (getpwnam_r): Likewise.
34568 (fgetpwent_r): Likewise.
34569
34570 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34571
34572 [BZ #18557]
34573 * inet/rcmd.c (__validuser2_sa): Check user first to
34574 short-circuit host check.
34575
34576 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34577 Mikhail Ilin <m.ilin@samsung.com>
34578
34579 [BZ #17833]
34580 * elf/Makefile (tests): Add tst-nodelete.
34581 (modules-names): Add tst-nodelete-uniquemod.
34582 (tst-nodelete-uniquemod.so-no-z-defs): New.
34583 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34584 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34585 ($(objpfx)tst-nodelete): Likewise.
34586 ($(objpfx)tst-nodelete.out): Likewise.
34587 (LDFLAGS-tst-nodelete): Likewise.
34588 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34589 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34590 implement forced object deletion.
34591 (_dl_close): Pass false to _dl_close_worker.
34592 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34593 * elf/tst-nodelete.cc: New file.
34594 * elf/tst-nodeletelib.cc: Likewise.
34595 * elf/tst-znodeletelib.cc: Likewise.
34596 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34597
34598 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34599
34600 [BZ #18508]
34601 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34602 Depend on $(libdl).
34603 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34604 is not called infinitely times.
34605 (backtrace_helper): New function.
34606 (trace_arg): New struct.
34607 (st1): Enlarge stack size.
34608 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34609 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34610 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34611 Likewise.
34612
34613 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34614
34615 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34616
34617 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34618
34619 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34620 Include sys/types.h instead of bits/types.h.
34621 Remove inclusion of bits/wordsize.h.
34622
34623 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34624
34625 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34626 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34627 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34628 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34629 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34630 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34631
34632 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34633
34634 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34635 link-defines.sym.
34636 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34637 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34638 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34639 and LR_SIZE.
34640 * sysdeps/i386/link-defines.sym: New file.
34641
34642 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34643
34644 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34645 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34646 ($(objpfx)tst-audit3): New rule.
34647 ($(objpfx)tst-audit3.out): Likewise.
34648 * sysdeps/i386/tst-audit3.c: New file.
34649 * sysdeps/i386/tst-audit3.h: Likewise.
34650 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34651 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34652
34653 2015-07-07 Torvald Riegel <triegel@redhat.com>
34654
34655 [BZ #18633]
34656 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34657 pointer in C code.
34658 (__strcat_c): Likewise.
34659 (__strcat_g): Likewise.
34660
34661 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34662
34663 [BZ #18592]
34664 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34665
34666 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34667
34668 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34669 New function. (__ieee754_sqrtf): New function.
34670 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34671 New function.
34672 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34673 New function.
34674
34675 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34676
34677 * sysdeps/ieee754/support.c: Remove unused file.
34678
34679 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34680
34681 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34682 registers instead of d ones so the layout is kernel abi compatible.
34683 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34684 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34685 Likewise.
34686
34687 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34688
34689 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34690
34691 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34692
34693 [BZ #18619]
34694 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34695 and return argument in case of subnormal argument.
34696
34697 2015-07-01 Martin Sebor <msebor@redhat.com>
34698
34699 [BZ #18435]
34700 * nptl/Makefile: Add tst-once5.cc.
34701 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34702 Remove macro redefinitions.
34703 * nptl/tst-once5.cc: New test.
34704
34705 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34706
34707 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34708
34709 * sysdeps/arm/libm-test-ulps: Regenerated.
34710
34711 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34712 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34713
34714 2015-06-30 Torvald Riegel <triegel@redhat.com>
34715
34716 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34717 lll_lock_wait_private and lll_futex_wake probes.
34718
34719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34721 Likewise.
34722 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34723 atomic_spin_nop.
34724 * sysdeps/x86_64/bits/atomic.h: Likewise.
34725 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34726 to atomic_spin_nop and move ...
34727 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34728 ... here and ...
34729 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34730 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34731 atomic_spin_nop instead of BUSY_WAIT_NOP.
34732 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34733 Likewise.
34734 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34735 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34736 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34737 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34738 instead of atomic_delay.
34739
34740 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34741
34742 [BZ #18613]
34743 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34744 X_ADJ not X when adjusting exponent.
34745 (__ieee754_gamma_r): Do intermediate computations in
34746 round-to-nearest then adjust overflowing and underflowing results
34747 as needed.
34748 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34749 of X_ADJ not X when adjusting exponent.
34750 (__ieee754_gammaf_r): Do intermediate computations in
34751 round-to-nearest then adjust overflowing and underflowing results
34752 as needed.
34753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34754 log of X_ADJ not X when adjusting exponent.
34755 (__ieee754_gammal_r): Do intermediate computations in
34756 round-to-nearest then adjust overflowing and underflowing results
34757 as needed. Use 1.0L not 1.0f as numerator of division.
34758 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34759 log of X_ADJ not X when adjusting exponent.
34760 (__ieee754_gammal_r): Do intermediate computations in
34761 round-to-nearest then adjust overflowing and underflowing results
34762 as needed. Use 1.0L not 1.0f as numerator of division.
34763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34764 of X_ADJ not X when adjusting exponent.
34765 (__ieee754_gammal_r): Do intermediate computations in
34766 round-to-nearest then adjust overflowing and underflowing results
34767 as needed. Use 1.0L not 1.0f as numerator of division.
34768 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34769 to auto-libm-test-in.
34770 (tgamma_test): Use ALL_RM_TEST.
34771 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34772 tests of tgamma with spurious-overflow.
34773 * math/auto-libm-test-out: Regenerated.
34774 * math/gen-libm-have-vector-test.sh: Do not check for START.
34775 * sysdeps/i386/fpu/libm-test-ulps: Update.
34776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34777
34778 [BZ #18612]
34779 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34780 arguments, just return 0.5 times the argument, with underflow
34781 forced as needed.
34782 * math/auto-libm-test-in: Add more tests of j1.
34783 * math/auto-libm-test-out: Regenerated.
34784
34785 [BZ #16559]
34786 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34787 (__ieee754_j1): Force underflow exception for small results.
34788 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34789 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34790 (__ieee754_j1f): Force underflow exception for small results.
34791 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34792 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34794 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34795 (__ieee754_j1l): Force underflow exception for small results.
34796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34797 * math/auto-libm-test-in: Add more tests of j1 and jn.
34798 * math/auto-libm-test-out: Regenerated.
34799
34800 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34801 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34802 (PF_MPLS): Likewise.
34803 (AF_IB): Likewise.
34804 (AF_MPLS): Likewise.
34805 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34806 value and macro.
34807 (MS_RMT_MASK): Include MS_LAZYTIME.
34808
34809 2015-06-26 Mel Gorman <mgorman@suse.de>
34810
34811 [BZ #18502]
34812 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34813 already minimal.
34814
34815 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34816
34817 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34818 (DT_MIPS_NUM): Update.
34819 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34820 DT_MIPS_RLD_MAP_REL.
34821
34822 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34823
34824 [BZ #16559]
34825 [BZ #18602]
34826 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34827 round-to-nearest internally then recompute results that
34828 underflowed to zero in the original rounding mode.
34829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34830 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34832 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34833 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34834 * sysdeps/i386/fpu/libm-test-ulps: Update.
34835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34836
34837 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34838
34839 * NEWS: Fixed description of link with vector math library.
34840
34841 2015-06-25 Andreas Schwab <schwab@suse.de>
34842
34843 [BZ #18549]
34844 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34845 * libio/test-fmemopen.c (do_test): Add test for it.
34846
34847 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34848
34849 [BZ #17841]
34850 * Makeconfig (no-pie-ldflag): New.
34851 (+link): Set to $(+link-pie) if default to PIE.
34852 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34853 * config.make.in (build-pie-default): New.
34854 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34855 is default. AC_SUBST.
34856 * configure: Regenerated.
34857 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34858
34859 2015-06-24 Roland McGrath <roland@hack.frob.com>
34860
34861 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34862 to 'unsigned int'.
34863
34864 * resolv/gai_misc.h (struct waitlist): Change type of field
34865 counterp to 'volatile unsigned int *'.
34866 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34867 FUTEXADDR and OLDVAL.
34868 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34869 Give local variable TOTAL type 'volatile unsigned int'.
34870 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34871 * resolv/gai_suspend.c (gai_suspend):
34872 Give local variable CNTR type 'unsigned int'.
34873
34874 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34875 counterp to 'volatile unsigned int *'.
34876 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34877 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34878 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34879 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34880 Give local variable TOTAL type 'volatile unsigned int'.
34881 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34882
34883 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34884
34885 [BZ #18383]
34886 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34887 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34888 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34889 comment for i386/x86-64.
34890 (test-xfail-tst-tlsalign-extern-static): Removed.
34891
34892 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34893
34894 * math/test-double.h: New file.
34895 * math/test-float.h: Likewise.
34896 * math/test-ldouble.h: Likewise.
34897 * math/test-math-inline.h: Likewise.
34898 * math/test-math-no-inline.h: Likewise.
34899 * math/test-math-scalar.h: Likewise.
34900 * math/test-math-vector.h: Likewise.
34901 * math/test-vec-loop.h: Remove file. Contents moved into
34902 test-math-vector.h.
34903 * math/libm-test.inc (MATHCONST): Do not document macro.
34904 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34905 and test-math-scalar.h.
34906 (FUNC): Remove macro.
34907 (FUNC_TEST): Likewise.
34908 (FLOAT): Likewise.
34909 (MATHCONST): Likewise.
34910 (PRINTF_EXPR): Likewise.
34911 (PRINTF_XEXPR): Likewise.
34912 (PRINTF_NEXPR): Likewise.
34913 (TEST_DOUBLE): Likewise.
34914 (TEST_MATHVEC): Likewise.
34915 (__NO_MATH_INLINES): Likewise.
34916 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34917 and test-math-scalar.h.
34918 (FUNC): Remove macro.
34919 (FUNC_TEST): Likewise.
34920 (FLOAT): Likewise.
34921 (MATHCONST): Likewise.
34922 (PRINTF_EXPR): Likewise.
34923 (PRINTF_XEXPR): Likewise.
34924 (PRINTF_NEXPR): Likewise.
34925 (TEST_FLOAT): Likewise.
34926 (TEST_MATHVEC): Likewise.
34927 (__NO_MATH_INLINES): Likewise.
34928 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34929 and test-math-scalar.h.
34930 (FUNC): Remove macro.
34931 (FUNC_TEST): Likewise.
34932 (FLOAT): Likewise.
34933 (MATHCONST): Likewise.
34934 (PRINTF_EXPR): Likewise.
34935 (PRINTF_XEXPR): Likewise.
34936 (PRINTF_NEXPR): Likewise.
34937 (TEST_DOUBLE): Likewise.
34938 (TEST_MATHVEC): Likewise.
34939 (TEST_INLINE): Likewise.
34940 (__NO_MATH_INLINES): Likewise.
34941 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34942 test-math-scalar.h.
34943 (FUNC): Remove macro.
34944 (FUNC_TEST): Likewise.
34945 (FLOAT): Likewise.
34946 (MATHCONST): Likewise.
34947 (PRINTF_EXPR): Likewise.
34948 (PRINTF_XEXPR): Likewise.
34949 (PRINTF_NEXPR): Likewise.
34950 (TEST_FLOAT): Likewise.
34951 (TEST_MATHVEC): Likewise.
34952 (TEST_INLINE): Likewise.
34953 (__NO_MATH_INLINES): Likewise.
34954 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34955 and test-math-scalar.h.
34956 (FUNC): Remove macro.
34957 (FUNC_TEST): Likewise.
34958 (FLOAT): Likewise.
34959 (MATHCONST): Likewise.
34960 (PRINTF_EXPR): Likewise.
34961 (PRINTF_XEXPR): Likewise.
34962 (PRINTF_NEXPR): Likewise.
34963 (TEST_LDOUBLE): Likewise.
34964 (TEST_MATHVEC): Likewise.
34965 (TEST_INLINE): Likewise.
34966 (__NO_MATH_INLINES): Likewise.
34967 * math/test-ldouble.c: Include test-ldouble.h,
34968 test-math-no-inline.h and test-math-scalar.h.
34969 (FUNC): Remove macro.
34970 (FUNC_TEST): Likewise.
34971 (FLOAT): Likewise.
34972 (MATHCONST): Likewise.
34973 (PRINTF_EXPR): Likewise.
34974 (PRINTF_XEXPR): Likewise.
34975 (PRINTF_NEXPR): Likewise.
34976 (TEST_LDOUBLE): Likewise.
34977 (TEST_MATHVEC): Likewise.
34978 (__NO_MATH_INLINES): Likewise.
34979 * math/test-double-vlen2.h: Include test-double.h,
34980 test-math-no-inline.h and test-math-vector.h.
34981 (FLOAT): Remove macro.
34982 (FUNC): Likewise.
34983 (MATHCONST): Likewise.
34984 (PRINTF_EXPR): Likewise.
34985 (PRINTF_XEXPR): Likewise.
34986 (PRINTF_NEXPR): Likewise.
34987 (TEST_DOUBLE): Likewise.
34988 (TEST_MATHVEC): Likewise.
34989 (__NO_MATH_INLINES): Likewise.
34990 (CNCT): Likewise.
34991 (CONCAT): Likewise.
34992 (WRAPPER_NAME): Likewise.
34993 (WRAPPER_DECL): Likewise.
34994 (WRAPPER_DECL_ff): Likewise.
34995 (WRAPPER_DECL_fFF): Likewise.
34996 (VECTOR_WRAPPER): Likewise.
34997 (VECTOR_WRAPPER_ff): Likewise.
34998 (VECTOR_WRAPPER_fFF): Likewise.
34999 (VEC_LEN): New macro.
35000 * math/test-double-vlen4.h: Include test-double.h,
35001 test-math-no-inline.h and test-math-vector.h.
35002 (FLOAT): Remove macro.
35003 (FUNC): Likewise.
35004 (MATHCONST): Likewise.
35005 (PRINTF_EXPR): Likewise.
35006 (PRINTF_XEXPR): Likewise.
35007 (PRINTF_NEXPR): Likewise.
35008 (TEST_DOUBLE): Likewise.
35009 (TEST_MATHVEC): Likewise.
35010 (__NO_MATH_INLINES): Likewise.
35011 (CNCT): Likewise.
35012 (CONCAT): Likewise.
35013 (WRAPPER_NAME): Likewise.
35014 (WRAPPER_DECL): Likewise.
35015 (WRAPPER_DECL_ff): Likewise.
35016 (WRAPPER_DECL_fFF): Likewise.
35017 (VECTOR_WRAPPER): Likewise.
35018 (VECTOR_WRAPPER_ff): Likewise.
35019 (VECTOR_WRAPPER_fFF): Likewise.
35020 (VEC_LEN): New macro.
35021 * math/test-double-vlen8.h: Include test-double.h,
35022 test-math-no-inline.h and test-math-vector.h.
35023 (FLOAT): Remove macro.
35024 (FUNC): Likewise.
35025 (MATHCONST): Likewise.
35026 (PRINTF_EXPR): Likewise.
35027 (PRINTF_XEXPR): Likewise.
35028 (PRINTF_NEXPR): Likewise.
35029 (TEST_DOUBLE): Likewise.
35030 (TEST_MATHVEC): Likewise.
35031 (__NO_MATH_INLINES): Likewise.
35032 (CNCT): Likewise.
35033 (CONCAT): Likewise.
35034 (WRAPPER_NAME): Likewise.
35035 (WRAPPER_DECL): Likewise.
35036 (WRAPPER_DECL_ff): Likewise.
35037 (WRAPPER_DECL_fFF): Likewise.
35038 (VECTOR_WRAPPER): Likewise.
35039 (VECTOR_WRAPPER_ff): Likewise.
35040 (VECTOR_WRAPPER_fFF): Likewise.
35041 (VEC_LEN): New macro.
35042 * math/test-float-vlen4.h: Include test-float.h,
35043 test-math-no-inline.h and test-math-vector.h.
35044 (FLOAT): Remove macro.
35045 (FUNC): Likewise.
35046 (MATHCONST): Likewise.
35047 (PRINTF_EXPR): Likewise.
35048 (PRINTF_XEXPR): Likewise.
35049 (PRINTF_NEXPR): Likewise.
35050 (TEST_FLOAT): Likewise.
35051 (TEST_MATHVEC): Likewise.
35052 (__NO_MATH_INLINES): Likewise.
35053 (CNCT): Likewise.
35054 (CONCAT): Likewise.
35055 (WRAPPER_NAME): Likewise.
35056 (WRAPPER_DECL): Likewise.
35057 (WRAPPER_DECL_ff): Likewise.
35058 (WRAPPER_DECL_fFF): Likewise.
35059 (VECTOR_WRAPPER): Likewise.
35060 (VECTOR_WRAPPER_ff): Likewise.
35061 (VECTOR_WRAPPER_fFF): Likewise.
35062 (VEC_LEN): New macro.
35063 * math/test-float-vlen8.h: Include test-float.h,
35064 test-math-no-inline.h and test-math-vector.h.
35065 (FLOAT): Remove macro.
35066 (FUNC): Likewise.
35067 (MATHCONST): Likewise.
35068 (PRINTF_EXPR): Likewise.
35069 (PRINTF_XEXPR): Likewise.
35070 (PRINTF_NEXPR): Likewise.
35071 (TEST_FLOAT): Likewise.
35072 (TEST_MATHVEC): Likewise.
35073 (__NO_MATH_INLINES): Likewise.
35074 (CNCT): Likewise.
35075 (CONCAT): Likewise.
35076 (WRAPPER_NAME): Likewise.
35077 (WRAPPER_DECL): Likewise.
35078 (WRAPPER_DECL_ff): Likewise.
35079 (WRAPPER_DECL_fFF): Likewise.
35080 (VECTOR_WRAPPER): Likewise.
35081 (VECTOR_WRAPPER_ff): Likewise.
35082 (VECTOR_WRAPPER_fFF): Likewise.
35083 (VEC_LEN): New macro.
35084 * math/test-float-vlen16.h: Include test-float.h,
35085 test-math-no-inline.h and test-math-vector.h.
35086 (FLOAT): Remove macro.
35087 (FUNC): Likewise.
35088 (MATHCONST): Likewise.
35089 (PRINTF_EXPR): Likewise.
35090 (PRINTF_XEXPR): Likewise.
35091 (PRINTF_NEXPR): Likewise.
35092 (TEST_FLOAT): Likewise.
35093 (TEST_MATHVEC): Likewise.
35094 (__NO_MATH_INLINES): Likewise.
35095 (CNCT): Likewise.
35096 (CONCAT): Likewise.
35097 (WRAPPER_NAME): Likewise.
35098 (WRAPPER_DECL): Likewise.
35099 (WRAPPER_DECL_ff): Likewise.
35100 (WRAPPER_DECL_fFF): Likewise.
35101 (VECTOR_WRAPPER): Likewise.
35102 (VECTOR_WRAPPER_ff): Likewise.
35103 (VECTOR_WRAPPER_fFF): Likewise.
35104 (VEC_LEN): New macro.
35105 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35106 test-vec-loop.h.
35107 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35108 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35109 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35110 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35111 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35112 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35113 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35114
35115 2015-06-24 Roland McGrath <roland@hack.frob.com>
35116
35117 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35118 (__getlogin_r): ... this.
35119
35120 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35121
35122 [BZ #18594]
35123 * math/s_ccosh.c (__ccosh): Compare with least normal value
35124 instead of comparing class with FP_SUBNORMAL.
35125 * math/s_ccoshf.c (__ccoshf): Likewise.
35126 * math/s_ccoshl.c (__ccoshl): Likewise.
35127 * math/s_cexp.c (__cexp): Likewise.
35128 * math/s_cexpf.c (__cexpf): Likewise.
35129 * math/s_cexpl.c (__cexpl): Likewise.
35130 * math/s_csin.c (__csin): Likewise.
35131 * math/s_csinf.c (__csinf): Likewise.
35132 * math/s_csinh.c (__csinh): Likewise.
35133 * math/s_csinhf.c (__csinhf): Likewise.
35134 * math/s_csinhl.c (__csinhl): Likewise.
35135 * math/s_csinl.c (__csinl): Likewise.
35136 * math/s_ctan.c (__ctan): Likewise.
35137 * math/s_ctanf.c (__ctanf): Likewise.
35138 * math/s_ctanh.c (__ctanh): Likewise.
35139 * math/s_ctanhf.c (__ctanhf): Likewise.
35140 * math/s_ctanhl.c (__ctanhl): Likewise.
35141 * math/s_ctanl.c (__ctanl): Likewise.
35142 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35143 csin, csinh, ctan and ctanh.
35144 * math/auto-libm-test-out: Regenerated.
35145 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35146 * sysdeps/i386/fpu/libm-test-ulps: Update.
35147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35148
35149 2015-06-24 Roland McGrath <roland@hack.frob.com>
35150
35151 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35152 return value is wrong, print the expected value too.
35153
35154 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35155
35156 [BZ #18585]
35157 * elf/readlib.c (is_gdb_python_file): New.
35158 (process_file): Don't issue errors on filenames with -gdb.py
35159 suffix.
35160
35161 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35162
35163 * math/auto-libm-test-in: Add more tests of csin and csinh.
35164 * math/auto-libm-test-out: Regenerated.
35165 * math/libm-test.inc (csin_test_data): Remove tests moved to
35166 auto-libm-test-in.
35167 (csinh_test_data): Likewise.
35168
35169 [BZ #18593]
35170 * math/s_csin.c (__csin): Negate before rather than after possibly
35171 overflowing multiplication.
35172 * math/s_csinf.c (__csinf): Likewise.
35173 * math/s_csinh.c (__csinh): Likewise.
35174 * math/s_csinhf.c (__csinhf): Likewise.
35175 * math/s_csinhl.c (__csinhl): Likewise.
35176 * math/s_csinl.c (__csinl): Likewise.
35177 * math/auto-libm-test-in: Add some tests of csin and csinh.
35178 * math/auto-libm-test-out: Regenerated.
35179 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35180 (csinh_test_data): Likewise.
35181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35182
35183 [BZ #18586]
35184 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35185 underflow exception for small results.
35186
35187 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35188
35189 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35191 variable and included header.
35192 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35193 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35194 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35195 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35196 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35197 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35198 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35199 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35200 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35201 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35202 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35203 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35204 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35205 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35206 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35207 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35208
35209 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35210
35211 [BZ #16526]
35212 [BZ #16538]
35213 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35214 (__sin): Force underflow exception for arguments with small
35215 absolute value.
35216 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35217 (__kernel_sinf): Force underflow exception for arguments with
35218 small absolute value.
35219 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35220 (__kernel_sincosl): Force underflow exception for arguments with
35221 small absolute value.
35222 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35223 (__kernel_sinl): Force underflow exception for arguments with
35224 small absolute value.
35225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35226 (__kernel_sincosl): Force underflow exception for arguments with
35227 small absolute value.
35228 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35229 (__kernel_sinl): Force underflow exception for arguments with
35230 small absolute value.
35231 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35232 (__kernel_sinl): Force underflow exception for arguments with
35233 small absolute value.
35234 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35235 (__kernel_sinf): Force underflow exception for arguments with
35236 small absolute value.
35237 * math/auto-libm-test-in: Add more tests of sin and sincos.
35238 * math/auto-libm-test-out: Regenerated.
35239
35240 [BZ #18245]
35241 [BZ #18583]
35242 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35243 (__kernel_standard_l): Use feholdexcept and fesetenv around
35244 conversion to double instead of special-casing overflow and
35245 underflow.
35246 * math/libm-test.inc (fmod_test_data): Add more tests.
35247 (remainder_test_data): Likewise.
35248 (sqrt_test_data): Likewise.
35249
35250 2015-06-23 Torvald Riegel <triegel@redhat.com>
35251
35252 [BZ #17403]
35253 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35254 atomic_read_barrier, atomic_write_barrier): Define.
35255 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35256 atomic_read_barrier, atomic_write_barrier): Define.
35257
35258 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35259
35260 * math/Makefile [$(PERL) != no]
35261 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35262 dependency on libm-test.stmp below the inclusion of Rules.
35263
35264 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35265
35266 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35267 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35268 and included header.
35269 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35271 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35272 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35273 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35274 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35277 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35278 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35279 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35280 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35281 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35282 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35283 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35284 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35285 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35286 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35287 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35288
35289 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35290
35291 [BZ #18371]
35292 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35293 intermediate but not final result might underflow.
35294 * math/s_csqrtf.c (__csqrtf): Likewise.
35295 * math/s_csqrtl.c (__csqrtl): Likewise.
35296 * math/auto-libm-test-in: Add more tests of csqrt.
35297 * math/auto-libm-test-out: Regenerated.
35298 * sysdeps/i386/fpu/libm-test-ulps: Update.
35299
35300 [BZ #18219]
35301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35302 threshold on absolute value of exponent for which scaling is used.
35303 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35304 * math/auto-libm-test-in: Add more tests of exp2.
35305 * math/auto-libm-test-out: Regenerated.
35306
35307 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35308
35309 [BZ #17977]
35310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35311 when initializing interface list, based on the bug analysis
35312 and the patch proposed by Eric Newton.
35313 * resolv/tst-res_hconf_reorder.c: New test.
35314 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35315 tst-res_hconf_reorder.
35316 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35317 and $(shared-thread-library).
35318 (tst-res_hconf_reorder-ENV): New variable.
35319
35320 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35321 in comment.
35322
35323 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35324
35325 [BZ #16353]
35326 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35327 (__expm1): Force underflow exception for arguments with small
35328 absolute value.
35329 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35330 (__expm1f): Force underflow exception for arguments with small
35331 absolute value.
35332 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35333 (__expm1): Force underflow exception for arguments with small
35334 absolute value.
35335 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35336 (__expm1f): Force underflow exception for arguments with small
35337 absolute value.
35338 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35339 Check for small arguments before calling __expm1.
35340 * math/auto-libm-test-in: Do not mark underflow exceptions as
35341 possibly missing for bug 16353.
35342 * math/auto-libm-test-out: Regenerated.
35343
35344 2015-06-22 Andreas Schwab <schwab@suse.de>
35345
35346 [BZ #18513]
35347 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35348 PTR queries.
35349
35350 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35351
35352 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35353
35354 * string/strcoll_l.c: Remove unused struct element idxnow.
35355
35356 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35357
35358 [BZ #18569]
35359 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35360 underflow and return argument in case of subnormal argument.
35361 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35362 Likewise.
35363 * math/auto-libm-test-in: Add more tests of expm1.
35364 * math/auto-libm-test-out: Regenerated.
35365
35366 [BZ #16361]
35367 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35368 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35369 tiny results.
35370 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35371 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35372 tiny results.
35373 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35374 mark underflow exceptions as possibly missing for bug 16361.
35375 * math/auto-libm-test-out: Regenerated.
35376
35377 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35378
35379 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35380 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35381 Remove variable.
35382 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35383 (test-xfail-XOPEN2K8/utmpx.h/conform).
35384
35385 * conform/conformtest.pl ($xerrors): New variable.
35386 (note_error): New function.
35387 (compiletest): New argument $xfail. Use not_error.
35388 (runtest): Likewise.
35389 (top level): Handle xfail- lines. Update calls to compiletest and
35390 runtest. Handle xfail- and optional- in headers listed with
35391 allow-header.
35392 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35393 (O_EXEC): Likewise.
35394 (O_SEARCH): Likewise.
35395 * conform/data/stropts.h-data (ioctl): Likewise.
35396 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35397 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35398 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35399 (msghdr.msg_controllen): Likewise.
35400 (cmsghdr.cmsg_len): Likewise.
35401 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35402 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35403 variable.
35404 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35405 (test-xfail-XPG4/stropts.h/conform): Likewise.
35406 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35407 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35408 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35409 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35410 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35411 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35412 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35413 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35414 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35415 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35416 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35417 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35418 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35419 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35420 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35421 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35422 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35423 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35424 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35425
35426 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35427
35428 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35429 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35430 definitions for proper unfolding of __MATHDECL_VEC.
35431
35432 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35433
35434 * benchtests/bench-strcoll.c:
35435 Include string.h.
35436 (main): Remove unused variable res.
35437
35438 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35439
35440 * timezone/Makefile (%/UTC %/Universal):
35441 Generate test-result files for UTC and Universal.
35442
35443 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35444
35445 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35446
35447 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35448
35449 [BZ #16350]
35450 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35451 for arguments with small absolute value.
35452 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35453 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35454 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35455 (__asinh): Force underflow exception for arguments with small
35456 absolute value.
35457 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35458 (__asinhf): Force underflow exception for arguments with small
35459 absolute value.
35460 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35461 (__asinhl): Force underflow exception for arguments with small
35462 absolute value.
35463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35464 (__asinhl): Force underflow exception for arguments with small
35465 absolute value.
35466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35467 (__asinhl): Force underflow exception for arguments with small
35468 absolute value.
35469 * math/auto-libm-test-in: Do not mark underflow exceptions as
35470 possibly missing for bug 16350.
35471 * math/auto-libm-test-out: Regenerated.
35472
35473 * include/bits/ipc.h: Remove file.
35474 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35475 variable.
35476 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35477 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35478 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35479 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35480 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35481 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35482 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35483 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35484 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35485
35486 * math/auto-libm-test-in: Remove spurious underflow allowance for
35487 tests of cexp.
35488 * math/auto-libm-test-out: Regenerated.
35489
35490 [BZ #18558]
35491 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35492 unconditional definition.
35493 (MCAST_BLOCK_SOURCE): Likewise.
35494 (MCAST_UNBLOCK_SOURCE): Likewise.
35495 (MCAST_LEAVE_GROUP): Likewise.
35496 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35497 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35498 (MCAST_MSFILTER): Likewise.
35499 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35500 Remove variable.
35501 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35502 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35503 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35504 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35505 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35506
35507 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35508
35509 * NEWS: Mention addition of x86_64 vector sincosf.
35510 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35511 * math/test-float-vlen4.h: Likewise.
35512 * math/test-float-vlen8.h: Likewise.
35513 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35514 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35515 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35516 * sysdeps/x86_64/fpu/Versions: New versions added.
35517 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35518 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35519 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35520 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35521 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35522 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35526 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35527 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35528 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35529 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35530 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35531 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35532 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35533 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35534 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35535 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35536 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35537 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35538 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35539 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35540 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35541
35542 * NEWS: Mention addition of x86_64 vector sincos.
35543 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35544 * math/math.h (__MATHDECL_VEC): New macro.
35545 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35546 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35547 declaration under condition.
35548 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35549 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35550 TEST_VEC_LOOP change.
35551 * math/test-double-vlen4.h: Likewise.
35552 * math/test-double-vlen8.h: Likewise.
35553 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35554 * math/test-float-vlen4.h: Likewise.
35555 * math/test-float-vlen8.h: Likewise.
35556 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35557 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35558 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35559 * sysdeps/x86_64/fpu/Versions: New versions added.
35560 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35561 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35562 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35569 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35570 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35571 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35572 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35573 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35574 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35575 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35576 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35577 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35578 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35579 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35580 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35581 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35582 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35583 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35584
35585 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35586 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35587 redirections for powf.
35588 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35589 * sysdeps/x86_64/fpu/Versions: New versions added.
35590 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35591 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35592 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35593 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35594 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35595 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35596 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35598 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35599 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35600 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35601 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35602 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35603 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35604 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35605 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35606 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35607 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35608 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35609 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35610 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35611 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35612 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35613 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35614 * math/test-float-vlen16.h: Fixed 2 argument macro.
35615 * math/test-float-vlen4.h: Likewise.
35616 * math/test-float-vlen8.h: Likewise.
35617 * NEWS: Mention addition of x86_64 vector powf.
35618
35619 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35620
35621 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35622 and redefine.
35623 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35624 and redefine.
35625 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35628
35629 [BZ #18553]
35630 * resource/getpriority.c (getpriority): Rename to __getpriority
35631 and define as weak alias of __getpriority.
35632 * resource/setpriority.c (setpriority): Rename to __setpriority
35633 and define as weak alias of __setpriority.
35634 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35635 __getpriority and define as weak alias of __getpriority.
35636 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35637 __setpriority and define as weak alias of __setpriority.
35638 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35639 strong name.
35640 (setpriority): Use __setpriority as strong name.
35641 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35642 __getpriority and define as weak alias of __getpriority.
35643 * include/sys/resource.h (__getpriority): Declare. Use
35644 libc_hidden_proto.
35645 (__setpriority): Likewise.
35646 (getpriority): Don't use libc_hidden_proto.
35647 (setpriority): Likewise.
35648 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35649 getpriority. Call __setpriority instead of setpriority.
35650 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35651 Remove variable.
35652
35653 [BZ #18547]
35654 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35655 as weak alias of __getttynam. Use prototype function definition.
35656 Call __setttyent, __getttyent and __endttyent instead of
35657 setttyent, getttyent and endttyent.
35658 (getttyent): Rename to __getttyent and define as weak alias of
35659 __getttyent. Call __setttyent instead of setttyent. Call
35660 __fgets_unlocked instead of fgets_unlocked.
35661 (setttyent): Rename to __setttyent and define as weak alias of
35662 __setttyent.
35663 (endttyent): Rename to __endttyent and define as weak alias of
35664 __endttyent.
35665 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35666 (__setttyent): Likewise.
35667 (__endttyent): Likewise.
35668 (getttyent): Don't use libc_hidden_proto.
35669 (setttyent): Likewise.
35670 (endttyent): Likewise.
35671 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35672 __endttyent instead of setttyent, getttyent and endttyent.
35673 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35674 Remove variable.
35675
35676 [BZ #18546]
35677 * socket/recv.c (__recv): Use libc_hidden_def.
35678 * socket/socket.c (__socket): Likewise.
35679 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35680 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35681 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35682 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35683 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35684 libc_hidden_def.
35685 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35686 libc_hidden_weak.
35687 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35688 Use libc_hidden_proto.
35689 (__recv): Likewise.
35690 * socket/Versions (libc): Export __recv and __socket at version
35691 GLIBC_PRIVATE.
35692 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35693 instead of recv.
35694 (init_mq_netlink): Call __socket instead of socket.
35695 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35696 Remove variable.
35697
35698 [BZ #18545]
35699 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35700 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35701 hidden_weak.
35702 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35703 define as alias of __mq_timedsend. Use hidden_weak.
35704 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35705 __mq_timedsend as strong name.
35706 (mq_timedreceive): Use __mq_timedreceive as strong name.
35707 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35708 (__mq_timedreceive): Likewise.
35709 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35710 __mq_timedreceive instead of mq_timedreceive.
35711 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35712 instead of mq_timedsend.
35713 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35714 Remove variable.
35715
35716 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35717 hidden_def and hidden_weak instead of libc_hidden_def and
35718 libc_hidden_weak.
35719 (top level): Refer to hidden_def in comment.
35720 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35721 macro. Use it instead of libc_hidden_def.
35722 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35723 specify __GI_* name explicitly.
35724 (mq_timedreceive): Likewise.
35725 (mq_setattr): Likewise.
35726
35727 [BZ #18544]
35728 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35729 __pthread_barrier_init and define as weak alias of
35730 __pthread_barrier_init.
35731 * sysdeps/sparc/nptl/pthread_barrier_init.c
35732 (pthread_barrier_init): Likewise.
35733 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35734 __pthread_barrier_wait and define as weak alias of
35735 __pthread_barrier_wait.
35736 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35737 (pthread_barrier_wait): Likewise.
35738 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35739 (pthread_barrier_wait): Likewise.
35740 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35741 (pthread_barrier_wait): Likewise.
35742 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35743 (pthread_barrier_wait): Likewise.
35744 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35745 __pthread_barrier_wait at version GLIBC_PRIVATE.
35746 * include/pthread.h (__pthread_barrier_init): Declare.
35747 (__pthread_barrier_wait): Likewise.
35748 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35749 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35750 (helper_thread): Likewise.
35751 (init_mq_netlink): Call __pthread_barrier_init instead of
35752 pthread_barrier_init.
35753
35754 [BZ #18542]
35755 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35756 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35757 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35758 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35759 vswscanf.
35760 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35761 Remove variable.
35762
35763 [BZ #18540]
35764 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35765 strong alias of _IO_fflush. Use libc_hidden_def.
35766 * libio/iofflush_u.c (fflush_unlocked): Rename to
35767 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35768 Use libc_hidden_weak.
35769 * include/stdio.h (__fflush_unlocked): Declare. Use
35770 libc_hidden_proto.
35771 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35772 fflush_unlocked.
35773 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35774 Remove variable.
35775
35776 [BZ #18539]
35777 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35778 define as weak alias of __addseverity.
35779 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35780 Remove variable.
35781 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35782 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35783 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35784
35785 [BZ #18536]
35786 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35787 (__tfind): Likewise.
35788 (__tdelete): Likewise.
35789 (__twalk): Likewise.
35790 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35791 __twalk to GLIBC_PRIVATE.
35792 * include/search.h (__tsearch): Use libc_hidden_proto.
35793 (__tfind): Likewise.
35794 (__tdelete): Likewise.
35795 (__twalk): Likewise.
35796 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35797 Call __tdelete instead of tdelete.
35798 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35799 tfind. Call __tsearch instead of tsearch.
35800 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35801 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35802 Remove variable.
35803 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35804
35805 [BZ #18534]
35806 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35807 (dprintf): Define as a weak alias of __dprintf, not a strong
35808 alias.
35809 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35810 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35811 dprintf.
35812 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35813 Remove variable.
35814 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35815 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35816
35817 [BZ #18533]
35818 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35819 not a strong alias.
35820 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35821 Remove variable.
35822
35823 [BZ #18532]
35824 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35825 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35826 (in6addr_loopback): Rename to __in6addr_loopback and define as
35827 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35828 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35829 libc_hidden_proto.
35830 (__in6addr_any): Likewise.
35831 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35832 in6addr_any.
35833 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35834 variable.
35835 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35836
35837 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35838
35839 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35840 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35841 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35842 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35843 redirections for pow.
35844 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35845 * sysdeps/x86_64/fpu/Versions: New versions added.
35846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35847 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35848 build of SSE, AVX2 and AVX512 IFUNC versions.
35849 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35852 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35854 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35855 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35856 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35857 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35858 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35859 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35860 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35861 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35862 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35863 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35864 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35865 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35866 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35867 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35868 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35869 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35870 * NEWS: Mention addition of x86_64 vector pow.
35871
35872 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35873 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35874 redirections for expf.
35875 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35876 * sysdeps/x86_64/fpu/Versions: New versions added.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35878 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35879 build of SSE, AVX2 and AVX512 IFUNC versions.
35880 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35881 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35882 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35884 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35885 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35886 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35887 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35888 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35889 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35890 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35891 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35892 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35893 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35894 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35895 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35896 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35897 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35898 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35899 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35900 * NEWS: Mention addition of x86_64 vector expf.
35901
35902 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35903 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35904 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35905 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35906 redirections for exp.
35907 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35908 * sysdeps/x86_64/fpu/Versions: New versions added.
35909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35910 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35911 build of SSE, AVX2 and AVX512 IFUNC versions.
35912 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35913 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35914 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35917 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35918 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35919 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35920 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35921 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35922 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35923 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35924 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35925 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35926 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35927 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35928 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35929 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35930 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35931 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35932 * NEWS: Mention addition of x86_64 vector exp.
35933
35934 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35935 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35936 redirections for logf.
35937 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35938 * sysdeps/x86_64/fpu/Versions: New versions added.
35939 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35940 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35941 build of SSE, AVX2 and AVX512 IFUNC versions.
35942 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35943 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35944 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35945 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35946 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35947 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35948 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35949 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35950 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35951 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35952 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35953 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35954 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35955 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35956 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35957 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35958 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35959 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35960 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35961 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35962 * NEWS: Mention addition of x86_64 vector logf.
35963
35964 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35965 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35966 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35967 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35968 redirections for log.
35969 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35970 * sysdeps/x86_64/fpu/Versions: New versions added.
35971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35972 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35973 build of SSE, AVX2 and AVX512 IFUNC versions.
35974 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35975 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35977 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35978 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35979 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35980 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35981 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35982 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35983 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35984 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35985 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35986 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35987 test.
35988 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35989 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35990 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35991 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35992 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35993 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35994 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35995 * NEWS: Mention addition of x86_64 vector log.
35996
35997 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35998
35999 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36000 cfi_adjust_cfa_offset argument.
36001 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36002 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36003
36004 [BZ #18034]
36005 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36006 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36007 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36008 ordering using ldar.
36009 (_dl_tlsdesc_dynamic): Likewise.
36010 (_dl_tlsdesc_return_lazy): Likewise.
36011 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36012 relaxed atomics instead of volatile and synchronize with release store.
36013 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36014 volatile.
36015 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36016
36017 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36018
36019 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36020 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36021 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36022 * sysdeps/x86_64/fpu/Versions: New versions added.
36023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36024 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36025 build of SSE, AVX2 and AVX512 IFUNC versions.
36026 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36027 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36028 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36032 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36033 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36034 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36035 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36036 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36037 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36038 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36039 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36040 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36041 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36042 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36043 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36044 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36045 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36046 * NEWS: Mention addition of x86_64 vector sinf.
36047
36048 2015-06-14 Joseph Myers <joseph@codesourcery.com>
36049
36050 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36051 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36052 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36053 Remove variable.
36054 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36055 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36056
36057 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36058
36059 [BZ #18530]
36060 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36061 strong alias of _IO_fputs. Use libc_hidden_def.
36062 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36063 and define as weak alias of __fputs_unlocked. Use
36064 libc_hidden_weak.
36065 * include/stdio.h (__fputs_unlocked): Declare. Use
36066 libc_hidden_proto.
36067 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36068 fputs_unlocked.
36069
36070 [BZ #18529]
36071 * resolv/netdb.h [__USE_POSIX]: Change condition to
36072 [__USE_XOPEN2K].
36073 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36074 not expect.
36075 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36076 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36077 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36078 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36079 [XPG4 || UNIX98] (AI_ALL): Likewise.
36080 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36081 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36082 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36083 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36084 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36085 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36086 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36087 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36088 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36089 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36090 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36091 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36092 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36093 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36094 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36095 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36096 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36097 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36098 [XPG4 || UNIX98] (gai_strerror): Likewise.
36099 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36100 [XPG4 || UNIX98] (getnameinfo): Likewise.
36101
36102 [BZ #18528]
36103 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36104 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36105 __USE_XOPEN2K8].
36106 (getgrent): Likewise.
36107 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36108 expect.
36109 [XPG3 || POSIX2008] (endgrent): Likewise.
36110 [XPG3] (setgrent): Likewise.
36111 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36112 variable.
36113 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36114
36115 [BZ #18527]
36116 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36117 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36118 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36119 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36120 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36121 * include/unistd.h (__getlogin_r): Declare. Use
36122 libc_hidden_proto.
36123 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36124 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36125 variable.
36126 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36127 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36128 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36129
36130 2015-06-12 Martin Sebor <msebor@redhat.com>
36131
36132 [BZ #18512]
36133 * Makerules (check-install-supported): New target.
36134 (install): Add check-install-supported as a dependency.
36135 * manual/install.texi (Installing the C Library): Document
36136 that overriding prefix and exec_prefix is not supported.
36137 Mention DESTDIR.
36138 * INSTALL: Regenerate from the above.
36139
36140 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36141
36142 [BZ #18519]
36143 * posix/Versions (libc): Export __libc_pread at version
36144 GLIBC_PRIVATE.
36145 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36146 instead of pread.
36147 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36148 variable.
36149
36150 [BZ #18522]
36151 * misc/efgcvt_r.c
36152 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36153 (cvt_symbol): Use weak_alias instead of strong_alias.
36154 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36155 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36156 Remove variable.
36157 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36158 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36159
36160 [BZ #18520]
36161 * inet/herrno.c (h_errno): Rename to __h_errno.
36162 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36163 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36164 to __h_errno instead of h_errno.
36165 * nptl/herrno.c (h_errno): Rename to __h_errno.
36166 (__h_errno_location): Refer to __h_errno not h_errno.
36167 * resolv/Versions (h_errno): Rename to __h_errno.
36168 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36169 Remove variable.
36170 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36171
36172 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36173
36174 * configure.ac: More strict check for AVX512 assembler support.
36175 * configure: Regenerated.
36176
36177 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36178 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36179 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36180 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36181 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36182 * sysdeps/x86_64/fpu/Versions: New versions added.
36183 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36184 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36185 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36192 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36193 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36194 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36195 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36196 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36197 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36198 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36199 test.
36200 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36201 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36202 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36203 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36204 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36205 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36206 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36207 * NEWS: Mention addition of x86_64 vector sin.
36208
36209 2015-06-11 Florian Weimer <fweimer@redhat.com>
36210
36211 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36212 comment.
36213
36214 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36215
36216 [BZ #18479]
36217 * nptl/pt-interp.c: New file.
36218 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36219 Add pt-interp.
36220 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36221 $(common-objpfx)runtime-linker.h.
36222
36223 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36224
36225 * Makeconfig (+interp): Remove unused variable.
36226 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36227 only. Depend on $(common-objpfx)runtime-linker.h instead of
36228 $(elf-objpfx)runtime-linker.h.
36229 ($(elf-objpfx)runtime-linker.h): Rename to
36230 $(common-objpfx)runtime-linker.h and move ...
36231 * Makerules [$(build-shared) = yes]: ... here.
36232 * elf/interp.c: Include <runtime-linker.h> instead of
36233 <elf/runtime-linker.h>.
36234
36235 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36236
36237 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36238 (__gettimeofday_syscall): Remove vsyscall fallback.
36239 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36240 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36241 Add syscall fallback function.
36242 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36243 if vDSO is not present.
36244 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36245 fallback function.
36246 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36247 present.
36248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36249 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36250
36251 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36252
36253 [BZ #18497]
36254 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36255 of wcscmp.
36256 (wcscmp): Define as weak alias of WCSCMP.
36257 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36258 wcscoll.
36259 (USE_HIDDEN_DEF): Define.
36260 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36261 __wcscoll. Don't use libc_hidden_weak.
36262 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36263 wcscmp.
36264 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36265 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36266 __GI_wcscmp.
36267 (weak_alias): Undefine and redefine.
36268 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36269 __wcscmp and define as weak alias of __wcscmp.
36270 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36271 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36272 (__wcscoll): Likewise.
36273 (wcscmp): Don't use libc_hidden_proto.
36274 (wcscoll): Likewise.
36275 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36276 wcscoll.
36277 * posix/regexec.c (check_node_accept_bytes): Likewise.
36278 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36279 variable.
36280 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36281 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36282
36283 [BZ #18507]
36284 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36285 __fstatvfs and define as weak alias of __fstatvfs. Use
36286 libc_hidden_weak.
36287 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36288 and define as weak alias of __statvfs. Use libc_hidden_weak.
36289 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36290 Define as alias of __fstatvfs, not fstatvfs.
36291 (fstatvfs64): Likewise.
36292 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36293 Define as alias of __statvfs, not statvfs.
36294 (statvfs64): Likewise.
36295 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36296 Remove variable.
36297
36298 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36299
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36301 (HAVE_GETCPU_VSYSCALL): Define.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36303 (HAVE_GETCPU_VSYSCALL): Likewise.
36304 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36305 * sysdeps/unix/sysv/linux/sched_getcpu.c
36306 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36307 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36308 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36309 prototype.
36310 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36311 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36314 Define.
36315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36316 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36317 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36318 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36319
36320 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36321
36322 * sysdeps/x86_64/fpu/Makefile: New file.
36323 * sysdeps/x86_64/fpu/Versions: New file.
36324 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36325 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36326 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36327 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36328 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36329 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36330 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36332 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36336 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36337 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36338 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36339 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36340 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36341 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36342 * sysdeps/x86_64/configure: Regenerated.
36343 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36344 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36345 * manual/install.texi (Configuring and compiling): Document
36346 --disable-mathvec.
36347 * INSTALL: Regenerated.
36348 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36349
36350 * math/Makefile: Added rules for vector tests.
36351 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36352 declaration under condition.
36353 * math/test-double-vlen2.h: New file.
36354 * math/test-double-vlen4.h: New file.
36355 * math/test-double-vlen8.h: New file.
36356 * math/test-vec-loop.h: Added initialization macro.
36357 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36358 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36359 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36360 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36361 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36362 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36363 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36364 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36365 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36366 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36367 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36368
36369 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36370 * sysdeps/x86_64/fpu/Versions: New versions added.
36371 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36372 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36373 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36374 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36375 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36376 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36377 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36378 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36379 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36380 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36381 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36382 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36383 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36384 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36385 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36386 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36387 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36388 * NEWS: Mention addition of x86_64 vector cosf.
36389
36390 * math/Makefile: Added CFLAGS for new tests.
36391 * math/test-float-vlen16.h: New file.
36392 * math/test-float-vlen4.h: New file.
36393 * math/test-float-vlen8.h: New file.
36394 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36395 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36396 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36397 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36398 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36399 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36400 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36401 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36402 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36403 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36404 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36405
36406 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36407
36408 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36409 * locale/programs/ld-ctype.c: Likewise.
36410
36411 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36412
36413 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36414 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36415 bit_ZMM16_31_state): New macro.
36416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36417 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36418
36419 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36420
36421 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36422
36423 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36424
36425 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36426
36427 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36428
36429 [BZ #18498]
36430 * libio/memstream.c (open_memstream): Rename to __open_memstream
36431 and define as weak alias of __open_memstream.
36432 * include/stdio.h (__open_memstream): Declare. Use
36433 libc_hidden_proto.
36434 (open_memstream): Don't use libc_hidden_proto.
36435 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36436 open_memstream.
36437 * posix/getopt.c (_getopt_internal_r): Likewise.
36438 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36439 variable.
36440 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36441 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36442 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36443
36444 [BZ #18496]
36445 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36446 instead of wcrtomb.
36447
36448 [BZ #18483]
36449 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36450 [__USE_XOPEN2K8]. Remove redundant #endif.
36451 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36452 Remove redundant #if.
36453 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36454 Remove variable.
36455 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36456 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36457
36458 [BZ #18495]
36459 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36460 (__iswlower): Likewise.
36461 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36462 (__iswlower): Likewise.
36463 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36464 instead of towlower.
36465 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36466 instead of iswlower. Call __towupper instead of towupper.
36467 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36468 instead of iswalnum.
36469
36470 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36471
36472 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36473 errors to stderr.
36474
36475 2015-06-05 Florian Weimer <fweimer@redhat.com>
36476
36477 [BZ #15661]
36478 [BZ #17322]
36479 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36480 Check for overflow properly. Check for O_APPEND. Ignore large
36481 file system block sizes. Add comments about problems.
36482 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36483 * manual/filesys.texi (Storage Allocation): New node.
36484
36485 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36486
36487 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36488 cancellable syscalls.
36489 (SYS_ify): Add guard to no redefine it.
36490 (INLINE_SYSCALL): Likewise.
36491 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36492 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36493 SYSCALL_CANCEL instead.
36494 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36495 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36496 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36497 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36498 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36499 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36500 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36501 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36502 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36503 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36504 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36505 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36506 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36507 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36508 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36509 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36510 Likewise.
36511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36512 (__libc_pread64): Likewise.
36513 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36514 (__libc_preadv): Likewise.
36515 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36516 (__libc_readv64): Likewise.
36517 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36518 (__libc_pwrite): Likewise.
36519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36520 (__libc_pwrite64): Likewise.
36521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36522 (__libc_pwritev): Likewise.
36523 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36524 (__libc_pwritev64): Likewise.
36525 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36526 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36527 (sync_file_range): Likewise.
36528 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36529 Likewise.
36530 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36531 Likewise.
36532 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36533 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36534 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36535 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36536 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36537 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36538 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36539 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36541 Likewise.
36542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36543 (__libc_read64): Likewise.
36544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36545 Likewise.
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36547 Likewise.
36548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36549 Likewise.
36550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36551 Likewise.
36552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36553 (__libc_pread64): Likewise.
36554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36555 Likewise.
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36557 (__libc_pwrite64): Likewise.
36558 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36559 (sync_file_range): Likewise.
36560 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36561 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36562 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36563 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36564 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36565 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36566 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36567 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36568 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36569 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36570 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36571 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36572 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36573 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36574 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36575 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36576 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36577 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36578 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36579 Likewise.
36580 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36581 Likewise.
36582 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36583 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36584 Likewise.
36585 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36586 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36587 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36588 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36589 Likewise.
36590 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36591 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36592 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36593 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36594 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36595
36596 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36597
36598 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36599 Include dl-vdso.
36600 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36601 Use VDSO routines for gettimeofday, clock_gettime if
36602 available.
36603 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36604 Declare VDSO symbols.
36605 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36606 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36607 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36608 * sysdeps/unix/sysv/linux/arm/Versions: Add
36609 __vdso_clock_gettime.
36610
36611 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36612
36613 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36614 be an inline implementation regardless of library is built within.
36615 (open_not_cancel_2): Likewise.
36616 (__read_nocancel): Likewise.
36617 (__write_nocancel): Likewise.
36618 (openat_not_cancel): Likewise.
36619 (openat_not_cancel_3): Likewise.
36620 (openat64_not_cancel): Likewise.
36621 (openat64_not_cancel_3): Likewise.
36622 (__close_nocancel): Likewise.
36623 (pause_not_cancel): Likewise.
36624 (nanosleep_not_cancel): Likewise.
36625 (sigsuspend_not_cancel): Likewise.
36626
36627 2015-06-04 Torvald Riegel <triegel@redhat.com>
36628
36629 [BZ #14958]
36630 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36631 wake-up.
36632 (__pthread_rwlock_rdlock_slow): Likewise.
36633 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36634 Likewise.
36635 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36636 Likewise.
36637 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36638 * nptl/tst-rwlock16.c: New file.
36639 * nptl/Makefile (tests): Add new test.
36640
36641 2015-06-04 Torvald Riegel <triegel@redhat.com>
36642
36643 [BZ #18324]
36644 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36645 missing wake-up of readers.
36646 * nptl/tst-rwlock15.c: New file.
36647 * nptl/Makefile (tests): Add new test.
36648
36649 2015-06-03 Roland McGrath <roland@hack.frob.com>
36650
36651 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36652 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36653 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36654 and __nacl_supply_interface_rtld.
36655 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36656 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36657 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36658 Add __nacl_supply_interface_rtld.
36659 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36660
36661 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36662
36663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36664 isfinite.
36665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36666 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36667
36668 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36669
36670 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36671 __signbit* with standard C99 macros.
36672 * math/e_exp10l.c: Likewise.
36673 * math/e_exp2l.c: Likewise.
36674 * math/e_scalb.c: Likewise.
36675 * math/e_scalbf.c: Likewise.
36676 * math/e_scalbl.c: Likewise.
36677 * math/s_ldexp.c: Likewise.
36678 * math/s_ldexpf.c: Likewise.
36679 * math/s_ldexpl.c: Likewise.
36680 * math/w_atan2.c: Likewise.
36681 * math/w_atan2f.c: Likewise.
36682 * math/w_atan2l.c: Likewise.
36683 * math/w_cosh.c: Likewise.
36684 * math/w_coshf.c: Likewise.
36685 * math/w_coshl.c: Likewise.
36686 * math/w_exp10.c: Likewise.
36687 * math/w_exp10f.c: Likewise.
36688 * math/w_exp10l.c: Likewise.
36689 * math/w_exp2.c: Likewise.
36690 * math/w_exp2f.c: Likewise.
36691 * math/w_exp2l.c: Likewise.
36692 * math/w_fmod.c: Likewise.
36693 * math/w_fmodf.c: Likewise.
36694 * math/w_fmodl.c: Likewise.
36695 * math/w_hypot.c: Likewise.
36696 * math/w_hypotf.c: Likewise.
36697 * math/w_hypotl.c: Likewise.
36698 * math/w_jnl.c: Likewise.
36699 * math/w_lgamma.c: Likewise.
36700 * math/w_lgamma_r.c: Likewise.
36701 * math/w_lgammaf.c: Likewise.
36702 * math/w_lgammaf_r.c: Likewise.
36703 * math/w_lgammal.c: Likewise.
36704 * math/w_lgammal_r.c: Likewise.
36705 * math/w_pow.c: Likewise.
36706 * math/w_powf.c: Likewise.
36707 * math/w_powl.c: Likewise.
36708 * math/w_remainder.c: Likewise.
36709 * math/w_remainderf.c: Likewise.
36710 * math/w_remainderl.c: Likewise.
36711 * math/w_scalb.c: Likewise.
36712 * math/w_scalbf.c: Likewise.
36713 * math/w_scalbl.c: Likewise.
36714 * math/w_scalbln.c: Likewise.
36715 * math/w_scalblnf.c: Likewise.
36716 * math/w_scalblnl.c: Likewise.
36717 * math/w_sinh.c: Likewise.
36718 * math/w_sinhf.c: Likewise.
36719 * math/w_sinhl.c: Likewise.
36720 * math/w_tgamma.c: Likewise.
36721 * math/w_tgammaf.c: Likewise.
36722 * math/w_tgammal.c: Likewise.
36723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36724 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36729 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36730 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36731 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36733 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36754 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36755 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36756 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36757 * stdio-common/printf_fp.c: Likewise.
36758 * stdio-common/printf_fphex.c: Likewise.
36759 * stdio-common/printf_size.c: Likewise.
36760
36761 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36762
36763 [BZ #18470]
36764 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36765 strnlen.
36766 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36767 Remove variable.
36768 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36769 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36770 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36771 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36772 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36773 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36774 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36775 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36776 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36777 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36778
36779 [BZ #18468]
36780 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36781 weak alias of __wmemchr. Use libc_hidden_weak.
36782 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36783 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36784 instead of wmemchr.
36785
36786 2015-06-02 Roland McGrath <roland@hack.frob.com>
36787
36788 [BZ #18383]
36789 * elf/tst-tlsalign-extern.c: New file.
36790 * elf/tst-tlsalign-extern-static.c: New file.
36791 * elf/tst-tlsalign-vars.c: New file.
36792 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36793 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36794 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36795 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36796 (test-xfail-tst-tlsalign-extern-static): New variable.
36797
36798 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36799
36800 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36801 Use variable name _sc_err instead of err.
36802 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36803 instead of ret.
36804 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36805 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36806 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36807 (INLINE_SYSCALL): Likewise.
36808
36809 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36810 * include/string.h (__strnlen): Use libc_hidden_proto.
36811 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36812 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36813 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36814 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36815 (libc_hidden_def): Undefine and redefine.
36816 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36817 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36818 __GI_strnlen.
36819 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36820 libc_hidden_def.
36821 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36822
36823 [BZ #18469]
36824 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36825 weak alias of __towlower. Use libc_hidden_weak.
36826 (towupper): Rename to __towupper and define as weak alias of
36827 __towupper. Use libc_hidden_weak.
36828 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36829 (__towupper): Likewise.
36830 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36831 __towlower instead of towlower.
36832
36833 2015-06-02 Roland McGrath <roland@hack.frob.com>
36834
36835 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36836 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36837
36838 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36839
36840 * sysdeps/aarch64/libm-test-ulps: Update.
36841
36842 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36843
36844 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36845 Define.
36846 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36848 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36849 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36850 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36851 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36852 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36853
36854 2015-06-01 Martin Sebor <msebor@redhat.com>
36855
36856 [BZ #18116]
36857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36858 (__setcontext): Use extended four-operand version of mtsf whenever
36859 possible.
36860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36861 (__novec_swapcontext): Likewise.
36862
36863 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36864
36865 * benchtests/scripts/compare_bench.py: New file.
36866 * benchtests/scripts/import_bench.py (mean): New function.
36867 (split_list): Likewise.
36868 (do_for_all_timings): Likewise.
36869 (compress_timings): Likewise.
36870
36871 * benchtests/scripts/import_bench.py: New file.
36872 * benchtests/scripts/validate_benchout.py: Import import_bench
36873 instead of jsonschema.
36874 (validate_bench): Remove function.
36875 (main): Use import_bench.
36876
36877 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36878
36879 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36880 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36881
36882 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36883
36884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36885
36886 2015-05-28 Roland McGrath <roland@hack.frob.com>
36887
36888 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36889 set THREAD_SELF->tid to a magic value and futex-wake it.
36890 Pass its address to the thread_exit system call.
36891 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36892 bit is clear.
36893 * sysdeps/nacl/lowlevellock.h: New file.
36894 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36895
36896 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36897 Add TIMEOUT to current time, don't subtract it.
36898
36899 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36900
36901 [BZ #2981]
36902 [BZ #18422]
36903 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36904 ($(objpfx)tst-audit2.out): Also depend on
36905 $(objpfx)tst-auditmod9b.so.
36906 * elf/tst-audit2.c: Include <dlfcn.h>.
36907 (calloc_called): New.
36908 (calloc): Allow to be called more than once.
36909 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36910
36911 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36912
36913 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36914 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36915
36916 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36917
36918 * stdlib/monetary.h: Fix comment.
36919
36920 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36921
36922 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36923 Avoid using variables in #defines that might cause shadowing.
36924 (INTERNAL_VSYSCALL_CALL): Likewise.
36925
36926 2015-05-26 Roland McGrath <roland@hack.frob.com>
36927
36928 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36929
36930 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36931 * nptl/lll_timedlock_wait.c: ... to this new file.
36932 * nptl/Makefile (libpthread-routines): Add it.
36933 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36934 * nptl/lll_timedwait_tid.c: ... to this new file.
36935 * nptl/Makefile (libpthread-routines): Add it.
36936 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36937 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36938 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36939 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36940 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36941 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36942 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36943 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36944 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36945 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36946
36947 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36948
36949 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36950 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36951 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36953 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36955 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36957 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36958 * sysdeps/unix/sysv/linux/tile/sysdep.h
36959 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36960 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36961 using vDSO syscall macro.
36962
36963 2015-05-26 Andriy Rysin <arysin@gmail.com>
36964
36965 [BZ #17293]
36966 * uk_UA: Fix sorting order for Ukrainian locale
36967
36968 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36969
36970 * stdlib/monetary.h: Fix comment.
36971
36972 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36973
36974 [BZ #18234]
36975 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36976 st_mtim and st_ctim members.
36977 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36978 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36979 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36980 (struct stat64): Likewise.
36981 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36982 (struct stat64): Likewise.
36983 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36984 (struct stat64): Likewise.
36985
36986 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36987
36988 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36989 Define and include sysdep-vdso.h.
36990 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36991 Likewise.
36992 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36993 Likewise.
36994 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36995 Define with VDSO_SYMBOL and use PTR_MANGLE.
36996 (__vdso_clock_gettime): Likewise.
36997 (__vdso_clock_getres): Likewise.
36998 (_libc_vdso_platform_setup): Likewise.
36999 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37000 Likewise.
37001 (_libc_vdso_platform_setup): Likewise.
37002 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37003 Likewise.
37004 (__vdso_clock_gettime): Likewise.
37005 (__vdso_clock_getres): Likewise.
37006 (__vdso_get_tbfreq): Likewise.
37007 (__vdso_getcpu): Likewise.
37008 (__vdso_time): Likewise.
37009 (__vdso_sigtramp_rt64): Likewise.
37010 (__vdso_signtramp32): Likewise.
37011 (__vdso_sigtramp_rt32): Likewise.
37012 (_libc_vdso_platform_setup): Likewise.
37013 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37014 Likewise.
37015 (__vdso_clock_gettime): Likewise.
37016 (__vdso_clock_getres): Likewise.
37017 (_libc_vdso_platform_setup): Likewise.
37018 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37019 Likewise.
37020 (__vdso_clock_gettime): Likewise.
37021 (_libc_vdso_platform_setup): Likewise.
37022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37023 Likewise.
37024 (__vdso_getcpu): Likewise.
37025 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37026 Use VDSO_SYMBOL macro to define.
37027 (__vdso_clock_gettime): Likewise.
37028 (__vdso_clock_getres): Likewise.
37029 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37030 Likewise.
37031 (__vdso_clock_gettime): Likewise.
37032 (__vdso_clock_getres): Likewise.
37033 (__vdso_get_tbfreq): Likewise.
37034 (__vdso_getcpu): Likewise.
37035 (__vdso_time): Likewise.
37036 (__vdso_sigtramp_rt64): Likewise.
37037 (__vdso_signtramp32): Likewise.
37038 (__vdso_sigtramp_rt32): Likewise.
37039 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37040 Likewise.
37041 (__vdso_clock_gettime): Likewise.
37042 (__vdso_clock_getres): Likewise.
37043 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37044 Likewise.
37045 (__vdso_clock_gettime): Likewise.
37046 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37047 Likewise.
37048 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37049 macro.
37050 (INTERNAL_VSYSCALL): Likewise.
37051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37052 Remove macro.
37053 (INTERNAL_VSYSCALL): Likewise.
37054 (INTERNAL_VSYSCALL_NCS): Likewise.
37055 (INTERNAL_VSYSCALL_CALL): New macro.
37056 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37058 Likewise.
37059 (INTERNAL_VSYSCALL): Likewise.
37060 (INTERNAL_VSYSCALL_NCS): Likewise.
37061 (INTERNAL_VSYSCALL_CALL): New macro.
37062 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37064 (INLINE_VSYSCALL): Remove macro.
37065 (INTERNAL_VSYSCALL): Remove macro.
37066 (INTERNAL_VSYSCALL_NCS): Remove macro.
37067 (INTERNAL_VSYSCALL_CALL): New macro.
37068 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37069 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37070 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37071 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37072 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37074 (INLINE_VSYSCALL): Remove macro.
37075 (INTERNAL_VSYSCALL): Likewise.
37076 (INTERNAL_VSYSCALL_NCS): Likewise.
37077 (INTERNAL_VSYSCALL_CALL): New macro.
37078 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37079 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37080 PTR_DEMANGLE on vDSO pointer.
37081 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37082 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37083 macro.
37084 (INTERNAL_SYSCALL): Likewise.
37085 (INTERNAL_VSYSCALL_NCS): Remove macro.
37086 (INTERNAL_VSYSCALL_CALL): New macro.
37087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37088 Remove macro.
37089 (INTERNAL_VSYSCALL): Likewise.
37090 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37091 sysdep-vdso.h instead of libc-vdso.h.
37092 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37093 definition.
37094 (INLINE_VSYSCALL): Likewise.
37095 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37096 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37097 definition.
37098 (INLINE_VSYSCALL): Likewise.
37099 (INTERNAL_VSYSCALL): Likewise.
37100 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37101 * sysdeps/unix/sysv/linux/timespec_get.c
37102 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37103 (timespec_get): Use ANSI prototype.
37104 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37105 and definition for Linux.
37106
37107 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37108
37109 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37110 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37111
37112 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37113
37114 [BZ #2981]
37115 [BZ #18410]
37116 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37117 for missing DT_PLTRELSZ.
37118
37119 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37120
37121 Remove obsolete aliases that broke 'locale -a'
37122 [BZ #18412]
37123 * intl/locale.alias: Remove obsolete aliases "bokmÄl" and "français"
37124 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37125 breaking some applications that use 'locale -a' output.
37126 Change the encoding of this file from Latin-1 to ASCII to avoid
37127 other potential problems with people grepping this file.
37128
37129 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37130
37131 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37132 -fasynchronous-unwind-tables.
37133 (CFLAGS-sendto.c): Likewise.
37134 (CFLAGS-sendmsg.c): Likewise.
37135 (CFLAGS-connect.c): Likewise.
37136 (CFLAGS-recvmsg.c): Likewise.
37137 (CFLAGS-recvfrom.c): Likewise.
37138 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37139 (SOCKETCALL): New macro: non-cancellable socketcall.
37140 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37141 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37142 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37143 * sysdeps/unix/sysv/linux/accept.c: New file.
37144 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37145 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37146 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37147 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37148 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37149 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37150 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37151 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37152 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37153 * sysdeps/unix/sysv/linux/send.c: Likewise.
37154 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37155 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37156 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37157 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37158 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37159 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37160 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37161 prototype.
37162 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37163 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37164 instead of __internal_xxx function.
37165 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37166 prototype.
37167 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37168 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37169 instead of __internal_xxx function.
37170 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37171 prototype.
37172 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37173 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37174 instead of __internal_xxx function.
37175 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37176 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37177 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37178 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37179 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37180 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37181 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37182 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37183 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37184 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37185 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37186 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37187 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37188 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37189 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37190 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37191 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37192 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37193 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37194 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37197 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37198 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37199 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37200 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37201 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37202 * sysdeps/unix/sysv/linux/send.S: Likewise.
37203 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37204 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37205 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37206 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37207 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37208 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37209 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37210 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37211 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37212 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37213 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37214 socketcall is implemented in GLIBC.
37215
37216 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37217
37218 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37219 (__fma): Ignore uninitialized warnings around packing.
37220 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37221 (__fmaf): Ignore uninitialized warnings around packing.
37222 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37223 (__fmal): Ignore uninitialized warnings around packing.
37224
37225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37226 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37228 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37229
37230 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37231 switch statement into default case.
37232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37233
37234 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37235 a conditional in forcing "inexact".
37236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37237 Likewise.
37238
37239 2015-05-22 Roland McGrath <roland@hack.frob.com>
37240
37241 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37242 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37243 for each INTERNAL_SYSCALL use.
37244
37245 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37246
37247 [BZ #438]
37248 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37249 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37250 variable.
37251
37252 [BZ #18444]
37253 * string/basename.c (basename): Rename to __basename and define as
37254 weak alias of __basename. Use libc_hidden_weak.
37255 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37256 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37257 __basename instead of basename.
37258 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37259 Remove variable.
37260 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37261
37262 2015-05-18 Florian Weimer <fweimer@redhat.com>
37263
37264 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37265 (_IO_JUMPS_FILE_plus): New.
37266 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37267 _IO_CAST_FIELD_ACCESS.
37268 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37269 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37270 * libio/freopen.c (freopen): Likewise.
37271 * libio/freopen64.c (freopen64): Likewise.
37272 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37273 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37274 * libio/iofwide.c (_IO_fwide): Likewise.
37275 * libio/memstream.c (open_memstream): Likewise.
37276 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37277 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37278 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37279
37280 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37281
37282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37283 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37284 NADJ.
37285 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37286 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37287 NADJ.
37288 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37289 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37290 NADJ.
37291
37292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37293 (p == 4) case.
37294
37295 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37296 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37297 Remove variable.
37298 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37299 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37300 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37301
37302 2015-05-21 Florian Weimer <fweimer@redhat.com>
37303
37304 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37305 Adjust jump table label generation macros.
37306
37307 2015-05-21 Florian Weimer <fweimer@redhat.com>
37308
37309 * stdio-common/vfprintf.c (vfprintf): Move local variables
37310 args_malloced, specs, specs_malloced, and the code after
37311 do_positional to the printf_positional function.
37312 (printf_positional): New function.
37313
37314 2015-05-21 Florian Weimer <fweimer@redhat.com>
37315
37316 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37317 function.
37318 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37319 STEP4_TABLE, process_arg): Move macro definitions
37320 out of the vfprintf function. (Cosmetic change only.)
37321
37322 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37323
37324 * benchtests/Makefile (stdio-common-bench): Define.
37325 (benchset): Add stdio-common-bench.
37326 * sprintf-inputs: New file.
37327 * sprintf-source.c: New file.
37328
37329 2015-05-21 Andreas Schwab <schwab@suse.de>
37330
37331 [BZ #13028]
37332 [BZ #17053]
37333 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37334 of struct __res_state.
37335 * resolv/res_send.c (__libc_res_nsend): Likewise.
37336 (get_nsaddr): New function.
37337 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37338 statp directly.
37339
37340 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37341
37342 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37343 -D_POSIX_C_SOURCE=199506L.
37344
37345 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37346
37347 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37348 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37349 Do not mention otherwise.
37350 [POSIX] (_XOPEN_VERSION): Do not expect.
37351 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37352 [POSIX] (_POSIX2_C_BIND): Likewise.
37353 [POSIX] (_POSIX2_VERSION): Likewise.
37354 [POSIX] (_XOPEN_XPG2): Likewise.
37355 [POSIX] (_XOPEN_XPG3): Likewise.
37356 [POSIX] (_XOPEN_XPG4): Likewise.
37357 [POSIX] (_XOPEN_UNIX): Likewise.
37358 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37359 [POSIX] (_POSIX_BARRIERS): Likewise.
37360 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37361 [POSIX] (_POSIX_CPUTIME): Likewise.
37362 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37363 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37364 [POSIX] (_POSIX_SHELL): Likewise.
37365 [POSIX] (_POSIX_SPAWN): Likewise.
37366 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37367 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37368 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37369 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37370 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37371 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37372 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37373 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37374 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37375 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37376 [POSIX] (_POSIX2_PBS): Likewise.
37377 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37378 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37379 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37380 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37381 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37382 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37383 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37384 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37385 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37386 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37387 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37388 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37389 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37390 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37391 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37392 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37393 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37394 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37395 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37396 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37397 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37398 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37399 [POSIX] (_SC_2_C_BIND): Likewise.
37400 [POSIX] (_SC_2_C_VERSION): Likewise.
37401 [POSIX] (_SC_2_PBS): Likewise.
37402 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37403 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37404 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37405 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37406 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37407 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37408 [POSIX] (_SC_BARRIERS): Likewise.
37409 [POSIX] (_SC_BASE): Likewise.
37410 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37411 [POSIX] (_SC_DEVICE_IO): Likewise.
37412 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37413 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37414 [POSIX] (_SC_FD_MGMT): Likewise.
37415 [POSIX] (_SC_FIFO): Likewise.
37416 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37417 [POSIX] (_SC_FILE_LOCKING): Likewise.
37418 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37419 [POSIX] (_SC_IOV_MAX): Likewise.
37420 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37421 [POSIX] (_SC_NETWORKING): Likewise.
37422 [POSIX] (_SC_PAGE_SIZE): Likewise.
37423 [POSIX] (_SC_PASS_MAX): Likewise.
37424 [POSIX] (_SC_PIPE): Likewise.
37425 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37426 [POSIX] (_SC_REGEXP): Likewise.
37427 [POSIX] (_SC_SHELL): Likewise.
37428 [POSIX] (_SC_SIGNALS): Likewise.
37429 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37430 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37431 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37432 [POSIX] (_SC_USER_GROUPS): Likewise.
37433 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37434 [POSIX] (_SC_STREAMS): Likewise.
37435 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37436 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37437 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37438 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37439 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37440 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37441 [POSIX] (_PC_FILESIZEBITS): Likewise.
37442 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37443 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37444 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37445 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37446 [POSIX] (uid_t): Likewise.
37447 [POSIX] (gid_t): Likewise.
37448 [POSIX] (off_t): Likewise.
37449 [POSIX] (pid_t): Likewise.
37450 [POSIX] (cuserid): Allow.
37451 (_SC_2_CHAR_TERM): Require constant.
37452 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37453 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37454 variable.
37455
37456 2015-05-20 Roland McGrath <roland@hack.frob.com>
37457
37458 * sysdeps/nacl/pthread-pids.h: New file.
37459 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37460 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37461
37462 * nptl/pthread-pids.h: New file.
37463 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37464 * nptl/nptl-init.c: Include <pthread-pids.h>.
37465 (__pthread_initialize_minimal_internal):
37466 Call __pthread_initialize_pids instead of set_tid_address syscall.
37467
37468 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37469 * sysdeps/posix/usleep.c: ... here.
37470
37471 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37472
37473 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37474 call_pselect6 object.
37475 [$(subdir) = io]: Remove call_sync_file_range object.
37476 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37477 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37478 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37480
37481 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37482
37483 * math/s_cproj.c: Add include "math_private.h".
37484 * math/s_cprojf.c: Likewise.
37485 * math/s_cprojl.c: Likewise.
37486
37487 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37488
37489 [BZ #18244]
37490 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37491 high mantissa bit when testing whether P is a NaN.
37492 * math/libm-test.inc (remainder_test_data): Add more tests.
37493 (remquo_test_data): Likewise.
37494
37495 [BZ #18049]
37496 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37497 below -32, return the argument, with underflow if subnormal.
37498 * math/auto-libm-test-in: Add more tests of atanh.
37499 * math/auto-libm-test-out: Regenerated.
37500
37501 2015-05-19 Roland McGrath <roland@hack.frob.com>
37502
37503 [BZ #18434]
37504 * nptl/tst-sem15.c: New file.
37505 * nptl/Makefile (tests): Add it.
37506 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37507 s/<</>>/ to fix typo in EOVERFLOW check.
37508 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37509
37510 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37511
37512 * manual/strings.texi (envz_remove): Fix typo in safety
37513 annotations.
37514
37515 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37516 Steve Ellcey <sellcey@imgtec.com>
37517
37518 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37519 in order to avoid strict alias warnings.
37520 (iruserok_af): Ditto for ra.
37521
37522 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37523
37524 [BZ #17581]
37525 * malloc/hooks.c
37526 (magicbyte): Convert to a function and avoid returning 0x01.
37527 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37528 (mem2chunk_check): Fix unsigned comparisons to zero.
37529 Hoist defs of sz and magic.
37530
37531 2015-05-19 Richard Henderson <rth@redhat.com>
37532
37533 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37534
37535 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37536
37537 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37538
37539 [BZ #16159]
37540 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37541 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37542 (reused_arena): Find a non-corrupt arena.
37543 (heap_trim): Pass arena to unlink.
37544 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37545 malloc_printerr.
37546 (top_check): Likewise.
37547 (free_check): Likewise.
37548 (realloc_check): Likewise.
37549 * malloc/malloc.c (malloc_printerr): Add arena argument.
37550 (unlink): Likewise.
37551 (munmap_chunk): Adjust.
37552 (ARENA_CORRUPTION_BIT): New macro.
37553 (arena_is_corrupt): Likewise.
37554 (set_arena_corrupt): Likewise.
37555 (sysmalloc): Use mmap if there are no usable arenas.
37556 (_int_malloc): Likewise.
37557 (__libc_malloc): Don't fail if arena_get returns NULL.
37558 (_mid_memalign): Likewise.
37559 (__libc_calloc): Likewise.
37560 (__libc_realloc): Adjust for additional argument to
37561 malloc_printerr.
37562 (_int_free): Likewise.
37563 (malloc_consolidate): Likewise.
37564 (_int_realloc): Likewise.
37565 (_int_memalign): Don't touch corrupt arenas.
37566 * malloc/tst-malloc-backtrace.c: New test case.
37567
37568 * Makefile (summarize-tests): Fix return value on success.
37569
37570 * manual/string.texi (Envz Functions): Add envz_remove.
37571
37572 2015-05-18 Roland McGrath <roland@hack.frob.com>
37573
37574 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37575 (invalid_name): New function, broken out of ...
37576 (__opendirat): ... here. Call it.
37577 (need_isdir_precheck): New function, broken out of ...
37578 (__opendirat): ... here. Call it.
37579 Use __fxstatat64, not __xstatat64.
37580 (opendir_oflags): New function, broken out of ...
37581 (__opendirat): ... here. Call it.
37582 (opendir_tail): New function, broken out of ...
37583 (__opendirat): ... here. Call it.
37584 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37585 opendir_tail, rather than punting to __opendirat.
37586 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37587
37588 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37589
37590 * .gitignore: Ignore generated *.pyc.
37591
37592 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37593
37594 * include/stdio.h: Define __need_wint_t.
37595 * test-skeleton.c: Avoid `for' loop initial declaration.
37596 * nptl/tst-initializers1.c: Use test-skeleton.c.
37597
37598 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37599
37600 [BZ #18418]
37601 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37602
37603 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37604
37605 [BZ #16352]
37606 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37607 (__ieee754_atanh): Force underflow exception for results with
37608 small absolute value.
37609 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37610 (__ieee754_atanhf): Force underflow exception for results with
37611 small absolute value.
37612 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37613 (__ieee754_atanh): Force underflow exception for results with
37614 small absolute value.
37615 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37616 (__ieee754_atanhf): Force underflow exception for results with
37617 small absolute value.
37618 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37619 (__ieee754_atanhl): Force underflow exception for results with
37620 small absolute value.
37621 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37622 (__ieee754_atanhl): Force underflow exception for results with
37623 small absolute value.
37624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37625 (__ieee754_atanhl): Force underflow exception for results with
37626 small absolute value.
37627 * math/auto-libm-test-in: Do not allow missing underflow
37628 exceptions from atanh.
37629 * math/auto-libm-test-out: Regenerated.
37630
37631 [BZ #18221]
37632 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37633 2**-28 as threshold for returning x or +/- 1/x.
37634 * math/auto-libm-test-in: Add more tests of tan.
37635 * math/auto-libm-test-out: Regenerated.
37636
37637 [BZ #18220]
37638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37639 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37640 * math/auto-libm-test-in: Add another test of lgamma.
37641 * math/auto-libm-test-out: Regenerated.
37642
37643 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37644
37645 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37646 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37647 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37648 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37649 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37650 (ADD2A): Use fabs. (SUB2A): Use fabs.
37651 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37654 (log1): Use fabs. (my_log2): Use fabs.
37655 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37656 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37658 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37660 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37661 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37662 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37663 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37664 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37665 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37666
37667 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37668
37669 [BZ #18217]
37670 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37671 as threshold for returning 1 - x.
37672 * math/auto-libm-test-in: Add more tests of erfc.
37673 * math/auto-libm-test-out: Regenerated.
37674
37675 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37676
37677 [BZ #18196]
37678 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37679 threshold for large arguments.
37680 * math/auto-libm-test-in: Add another test of atan.
37681 * math/auto-libm-test-out: Regenerated.
37682
37683 [BZ #16339]
37684 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37685 (__log1p): Force underflow exception for results with small
37686 absolute value.
37687 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37688 (__log1pf): Force underflow exception for results with small
37689 absolute value.
37690 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37691 (__log1p): Force underflow exception for results with small
37692 absolute value.
37693 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37694 (__log1pf): Force underflow exception for results with small
37695 absolute value.
37696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37697 (__log1pl): Force underflow exception for results with small
37698 absolute value.
37699 * math/auto-libm-test-in: Do not allow missing underflow
37700 exceptions from log1p.
37701 * math/auto-libm-test-out: Regenerated.
37702
37703 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37704 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37705
37706 [BZ #16704]
37707 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37708
37709 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37710
37711 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37712 (libmvec): New variable.
37713 * configure.ac: Added option for mathvec build.
37714 * configure: Regenerated.
37715 * mathvec/Depend: New file.
37716 * mathvec/Makefile: New file.
37717 * shlib-versions: Added libmvec.
37718 * math/Makefile: Added rule for libm.so installation.
37719
37720 * bits/math-vector.h: New file.
37721 * bits/libm-simd-decl-stubs.h: New header.
37722 * math/Makefile (headers): Added new header
37723 libm-simd-decl-stubs.h.
37724 * math/math.h (__MATHCALL_VEC): New macro.
37725
37726 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37727 for conditions in testing functions.
37728 * math/Makefile: Added call of libm-have-vector-test.sh.
37729 * math/libm-test.inc (HAVE_VECTOR): New macros.
37730
37731 * math/libm-test.inc: START refactored.
37732 * math/test-double.c (TEST_MATHVEC): Add define.
37733 * math/test-float.c: Likewise.
37734 * math/test-idouble.c: Likewise.
37735 * math/test-ifloat.c: Likewise.
37736 * math/test-ildoubl.c: Likewise.
37737 * math/test-ldouble.c: Likewise.
37738 * sysdeps/generic/math-tests-arch.h
37739 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37740 architecture check.
37741
37742 * math/test-double.c (FUNC_TEST): New macro.
37743 * math/test-float.c: Likewise.
37744 * math/test-idouble.c: Likewise.
37745 * math/test-ifloat.c: Likewise.
37746 * math/test-ildoubl.c: Likewise.
37747 * math/test-ldouble.c: Likewise.
37748 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37749
37750 2015-05-13 Roland McGrath <roland@hack.frob.com>
37751
37752 * sysdeps/nacl/fdopendir.c: New file.
37753
37754 * dirent/scandir-tail.c: New file.
37755 * dirent/scandir64-tail.c: New file.
37756 * dirent/Makefile (routines): Add them.
37757 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37758 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37759 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37760 [!SCANDIR] (SCANDIR_TAIL): New macro.
37761 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37762 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37763 (SCANDIRAT): Macro removed.
37764 (SCANDIR_TAIL): New macro.
37765 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37766 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37767 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37768 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37769 (READDIR): Macro removed.
37770 (SCANDIR_TAIL): New macro.
37771 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37772 (SCANDIR_TAIL): New macro.
37773
37774 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37775 * dirent/scandir-cancel.c: ... to this new file.
37776 * dirent/Makefile (routines): Add it.
37777 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37778 * sysdeps/unix/sysv/linux/i386/scandir64.c
37779 (SKIP_SCANDIR_CANCEL): Macro removed.
37780 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37781
37782 * dirent/tst-scandir.c: New file.
37783 * dirent/tst-scandir64.c: New file.
37784 * dirent/Makefile (tests): Add them.
37785
37786 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37787
37788 [BZ #18409]
37789 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37790
37791 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37792
37793 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37794 list.
37795
37796 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37797
37798 * benchtests/bench-strcoll.c: New benchmark.
37799 * benchtests/Makefile: Generate locales and run benchmark.
37800 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37801 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37802 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37803 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37804 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37805 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37806 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37807 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37808 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37809 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37810 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37811 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37812 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37813 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37814 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37815 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37816 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37817 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37818 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37819 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37820 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37821 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37822 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37823 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37824
37825 2015-05-12 Ondƙej Bílka <neleai@seznam.cz>
37826
37827 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37828 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37829
37830 2015-05-12 Roland McGrath <roland@hack.frob.com>
37831
37832 * posix/uname-values.h: New file.
37833 * posix/uname.c: Include that instead of <config-name.h>.
37834 * sysdeps/nacl/uname-values.h: New file.
37835 * sysdeps/arm/nacl/uname-values.h: New file.
37836
37837 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37838
37839 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37840 splitting into fields.
37841
37842 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37843
37844 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37845 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37846 * locale/localeinfo.h: Add enum collation_encoding_type.
37847 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37848 * programs/ld-collate.c (collate_output): Add encoding type info.
37849 * string/strcoll_l.c (STRDIFF): New function.
37850 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37851 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37852
37853 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37854
37855 [BZ #18397]
37856 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37857 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37858 <fpu_control.h> instead of <math/fpu_control.c>.
37859 * sysdeps/mips/mips32/fpu/Makefile: New file.
37860
37861 2015-05-11 Andreas Schwab <schwab@suse.de>
37862
37863 [BZ #18007]
37864 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37865 nss_endgrent.
37866 (_nss_compat_endgrent): Call nss_endgrent.
37867 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37868 nss_endpwent.
37869 (_nss_compat_endpwent): Call nss_endpwent.
37870 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37871 needent, call nss_setspent only if non-zero.
37872 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37873 (internal_endspent): Don't call nss_endspent.
37874 (_nss_compat_endspent): Call nss_endspent.
37875 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37876 Remove. All uses removed.
37877 (internal_setent): Remove parameter stayopen, add parameter
37878 stream. Use it instead of global variable.
37879 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37880 (internal_endent, internal_getent): Add parameter stream. Use it
37881 instead of global variable.
37882 (CONCAT(_nss_files_end,ENTNAME))
37883 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37884 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37885 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37886 uses removed.
37887 (internal_setent, internal_endent): Add parameter stream. Use it
37888 instead of global variable.
37889 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37890 stream.
37891 (get_next_alias): Add parameter stream.
37892 (_nss_files_getaliasent_r): Pass global stream.
37893 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37894 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37895 (_nss_files_gethostbyname4_r): Pass local stream to
37896 internal_setent, internal_getent and internal_endent. Remove
37897 locking.
37898
37899 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37900
37901 * tst-strfmon1.c (tests): Update expected currency symbol.
37902
37903 2015-05-08 Roland McGrath <roland@hack.frob.com>
37904
37905 * sysdeps/nacl/gethostname.c: New file.
37906
37907 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37908
37909 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37910 and sinh.
37911 * math/auto-libm-test-out: Regenerated.
37912 * sysdeps/i386/fpu/libm-test-ulps: Update.
37913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37914
37915 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37916
37917 [BZ #18125]
37918 * stdlib/tst-setcontext3.c: New file.
37919 * stdlib/tst-setcontext3.sh: New file.
37920 * stdlib/Makefile (tests): Add tst-setcontext3.
37921 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37922 to verify test program created output file.
37923 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37924 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37925 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37926 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37927
37928 2015-05-06 Roland McGrath <roland@hack.frob.com>
37929
37930 [BZ #18383]
37931 * elf/tst-tlsalign.c: New file.
37932 * elf/tst-tlsalign-static.c: New file.
37933 * elf/tst-tlsalign-lib.c: New file.
37934 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37935 (tests-static): Add tst-tlsalign-static.
37936 (modules-names): Add tst-tlsalign-lib.
37937 (test-xfail-tst-tlsalign): New variable.
37938 (test-xfail-tst-tlsalign-static): New variable.
37939
37940 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37941 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37942
37943 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37944
37945 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37946 csqrt, erfc, sin and sincos.
37947 * math/auto-libm-test-out: Regenerated.
37948 * sysdeps/i386/fpu/libm-test-ulps: Update.
37949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37950
37951 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37952
37953 * sysdeps/aarch64/libm-test-ulps: Update.
37954
37955 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37956
37957 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37958 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37959 * math/auto-libm-test-out: Regenerated.
37960 * sysdeps/i386/fpu/libm-test-ulps: Update.
37961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37962
37963 2015-04-30 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
37964
37965 [BZ #18265]
37966 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37967 (wcsncpy): Likewise.
37968
37969 2015-05-05 Florian Weimer <fweimer@redhat.com>
37970
37971 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37972 Assume __ASSUME_FALLOCATE is always true.
37973 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37974 (__posix_fallocate64_l64): Likewise.
37975 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37976 (posix_fallocate): Likewise.
37977 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37978 (__posix_fallocate64_l64): Likewise.
37979 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37980 [!__ASSUME_FALLOCATE]: Add comment.
37981
37982 2015-05-05 Florian Weimer <fweimer@redhat.com>
37983
37984 * sysdeps/unix/sysv/linux/i386/Makefile
37985 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37986 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37987 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37988 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37989 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37990 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37991 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37992
37993 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37994
37995 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37996 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37997 tgamma.
37998 * math/auto-libm-test-out: Regenerated.
37999 * sysdeps/i386/fpu/libm-test-ulps: Update.
38000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38001
38002 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38003
38004 * math/auto-libm-test-in: Add more tests of tgamma.
38005 * math/auto-libm-test-out: Regenerated.
38006 * sysdeps/i386/fpu/libm-test-ulps: Update.
38007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38008
38009 * math/auto-libm-test-in: Add more tests of tanh.
38010 * math/auto-libm-test-out: Regenerated.
38011 * sysdeps/i386/fpu/libm-test-ulps: Update.
38012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38013
38014 * math/auto-libm-test-in: Add more tests of tan.
38015 * math/auto-libm-test-out: Regenerated.
38016 * sysdeps/i386/fpu/libm-test-ulps: Update.
38017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38018
38019 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38020 * math/auto-libm-test-out: Regenerated.
38021 * sysdeps/i386/fpu/libm-test-ulps: Update.
38022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38023
38024 * math/auto-libm-test-in: Add another test of pow.
38025 * math/auto-libm-test-out: Regenerated.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38027
38028 * math/auto-libm-test-in: Add more tests of lgamma.
38029 * math/auto-libm-test-out: Regenerated.
38030 * sysdeps/i386/fpu/libm-test-ulps: Update.
38031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38032
38033 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38034 log1p.
38035 * math/auto-libm-test-out: Regenerated.
38036 * sysdeps/i386/fpu/libm-test-ulps: Update.
38037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38038
38039 2015-05-01 Mark Wielaard <mjw@redhat.com>
38040
38041 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38042 Elf64_Chdr structs and ELFCOMPRESS constants.
38043
38044 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38045
38046 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38047 expm1.
38048 * math/auto-libm-test-out: Regenerated.
38049 * sysdeps/i386/fpu/libm-test-ulps: Update.
38050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38051
38052 * math/auto-libm-test-in: Add more tests of erf and erfc.
38053 * math/auto-libm-test-out: Regenerated.
38054 * sysdeps/i386/fpu/libm-test-ulps: Update.
38055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38056
38057 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38058
38059 * config.h.in (HAVE_AARCH64_BE): Add.
38060
38061 2015-04-30 Joseph Myers <joseph@codesourcery.com>
38062
38063 * math/auto-libm-test-in: Add more tests of csqrt.
38064 * math/auto-libm-test-out: Regenerated.
38065 * sysdeps/i386/fpu/libm-test-ulps: Update.
38066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38067
38068 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38069 * math/auto-libm-test-out: Regenerated.
38070 * sysdeps/i386/fpu/libm-test-ulps: Update.
38071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38072
38073 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38074
38075 2015-04-29 Roland McGrath <roland@hack.frob.com>
38076
38077 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38078 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38079
38080 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38081 (euidaccess, eaccess): Define as weak aliases.
38082
38083 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38084 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38085 but __suseconds_t is often 'long int' so some sources assume that
38086 type is being used (e.g. they use %ld to print tv_usec).
38087
38088 2015-04-29 Florian Weimer <fweimer@redhat.com>
38089
38090 [BZ #18007]
38091 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38092 (CVE-2014-8121)
38093 * nss/tst-nss-getpwent.c: New file.
38094 * nss/Makefile (tests): Add new test.
38095
38096 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38097
38098 [BZ #18346]
38099 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38100 exponents less than 48 as cases where high part of mantissa needs
38101 examining to determine whether argument is integral.
38102 * math/libm-test.inc (round_test_data): Add more tests.
38103
38104 2015-04-28 Mark Wielaard <mjw@redhat.com>
38105
38106 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38107
38108 2015-04-27 David S. Miller <davem@davemloft.net>
38109
38110 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38111 __tls_get_addr.
38112 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38113
38114 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38115
38116 [BZ #18333]
38117 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38118
38119 2015-04-27 Florian Weimer <fweimer@redhat.com>
38120
38121 [BZ #18333]
38122 * time/tzset.c (parse_tzname): Return error on memory allocation
38123 failure.
38124 * test-skeleton.c (struct temp_name_list): Change type of name
38125 member to non-const.
38126 (add_temp_file): Create a copy of the file name.
38127 (delete_temp_files): Deallocate memory.
38128 (create_temp_file): Add comment.
38129
38130 2015-04-24 Florian Weimer <fweimer@redhat.com>
38131
38132 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38133 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38134
38135 2015-04-24 Roland McGrath <roland@hack.frob.com>
38136
38137 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38138 * sysdeps/arm/configure: Regenerated.
38139
38140 2015-04-24 Florian Weimer <fweimer@redhat.com>
38141
38142 [BZ #17715]
38143 * time/tzfile.c (__tzfile_read): Check for large values of
38144 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38145 * time/tzset.c (__tzstring_len): New function, based on the old
38146 __tzstring function.
38147 (__tzstring): Call __tzstring_len.
38148 (parse_tzname): New helper function extracted from
38149 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38150 the input string.
38151 (parse_offset): New helper function extracted from
38152 __tzset_parse_tz. Replace switch with fallthrough with
38153 initialization before sscanf.
38154 (parse_rule): Likewise.
38155 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38156 new-style function definition.
38157 * timezone/Makefile (tests): Add tst-tzset.
38158 (tst-tzset.out): Dependencies on time zone files.
38159 (tst-tzset-ENV): Set TZDIR.
38160 (testdata/XT%): Copy crafted time zone files.
38161 * timezone/README: Mention crafted time zone files.
38162 * timezone/testdata/XT1, timezone/testdata/XT2,
38163 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38164 files.
38165 * timezone/tst-tzset.c: New test.
38166
38167 2015-04-24 Florian Weimer <fweimer@redhat.com>
38168
38169 * Makeconfig (+gccwarn): Remove -Winline.
38170
38171 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38172
38173 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38174
38175 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38176
38177 * NEWS: Mention sysconf() cache information support for s390.
38178 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38179
38180 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38181
38182 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38183 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38184 (__nearbyint): Likewise.
38185 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38186 (copysignl): Likewise.
38187
38188 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38189
38190 [BZ #18287]
38191 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38192 based on padding. (CVE-2015-1781)
38193
38194 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38195
38196 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38197 libc-vdso.h.
38198 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38199 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38200 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38201 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38202 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38203 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38205 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38206 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38207 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38208 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38209 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38210 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38211 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38212 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38213 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38214 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38216 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38217 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38218 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38219 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38220 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38221
38222 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38223
38224 * stdlib/setenv.c (__add_to_environ):
38225 Dump core quickly if setenv (..., NULL, ...) is called.
38226 This time, do it the right way, and pacify GCC with a pragma.
38227
38228 2015-04-17 Roland McGrath <roland@hack.frob.com>
38229
38230 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38231 IMAP->l_prev cannot be null, and #if out the code for the contrary
38232 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38233 believe that NS (&_dl_ns[NSID]) could point outside the array.
38234
38235 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38236 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38237 before using NSID as an index.
38238
38239 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38240
38241 [BZ #17825]
38242 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38243 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38244 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38245
38246 2015-04-17 Roland McGrath <roland@hack.frob.com>
38247
38248 Add preliminary port to Google Native Client on ARM.
38249 * abi-tags (.*-.*-nacl.*): New entry.
38250 * sysdeps/arm/nacl: New directory.
38251 * sysdeps/nacl: New directory.
38252
38253 2015-04-16 David S. Miller <davem@davemloft.net>
38254
38255 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38256 lowlevellock-futex.h
38257
38258 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38259
38260 * sysdeps/tile/configure.ac: New file.
38261 * sysdeps/tile/configure: Regenerated.
38262
38263 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38264
38265 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38266 conditionals for weak_alias and libc_hidden_weak.
38267 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38268 libc_hidden_weak and weak_alias.
38269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38270 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38271 and weak_alias for static one.
38272
38273 2015-04-15 David S. Miller <davem@davemloft.net>
38274
38275 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38276
38277 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38278
38279 [BZ #18206]
38280 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38281 Use signed comparision instead of substraction to avoid
38282 overflow bug.
38283 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38284 Take the sign of ret.
38285 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38286 Do not expect precise return values. Only the sign matters.
38287 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38288 * wcsmbs/test-wcsncmp.c: New File.
38289 * string/test-strncmp.c: Add wcsncmp support.
38290
38291 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38292
38293 [BZ #6792]
38294 * math/w_log1p.c: New file.
38295 * math/w_log1pf.c: Likewise.
38296 * math/w_log1pl.c: Likewise.
38297 * math/Makefile (libm-calls): Add w_log1p.
38298 * math/s_log1pl.c (log1pl): Remove weak_alias.
38299 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38300 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38301 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38302 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38303 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38304 [NO_LONG_DOUBLE] (log1pl): Likewise.
38305 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38306 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38307 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38308 (log1p): Remove long_double_symbol.
38309 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38310 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38311 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38312 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38313 remove weak_alias for corresponding log1p function.
38314 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38315 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38316 * sysdeps/ia64/fpu/w_log1p.c: New file.
38317 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38318 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38319 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38320
38321 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38322
38323 [BZ #18247]
38324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38325 decimal exponent by 1.
38326 * stdlib/tst-strtod-round-data: Add more tests.
38327 * stdlib/tst-strtod-round.c (tests): Regenerated.
38328
38329 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38330
38331 * math/auto-libm-test-in: Add more tests of clog and clog10.
38332 * math/auto-libm-test-out: Regenerated.
38333 * sysdeps/i386/fpu/libm-test-ulps: Update.
38334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38335
38336 2015-04-09 Roland McGrath <roland@hack.frob.com>
38337
38338 * Makeconfig (module-cppflags): Exclude all .v.i files.
38339 (skip-module-cppflags): Variable removed.
38340
38341 * configure.ac (libc_config_ok): Initialize before reading
38342 preconfigure scripts, not after.
38343 * configure: Regenerated.
38344
38345 * test-skeleton.c (TIMEOUT): Move #define to top level.
38346 (main): Grok environment variable TEST_DIRECT. If set, print
38347 test expectation details into that file and then behave as if
38348 given --direct.
38349
38350 2015-04-09 Florian Weimer <fweimer@redhat.com>
38351
38352 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38353 warning on 32-bit.
38354
38355 2015-04-08 David S. Miller <davem@davemloft.net>
38356
38357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38358
38359 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38360
38361 * math/auto-libm-test-in: Add more tests of atanh.
38362 * math/auto-libm-test-out: Regenerated.
38363 * sysdeps/i386/fpu/libm-test-ulps: Update.
38364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38365
38366 * math/auto-libm-test-in: Add more tests of atan.
38367 * math/auto-libm-test-out: Regenerated.
38368 * sysdeps/i386/fpu/libm-test-ulps: Update.
38369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38370
38371 2015-04-08 Florian Weimer <fweimer@redhat.com>
38372
38373 * elf/pldd.c (main): Rewrite to use struct
38374 scratch_buffer instead of extend_alloca.
38375 * elf/pldd-xx.c (find_maps): Likewise.
38376 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38377 <alloca.h>.
38378 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38379 scratch_buffer instead of extend_alloca.
38380 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38381 grp/compat-initgroups.c.
38382 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38383 Rewrite to use struct scratch_buffer instead of extend_alloca.
38384 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38385 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38386
38387 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38388
38389 * math/auto-libm-test-in: Add more tests of cbrt.
38390 * math/auto-libm-test-out: Regenerated.
38391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38392
38393 * math/auto-libm-test-in: Add more tests of cabs.
38394 * math/auto-libm-test-out: Regenerated.
38395 * sysdeps/i386/fpu/libm-test-ulps: Update.
38396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38397
38398 [BZ #18210]
38399 [BZ #18211]
38400 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38401 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38402 computations.
38403 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38404 clog10.
38405 * math/auto-libm-test-out: Regenerated.
38406 * sysdeps/i386/fpu/libm-test-ulps: Update.
38407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38408
38409 [BZ #18197]
38410 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38411 (atan): Set FE_TONEAREST mode for internal computations.
38412 * math/auto-libm-test-in: Add more tests of atan.
38413 * math/auto-libm-test-out: Regenerated.
38414
38415 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38416
38417 [BZ #17930]
38418 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38419
38420 2015-04-07 Florian Weimer <fweimer@redhat.com>
38421
38422 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38423
38424 2015-04-07 Florian Weimer <fweimer@redhat.com>
38425
38426 * include/scratch_buffer.h: New file.
38427 * malloc/scratch_buffer_grow.c: Likewise.
38428 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38429 * malloc/scratch_buffer_set_array_size.c: Likewise.
38430 * malloc/tst-scratch_buffer.c: Likewise.
38431 * malloc/Makefile (routines): Add scratch_buffer_grow.
38432 (tests): Add test case.
38433 * malloc/Versions (GLIBC_PRIVATE): Export
38434 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38435 __libc_scratch_buffer_set_array_size.
38436
38437 2015-04-06 Richard Henderson <rth@redhat.com>
38438
38439 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38440 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38441
38442 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38443 unsigned int before printing.
38444
38445 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38446
38447 [BZ #17596]
38448 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38449 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38450
38451 2015-04-02 Florian Weimer <fweimer@redhat.com>
38452
38453 * include/libc-internal.h (libc_max_align_t): Define.
38454
38455 2015-04-02 Andreas Schwab <schwab@suse.de>
38456
38457 [BZ #16850]
38458 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38459
38460 2015-04-02 Mel Gorman <mgorman@suse.de>
38461
38462 [BZ #17195]
38463 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38464 as well as the main arena.
38465
38466 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38467
38468 [BZ #18185]
38469 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38470 sharing L2 cache to 2 for Silvermont/Knights Landing.
38471
38472 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38473
38474 [BZ #17711]
38475 * config.make.in (have-protected-data): New.
38476 * configure.ac: Check linker support for protected data symbol.
38477 * configure: Regenerated.
38478 * elf/Makefile (modules-names): Add tst-protected1moda and
38479 tst-protected1modb if $(have-protected-data) is yes.
38480 (tests): Add tst-protected1a and tst-protected1b if
38481 $(have-protected-data) is yes.
38482 ($(objpfx)tst-protected1a): New.
38483 ($(objpfx)tst-protected1b): Likewise.
38484 (tst-protected1modb.so-no-z-defs): Likewise.
38485 * elf/tst-protected1a.c: New file.
38486 * elf/tst-protected1b.c: Likewise.
38487 * elf/tst-protected1mod.h: Likewise.
38488 * elf/tst-protected1moda.c: Likewise.
38489 * elf/tst-protected1modb.c: Likewise.
38490
38491 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38492
38493 [BZ #17711]
38494 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38495 indicates it is called from do_lookup_x on relocation against
38496 protected data, skip the data definion in the executable from
38497 copy reloc.
38498 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38499 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38500 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38501 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38502 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38503 otherwise to 0.
38504 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38505 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38506 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38507 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38508 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38509 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38510
38511 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38512
38513 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38514 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38515
38516 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38517
38518 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38519 THREAD_SETMEM_NC.
38520 * sysdeps/x86_64/nptl/tls.h: Ditto.
38521
38522 2015-03-27 Roland McGrath <roland@hack.frob.com>
38523
38524 * dlfcn/tststatic.c (main): Converted to ...
38525 (do_test): ... this.
38526 (TEST_FUNCTION): New macro.
38527 Include test-skeleton.c.
38528
38529 2015-03-26 Alan Modra <amodra@gmail.com>
38530
38531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38532 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38533 zero for undefined weak.
38534 (elf_machine_plt_conflict): Similarly.
38535
38536 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38537
38538 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38539 atanh.
38540 * math/auto-libm-test-out: Regenerated.
38541 * sysdeps/i386/fpu/libm-test-ulps: Update.
38542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38543
38544 * math/auto-libm-test-in: Add another test of asin.
38545 * math/auto-libm-test-out: Regenerated.
38546 * sysdeps/i386/fpu/libm-test-ulps: Update.
38547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38548
38549 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38550 Remove macro.
38551 (LLL_EBX_REG): Likewise.
38552 (LLL_ENTER_KERNEL): Likewise.
38553
38554 * math/auto-libm-test-in: Add more tests of asin.
38555 * math/auto-libm-test-out: Regenerated.
38556 * sysdeps/i386/fpu/libm-test-ulps: Update.
38557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38558
38559 [BZ #18138]
38560 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38561 libc_do_syscall_args): New structure.
38562 (INTERNAL_SYSCALL_MAIN_0): New macro.
38563 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38564 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38565 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38566 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38567 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38568 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38569 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38570 Replace conditional definitions by conditional definitions of ....
38571 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38572 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38573 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38574 (libpthread-sysdep_routines): Add libc-do-syscall.
38575 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38576 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38577 to __NR_futex not 240.
38578
38579 2015-03-25 Alan Modra <amodra@gmail.com>
38580
38581 * NEWS: Advertise TLS optimization.
38582 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38583 (DT_PPC_NUM): Increment.
38584 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38585 (CHECK_STATIC_TLS): Use here.
38586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38587 TLS descriptors.
38588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38589 * sysdeps/powerpc/dl-tls.c: New file.
38590 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38591 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38592 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38593 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38597
38598 2015-03-25 Alan Modra <amodra@gmail.com>
38599
38600 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38601 for overlapping .opd entries" to "support...".
38602 * sysdeps/powerpc/powerpc64/configure: Regenerate
38603
38604 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38605
38606 * math/auto-libm-test-in: Add more tests of acos.
38607 * math/auto-libm-test-out: Regenerated.
38608 * sysdeps/i386/fpu/libm-test-ulps: Update.
38609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38610
38611 * math/auto-libm-test-in: Add more tests of expm1.
38612 * math/auto-libm-test-out: Regenerated.
38613 * sysdeps/i386/fpu/libm-test-ulps: Update.
38614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615
38616 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38617
38618 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38625
38626 * math/auto-libm-test-in: Add more tests of log2.
38627 * math/auto-libm-test-out: Regenerated.
38628 * sysdeps/i386/fpu/libm-test-ulps: Update.
38629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38630
38631 2015-03-23 Roland McGrath <roland@hack.frob.com>
38632
38633 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38634 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38635 _IO_IS_APPENDING bit in READ_WRITE instead.
38636
38637 2015-03-23 Florian Weimer <fweimer@redhat.com>
38638
38639 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38640 (__determine_cpumask_size): Replace extend_alloca with a
38641 variable-length array. Do not treat res == 0 as an error.
38642
38643 2015-03-23 Florian Weimer <fweimer@redhat.com>
38644
38645 [BZ #18100]
38646 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38647 and integer overflow.
38648 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38649 (main): Add integer overflow tests.
38650 * manual/pattern.texi (Calling Wordexp): Document additional use
38651 for WRDE_SYNTAX.
38652
38653 2015-03-23 Alan Modra <amodra@gmail.com>
38654
38655 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38656 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38657 and false branch of conditional.
38658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38659 Likewise.
38660
38661 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38662
38663 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38664 libc-modules.h
38665 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38666 unused declaration of _hurd_intr_rpc_msg_in_trap.
38667 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38668 defined instead of whether it is non-zero.
38669 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38670 input constraint instead of both input and output constraint. Use ecx
38671 clobber instead of %ecx.
38672 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38673 mutex_unlock): Use a statement expression instead of an expression list.
38674 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38675 type to vm_size_t instead of vm_address_t.
38676 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38677 defined instead of whether it is non-zero.
38678 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38679 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38680 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38681 comparisons with mapaddr.
38682 * nscd/nscd-client.h: Include <time.h>.
38683 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38684 9th parameter to __vm_region instead of int.
38685 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38686 * scripts/check-local-headers.sh (exclude): Add device/,
38687 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38688 cthreads.h.
38689
38690 2015-03-19 Roland McGrath <roland@hack.frob.com>
38691
38692 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38693 to account for alignment padding.
38694 * sysdeps/arm/memmove.S: Likewise.
38695
38696 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38697
38698 * sysdeps/unix/sysv/linux/generic/README: New file.
38699
38700 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38701
38702 [BZ #18138]
38703 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38704 (futex_abstimed_wait)
38705 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38706 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38707 of lll_futex_timed_wait.
38708
38709 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38710
38711 [BZ #17542]
38712 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38713
38714 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38715
38716 [BZ #17090]
38717 [BZ #17620]
38718 [BZ #17621]
38719 [BZ #17628]
38720 * NEWS: Update.
38721 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38722 entries with Static TLS too. Skip entries past the end of the
38723 allocated DTV, from Alan Modra.
38724 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38725 Static TLS DTV entry set up from...
38726 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38727 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38728 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38729 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38730 for Static TLS.
38731 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38732 that the slot we find is associated with the given map before
38733 using its generation count.
38734 * nptl_db/db_info.c: Include ldsodefs.h.
38735 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38736 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38737 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38738 (link_map::l_tls_offset): New struct field.
38739 (dtv_t::counter): Likewise.
38740 (rtld_global): New struct.
38741 (_rtld_global): New rtld variable.
38742 (dl_tls_dtv_slotinfo_list): New rtld global field.
38743 (dtv_slotinfo_list): New struct.
38744 (dtv_slotinfo): Likewise.
38745 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38746 (td_lookup): Rename to...
38747 (td_mod_lookup): ... this. Use new mod parameter instead of
38748 LIBPTHREAD_SO.
38749 * nptl_db/td_thr_tlsbase.c: Include link.h.
38750 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38751 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38752 addresses even if the DTV is out of date or missing them.
38753 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38754 index zero-length arrays.
38755 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38756 (td_lookup): Make it a macro implemented in terms of...
38757 (td_mod_lookup): ... this declaration.
38758 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38759 (DB_MAIN_VARIABLE): Likewise.
38760
38761 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38762
38763 [BZ #18134]
38764 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38765
38766 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38767
38768 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38769
38770 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38771
38772 [BZ #18128]
38773 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38774 (atomic_add, atomic_increment_and_test)
38775 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38776
38777 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38778
38779 * stdlib/setenv.c (__add_to_environ):
38780 Dump core quickly if setenv (..., NULL, ...) is called.
38781
38782 2015-03-13 Roland McGrath <roland@hack.frob.com>
38783
38784 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38785 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38786 all the necessary asm magic in one place.
38787 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38788 using those.
38789
38790 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38791
38792 [BZ #14906]
38793 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38794 traced file mtime. Use consistent log message.
38795 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38796 (register_traced_file): Call install_watches. Always set mtime.
38797 (invalidate_cache): Iterate over all trace files. Call install_watches.
38798 (inotify_check_files): Don't inline. Handle watching parent
38799 directories and configuration file movement in and out.
38800 (handle_inotify_events): New function.
38801 (main_loop_poll): Call handle_inotify_events.
38802 (main_loop_epoll): Likewise.
38803 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38804 (struct traced_file): Use array of inotify fds. Add parent directory,
38805 and basename.
38806 (struct database_dyn): Remove unused file_mtime.
38807 (init_traced_file): New inline function.
38808 (define_traced_file): New macro.
38809 * nss/nss_db/db-init.c: Use define_traced_file.
38810 (_nss_db_init): Use init_traced_file.
38811 * nss/nss_files/files-init.c: Use define_traced_file.
38812 (_nss_files_init): Use init_traced_file.
38813
38814 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38815
38816 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38817 [_LIBC]: Do not include <stdlib.h>.
38818 [!_LIBC] (abort): Remove declaration.
38819 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38820 _FP_STATIC_ASSERT instead of conditionally calling abort.
38821 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38822 (_FP_EXTEND_CNAN): Likewise.
38823 (FP_TRUNC): Likewise.
38824 (__FP_CLZ): Likewise.
38825 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38826
38827 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38828
38829 * manual/string.texi (XPG basename): Fix prototype.
38830
38831 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38832
38833 [BZ #18080]
38834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38835 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38836 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38837 (__setcontext): Likewise.
38838 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38839 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38840 Call rt_sigprocmask syscall one time to set new signal mask
38841 and retrieve the current signal mask instead of two calls.
38842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38843 (__swapcontext): Likewise.
38844 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38845 * stdlib/tst-setcontext2.c: New file.
38846
38847 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38848
38849 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38850
38851 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38852
38853 [BZ #18093]
38854 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38855 the wrong size.
38856
38857 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38858
38859 [BZ #18043]
38860 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38861
38862 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38863
38864 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38865 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38866 Remove define.
38867 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38868 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38869 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38870 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38871 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38872 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38873 define.
38874 * nptl_db/td_symbol_list.c (td_lookup): Remove
38875 HAVE_ASM_GLOBAL_DOT_NAME code.
38876 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38877 HAVE_ASM_GLOBAL_DOT_NAME check.
38878 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38879 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38880 (DOT_LABEL): Remove define.
38881 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38882 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38883 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38884 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38885 (__TLS_GET_ADDR): Likewise.
38886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38887 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38888
38889 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38890
38891 [BZ #18111]
38892 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38893 (_FPU_SETCW): Initialize cw from fpsr before storing.
38894 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38895 (fesetexceptflag): Rewrite using fpu_control.h.
38896 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38897
38898 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38899
38900 [BZ #18110]
38901 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38902 asms.
38903 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38904
38905 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38906
38907 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38908 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38909 abort.
38910 (_FP_FMA): Likewise.
38911 (_FP_DIV): Likewise.
38912
38913 2015-03-10 Roland McGrath <roland@hack.frob.com>
38914
38915 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38916 with 0 in that case.
38917 * Makefile (summarize-tests): New canned sequence, factored out of
38918 commands for targets tests and xtests. Display summary lines that
38919 don't start with PASS: or XFAIL: rather than ones that do start with
38920 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38921 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38922 do start with ERROR: or FAIL:.
38923 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38924 (except for [$(build-shared) = yes]).
38925 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38926 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38927 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38928 * nptl/Makefile: Revert 2015-03-04 changes.
38929 [$(CXX) empty] (tests-unsupported): New variable.
38930 * debug/Makefile: Likewise.
38931
38932 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38933 gnulib file. Replace __attribute with __attribute__ throughout.
38934
38935 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38936
38937 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38938
38939 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38940
38941 [BZ #18104]
38942 * math/auto-libm-test-in: Add another test of pow.
38943 * math/auto-libm-test-out: Regenerated.
38944
38945 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38946
38947 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38948 $(config-cflags-nofma).
38949
38950 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38951
38952 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38953 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38954 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38955 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38956 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38957 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38958 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38959 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38960 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38961 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38962 Add comment on closing #endif.
38963
38964 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38965
38966 * posix/wordexp.c (CHAR_IN_SET): New macro.
38967 (parse_param): Use it.
38968
38969 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38970
38971 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38972
38973 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38974
38975 [BZ #18043]
38976 * posix/wordexp.c (parse_param): Fix buffer overflow.
38977 * posix/wordexp-test.c (test_case): Add test case.
38978
38979 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38980
38981 [BZ #18042]
38982 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38983 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38984
38985 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38986
38987 [BZ #18043]
38988 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38989 (do_bz18043): Delete.
38990 (at_page_end): New.
38991 (testit): Refactor to have words at the edge of unreadable page.
38992
38993 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38994
38995 [BZ #16734]
38996 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38997 Cleanup read-only streams as well.
38998 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38999
39000 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39001
39002 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39003 <bits/libc-lockP.h>
39004
39005 2015-03-07 Joseph Myers <joseph@codesourcery.com>
39006
39007 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39008 on [__KERNEL__].
39009 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39010 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39011 * soft-fp/op-common.h (_FP_DECL): Likewise.
39012
39013 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39014
39015 * elf/ifuncdep2.c (global): Replace
39016 __attribute__((visibility("protected"))) with
39017 asm (".protected global").
39018 * elf/ifuncmod1.c (global): Likewise.
39019 * elf/ifuncmod5.c (global): Likewise.
39020
39021 2015-03-06 Joseph Myers <joseph@codesourcery.com>
39022
39023 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39024 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39025
39026 2015-03-06 Roland McGrath <roland@hack.frob.com>
39027
39028 * manual/install.texi (Configuring and compiling):
39029 Document test-wrapper-env-only.
39030 * INSTALL: Regenerated.
39031
39032 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39033
39034 [BZ #18043]
39035 * posix/wordexp.c (parse_param): Fix buffer overflow.
39036 * posix/wordexp-test.c (do_bz18043): Add test case.
39037
39038 2015-03-06 Vincent Bernat <vincent@bernat.im>
39039
39040 * time/tst-strptime2.c (do_test): Ensure failing tests are
39041 reported correctly.
39042 * time/tst-strptime3.c (do_test): Likewise.
39043
39044 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39045
39046 Fix aio_error thread-safety.
39047 * sysdeps/pthread/aio_error.c: New file
39048 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39049 synchronization.
39050
39051 2015-03-06 Florian Weimer <fweimer@redhat.com>
39052
39053 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39054 (group_number, vfprintf): Use it.
39055 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39056 (JUMP, REF): Use it.
39057 (WORK_BUFFER_SIZE): New enum constant.
39058 (process_arg, vfprintf): Use it.
39059
39060 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
39061
39062 * manual/errno.texi (Error Messages): Complete example function
39063 by adding missing #define.
39064 (program_invocation_name): Add statement indicating GNU
39065 extension and reference which header file declares the variable.
39066 (program_invocation_short_name): Likewise.
39067
39068 2015-03-06 Mike Frysinger <vapier@gentoo.org>
39069
39070 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39071 compatibility note.
39072
39073 2015-03-05 Roland McGrath <roland@hack.frob.com>
39074
39075 * Makeconfig (test-wrapper-env-only): New variable.
39076 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39077 then use that with $(test-wrapper-env-only) rather than using
39078 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39079
39080 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39081
39082 [BZ #18082]
39083 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39084 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39085 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39086 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39087 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39088 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39089 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39090 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39091 Likewise.
39092 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39093 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39094 Likewise.
39095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39096 Likewise.
39097 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39098 Likewise.
39099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39100 Likewise.
39101 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39103 Likewise.
39104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39105 Likewise.
39106 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39107 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39108
39109 2015-03-04 Roland McGrath <roland@hack.frob.com>
39110
39111 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39112 (ETH_ALEN): New macro.
39113 (struct ether_addr): Use it for length of ether_addr_octet.
39114
39115 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39116 (setdb): Don't call __nss_configure_lookup for "rpc".
39117 (do_test): Don't call test_rpc.
39118 (output_rpcent, test_rpc): Functions moved ...
39119 * sunrpc/test-rpcent.c: ... to this new file.
39120 * sunrpc/Makefile (tests): Add it.
39121
39122 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39123 __xpg_sigpause.
39124 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39125 * nptl/tst-signal6.c: Likewise.
39126 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39127 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39128
39129 * configure.ac (libc_cv_cxx_link_ok): New check.
39130 Reset CXX to empty if it fails to link.
39131 * configure: Regenerated.
39132 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39133 bug-atexit3-lib only if $(CXX) is nonempty.
39134 * nptl/Makefile (tests): Likewise for tst-cancel24.
39135 (tests, tests-static): Likewise for tst-cancel24-static.
39136 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39137 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39138 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39139 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39140
39141 2015-03-04 Andreas Schwab <schwab@suse.de>
39142
39143 [BZ #17631]
39144 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39145 for non-GCC compilers.
39146 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39147 Likewise.
39148
39149 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39150
39151 [BZ #17776]
39152 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39153 integer before bitwise and assembly operations.
39154 (feclearexcept): Likewise.
39155 * math/test-fenvinline.c: New file.
39156 * math/Makefile: Add test-fenvinline test.
39157
39158 2015-03-03 Alan Modra <amodra@gmail.com>
39159
39160 [BZ #16512]
39161 * scripts/localplt.awk: Strip off symbol version.
39162 * NEWS: Mention bug fix.
39163
39164 2015-03-02 Roland McGrath <roland@hack.frob.com>
39165
39166 * sysdeps/pthread/timer_routines.c
39167 (timer_free_list, thread_free_list, thread_active_list): Make static.
39168
39169 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39170
39171 [BZ #17779]
39172 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39173 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39174 Undefine.
39175 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39176 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39177 Likewise.
39178 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39179 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39180 Likewise.
39181
39182 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39183
39184 [BZ #18036]
39185 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39186 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39187
39188 2015-03-02 Andreas Schwab <schwab@suse.de>
39189
39190 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39191 variable name.
39192
39193 2015-03-02 Florian Weimer <fweimer@redhat.com>
39194
39195 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39196 Return error status.
39197
39198 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39199
39200 [BZ #15969]
39201 * locale/findlocale.c (_nl_find_locale): Introduce const
39202 version of loc_name and drop unsafe type casts.
39203
39204 2015-02-27 Roland McGrath <roland@hack.frob.com>
39205
39206 * dlfcn/tststatic2.c (main): Converted to ...
39207 (do_test): ... this.
39208 (TEST_FUNCTION): New macro.
39209 Include test-skeleton.c.
39210
39211 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39212
39213 [BZ #17711]
39214 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39215 (tests-pie): Add vismain.
39216 (CFLAGS-vismain.c): New.
39217 * elf/vismain.c: Add comments for PIE requirement.
39218
39219 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39220
39221 [BZ #18046]
39222 [BZ #18047]
39223 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39224 0x1p-56L as threshold for just returning the argument.
39225 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39226 0x1p-32L as threshold for just returning the argument.
39227 * math/auto-libm-test-in: Add more tests of atanh.
39228 * math/auto-libm-test-out: Regenerated.
39229 * sysdeps/i386/fpu/libm-test-ulps: Update.
39230 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39231
39232 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39233
39234 * string/bcopy.c (bcopy): Call memmove for performance.
39235
39236 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39237
39238 * string/bzero.c (__bzero): Call memset for performance.
39239
39240 2015-02-27 John David Anglin <dave.anglin@bell.net>
39241
39242 [BZ #18068]
39243 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39244 to 00100000.
39245
39246 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39247
39248 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39249
39250 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39251
39252 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39253 (__kernel_standard): Use CSTR macro when setting exc.name.
39254 * sysdeps/ieee754/Makefile [$(subdir) = math]
39255 (CFLAGS-k_standard.c): Remove variable.
39256
39257 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39258 setting p and q from "else if" to "else".
39259 (qzero): Likewise.
39260 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39261 (qone): Likewise.
39262 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39263 (qzerof): Likewise.
39264 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39265 (qonef): Likewise.
39266 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39267 (qzero): Likewise.
39268 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39269 (qone): Likewise.
39270
39271 [BZ #18038]
39272 [BZ #18039]
39273 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39274 return pi/2 for arguments below 0x1p-113L.
39275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39276 return pi/2 for arguments below 0x1p-106L.
39277 * math/auto-libm-test-in: Add more tests of acos.
39278 * math/auto-libm-test-out: Regenerated.
39279
39280 [BZ #16351]
39281 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39282 (MO): New macro.
39283 (__ieee754_asin): Force underflow exception for results with small
39284 absolute value.
39285 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39286 (MO): New macro.
39287 (__ieee754_asinf): Force underflow exception for results with
39288 small absolute value.
39289 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39290 (__ieee754_asin): Force underflow exception for results with small
39291 absolute value.
39292 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39293 (__ieee754_asinf): Force underflow exception for results with
39294 small absolute value.
39295 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39296 (__ieee754_asinl): Force underflow exception for results with
39297 small absolute value.
39298 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39299 (__ieee754_asinl): Force underflow exception for results with
39300 small absolute value.
39301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39302 (__ieee754_asinl): Force underflow exception for results with
39303 small absolute value.
39304 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39305 Include <math.h>.
39306 * math/auto-libm-test-in: Do not mark underflow exceptions as
39307 possibly missing for bug 16351.
39308 * math/auto-libm-test-out: Regenerated.
39309
39310 [BZ #18030]
39311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39312 of power of 2 down when low part has opposite sign.
39313 * math/libm-test.inc (logb_test_data): Add more tests.
39314
39315 2015-02-26 Andreas Schwab <schwab@suse.de>
39316
39317 [BZ #18032]
39318 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39319 over collating symbol inside a bracket expression. Minor cleanup.
39320 * posix/tst-fnmatch3.c (do_test): Add test case.
39321
39322 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39323
39324 [BZ #18029]
39325 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39326 Adjust exponent of power of 2 down when low part has opposite
39327 sign.
39328 * math/libm-test.inc (ilogb_test_data): Add more tests.
39329
39330 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39331
39332 [BZ #15969]
39333 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39334 the previous change.
39335
39336 [BZ #15969]
39337 * locale/findlocale.c (_nl_find_locale): Retry archive search
39338 after alias expansion.
39339
39340 2015-02-25 Roland McGrath <roland@hack.frob.com>
39341
39342 * iconv/tst-iconv3.c (main): Converted to ...
39343 (do_test): ... this.
39344 (TEST_FUNCTION): New macro.
39345 Include test-skeleton.c.
39346
39347 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39348 (convert): Make function static.
39349 (test_unalign): Likewise. Add const to argument pointee types.
39350 (main): Replace with static function do_test.
39351 Print "Succeeded." only if RET is zero.
39352 (TEST_FUNCTION): New macro.
39353 Include test-skeleton.c.
39354
39355 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39356 returns a null pointer.
39357
39358 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39359
39360 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39361 to __memcpy_ppc only for static builds.
39362
39363 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39364
39365 [BZ #18020]
39366 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39367 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39368 * math/auto-libm-test-in: Add more tests of asinh.
39369 * math/auto-libm-test-out: Regenerated.
39370 * sysdeps/i386/fpu/libm-test-ulps: Update.
39371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39372
39373 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39374
39375 [BZ #15850]
39376 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39377 and ip6_mtuinfo definitions here.
39378 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39379 in this define too. Update comment.
39380
39381 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39382
39383 * elf/sprof.c (load_shobj): Tweak error message to match others.
39384
39385 2015-02-24 Kevin Easton <kevin@guarana.org>
39386
39387 [BZ #16145] (partial fix)
39388 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39389 to reduce lock contention.
39390
39391 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39392
39393 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39394 (struct timex): Update time comment.
39395 (ADJ_SETOFFSET): Define.
39396
39397 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39398
39399 [BZ #18019]
39400 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39401 2**56 not 2**28 as threshold for log (2x) formula.
39402 * math/auto-libm-test-in: Add more tests of acosh.
39403 * math/auto-libm-test-out: Regenerated.
39404 * sysdeps/i386/fpu/libm-test-ulps: Update.
39405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39406
39407 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39408
39409 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39410 parenthesis around the buf assignment.
39411 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39412
39413 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39414
39415 [BZ #16783]
39416 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39417 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39418 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39419 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39420 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39421 * math/libm-test.inc (scalb_test_data): Add more tests.
39422
39423 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39424
39425 [BZ #17916]
39426 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39427 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39428
39429 2015-02-24 Eric Rannaud <e@nanocritical.com>
39430
39431 [BZ #17523]
39432 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39433 * io/bits/fcntl2.h (open): Use it.
39434 (openat): Likewise.
39435 * io/open.c (__libc_open): Likewise.
39436 * io/open64.c (__libc_open64): Likewise.
39437 * io/open64_2.c (__open64_2): Likewise.
39438 * io/open_2.c (__open_2): Likewise.
39439 * io/openat.c (__openat): Likewise.
39440 * io/openat64.c (__openat64): Likewise.
39441 * io/openat64_2.c (__openat64_2): Likewise.
39442 * io/openat_2.c (__openat_2): Likewise.
39443 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39444 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39445 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39446 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39447 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39448 (__open_nocancel): Likewise.
39449 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39450 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39451 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39452
39453 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39454
39455 [BZ #14841]
39456 * resolv/gethnamaddr.c (getanswer): Skip logging if
39457 RES_USE_DNSSEC is set.
39458 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39459
39460 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39461
39462 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39463
39464 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39465
39466 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39467 201304L, for Unicode 7.
39468
39469 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39470
39471 [BZ #17836]
39472 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39473 shared library. Add gmon-start.os otherwise.
39474 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39475 $(objpfx)gmon-start.os if builing shared library.
39476 ($(objpfx)g$(static-start-installed-name)): Likewise.
39477
39478 2015-02-23 Andreas Schwab <schwab@suse.de>
39479
39480 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39481
39482 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39483
39484 [BZ #17269]
39485 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39486 (enlarge_userbuf): Likewise.
39487
39488 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39489
39490 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39491 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39492 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39493 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39494
39495 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39496
39497 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39498 expression inside statement expression.
39499
39500 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39501
39502 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39503 <sysdeps/nptl/lowlevellock.h> and remove macros and
39504 functions that are now defined there.
39505 (SYS_futex): Remove.
39506 (lll_compare_and_swap): Remove.
39507 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39508
39509 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39510
39511 [BZ #17999]
39512 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39513 instead of scandirat.
39514 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39515 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39516 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39517 __scandirat.
39518 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39519 (__scandirat): Declare. Use libc_hidden_proto.
39520 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39521 Remove variable.
39522 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39523
39524 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39525
39526 [BZ #15319]
39527 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39528 (MO): New macro.
39529 (__ieee754_atan2): For results with small absolute value, force
39530 underflow exception and remove excess range and precision from
39531 return value.
39532 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39533 (MO): New macro.
39534 (__ieee754_atan2f): For results with small absolute value, force
39535 underflow exception and remove excess range and precision from
39536 return value.
39537 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39538 (MO): New macro.
39539 (__atan): For results with small absolute value, force underflow
39540 exception and remove excess range and precision from return value.
39541 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39542 (MO): New macro.
39543 (__atanf): For results with small absolute value, force underflow
39544 exception and remove excess range and precision from return value.
39545 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39546 <math.h>.
39547 (__ieee754_atan2): Force underflow exception for results with
39548 small absolute value.
39549 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39550 <math_private.h>.
39551 (atan): Force underflow exception for results with small absolute
39552 value.
39553 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39554 (__atanf): Force underflow exception for results with small
39555 absolute value.
39556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39557 <math.h>.
39558 (__atanl): Force underflow exception for results with small
39559 absolute value.
39560 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39561 (__atanl): Force underflow exception for results with small
39562 absolute value.
39563 * sysdeps/x86/fpu/bits/mathinline.h
39564 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39565 (__ieee754_atan2): Only define inline for long double.
39566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39567 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39568 * math/auto-libm-test-in: Do not mark underflow exceptions as
39569 possibly missing for bug 15319. Add more tests of atan2.
39570 * math/auto-libm-test-out: Regenerated.
39571 * math/libm-test.inc (casin_test_data): Do not mark underflow
39572 exceptions as possibly missing for bug 15319.
39573 (casinh_test_data): Likewise.
39574 * sysdeps/i386/fpu/libm-test-ulps: Update.
39575
39576 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39577
39578 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39579 * sysdeps/mips/bits/endian.h: Fix comments.
39580
39581 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39582
39583 [BZ #17996]
39584 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39585 (hdestroy_r): Likewise.
39586 (hsearch_r): Likewise.
39587 (__hcreate_r): Declare and use libc_hidden_proto.
39588 (__hdestroy_r): Likewise.
39589 (__hsearch_r): Likewise.
39590 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39591 (hcreate): Call __hcreate_r instead of hcreate_r.
39592 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39593 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39594 as weak alias of __hcreate_r.
39595 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39596 __hdestroy_r.
39597 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39598 __hsearch_r.
39599 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39600 Remove variable.
39601 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39602 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39603 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39604 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39605
39606 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39607
39608 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39609 arena_lock into a single arena_get.
39610
39611 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39612
39613 * dl-reloc.c: Inlucde libc-internal.h.
39614 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39615 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39616 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39617 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39618 (grow_heap): Likewise.
39619 * malloc/malloc.c: Include libc-internal.h.
39620 (do_check_malloc): Call powerof2.
39621 (sysmalloc): Use pagesize. Call ALIGN_UP.
39622 (systrim): Use pagesize.
39623 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39624 (__libc_valloc): Use pagesize.
39625 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39626
39627 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39628
39629 [BZ #17991]
39630 * include/sys/resource.h (__getrlimit64): Declare. Use
39631 libc_hidden_proto.
39632 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39633 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39634 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39635 getrlimit64.
39636 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39637 __getrlimit64.
39638 [!getrlimit64] (getrlimit64): Define as weak alias of
39639 __getrlimit64. Use libc_hidden_weak.
39640 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39641 using __getrlimit64 not __new_getrlimit64.
39642 (__GI_getrlimit64): Likewise.
39643 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39644 Likewise.
39645 (__GI_getrlimit64): Likewise.
39646 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39648 (getrlimit): Add __getrlimit64 alias.
39649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39650 Likewise.
39651 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39652 Remove variable.
39653 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39654 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39655
39656 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39657
39658 * libio/fileops.c: Add missing sys/mman.h
39659 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39660
39661 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39662
39663 * manual/math.texi (Errors in Math Functions): Clarify goals
39664 regarding inexact and underflow exceptions.
39665
39666 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39667
39668 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39669 * sysdeps/mips/memset.S: Ditto.
39670
39671 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39672
39673 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39674
39675 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39676
39677 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39678 (__v1longjmp): Remove versioned symbol.
39679 (__v1siglongjmp): Remove alias and versioned symbol.
39680 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39681 (__v2siglongjmp): Likewise.
39682
39683 2015-02-16 Torvald Riegel <triegel@redhat.com>
39684
39685 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39686
39687 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39688
39689 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39690
39691 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39692
39693 [BZ #17987]
39694 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39695 zero result does not depend on the sign resulting from
39696 subtraction.
39697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39698 Likewise.
39699 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39700 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39701 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39703 * math/libm-test.inc (remquo_test_data): Add more tests.
39704
39705 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39706
39707 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39708 Problem reported by J William Piggott.
39709
39710 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39711
39712 [BZ #17978]
39713 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39714 products 4 * y and 2 * y where those would overflow.
39715 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39716 Likewise.
39717 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39718 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39719 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39720 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39721 * math/libm-test.inc (remquo_test_data): Add more tests.
39722
39723 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39724
39725 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39726 [defined _COMPILING_NEWLIB].
39727 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39728 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39729
39730 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39731 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39732
39733 2015-02-16 Torvald Riegel <triegel@redhat.com>
39734
39735 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39736 acquired.
39737
39738 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39739
39740 [BZ #17792]
39741 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39742 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39743 HOST_STACK_END_ADDR): Likewise.
39744
39745 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39746
39747 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39748 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39749 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39750
39751 2015-02-13 Roland McGrath <roland@hack.frob.com>
39752
39753 * sysdeps/generic/c++-types.data: New file.
39754 * sysdeps/generic/ld.abilist: New file.
39755 * sysdeps/generic/libBrokenLocale.abilist: New file.
39756 * sysdeps/generic/libanl.abilist: New file.
39757 * sysdeps/generic/libc.abilist: New file.
39758 * sysdeps/generic/libcrypt.abilist: New file.
39759 * sysdeps/generic/libdl.abilist: New file.
39760 * sysdeps/generic/libm.abilist: New file.
39761 * sysdeps/generic/libpthread.abilist: New file.
39762 * sysdeps/generic/libresolv.abilist: New file.
39763 * sysdeps/generic/librt.abilist: New file.
39764
39765 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39766
39767 [BZ #17569]
39768 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39769 Compute absolute value of x as modified by fmod, not original
39770 value of x.
39771 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39772 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39773 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39774 RUN_TEST_ffI_f1_mod8.
39775 (remquo_test_data): Add more tests.
39776
39777 2015-02-13 Roland McGrath <roland@hack.frob.com>
39778
39779 * sysdeps/init_array/pt-crti.S: New file.
39780
39781 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39782
39783 [BZ #17967]
39784 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39785 __builtin_fmaf instead of relying on contraction of a * b + c.
39786
39787 2015-02-12 J William Piggott <elseifthen@gmx.com>
39788
39789 [BZ #17969]
39790 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39791 node.
39792
39793 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39794
39795 [BZ #17964]
39796 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39797 __builtin_fma instead of relying on contraction of a * b + c.
39798
39799 2015-02-12 Roland McGrath <roland@hack.frob.com>
39800
39801 * Makeconfig (ASFLAGS): Add -Werror=undef.
39802 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39803 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39804 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39805
39806 * Makeconfig (after-link): New variable.
39807 (+link-pie, +link-pie-tests): Use it.
39808 (+link-static, +link-static-tests): Likewise.
39809 (+link, +link-tests): Likewise.
39810 * Makerules (build-module, build-module-asneeded): Likewise.
39811 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39812 Likewise.
39813 * elf/Makefile ($(objpfx)ld.so): Likewise.
39814
39815 2015-02-12 RĂŒdiger Sonderfeld <ruediger@c-plusplus.net>
39816
39817 [BZ #17965]
39818 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39819 both struct timeval and struct timespec.
39820
39821 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39822
39823 [BZ #16560]
39824 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39825 and redefine.
39826 (__ieee754_exp2l): Do not multiply small fractional parts by
39827 M_LN2l.
39828 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39829 small argument.
39830 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39831 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39832 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39833 * math/auto-libm-test-in: Add more tests of exp2.
39834 * math/auto-libm-test-out: Regenerated.
39835
39836 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39837
39838 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39839 unaligned path.
39840
39841 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39842
39843 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39844 little endian.
39845
39846 2015-02-12 Andreas Schwab <schwab@suse.de>
39847
39848 [BZ #15790]
39849 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39850 Filter out elision flags from value returned in kind.
39851 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39852 * nptl/tst-pthread-mutexattr.c: New file.
39853
39854 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39855
39856 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39857 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39858 into gnu-gnu, and update comment to refer to abi-tags.
39859
39860 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39861
39862 [BZ #15467]
39863 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39864 (__sincos): Set errno to EDOM for infinite argument.
39865 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39866 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39867 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39868 (__sincosl): Set errno to EDOM for infinite argument.
39869 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39870 (__sincosl): Set errno to EDOM for infinite argument.
39871 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39872 (__sincosl): Set errno to EDOM for infinite argument.
39873 * math/libm-test.inc (sincos_test_data): Test errno setting.
39874
39875 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39876
39877 * string/strxfrm_l.c: Remove #define STRCMP.
39878 * string/strcoll_l.c: Remove #define STRLEN.
39879 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39880 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39881
39882 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39883
39884 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39885 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39886 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39887 * sysdeps/mips/mips64/Makefile: ... here.
39888 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39889 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39890 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39891 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39892 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39893 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39894 * sysdeps/mips/mips64/n64/Implies: Likewise.
39895
39896 2015-02-10 Roland McGrath <roland@hack.frob.com>
39897
39898 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39899 <sys/time.h>, <string.h>, and <errno.h>.
39900 (dest_offset, dest_address, value, zero): Remove unused variables.
39901 (ldouble): Remove typedef.
39902 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39903 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39904 1). Fix code style.
39905 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39906 (check): Function removed.
39907 (CHECK): New macro.
39908 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39909 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39910 Don't call set_sigaction_FP and remove_sigaction_FP here.
39911 (ldouble_test): Just use 'long double' as macro argument, no need for
39912 the 'ldouble' typedef.
39913 (do_test): Set up SIGFPE handler at start, using plain signal rather
39914 than sigaction. Fix code style.
39915
39916 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39917
39918 [BZ #17949]
39919 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39920 jump label.
39921
39922 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39923
39924 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39925 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39926
39927 * sysdeps/powerpc/configure.ac: Remove file.
39928 * sysdeps/powerpc/configure: Likewise.
39929
39930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39931 [sysdep_routines]: Remove wordcopy-power6 object.
39932 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39933 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39934 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39935 (__memmove_ppc32): Likewise.
39936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39937 file.
39938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39939 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39940 Remove preprocessor.
39941
39942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39943 [sysdep_routines]: Remove wide chars objects.
39944 [wcsmbs]: New rule for wide char objects.
39945
39946 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39947 Remove wordcopy-power6 obejct.
39948 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39949 Use local call for wordcopy and memcpy symbols.
39950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39952 implementation for loader.
39953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39954
39955 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39956 Remove wordcopy-power7 object.
39957 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39958 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39959 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39960 (_wordcopy_fwd_dest_aligned): Likewise.
39961 (_wordcopy_bwd_aligned): Likewise.
39962 (_wordcopy_bwd_dest_aligned): Likewise.
39963
39964 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39965 Rewrite to call __memmove_ppc instead of include default
39966 implementation.
39967
39968 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39969 Remove wide chars objects.
39970 [wcsmbs]: New rule for wide char objects.
39971
39972 2015-02-09 Andreas Schwab <schwab@suse.de>
39973
39974 [BZ #17912]
39975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39976 in terms of __O_DIRECTORY.
39977
39978 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39979
39980 * time/getdate.c: Include <stdbool.h>.
39981 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39982 call PTR_MANGLE.
39983 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39984 PTR_DEMANGLE.
39985
39986 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39987
39988 Add ersatz _Static_assert on older C hosts
39989 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39990 pre-C11 C platform that is not known to support _Static_assert.
39991
39992 2015-02-07 Richard Braun <rbraun@sceen.net>
39993
39994 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39995 sigstate.
39996 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39997
39998 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39999
40000 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40001 priority against unexistent AIO_PRIO_DELTA_MAX.
40002 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40003 instead of int.
40004 * misc/fchflags.c (fchflags): Likewise.
40005 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40006 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40007 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40008 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40009 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40010 Declare macros.
40011 [__USE_MISC] (chflags, fchflags): Declare functions.
40012 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40013 EINVAL when nfds is greater than FD_SETSIZE.
40014 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40015 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40016 45.
40017 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40018 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40019 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40020 MACH_RCV_TIMED_OUT.
40021 * hurd/hurd/signal.h (_hurd_self_sigstate,
40022 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40023 Explicit casts from void *.
40024 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40025 * abi-tags: Rename gnu-gnu os into gnu.
40026
40027 [BZ #4719]
40028 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40029 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40030 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40031 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40032 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40033 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40034
40035 [BZ #17944]
40036 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40037 duplicates ADDR->sun_path with sockaddr LEN limitation.
40038 * sysdeps/mach/hurd/connect.c: Include <string.h>
40039 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40040 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40041 * sysdeps/mach/hurd/sendto.c: Likewise.
40042 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40043 implementing it by hand.
40044
40045 2015-02-06 Roland McGrath <roland@hack.frob.com>
40046
40047 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40048 Use sfi_breg on ldr.
40049 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40050 Likewise.
40051
40052 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40053 it's defined.
40054 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40055 Test SIGSETXID only if it's defined.
40056
40057 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40058
40059 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40060 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40061
40062 * nptl/tst-align2.c: Moved ...
40063 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40064 * nptl/Makefile (tests): Remove tst-align2.
40065 * sysdeps/unix/sysv/linux/Makefile
40066 [$(subdir) = nptl] (tests): Add tst-align-clone.
40067 * nptl/tst-getpid1.c: Moved ...
40068 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40069 * nptl/tst-getpid2.c: Moved ...
40070 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40071 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40072 * sysdeps/unix/sysv/linux/Makefile
40073 [$(subdir) = nptl] (tests): ... here.
40074 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40075 * sysdeps/unix/sysv/linux/Makefile
40076 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40077
40078 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40079 Drop trailing \n from perror argument. Use return rather than exit.
40080
40081 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40082 on [SA_SIGINFO].
40083 * nptl/tst-cancel21.c (do_test): Likewise.
40084 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40085 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40086 [!SA_SIGINFO]: Make it a stub test.
40087
40088 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40089 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40090
40091 * posix/tst-getlogin.c: Move to ...
40092 * login/tst-getlogin.c: ... here.
40093 * posix/Makefile (tests): Move tst-getlogin to ...
40094 * login/Makefile (tests): ... here.
40095
40096 * libio/tst-atime.c (do_test): Move local variables SV and E
40097 inside [ST_NOATIME] conditional.
40098
40099 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40100
40101 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40102
40103 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40104 (wait_code): New function replaces macro.
40105 Call nanosleep rather than syscall.
40106
40107 * nptl/pt-system.c: Rewritten. Put everything under
40108 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40109 Use IFUNC to redirect when possible.
40110
40111 * nptl/pt-longjmp.c: Rewritten. Put everything under
40112 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40113 Use IFUNC to redirect when possible.
40114
40115 * nptl/pt-fork.c: Rewritten. Put everything under
40116 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40117 Use IFUNC to redirect when possible.
40118 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40119
40120 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40121 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40122 unconditionally nowadays. This included the only reference to
40123 __vdso_clock_gettime that appears outside libc proper.
40124 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40125 Remove version set (containing only __vdso_clock_gettime).
40126 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40127 Add attribute_hidden.
40128 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40129 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40130 libc_hidden_data_def.
40131 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40132 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40133
40134 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40135 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40136 setrpcent, and getrpcport to ...
40137 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40138 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40139 getrpcbynumber_r, and getrpcent_r to ...
40140 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40141 * inet/getrpcbyname.c: Moved ...
40142 * sunrpc/getrpcbyname.c: ... here.
40143 * inet/getrpcbyname_r.c: Moved ...
40144 * sunrpc/getrpcbyname_r.c: ... here.
40145 * inet/getrpcbynumber.c: Moved ...
40146 * sunrpc/getrpcbynumber.c: ... here.
40147 * inet/getrpcbynumber_r.c: Moved ...
40148 * sunrpc/getrpcbynumber_r.c: ... here.
40149 * inet/getrpcent.c: Moved ...
40150 * sunrpc/getrpcent.c: ... here.
40151 * inet/getrpcent_r.c: Moved ...
40152 * sunrpc/getrpcent_r.c: ... here.
40153 * inet/Makefile (routines): Move those to ...
40154 * sunrpc/Makefile (routines): ... here.
40155 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40156 the $(subdirs) list.
40157 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40158 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40159 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40160 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40161
40162 * elf/Makefile (routines): Include $(all-dl-routines), not just
40163 $(dl-routines).
40164 (rtld-routines): Likewise. Use = rather than :=.
40165 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40166 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40167 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40168 * sysdeps/arm/Makefile: Likewise.
40169 * sysdeps/i386/Makefile: Likewise.
40170 * sysdeps/x86_64/Makefile: Likewise.
40171 * sysdeps/hppa/Makefile [$(subdir) = elf]
40172 (sysdep_routines, sysdep-rtld-routines): Don't add
40173 $(sysdep-dl-routines) to these.
40174 * sysdeps/ia64/Makefile: Likewise.
40175 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40176 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40177 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40178 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40179 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40180 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40181 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40182 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40183 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40184 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40185 these; sysdep-dl-routines alone is enough.
40186
40187 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40188
40189 [BZ #17932]
40190 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40191 where multiplication results in zero and third argument is finite
40192 and nonzero.
40193 * math/auto-libm-test-in: Add more tests of fma.
40194 * math/auto-libm-test-out: Regenerated.
40195
40196 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40197 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40198 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40199 (_FP_CMP_EQ): Likewise.
40200 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40201
40202 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40203 extra argument CHECK_NAN. Redefine as wrapper around
40204 _FP_EXTEND_CNAN.
40205
40206 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40207
40208 * version.h (RELEASE): Set to "stable".
40209 (VERSION): Set to "2.21"
40210 * include/features.h (__GLIBC_MINOR__): Set to 21.
40211
40212 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40213
40214 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40215 Paul Eggert <eggert@cs.ucla.edu>
40216
40217 [BZ #16618]
40218 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40219 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40220 size in bytes. Store needed elements in wpmax. Use needed size
40221 in bytes for extend_alloca.
40222
40223 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40224
40225 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40226 binutls 2.25, and texinfo 5.2.
40227 * INSTALL: Regenerate.
40228 * sysdeps/nios2/configure: Regenerate.
40229 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40230 * manual/contrib.texi: Update.
40231 * po/be.po: Update.
40232 * po/bg.po: Update.
40233 * po/ca.po: Update.
40234 * po/cs.po: Update.
40235 * po/da.po: Update.
40236 * po/de.po: Update.
40237 * po/el.po: Update.
40238 * po/eo.po: Update.
40239 * po/es.po: Update.
40240 * po/fi.po: Update.
40241 * po/fr.po: Update.
40242 * po/gl.po: Update.
40243 * po/hr.po: Update.
40244 * po/hu.po: Update.
40245 * po/ia.po: Update.
40246 * po/id.po: Update.
40247 * po/it.po: Update.
40248 * po/ja.po: Update.
40249 * po/ko.po: Update.
40250 * po/lt.po: Update.
40251 * po/nb.po: Update.
40252 * po/nl.po: Update.
40253 * po/pl.po: Update.
40254 * po/pt_BR.po: Update.
40255 * po/ru.po: Update.
40256 * po/rw.po: Update.
40257 * po/sk.po: Update.
40258 * po/sl.po: Update.
40259 * po/sv.po: Update.
40260 * po/tr.po: Update.
40261 * po/uk.po: Update.
40262 * po/vi.po: Update.
40263 * po/zh_CN.po: Update.
40264 * po/zh_TW.po: Update.
40265
40266 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40267 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40268 * sysdeps/hppa/dl-irel.h: Remove #warning.
40269 * sysdeps/hppa/entry.h: Provide prototype for
40270 __canonicalize_funcptr_for_compare and cast argument.
40271 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40272 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40273 * sysdeps/hppa/sotruss-lib.c: New file.
40274 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40275 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40276 (atomic_compare_and_exchange_bool_acq): Likewise.
40277 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40278 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40279
40280 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40281 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40282 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40283
40284 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40285
40286 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40287 called function in non-PIC case.
40288
40289 2015-01-31 David S. Miller <davem@davemloft.net>
40290
40291 * sysdeps/sparc/sparc32/bits/atomic.h
40292 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40293 unlock not after it.
40294 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40295 volatile register usage warnings from the compiler.
40296
40297 * sysdeps/sparc/nptl/sem_init.c: Delete.
40298 * sysdeps/sparc/nptl/sem_post.c: Delete.
40299 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40300 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40301 * sysdeps/sparc/sparc32/sem_init.c: New file.
40302 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40303 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40304 padding explicitly initialized.
40305 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40306 padding for in-semaphore spinlock.
40307 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40308 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40309 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40310 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40311 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40312 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40313 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40314 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40315 version.
40316 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40317 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40318
40319 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40320
40321 [BZ #17801]
40322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40323 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40324 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40325 New.
40326 (index_AVX_Fast_Unaligned_Load): Likewise.
40327 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40328 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40329 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40330 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40331 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40332 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40333 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40334 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40335 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40336
40337 2015-01-29 Andreas Schwab <schwab@suse.de>
40338
40339 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40340
40341 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40342
40343 [BZ #17892]
40344 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40345
40346 2015-01-28 Martin Sebor <msebor@redhat.com>
40347
40348 * math/README.libm-test: Clarify. Add "How to read the test output."
40349
40350 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40351
40352 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40353 Define to 0.
40354
40355 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40356
40357 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40358 (__HAVE_64B_ATOMICS): Define to 0.
40359
40360 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40361
40362 [BZ #17885]
40363 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40364 value to set as new flag.
40365
40366 [BZ #16576]
40367 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40368 and use _ARCH_PPCSQ instead.
40369 (__ieee754_sqrt): Likewise.
40370 (__ieee754_sqrtf): Likewise.
40371 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40372 _ARCH_PPCSQ is defined.
40373 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40374 fsqrt instruction.
40375 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40376 _ARCH_PPCSQ is defined.
40377 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40378 fsqrts instruction.
40379 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40380
40381 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40382
40383 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40384 bug (GCC BZ #64739).
40385
40386 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40387
40388 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40389 Mark _retval as used.
40390 (lll_futex_wake_unlock): Likewise.
40391 (lll_futex_timed_wait_requeue_pi): Likewise.
40392
40393 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40394 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40395 register variables.
40396
40397 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40398 libm_hidden_def.
40399
40400 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40401 (__bswap_64): Mark as __always_inline.
40402
40403 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40404
40405 [BZ #15378]
40406 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40407 when none of the search directories exist.
40408
40409 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40410
40411 [BZ #17869]
40412 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40413 power8 in .machine directive.
40414
40415 [BZ #17868]
40416 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40417 set dependency from opd value.
40418
40419 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40420
40421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40422 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40423 architecture.
40424
40425 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40426
40427 [BZ #17870]
40428 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40429 with uint64_t.
40430 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40431 (uint64_t) 1.
40432 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40433 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40434 Replace 1UL with (uint64_t) 1.
40435 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40436 int with uint64_t.
40437
40438 2015-01-23 Roland McGrath <roland@hack.frob.com>
40439
40440 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40441 (if_freenameindex): Likewise.
40442
40443 * resource/getrlimit64.c: Add missing libc_hidden_def.
40444
40445 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40446
40447 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40448 __label__.
40449 (_FP_FMA): Likewise.
40450 (_FP_TO_INT_ROUND): Likewise.
40451 (_FP_FROM_INT): Likewise.
40452
40453 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40454
40455 [BZ #16418]
40456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40457 Make code racy and cancel safe.
40458
40459 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40460
40461 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40462 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40463 attribution.
40464
40465 * pwd/tst-getpw.c: Rewrite.
40466
40467 [BZ #17702]
40468 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40469 (modules-names): Add moddummy1 and moddummy2.
40470 ($(objpfx)tst-rec-dlopen): Define.
40471 * dlfcn/moddummy1.c: New file.
40472 * dlfcn/moddummy2.c: New file.
40473 * dlfcn/tst-rec-dlopen.c: New file.
40474 * elf/dl-cache.c (_dl_load_cache_lookup):
40475 Return char*. Copy result with alloca/strcpy/strdup.
40476 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40477 returns char*. Free cached. If not saving realname
40478 free cached.
40479 * elf/dl-open.c (dl_open_worker): Do not assert that
40480 _r_debug->r_state is RT_CONSISTENT.
40481 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40482 returns char*.
40483
40484 2015-01-21 Torvald Riegel <triegel@redhat.com>
40485 Carlos O'Donell <carlos@redhat.com>
40486
40487 [BZ #12674]
40488 * nptl/sem_waitcommon.c: New file.
40489 * nptl/sem_wait.c: Include sem_waitcommon.c.
40490 (__sem_wait_cleanup, do_futex_wait): Remove.
40491 (__new_sem_wait): Adapt.
40492 (__new_sem_trywait): New function.
40493 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40494 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40495 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40496 (sem_timedwait): Adapt.
40497 * nptl/sem_post.c (__new_sem_post): Adapt.
40498 (futex_wake): New function.
40499 (__old_sem_post): Add release MO fence.
40500 * nptl/sem_open.c (sem_open): Adapt.
40501 * nptl/sem_init.c (__new_sem_init): Adapt.
40502 (futex_private_if_supported): New function.
40503 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40504 (__old_sem_getvalue): Add using previous code.
40505 * sysdeps/nptl/internaltypes.h: Adapt.
40506 * nptl/tst-sem13.c (do_test): Adapt.
40507 * nptl/tst-sem11.c (main): Adapt.
40508 * nptl/sem_trywait.c: Remove.
40509 * nptl/DESIGN-sem.txt: Remove.
40510 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40511 (gen-as-const-headers): Remove structsem.sym.
40512 * nptl/structsem.sym: Remove.
40513 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40514 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40515 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40516 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40517 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40518 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40519 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40520 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40521 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40522 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40523 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40524 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40525 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40526 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40527 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40528 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40529 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40530 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40531 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40532 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40533 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40534 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40535
40536 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40537
40538 * INSTALL: Regenerated.
40539
40540 * po/libc.pot: Regenerated.
40541
40542 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40543 Sandra Loosemore <sandra@codesourcery.com>
40544 Andrew Jenner <andrew@codesourcery.com>
40545 Joseph Myers <joseph@codesourcery.com>
40546 Nathan Sidwell <nathan@codesourcery.com>
40547
40548 * NEWS: Mention new Nios II port.
40549 * sysdeps/nios2/Implies: New file.
40550 * sysdeps/nios2/Makefile: New file.
40551 * sysdeps/nios2/Subdirs: New file.
40552 * sysdeps/nios2/Versions: New file.
40553 * sysdeps/nios2/__longjmp.S: New file.
40554 * sysdeps/nios2/abort-instr.h: New file.
40555 * sysdeps/nios2/backtrace.c: New file.
40556 * sysdeps/nios2/bits/endian.h: New file.
40557 * sysdeps/nios2/bits/fenv.h: New file.
40558 * sysdeps/nios2/bits/link.h: New file.
40559 * sysdeps/nios2/bits/setjmp.h: New file.
40560 * sysdeps/nios2/bsd-_setjmp.S: New file.
40561 * sysdeps/nios2/bsd-setjmp.S: New file.
40562 * sysdeps/nios2/configure: New generated file.
40563 * sysdeps/nios2/configure.ac: New file.
40564 * sysdeps/nios2/crti.S: New file.
40565 * sysdeps/nios2/crtn.S: New file.
40566 * sysdeps/nios2/dl-init.c: New file.
40567 * sysdeps/nios2/dl-machine.h: New file.
40568 * sysdeps/nios2/dl-sysdep.h: New file.
40569 * sysdeps/nios2/dl-tls.h: New file.
40570 * sysdeps/nios2/dl-trampoline.S: New file.
40571 * sysdeps/nios2/gccframe.h: New file.
40572 * sysdeps/nios2/gmp-mparam.h: New file.
40573 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40574 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40575 * sysdeps/nios2/ldsodefs.h: New file.
40576 * sysdeps/nios2/libc-tls.c: New file.
40577 * sysdeps/nios2/libm-test-ulps: New file.
40578 * sysdeps/nios2/machine-gmon.h: New file.
40579 * sysdeps/nios2/math-tests.h: New file.
40580 * sysdeps/nios2/math_private.h: New file.
40581 * sysdeps/nios2/memusage.h: New file.
40582 * sysdeps/nios2/nptl/Makefile: New file.
40583 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40584 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40585 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40586 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40587 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40588 * sysdeps/nios2/nptl/tls.h: New file.
40589 * sysdeps/nios2/preconfigure: New file.
40590 * sysdeps/nios2/s_fma.c: New file.
40591 * sysdeps/nios2/s_fmaf.c: New file.
40592 * sysdeps/nios2/setjmp.S: New file.
40593 * sysdeps/nios2/sfp-machine.h: New file.
40594 * sysdeps/nios2/sotruss-lib.c: New file.
40595 * sysdeps/nios2/stackguard-macros.h: New file.
40596 * sysdeps/nios2/stackinfo.h: New file.
40597 * sysdeps/nios2/start.S: New file.
40598 * sysdeps/nios2/sysdep.h: New file.
40599 * sysdeps/nios2/tls-macros.h: New file.
40600 * sysdeps/nios2/tst-audit.h: New file.
40601 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40602 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40603 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40604 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40605 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40606 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40607 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40608 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40609 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40610 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40611 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40612 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40613 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40614 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40615 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40616 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40617 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40618 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40619 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40620 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40621 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40622 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40623 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40624 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40625 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40626 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40627 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40628 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40629 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40630 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40631 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40632 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40633 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40634 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40635 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40636 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40637 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40638 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40639 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40640 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40641 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40642 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40643 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40644 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40645
40646 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40647
40648 [BZ #17844]
40649 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40650 (getutent): Use weak_alias in non SHARED case
40651 and default_symbol_version in SHARED case.
40652 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40653 (getutent_r, pututline): Likewise.
40654 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40655 (getutid): Likewise.
40656 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40657 (getutid_r): Likewise.
40658 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40659 (getutline): Likewise.
40660 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40661 (getutline_r): Likewise.
40662 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40663 (updwtmp): Likewise.
40664
40665 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40666
40667 [BZ #17848]
40668 * sysdeps/s390/s390-32/memcmp.S
40669 (memcmp_g5): Rename to __memcmp_g5.
40670 * sysdeps/s390/s390-32/memcpy.S
40671 (memcpy_g5): Rename to __memcpy_g5.
40672 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40673 (memcpy_mvcle) Rename to __memcpy_mvcle.
40674 * sysdeps/s390/s390-32/memset.S
40675 (memset_g5): Rename to __memset_g5.
40676 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40677 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40678 and use prefixed functions.
40679 * sysdeps/s390/s390-32/multiarch/memcmp.S
40680 (memcmp_z196): Rename to __memcmp_z196.
40681 (memcmp_z10): Rename to __memcmp_z10.
40682 (memcmp): Set alias to __memcmp_g5.
40683 (bcmp): Set alias to __memcmp_g5.
40684 * sysdeps/s390/s390-32/multiarch/memcpy.S
40685 (memcpy_z196): Rename to __memcpy_z196.
40686 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40687 (memcpy_z10): Rename to __memcpy_z10.
40688 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40689 (memcpy): Set alias to __memcpy_g5.
40690 * sysdeps/s390/s390-32/multiarch/memset.S
40691 (memset_z196): Rename to __memset_z196.
40692 Jump to __memset_mvcle instead of memset_mvcle.
40693 (memset_z10): Rename to __memset_z10.
40694 Jump to __memset_mvcle instead of memset_mvcle.
40695 (memset_mvcle) Rename to __memset_mvcle.
40696 (memset): Set alias to __memset_g5.
40697 * sysdeps/s390/s390-64/memcmp.S
40698 (memcmp_z900): Rename to __memcmp_z900.
40699 * sysdeps/s390/s390-64/memcpy.S
40700 (memcpy_z900): Rename to __memcpy_z900.
40701 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40702 (memcpy_mvcle) Rename to __memcpy_mvcle.
40703 * sysdeps/s390/s390-64/memset.S
40704 (memset_z900): Rename to __memset_z900.
40705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40706 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40707 and use prefixed functions.
40708 * sysdeps/s390/s390-64/multiarch/memcmp.S
40709 (memcmp_z196): Rename to __memcmp_z196.
40710 (memcmp_z10): Rename to __memcmp_z10.
40711 (memcmp): Set alias to __memcmp_z900.
40712 (bcmp): Set alias to __memcmp_z900.
40713 * sysdeps/s390/s390-64/multiarch/memcpy.S
40714 (memcpy_z196): Rename to __memcpy_z196.
40715 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40716 (memcpy_z10): Rename to __memcpy_z10.
40717 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40718 (memcpy): Set alias to __memcpy_z900.
40719 * sysdeps/s390/s390-64/multiarch/memset.S
40720 (memset_z196): Rename to __memset_z196.
40721 Jump to __memset_mvcle instead of memset_mvcle.
40722 (memset_z10): Rename to __memset_z10.
40723 Jump to __memset_mvcle instead of memset_mvcle.
40724 (memset_mvcle) Rename to __memset_mvcle.
40725 (memset): Set alias to __memset_z900.
40726
40727 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40728
40729 [BZ #17748]
40730 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40731 __fesetenv instead of fesetenv.
40732
40733 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40734
40735 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40736 macro.
40737
40738 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40739
40740 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40741 regression on LE.
40742
40743 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40744 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40745 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40746 strncmp-power8 object.
40747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40748 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40749 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40750 * NEWS: Update.
40751
40752 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40753 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40754
40755 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40756 trailing byte check.
40757
40758 2015-01-13 David S. Miller <davem@davemloft.net>
40759
40760 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40761
40762 2015-01-13 Roland McGrath <roland@hack.frob.com>
40763
40764 * login/logout.c (logout): Use memset rather than bzero.
40765 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40766 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40767 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40768 (_gethtbyaddr): Likewise.
40769 * locale/programs/simple-hash.c (bcopy): Macro removed.
40770
40771 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40772
40773 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40774 Add strcmp-power8 object.
40775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40776 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40778 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40779 __strcmp_power8 implementation.
40780 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40781 * NEWS: Update.
40782
40783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40784 Add strncpy-power8 and stpncpy-power8 objects.
40785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40786 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40787 implementations.
40788 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40789 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40790 __stpncpy_power8 implementation.
40791 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40792 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40793 __strncpy_power8 implementation.
40794 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40795 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40796 * NEWS: Update.
40797
40798 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40799 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40800 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40801
40802 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40803 strncat-power8 object.
40804 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40805 __strcat_power8 implementation.
40806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40807 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40808 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40809 optimized strcat for power8.
40810
40811 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40812 strcpy-power8 and stpcpy-power8 objects.
40813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40814 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40815 implementations.
40816 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40817 multiarch stpcpy implementation for POWER8.
40818 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40819 multiarch strcpy implementation for POWER8.
40820 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40821 __strcpy_power8 function.
40822 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40823 stpcpy for POWER8.
40824 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40825 strcpy for POWER8.
40826 * NEWS: Update.
40827
40828 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40829
40830 [BZ #16009]
40831 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40832 weights and rules. Use do_xfrm_cached if data fits in cache,
40833 do_xfrm otherwise. Moved former main loop to...
40834 * (do_xfrm_cached): New function.
40835 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40836 find_idx, find_position and stack_push.
40837 * (find_idx): New function.
40838 * (find_position): Likewise.
40839 * localedata/sort-test.sh: Added test run for do_xfrm.
40840 * localedata/xfrm-test.c (main): Added command line option
40841 -nocache to run the test with strings that are too large for
40842 the STRXFRM cache.
40843
40844 2015-01-13 Torvald Riegel <triegel@redhat.com>
40845
40846 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40847 variable to lll_futex_wake call, not the value itself.
40848
40849 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40850
40851 [BZ #17803]
40852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40853 twom64. Adjust value to 0x1p-64L.
40854 (__scalblnl): Only return standard underflowing result for K <=
40855 -64 not K <= -63; adjust exponent for underflowing result by 64
40856 not 63.
40857 * math/libm-test.inc (scalbn_test_data): Add more tests.
40858 (scalbln_test_data): Likewise.
40859
40860 [BZ #17834]
40861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40862 0x1p63L.
40863 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40864 not HX.
40865 * math/libm-test.inc (scalbn_test_data): Add more tests.
40866 (scalbln_test_data): Likewise.
40867
40868 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40869 Stefani Seibold <stefani@seibold.net>
40870
40871 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40872 (sysdep_routines): Add dl-vdso here, ...
40873 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40874 (sysdep_routines): ... not here.
40875 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40876 fallback when vDSO is not presented.
40877 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40878 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40879 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40880 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40881 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40882 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40883 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40884 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40885 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40887 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40888 fallback configurable symbol when vDSO is not available.
40889 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40890 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40891 be able to redefine fallback symbol when vDSO is not available.
40892 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40893 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40894
40895 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40896
40897 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40898 (TLS_INIT_TP): Add tm_capable initialization.
40899 (TLS_DEFINE_INIT_TP): Likewise.
40900 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40901 TCB.
40902 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40903 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40904 calculation.
40905 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40906 transactoion is lock elision is built and TCB tm_capable is set.
40907 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40909 (INTERNAL_SYSCALL_NCS): Likewise.
40910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40911 (INTERNAL_SYSCALL_NCS): Likewise.
40912 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40913
40914 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40915 for powerpc.
40916 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40917 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40918 and remove it for 32 bits case.
40919 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40920 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40921 initialization.
40922 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40923 Disable lock elision with rdlocks if elision is not available.
40924
40925 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40926 (sysdep_routines): Add lock elision objects.
40927 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40928 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40929 [pthread_mutex_t] (__elision): Add field.
40930 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40931 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40932 elision definitions for powerpc.
40933 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40934 implementation of lock elision for powerpc.
40935 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40936 implementation of timed lock elision for powerpc.
40937 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40938 implementation of trylock with lock elision for powerpc.
40939 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40940 implementaion of unlock for lock elision for powerpc.
40941 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40942 automatic enable lock elision for mutexes.
40943 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40944 transaction execution definitions for powerpc.
40945 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40946 definitions.
40947 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40948 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40949 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40950 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40951 * NEWS: Update.
40952
40953 2015-01-09 Roland McGrath <roland@hack.frob.com>
40954
40955 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40956 for #include of <shm-directory.h>.
40957
40958 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40959
40960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40961 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40962
40963 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40964
40965 [BZ #17791]
40966 * NEWS: Mention bug fix.
40967 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40968 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40969 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40970
40971 2015-01-09 Torvald Riegel <triegel@redhat.com>
40972
40973 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40974
40975 2015-01-09 Torvald Riegel <triegel@redhat.com>
40976
40977 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40978
40979 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40980
40981 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40982 pointer and cast to uintptr_t.
40983
40984 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40985
40986 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40987 removed.
40988 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40989
40990 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40991
40992 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40993 of 0.
40994
40995 2015-01-08 Roland McGrath <roland@hack.frob.com>
40996
40997 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40998 <nptl/pthreadP.h> instead.
40999 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41000
41001 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41002 already defined.
41003 [__SIGRTMIN] (init): Function removed.
41004 [__SIGRTMIN] (initialized): Variable removed.
41005 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41006 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41007 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41008 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41009 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41010 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41011 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41012 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41013 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41014 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41015 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41016 * sysdeps/nptl/allocrtsig.c: New file.
41017 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41018 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41019 * sysdeps/generic/testrtsig.h: File removed.
41020
41021 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41022 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41023
41024 * nptl/nptl-init.c (pthread_functions): Conditionalize
41025 .ptr__nptl_setxid initialization on [SIGSETXID].
41026
41027 * sysdeps/nptl/sys/procfs.h: New file.
41028 * nptl_db/Makefile (headers): Add it.
41029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41030
41031 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41032 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41033 * nptl/pthread_attr_setaffinity.c: Include it.
41034 * nptl/pthread_setattr_default_np.c: Likewise.
41035 * nptl/check-cpuset.h: New file.
41036
41037 2015-01-08 Richard Henderson <rth@redhat.com>
41038
41039 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41040 (CFLAGS-tst-execstack-prog.c): Likewise.
41041 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41042
41043 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41044 Sandra Loosemore <sandra@codesourcery.com>
41045 Andrew Jenner <andrew@codesourcery.com>
41046 Joseph Myers <joseph@codesourcery.com>
41047 Nathan Sidwell <nathan@codesourcery.com>
41048
41049 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41050 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41051 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41052 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41053 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41054 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41055 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41056 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41057 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41058 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41059 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41060 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41061 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41062 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41063 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41064 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41065 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41066
41067 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41068
41069 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41070 timespec struct member in syscall macro.
41071 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41072 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41073 first timeval struct member in syscall macro.
41074 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41075
41076 2015-01-07 Joseph Myers <joseph@codesourcery.com>
41077
41078 [BZ #17748]
41079 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41080 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41081 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41082 __feupdateenv and define as weak alias of __feupdateenv. Use
41083 libm_hidden_weak.
41084 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41085 libm_hidden_def.
41086 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41087 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41088 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41089 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41090 libm_hidden_def.
41091 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41092 __feupdateenv and define as weak alias of __feupdateenv. Use
41093 libm_hidden_weak.
41094 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41095 libm_hidden_def.
41096 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41097 __feupdateenv and define as weak alias of __feupdateenv. Use
41098 libm_hidden_weak.
41099 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41100 libm_hidden_def.
41101 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41102 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41103 (__feupdateenv): Likewise.
41104 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41105 __feupdateenv and define as weak alias of __feupdateenv. Use
41106 libm_hidden_weak.
41107 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41108 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41109 libm_hidden_def.
41110 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41111 function.
41112 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41113 libm_hidden_def.
41114 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41115 __feupdateenv instead of feupdateenv.
41116 (default_libc_feupdateenv_test): Likewise.
41117 (libc_feresetround_ctx): Likewise.
41118
41119 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41120
41121 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41122 prototype.
41123
41124 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41125
41126 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41127 COLL_SYM in a couple of places to avoid uninitialized variable
41128 wanings on tilegx gcc 4.8.2.
41129
41130 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41131
41132 * sysdeps/aarch64/strcpy.S: New file.
41133 * sysdeps/aarch64/stpcpy.S: New file.
41134 * NEWS: Updated.
41135
41136 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41137
41138 * sysdeps/aarch64/strrchr.S: New file.
41139 * NEWS: Updated.
41140
41141 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41142
41143 [BZ #17658]
41144 * stdlib/setenv.c: Fix memory leak when setting large,
41145 duplicate string.
41146
41147 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41148
41149 [BZ #17273]
41150 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41151 and tabs from buffer before parsing fstab entry.
41152 * misc/tst-mntent.c (main): Add test for mount entry with
41153 trailing spaces and tabs.
41154
41155 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41156
41157 [BZ #17748]
41158 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41159 * math/fesetround.c (fesetround): Rename to __fesetround and
41160 define as weak alias of __fesetround. Use libm_hidden_weak.
41161 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41162 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41163 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41164 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41165 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41166 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41167 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41168 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41169 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41170 __fesetround_inline.
41171 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41172 __fesetround_inline instead of __fesetround.
41173 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41174 __fesetround and define as weak alias of __fesetround. Use
41175 libm_hidden_weak. Call __fesetround_inline instead of
41176 __fesetround.
41177 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41178 __fesetround and define as weak alias of __fesetround. Use
41179 libm_hidden_weak.
41180 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41181 Likewise.
41182 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41183 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41184 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41185 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41186 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41187 __fesetround and define as weak alias of __fesetround. Use
41188 libm_hidden_weak.
41189 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41190 __fesetround instead of fesetround.
41191 (default_libc_feholdexcept_setround): Likewise.
41192 (libc_feholdsetround_ctx): Likewise.
41193 (libc_feholdsetround_noex_ctx): Likewise.
41194
41195 [BZ #17748]
41196 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41197 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41198 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41199 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41200 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41201 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41202 define as weak alias of __fesetenv. Use libm_hidden_weak.
41203 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41204 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41205 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41206 define as weak alias of __fesetenv. Use libm_hidden_weak.
41207 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41208 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41209 define as weak alias of __fesetenv. Use libm_hidden_weak.
41210 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41211 libm_hidden_def.
41212 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41213 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41214 Likewise.
41215 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41216 define as weak alias of __fesetenv. Use libm_hidden_weak.
41217 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41218 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41219 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41220 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41221 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41222 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41223 __fesetenv instead of fesetenv.
41224 (libc_feresetround_noex_ctx): Likewise.
41225 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41226 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41227 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41228 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41229 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41230 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41231 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41232 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41233 (__feupdateenv): Likewise.
41234 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41235 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41236 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41237 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41238
41239 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41240
41241 [BZ #17806]
41242 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41243 addresses have been freed.
41244
41245 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41246
41247 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41248 and nservall.
41249
41250 2015-01-06 Ondƙej Bílka <neleai@seznam.cz>
41251
41252 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41253 Clean up check_pf allocation pattern. addresses
41254
41255 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41256
41257 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41258 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41259 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41260 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41261 * nptl/pthread_join.c (pthread_join): Likewise.
41262 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41263 * sysdeps/posix/waitid.c (__waitid): Likewise.
41264 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41265 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41266 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41267 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41268 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41269 Likewise.
41270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41271 (__libc_pread64): Likewise.
41272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41273 (__libc_pwrite): Likewise.
41274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41275 (__libc_pwrite64): Likewsie.
41276 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41277 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41278 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41279 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41280 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41281 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41282 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41284 Likewise.
41285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41286 (__libc_pread64): Likewise.
41287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41288 Likewise.
41289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41290 (__libc_pwrite64): Likewise.
41291 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41292 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41293 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41294 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41295 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41296 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41297 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41298 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41299 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41300 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41301 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41302 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41303 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41304 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41305 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41306 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41307 Likewise.
41308
41309 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41310
41311 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41312 (CFLAGS-test-double.c): Likewise.
41313 (CFLAGS-test-ldouble.c): Likewise.
41314 (CPPFLAGS-test-ifloat.c): Likewise.
41315 (CPPFLAGS-test-idouble.c): Likewise.
41316 (CPPFLAGS-test-ildoubl.c): Likewise.
41317 (CFLAGS-test-test-fenv.c): Remove variable.
41318 (CFLAGS-test-misc.c): Likewise.
41319
41320 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41321
41322 [BZ #17797]
41323 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41324 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41325 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41326 CLOCKS_PER_SEC == 1000000.
41327 * time/clocktest.c (main): Replace %ld with %jd and cast to
41328 intmax_t.
41329
41330 2015-01-05 Roland McGrath <roland@hack.frob.com>
41331
41332 * sysdeps/generic/unwind-resume.h: New file.
41333 * sysdeps/gnu/unwind-resume.c: Include it.
41334 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41335 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41336 argument list.
41337 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41338 global rather than static.
41339 (_Unwind_Resume): Update user.
41340 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41341 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41342 rather than static. Add __attribute__ ((cold)).
41343 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41344 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41345 * sysdeps/arm/arm-unwind-resume.S: New file.
41346 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41347 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41348 * sysdeps/arm/Makefile [$(subdir) = csu]
41349 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41350 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41351 Add rt-arm-unwind-resume.
41352 [$(subdir) = nptl]
41353 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41354 Add pt-arm-unwind-resume.
41355 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41356 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41357
41358 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41359
41360 [BZ #17748]
41361 * include/fenv.h (__feholdexcept): Declare. Use
41362 libm_hidden_proto.
41363 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41364 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41365 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41366 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41367 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41368 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41369 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41370 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41371 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41372 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41373 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41374 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41375 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41376 (feholdexcept): Likewise.
41377 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41378 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41379 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41380 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41381 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41382 __feholdexcept instead of feholdexcept.
41383 (default_libc_feholdexcept_setround): Likewise.
41384
41385 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41386
41387 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41388 to avoid using stl/str to align destination.
41389
41390 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41391
41392 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41393
41394 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41395
41396 [BZ #17796]
41397 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41398 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41399 Define as weak alias not strong alias.
41400
41401 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41402
41403 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41404 bltzal with addiupc.
41405 (RTLD_START): Ditto.
41406
41407 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41408
41409 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41410 for __vdso_* functions in declarations.
41411 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41412 definitions.
41413 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41414 INTERNAL_VSYSCALL): Use struct return types to check for error.
41415
41416 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41417 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41418 function with cast from llround().
41419 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41420 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41421 Define.
41422
41423 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41424
41425 [BZ #17793]
41426 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41427 Define as weak alias not strong alias.
41428
41429 [BZ #17635]
41430 * ctype/ctype-c99.c: New file. isblank implementation moved from
41431 ...
41432 * ctype/ctype-extn.c: ... here.
41433 (__isblank_l): Move to ...
41434 * ctype/ctype-c99_l.c: ... here. New file.
41435 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41436 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41437 Remove variable.
41438 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41439 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41440 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41441 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41442 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41443
41444 [BZ #17777]
41445 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41446 (posix_fadvise64): Define as weak alias not strong alias.
41447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41448 (posix_fallocate64): Likewise.
41449 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41450 Remove variable.
41451 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41452 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41453 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41454 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41455 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41456
41457 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41458
41459 [BZ #16191]
41460 * NEWS: Mention bug fix.
41461 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41462 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41463 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41464 (HOST_STACK_END_ADDR): Likewise.
41465
41466 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41467
41468 [BZ #17748]
41469 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41470 * math/fegetround.c (fegetround): Rename to __fegetround and
41471 define as weak alias of __fegetround. Use libm_hidden_weak.
41472 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41473 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41474 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41475 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41476 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41477 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41478 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41479 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41480 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41481 Undefine after rather than before function definition; use
41482 parentheses around function name in definition.
41483 (__fegetround): Also undefine macro after function definition.
41484 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41485 __fegetround and define as weak alias of __fegetround. Use
41486 libm_hidden_weak. Do not undefine as macro.
41487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41488 Likewise.
41489 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41490 __fegetround and define as weak alias of __fegetround. Use
41491 libm_hidden_weak.
41492 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41493 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41494 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41495 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41496 __fegetround and define as weak alias of __fegetround. Use
41497 libm_hidden_weak.
41498 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41499 __fegetround instead of fegetround.
41500
41501 [BZ #17782]
41502 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41503 Condition macro definition on [__USE_MISC].
41504
41505 [BZ #17781]
41506 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41507 (struct sigaction): Change type of sa_flags field to int.
41508
41509 [BZ #17780]
41510 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41511 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41512 __glibc_reserved0.
41513
41514 * nptl/version.c (banner): Use single year in copyright notice.
41515
41516 * NEWS: Update copyright dates.
41517 * catgets/gencat.c (print_version): Likewise.
41518 * csu/version.c (banner): Likewise.
41519 * debug/catchsegv.sh: Likewise.
41520 * debug/pcprofiledump.c (print_version): Likewise.
41521 * debug/xtrace.sh (do_version): Likewise.
41522 * elf/ldconfig.c (print_version): Likewise.
41523 * elf/ldd.bash.in: Likewise.
41524 * elf/pldd.c (print_version): Likewise.
41525 * elf/sotruss.sh: Likewise.
41526 * elf/sprof.c (print_version): Likewise.
41527 * iconv/iconv_prog.c (print_version): Likewise.
41528 * iconv/iconvconfig.c (print_version): Likewise.
41529 * locale/programs/locale.c (print_version): Likewise.
41530 * locale/programs/localedef.c (print_version): Likewise.
41531 * login/programs/pt_chown.c (print_version): Likewise.
41532 * malloc/memusage.sh (do_version): Likewise.
41533 * malloc/memusagestat.c (print_version): Likewise.
41534 * malloc/mtrace.pl: Likewise.
41535 * manual/libc.texinfo: Likewise.
41536 * nptl/version.c (banner): Likewise.
41537 * nscd/nscd.c (print_version): Likewise.
41538 * nss/getent.c (print_version): Likewise.
41539 * nss/makedb.c (print_version): Likewise.
41540 * posix/getconf.c (main): Likewise.
41541 * scripts/test-installation.pl: Likewise.
41542 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41543
41544 2015-01-02 Will Newton <will.newton@linaro.org>
41545
41546 * sysdeps/arm/armv7/configure: Removed.
41547 * sysdeps/arm/armv7/configure.ac: Likewise.
41548
41549 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41550
41551 * All files with FSF copyright notices: Update copyright dates
41552 using scripts/update-copyrights.
41553 * intl/plural.c: Regenerated.
41554 * locale/programs/charmap-kw.h: Likewise.
41555 * locale/programs/locfile-kw.h: Likewise.
41556
41557 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41558
41559 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41560
41561 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41562
41563 [BZ #17748]
41564 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41565 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41566 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41567 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41568 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41569 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41570 define as weak alias of __fegetenv. Use libm_hidden_weak.
41571 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41572 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41573 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41574 define as weak alias of __fegetenv. Use libm_hidden_weak.
41575 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41576 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41577 define as weak alias of __fegetenv. Use libm_hidden_weak.
41578 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41579 libm_hidden_def.
41580 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41581 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41582 Likewise.
41583 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41584 define as weak alias of __fegetenv. Use libm_hidden_weak.
41585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41586 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41587 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41588 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41589 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41590 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41591 __fegetenv instead of fegetenv.
41592 (libc_feholdsetround_noex_ctx): Likewise.
41593
41594 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41595
41596 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41597 (Elf_MIPS_ABIFlags_v0): New structure.
41598 (EF_MIPS_FP64): Define.
41599 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41600 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41601 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41602 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41603 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41604 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41605 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41606 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41607 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41608 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41609 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41610 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41611 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41612 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41613 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41614 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41615 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41616 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41617 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41618 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41619 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41620 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41621 field.
41622 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41623 EF_MIPS_FP64.
41624 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41625 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41626 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41627 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41628 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41629 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41630 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41631 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41632 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41633 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41634 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41635 record the current FP ABI extension.
41636 (mips-mode-switch): Define to show if kernel headers support mode
41637 switching.
41638 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41639 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41640 supported SYSV ABI version to 3.
41641 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41642 feature.
41643
41644 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41646
41647 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41648 path.
41649 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41650
41651 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41652
41653 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41654 __fegetround and redefine to call __fegetround. Remove condition
41655 on [!__NO_MATH_INLINES].
41656 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41657 function.
41658 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41659 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41660 Remove macro.
41661 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41662 instead of <fenv_libc.h>.
41663 (__llrintl): Call fegetround instead of __fegetround.
41664 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41665 instead of <fenv_libc.h>.
41666 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41667 (__lrintl): Call fegetround instead of __fegetround.
41668 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41669 instead of <fenv_libc.h>.
41670 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41671 (__rintl): Call fegetround instead of __fegetround.
41672
41673 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41674
41675 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41676 arrays.
41677
41678 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41679
41680 [BZ #17775]
41681 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41682 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41683 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41684
41685 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41686
41687 * sysdeps/i386/tls-macros.h: Include <features.h>.
41688 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41689 (TLS_IE): Likewise.
41690 (TLS_LD): Likewise.
41691 (TLS_GD): Likewise.
41692 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41693 define for GCC >= 5.0.
41694
41695 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41696
41697 * math/test-fenv.c (test_single_exception, set_single_exc,
41698 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41699 feexcp_mask_test, feenable_test, fe_single_test): Add
41700 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41701 case where they are not used.
41702 * math/libm-test.inc: Likewise.
41703 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41704 unused in the absence of FP rounding/exception support.
41705 * stdio-common/tst-printf-round.c: Likewise.
41706 * stdlib/tst-strtod-round.c: Likewise.
41707 * stdlib/tst-strtod-underflow.c: Likewise.
41708
41709 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41710
41711 [BZ #17723]
41712 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41713 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41714 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41715 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41716 libm_hidden_weak.
41717 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41718 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41719 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41720 libm_hidden_def.
41721 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41722 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41723 libm_hidden_weak.
41724 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41725 Likewise.
41726 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41727 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41728 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41729 libm_hidden_weak.
41730 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41731 libm_hidden_def.
41732 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41733 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41734 (__feraiseexcept): Likewise.
41735 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41736 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41737 libm_hidden_weak.
41738 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41739 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41740 libm_hidden_def.
41741 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41742 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41743 Use libm_hidden_def.
41744 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41745 libm_hidden_def.
41746 (feraiseexcept): Define as weak not strong alias. Use
41747 libm_hidden_weak.
41748 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41749 New inline function. Factored out of ...
41750 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41751 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41752 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41753 feraiseexcept.
41754 * math/w_acos.c (__acos): Likewise.
41755 * math/w_asin.c (__asin): Likewise.
41756 * math/w_ilogb.c (__ilogb): Likewise.
41757 * math/w_j0.c (y0): Likewise.
41758 * math/w_j1.c (y1): Likewise.
41759 * math/w_jn.c (yn): Likewise.
41760 * math/w_log.c (__log): Likewise.
41761 * math/w_log10.c (__log10): Likewise.
41762 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41763 * sysdeps/aarch64/fpu/math_private.h
41764 (libc_feupdateenv_test_aarch64): Likewise.
41765 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41766 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41767 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41769 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41770 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41771 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41772 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41773 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41774 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41775
41776 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41777
41778 [BZ #17732]
41779 * io/test-utime.c (main): Replace %ld with %jd and cast to
41780 intmax_t.
41781 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41782 * nptl/tst-mutex5.c: Include <stdint.h>.
41783 (do_test): Replace %ld with %jd and cast to intmax_t.
41784 * posix/tst-regex.c (run_test): Likewise.
41785 (run_test_backwards): Likewise.
41786 * rt/tst-clock.c: Include <stdint.h>.
41787 (clock_test): Replace %ld with %jd and cast to intmax_t.
41788 * rt/tst-cpuclock1.c: Include <stdint.h>.
41789 (do_test): Replace %lu with %ju and cast to uintmax_t.
41790 * rt/tst-cpuclock2.c: Include <stdint.h>.
41791 (do_test): Replace %lu with %ju and cast to uintmax_t.
41792 * rt/tst-mqueue1.c: Include <stdint.h>.
41793 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41794 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41795 intmax_t.
41796 * rt/tst-mqueue4.c (do_test): Likewise.
41797 * rt/tst-timer4.c: Include <stdint.h>.
41798 (check_ts): Replace %ld with %jd and cast to intmax_t.
41799 (do_test): Likewise.
41800 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41801 and cast to intmax_t.
41802 * sysdeps/pthread/tst-timer.c (main): Likewise.
41803 * time/clocktest.c (main): Likewise.
41804 * time/tst-posixtz.c (do_test): Likewise.
41805 * timezone/tst-timezone.c (main): Likewise.
41806
41807 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41808 H.J. Lu <hongjiu.lu@intel.com>
41809
41810 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41811 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41812 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41813 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41814 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41815 version if bit_Fast_Unaligned_Load is set.
41816 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41817 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41818 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41819 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41823 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41824 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41825 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41826 to 4.
41827 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41828 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41829 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41830 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41831
41832 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41833
41834 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41835 instead of #if to avoid a Wundef warning.
41836 * stdlib/tst-limits.c (do_test): Likewise.
41837
41838 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41839 parallel other exception macros.
41840 (fegetenv): Convert from macro to extern inline so that it applies
41841 retroactively to inline functions already seen by the compiler.
41842 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41843
41844 * posix/Makefile (before-compile): Use $(objpfx) for
41845 posix-conf-vars-def.h.
41846
41847 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41848
41849 * posix/getconf.c (main): Use size_t for type of I.
41850 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41851 NSPEC.
41852
41853 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41854 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41855 * posix/posix-envs.def: Likewise.
41856 * sysdeps/posix/sysconf.c: Likewise.
41857 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41858 (specs): Remove array.
41859 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41860 array.
41861
41862 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41863 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41864 (__sysconf): Use CONF_IS_* macros.
41865
41866 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41867 ($(objpfx)posix-conf-vars-def.h): New target.
41868 * posix/posix-conf-vars.list: New file.
41869 * posix/posix-conf-vars.h: New file.
41870 * posix/confstr.c: Include posix-conf-vars.h.
41871 (confstr): Use CONF_IS_* macros.
41872 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41873 CONF_IS_* macros.
41874 * scripts/gen-posix-conf-vars.awk: New file.
41875
41876 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41877
41878 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41879 fegetround): Add no-op macros to avoid linknamespace issues.
41880
41881 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41882 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41883
41884 * sysdeps/unix/sysv/linux/tile/sysdep.h
41885 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41886 assembly-specific section to avoid a redefinition warning.
41887
41888 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41889 long before casting to pointer to avoid a cast warning.
41890
41891 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41892
41893 * sysdeps/tile/tilegx/Implies: New file.
41894
41895 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41896
41897 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41898
41899 2014-12-23 Florian Weimer <fweimer@redhat.com>
41900
41901 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41902
41903 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41904
41905 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41906 not define.
41907 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41908 <kernel-features.h>.
41909 (__utimes) [__NR_utimes]: Make code unconditional.
41910 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41911 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41912 (__ASSUME_UTIMES): Do not undefine.
41913 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41914 (__ASSUME_UTIMES): Likewise.
41915 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41916 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41917 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41918 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41919
41920 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41921
41922 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41923
41924 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41925
41926 [BZ #17747]
41927 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41928 alias to weak alias for j0l, y0l.
41929 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41930 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41931
41932 [BZ #17746]
41933 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41934 conversion.
41935
41936 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41937
41938 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41939 to zero if not already defined.
41940
41941 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41942
41943 [BZ #17724]
41944 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41945 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41946 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41947 (char *) casts added.
41948 * sysdeps/ieee754/k_standardf.c: New file.
41949 * sysdeps/ieee754/k_standardl.c: Likewise.
41950 * math/Makefile (libm-support): Remove k_standard.
41951 (libm-calls): Add k_standard.
41952
41953 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41954
41955 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41956 Optimize to avoid an unnecessary FPCR read.
41957
41958 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41959
41960 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41961 Optimize to reduce FPCR/FPSR accesses.
41962
41963 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41964
41965 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41966 Call libc_fetestexcept_aarch64.
41967
41968 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41969
41970 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41971 Call libc_fesetround_aarch64.
41972
41973 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41974
41975 [BZ #17733]
41976 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41977 (__bind): Do not define as weak alias.
41978 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41979 define.
41980 (__getsockname): Do not define as weak alias.
41981
41982 2014-12-22 Will Newton <will.newton@linaro.org>
41983
41984 * manual/install.texi: Document that we require bison 2.7
41985 or above.
41986 * INSTALL: Regenerate.
41987 * configure.ac: Use AC_CHECK_PROG_VER instead of
41988 AC_PATH_PROG when checking for bison and check for
41989 version 2.7 or above.
41990 * configure: Regenerate.
41991
41992 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41993
41994 [BZ #17745]
41995 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41996 * sysdeps/tile/ffsll.c (ffsll): To here.
41997
41998 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41999
42000 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42001
42002 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42003 if not defined.
42004 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42005 definition.
42006 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42007 hidden ___tls_get_addr.
42008 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42009 hidden __tls_get_addr.
42010 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42011 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42012 Likewise.
42013
42014 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42015
42016 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42017 _dl_init call.
42018
42019 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42020
42021 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42022 from "call _dl_init@PLT".
42023 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42024
42025 2014-12-21 Anders Kaseorg <andersk@mit.edu>
42026
42027 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42028 guarantees.
42029
42030 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42031
42032 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42033
42034 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42035
42036 [BZ #17744]
42037 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42038 strnlen.
42039
42040 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42041
42042 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42043 of multu on MIPSr6.
42044 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42045 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42046 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42047 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42048 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42049
42050 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42051
42052 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42053 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42054 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42055 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42056 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42057 mips32r6/mips64r6.
42058 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42059
42060 2014-12-19 Ondƙej Bílka <neleai@seznam.cz>
42061
42062 * string/strncat.c (STRNCAT): Simplify implementation.
42063
42064 2014-12-19 David S. Miller <davem@davemloft.net>
42065
42066 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42067 access the quad as both a long double and as a series of 4 words.
42068
42069 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42070 link_map->l_info array access.
42071
42072 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42073
42074 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42075
42076 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42077 * math/atest-exp2.c (TIMEOUT): Likewise.
42078 * math/atest-sincos.c (TIMEOUT): Likewise.
42079
42080 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42081
42082 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42083 -Wno-error with -fno-builtin-lround.
42084
42085 2014-12-19 Torvald Riegel <triegel@redhat.com>
42086
42087 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42088 Contains futex constants and functions moved over from ...
42089 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42090 <lowlevellock-futex.h>.
42091 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42092 (lll_timedwait_tid): Add comments and parentheses around macro
42093 arguments.
42094
42095 2014-12-19 Torvald Riegel <triegel@redhat.com>
42096
42097 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42098 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42099 (__lll_private_flag): Remove.
42100 (lll_futex_wait): Likewise.
42101 (lll_futex_timed_wait): Likewise.
42102 (lll_futex_wake): Likewise.
42103 (lll_futex_requeue): Likewise.
42104 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42105 (__lll_timedwait_tid): Spell out argument names.
42106 (lll_timedwait_tid): Add comments and parentheses around macro
42107 arguments.
42108 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42109 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42110
42111 2014-12-19 Torvald Riegel <triegel@redhat.com>
42112
42113 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42114 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42115 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42116 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42117 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42118 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42119 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42120 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42121 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42122 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42124 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42127 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42128 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42129 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42130 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42131 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42132
42133 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42134
42135 * sysdeps/x86_64/x32/Makefile: New file.
42136
42137 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42138
42139 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42140 1L with (mp_limb_t) 1.
42141
42142 2014-12-17 Roland McGrath <roland@hack.frob.com>
42143
42144 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42145 * nptl/libc_pthread_init.c: ... here.
42146 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42147 * nptl/register-atfork.c: ... here.
42148
42149 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42150 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42151 Use assert_perror to check its return value.
42152 (__gai_create_helper_thread): Likewise.
42153
42154 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42155
42156 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42157
42158 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42159
42160 [BZ #17725]
42161 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42162 __profil_counter.
42163 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42164 Likewise.
42165 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42166 Likewise.
42167 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42168 Likewise.
42169 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42170 (profil_counter): Likewise.
42171 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42172 (profil_counter): Likewise.
42173 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42174 Likewise.
42175 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42176 Likewise.
42177 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42178 (profil_counter): Likewise.
42179 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42180 Likewise.
42181 [!__profil_counter] (profil_counter): Define as weak alias of
42182 __profil_counter.
42183 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42184 (profil_counter): Rename to __profil_counter.
42185 [!__profil_counter] (profil_counter): Define as weak alias of
42186 __profil_counter.
42187 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42188 (profil_counter): Rename to __profil_counter.
42189 [!__profil_counter] (profil_counter): Define as weak alias of
42190 __profil_counter.
42191 * sysdeps/posix/profil.c: Update comment referring to
42192 profil_counter.
42193 (__profil): Use __profil_counter instead of profil_counter.
42194 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42195 __profil_counter. Use __profil_counter_ushort and
42196 __profil_counter_uint in definitions.
42197 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42198 instead of profil_counter_uint and profil_counter_ushort.
42199
42200 [BZ #17722]
42201 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42202 define as weak alias of __inet_makeaddr.
42203 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42204 as weak alias of __inet_addr.
42205 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42206 as weak alias of __inet_pton. Use libc_hidden_weak.
42207 * include/arpa/inet.h (__inet_pton): Declare. Use
42208 libc_hidden_proto.
42209 (inet_makeaddr): Don't use libc_hidden_proto.
42210 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42211 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42212 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42213 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42214 Remove variable.
42215 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42216 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42217
42218 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42219
42220 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42221
42222 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42223
42224 * stdio-common/bug-vfprintf-nargs.c (do_test):
42225 Cast value to intptr_t to avoid format warning
42226 for usage with PRIdPTR printing macro.
42227
42228 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42229
42230 * libio/tst-widetext.c (do_test):
42231 Use format type %td instead of %Zd for ptrdiff_t
42232 in order to avoid format warning.
42233
42234 2014-12-17 Andreas Schwab <schwab@suse.de>
42235
42236 * nscd/mem.c (gc): Add size_t cast to match printf format.
42237
42238 2014-12-16 Roland McGrath <roland@hack.frob.com>
42239
42240 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42241 (init): Apply PTR_MANGLE to pointers before storing them.
42242 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42243 before using them.
42244
42245 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42246
42247 [BZ #17719]
42248 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42249 define as weak alias of __memrchr.
42250 (__memrchr): Do not define as strong alias of memrchr.
42251 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42252 Remove variable.
42253 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42254 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42255 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42256
42257 [BZ #17717]
42258 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42259 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42260 (if_indextoname): Rename to __if_indextoname and define as weak
42261 alias of __if_indextoname. Use libc_hidden_weak.
42262 (if_freenameindex): Rename to __if_freenameindex and define as
42263 weak alias of __if_freenameindex.
42264 (if_nameindex): Rename to __if_nameindex and define as weak alias
42265 of __if_nameindex.
42266 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42267 __if_nametoindex and define as weak alias of __if_nametoindex.
42268 Use libc_hidden_weak.
42269 (if_freenameindex): Rename to __if_freenameindex and define as
42270 weak alias of __if_freenameindex.
42271 (if_nameindex): Rename to __if_nameindex and define as weak alias
42272 of __if_nameindex.
42273 (if_indextoname): Rename to __if_indextoname and define as weak
42274 alias of __if_indextoname. Use libc_hidden_weak.
42275 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42276 __if_nametoindex and define as weak alias of __if_nametoindex.
42277 Use libc_hidden_weak.
42278 (if_freenameindex): Rename to __if_freenameindex and define as
42279 weak alias of __if_freenameindex. Use libc_hidden_weak.
42280 (if_nameindex_netlink): Use __if_freenameindex instead of
42281 if_freenameindex.
42282 (if_nameindex): Rename to __if_nameindex and define as weak alias
42283 of __if_nameindex. Use libc_hidden_weak.
42284 (if_indextoname): Rename to __if_indextoname and define as weak
42285 alias of __if_indextoname. Use libc_hidden_weak.
42286 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42287 libc_hidden_proto.
42288 [!_ISOMAC] (__if_freenameindex): Likewise.
42289 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42290 if_nametoindex.
42291 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42292 variable.
42293 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42294 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42295 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42296 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42297 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42298 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42299 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42300
42301 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42302 Remove variable.
42303 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42304 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42305
42306 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42307
42308 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42309 subscript above bounds'
42310
42311 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42312 bounds.
42313
42314 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42315
42316 * libio/tst-fopenloc.c: Use test-skeleton.c.
42317
42318 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42319 (entry): Rename to ITEM.
42320 (do_test, comp): Adjust.
42321
42322 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42323
42324 2014-12-16 Torvald Riegel <triegel@redhat.com>
42325
42326 * string/tester.c: Include <libc-internal.h>.
42327 (test_memset): Ignore -Wmemset-transposed-args.
42328
42329 2014-12-16 Torvald Riegel <triegel@redhat.com>
42330
42331 * misc/tst-mntent2.c (do_test): Fix warning.
42332
42333 2014-12-16 Torvald Riegel <triegel@redhat.com>
42334
42335 * elf/tst-unique4lib.cc(a): Mark as used.
42336
42337 2014-12-16 Florian Weimer <fweimer@redhat.com>
42338
42339 [BZ #17630]
42340 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42341 names.
42342
42343 2014-12-16 Allan McRae <allan@archlinux.org>
42344
42345 * stdio-common/Makefile (tests): Re-add bug26.
42346
42347 2014-12-15 Ondƙej Bílka <neleai@seznam.cz>
42348
42349 [BZ #17657]
42350 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42351 static array.
42352
42353 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42354
42355 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42356 (__lll_lock_wait): Likewise.
42357 (__lll_timedlock_wait): Likewise.
42358 (__lll_timedwait_tid): Likewise.
42359 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42360 (__lll_robust_timedlock_wait): Likewise.
42361 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42362 (lll_cond_trylock): Likewise.
42363 (__lll_lock): Likewise.
42364 (__lll_robust_lock): Likewise.
42365 (__lll_cond_lock): Likewise.
42366 (lll_robust_cond_lock): Likewise.
42367 (__lll_timedlock): Likewise.
42368 (__lll_robust_timedlock): Likewise.
42369 (__lll_unlock): Likewise.
42370 (__lll_robust_unlock): Likewise.
42371 (lll_wait_tid): Likewise.
42372 (lll_timedwait_tid): Likewise.
42373
42374 2014-12-15 Torvald Riegel <triegel@redhat.com>
42375
42376 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42377
42378 2014-12-15 Torvald Riegel <triegel@redhat.com>
42379
42380 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42381
42382 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42383
42384 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42385 * stdio-common/tst-sprintf.c: Likewise.
42386
42387 2014-12-15 Torvald Riegel <triegel@redhat.com>
42388
42389 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42390
42391 2014-12-15 Jeff Law <law@redhat.com>
42392
42393 [BZ #16617]
42394 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42395 on the heap. (CVE-2012-3406)
42396 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42397 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42398 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42399
42400 2014-12-15 Will Newton <will.newton@linaro.org>
42401
42402 * manual/install.texi: Bump required version of texinfo
42403 to 4.7 from 4.5.
42404 * INSTALL: Regenerated.
42405 * configure.ac: Check for makeinfo version 4.7 and above.
42406 * configure: Regenerated.
42407
42408 2014-12-12 Roland McGrath <roland@hack.frob.com>
42409
42410 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42411 PREFIX, string constant to insert between directory and name.
42412 * sysdeps/posix/shm_open.c: Update caller.
42413 * sysdeps/posix/shm_unlink.c: Likewise.
42414 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42415 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42416 (SEM_SHM_PREFIX): New macro.
42417 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42418 [$(have-thread-library) = no].
42419 * nptl/Makefile (libpthread-routines): Add shm-directory.
42420 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42421 * sysdeps/nptl/shm-directory.h: New file.
42422 * sysdeps/posix/shm-directory.c
42423 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42424 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42425 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42426 INTERNAL_SYSCALL.
42427 (__where_is_shmfs): Function removed.
42428 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42429 Variables removed.
42430 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42431 Use SHM_GET_NAME.
42432 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42433
42434 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42435 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42436 unconditional for use inside libpthread.
42437 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42438
42439 2014-12-12 Roland McGrath <roland@hack.frob.com>
42440
42441 * nptl/pthread_getaffinity.c: New file.
42442 * nptl/pthread_setaffinity.c: New file.
42443 * nptl/pthread_getname.c: New file.
42444 * nptl/pthread_setname.c: New file.
42445
42446 * nptl/pthread_create.c (START_THREAD_DEFN)
42447 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42448
42449 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42450 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42451
42452 * resolv/res_send.c (send_vc): Disable warning resplen may
42453 be used uninitialized.
42454
42455 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42456
42457 * nptl/tst-mutex6.c
42458 (ATTR_NULL): New define checks ATTR against NULL.
42459 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42460 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42461
42462 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42463
42464 [BZ #17581]
42465 * malloc/hooks.c
42466 (mem2mem_check): Revert my previous change.
42467 (malloc_check_get_size): Revert my previous change.
42468 (mem2chunk_check): Revert my previous change.
42469
42470 2014-12-11 Roland McGrath <roland@hack.frob.com>
42471
42472 * sysdeps/posix/shm-directory.c: New file.
42473 * sysdeps/posix/shm-directory.h: New file.
42474 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42475 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42476 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42477 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42478 Transmute EPERM to EACCES.
42479 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42480 from ...
42481 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42482 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42483
42484 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42485
42486 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42487 pointer and cast to uintptr_t.
42488 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42489 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42490 Add cast to avoid warning.
42491 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42492
42493 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42494
42495 * nptl/semaphore.h: Move to ...
42496 * sysdeps/pthread/semaphore.h: ... here.
42497 * Makefile (installed-headers): Change nptl/semaphore.h to
42498 sysdeps/pthread/semaphore.h.
42499
42500 2014-12-11 Roland McGrath <roland@hack.frob.com>
42501
42502 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42503 generated error format strings.
42504
42505 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42506 -Wformat-extra-args warnings for scanf formats.
42507 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42508 test of zero-length format (duh).
42509 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42510 corner-case scanf format test.
42511 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42512 generated fprintf format string.
42513 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42514 corner-case sprintf format tests.
42515 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42516 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42517 -Wformat-extra-args warnings throughout.
42518 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42519 (CFLAGS-scanf4.c): Likewise.
42520 (CFLAGS-scanf7.c): Likewise.
42521 (CFLAGS-tst-sprintf.c): Likewise.
42522 (CFLAGS-tst-printf.c): Likewise.
42523 (CFLAGS-tst-printfsz.c): Likewise.
42524
42525 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42526
42527 * include/cpio.h: New file.
42528 * include/fmtmsg.h: Likewise.
42529
42530 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42531 corresponding format argument to size_t.
42532 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42533 arguments.
42534 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42535 corresponding format argument to size_t.
42536 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42537 arguments.
42538 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42539 corresponding format argument to size_t.
42540 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42541 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42542 (CFLAGS-tst-mbswcs2.c): Likewise.
42543 (CFLAGS-tst-mbswcs3.c): Likewise.
42544 (CFLAGS-tst-mbswcs4.c): Likewise.
42545 (CFLAGS-tst-mbswcs5.c): Likewise.
42546 (CFLAGS-tst-trans.c): Likewise.
42547
42548 2014-12-11 Roland McGrath <roland@hack.frob.com>
42549
42550 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42551 rather than assuming they won't contain any '%'s.
42552
42553 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42554
42555 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42556 inhibit_loop_to_libcall to avoid recursive calls.
42557 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42558 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42559
42560 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42561
42562 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42563 prototype.
42564
42565 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42566
42567 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42568 integer value instead of boolean.
42569
42570 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42571
42572 * malloc/malloc.c: Fix powerof2 check.
42573
42574 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42575
42576 * locale/programs/locfile.h (maybe_swap_uint32):
42577 Remove inline and add unused attribute.
42578
42579 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42580
42581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42582 Truncating assembler expression to a .long expression.
42583
42584 2014-12-11 Andreas Schwab <schwab@suse.de>
42585
42586 * elf/rtld.c (struct map_args): Constify str member.
42587 (do_preload): Constify fname argument.
42588
42589 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42590
42591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42592 constants definition.
42593
42594 2014-12-11 Andreas Schwab <schwab@suse.de>
42595
42596 [BZ #16657]
42597 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42598 FORCE_ELISION instead of DO_ELISION.
42599 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42600 Remove.
42601 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42602 Likewise.
42603
42604 * iconvdata/gconv-modules: Remove duplicate entry.
42605
42606 2014-12-11 Will Newton <will.newton@linaro.org>
42607
42608 Merge gettext 0.19.3 into intl/.
42609
42610 This involves a number of cosmetic changes to comments
42611 and ANSI function definitions and prototypes throughout
42612 all the files. The gettext copyright header is used but
42613 with the date ranges taken from the glibc copy.
42614
42615 * NEWS: Add gettext merge to 2.21.
42616 * intl/bindtextdom.c: Switch to gettext copyright.
42617 Use ANSI definitions and prototypes.
42618 Use gl_* locking primitives rather than __libc_* ones.
42619 Use __builtin_expect rather than __glibc_likely/unlikely.
42620 * intl/dcgettext.c: Switch to gettext copyright.
42621 Use ANSI definitions and prototypes.
42622 * intl/dcigettext.c: Switch to gettext copyright.
42623 Use ANSI definitions and prototypes.
42624 (INTDIV0_RAISES_SIGFPE): New define.
42625 Use gl_* locking primitives rather than __libc_* ones.
42626 Include eval-plural.h instead of plural-eval.c.
42627 Use __builtin_expect rather than __glibc_likely/unlikely.
42628 * intl/dcngettext.c: Switch to gettext copyright.
42629 Use ANSI definitions and prototypes.
42630 * intl/dgettext.c: Likewise.
42631 * intl/dngettext.c: Likewise.
42632 * intl/plural-eval.c: Renamed to...
42633 * intl/eval-plural.h: ...this.
42634 * intl/explodename.c: Switch to gettext copyright.
42635 Use ANSI definitions and prototypes.
42636 (_nl_explode_name): Use strchr instead of __rawmemchr.
42637 * intl/finddomain.c: Switch to gettext copyright.
42638 Use ANSI definitions and prototypes.
42639 Use gl_* locking primitives rather than __libc_* ones.
42640 (_nl_find_domain): Use malloc rather than alloca for
42641 allocation of temporary locale name.
42642 * intl/gettext.c: Switch to gettext copyright.
42643 Use ANSI definitions and prototypes.
42644 * intl/gettextP.h: Switch to gettext copyright.
42645 Use ANSI definitions and prototypes.
42646 Use gl_* locking primitives rather than __libc_* ones.
42647 * intl/gmo.h: Switch to gettext copyright.
42648 (struct sysdep_string): Move struct segment_pair outside of
42649 struct definition.
42650 * intl/hash-string.c: Use ANSI definitions and prototypes.
42651 * intl/hash-string.h: Switch to gettext copyright.
42652 Use ANSI definitions and prototypes.
42653 * intl/l10nflist.c: Switch to gettext copyright.
42654 Use ANSI definitions and prototypes.
42655 (_nl_normalize_codeset): Avoid integer overflow.
42656 * intl/loadinfo.h: Switch to gettext copyright.
42657 Use ANSI definitions and prototypes.
42658 (LIBINTL_DLL_EXPORTED): New define.
42659 (PATH_SEPARATOR): New define.
42660 * intl/loadmsgcat.c: Switch to gettext copyright.
42661 * intl/localealias.c: Switch to gettext copyright.
42662 Use ANSI definitions and prototypes.
42663 (_nl_expand_alias): Use PATH_SEPARATOR.
42664 * intl/ngettext.c: Switch to gettext copyright.
42665 Use ANSI definitions and prototypes.
42666 * intl/plural-exp.c: Likewise.
42667 * intl/plural-exp.h: Switch to gettext copyright.
42668 Use ANSI definitions and prototypes.
42669 (struct expression): Move definition of enum operator outside
42670 of struct definition.
42671 * intl/plural.c: Regenerate.
42672 * intl/plural.y: Switch to gettext copyright.
42673 Use ANSI definitions and prototypes.
42674 Port to bison 3.0.
42675 * intl/textdomain.c: Switch to gettext copyright.
42676 Use ANSI definitions and prototypes.
42677 Use gl_* locking primitives rather than __libc_* ones.
42678
42679 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42680
42681 * debug/warning-nop.c: Add used atrribute.
42682
42683 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42684
42685 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42686
42687 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42688 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42689 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42690
42691 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42692 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42693
42694 [BZ #17634]
42695 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42696 Undefine after defining function. Define as weak alias of
42697 __wcschr. Use libc_hidden_weak.
42698 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42699 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42700 (libc_hidden_def): Also define __GI___wcschr alias.
42701 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42702 __wcschr and define as weak alias of __wcschr.
42703 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42704 __wcschr.
42705 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42706 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42707 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42708 libc_hidden_weak. Do not use libc_hidden_def.
42709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42710 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42711 __GI___wcschr alias.
42712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42713 [IS_IN (libc)] (wcschr): Define as macro expanding to
42714 __redirect_wcschr.
42715 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42716 [IS_IN (libc)] (__wcschr_power6): Likewise.
42717 [IS_IN (libc)] (__wcschr_power7): Likewise.
42718 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42719 instead of wcschr.
42720 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42721 __libc_wcschr.
42722 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42723 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42724 __wcschr and define as weak alias of __wcschr. Use
42725 libc_hidden_builtin_def.
42726 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42727 as weak alias of __wcschr. Use libc_hidden_weak.
42728 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42729 wcschr.
42730 * time/era.c (_nl_init_era_entries): Likewise.
42731 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42732 variable.
42733 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42734 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42735
42736 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42737
42738 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42739 format for long int variable.
42740
42741 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42742
42743 [BZ #10672]
42744 * manual/search.texi: (Array Sort Function): Remove claim how to make
42745 qsort stable.
42746
42747 2014-12-10 Andreas Schwab <schwab@suse.de>
42748
42749 [BZ #12847]
42750 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42751 user-controlled locks.
42752
42753 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42754
42755 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42756 register.
42757
42758 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42759
42760 * configure.ac (--disable-werror): New configure option.
42761 (enable_werror): New AC_SUBST.
42762 * configure: Regenerated.
42763 * config.make.in (enable-werror): New variable.
42764 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42765 -Wno-error=undef.
42766 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42767 * manual/install.texi (Configuring and compiling): Document
42768 --disable-werror.
42769 * INSTALL: Regenerated.
42770 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42771 (CFLAGS-tst-chk2.c): Likewise.
42772 (CFLAGS-tst-chk3.c): Likewise.
42773 (CFLAGS-tst-chk4.cc): Likewise.
42774 (CFLAGS-tst-chk5.cc): Likewise.
42775 (CFLAGS-tst-chk6.cc): Likewise.
42776 (CFLAGS-tst-lfschk1.c): Likewise.
42777 (CFLAGS-tst-lfschk2.c): Likewise.
42778 (CFLAGS-tst-lfschk3.c): Likewise.
42779 (CFLAGS-tst-lfschk4.cc): Likewise.
42780 (CFLAGS-tst-lfschk5.cc): Likewise.
42781 (CFLAGS-tst-lfschk6.cc): Likewise.
42782
42783 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42784 (main): Disable -Wdeprecated-declarations around calls to
42785 register_printf_function.
42786
42787 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42788 (do_test): Disable -Wdiv-by-zero around some calls to
42789 fwrite_unlocked and fread_unlocked.
42790
42791 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42792 (DIAG_POP_NEEDS_COMMENT): Likewise.
42793 (_DIAG_STR1): Likewise.
42794 (_DIAG_STR): Likewise.
42795 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42796 * stdio-common/bug21.c: Include <libc-internal.h>.
42797 (do_test): Disable -Wformat around call to sscanf.
42798 * stdio-common/scanf14.c: Include <libc-internal.h>.
42799 (main): Disable -Wformat around some calls to scanf functions.
42800
42801 2014-12-09 Torvald Riegel <triegel@redhat.com>
42802
42803 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42804
42805 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42806
42807 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42808 stack variable alignment.
42809
42810 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42811
42812 [BZ #17682]
42813 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42814 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42815 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42816 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42817 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42818 __getrlimit instead of getrlimit.
42819 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42820 __gettimeofday instead of gettimeofday.
42821 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42822 Likewise.
42823 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42824 Likewise.
42825 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42826 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42827 Remove variable.
42828 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42829 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42830
42831 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42832
42833 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42834 for wide-character tests.
42835
42836 2014-12-04 Roland McGrath <roland@hack.frob.com>
42837
42838 * io/openat64.c: #include <libc-internal.h>
42839 (__openat64): Prototypify. Use ignore_value on MODE.
42840 * io/openat.c: Likewise.
42841 * misc/reboot.c: #include <libc-internal.h>
42842 (reboot): Prototypify. Use ignore_value on HOWTO.
42843 * misc/ptrace.c: #include <libc-internal.h>
42844 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42845
42846 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42847
42848 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42849 XPG4, UNIX98 and XOPEN2K.
42850 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42851 Remove variable.
42852 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42853
42854 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42855
42856 * libio/fileops.c: Use ISO C style for function definitions.
42857 * libio/iofopen.c: Likewise.
42858 * libio/wfileops.c: Likewise.
42859
42860 [BZ #17653]
42861 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42862 offset on EOF.
42863 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42864 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42865 (fgets_func): Function pointer to fgets and fgetws.
42866 (do_ftell_test): Add test to verify ftell value after read
42867 EOF.
42868 (do_test): Set fgets_func.
42869
42870 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42871 O_TRUNC flag for w and w+ modes.
42872 (do_rewind_test): Likewise.
42873 (do_ftell_test): Likewise.
42874 (do_write_test): Likewise.
42875
42876 [BZ #17647]
42877 * libio/fileops.c (do_ftell): Seek only when there are
42878 unflushed writes.
42879 * libio/wfileops.c (do_ftell_wide): Likewise.
42880 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42881 test case.
42882 (do_one_test): Call it.
42883
42884 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42885
42886 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42887 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42888 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42889 Remove variable.
42890 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42891 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42892 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42893
42894 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42895
42896 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42897 Remove variable.
42898 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42899
42900 [BZ #17668]
42901 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42902 as weak alias of __getifaddrs. Use libc_hidden_weak.
42903 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42904 __freeifaddrs. Use libc_hidden_weak.
42905 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42906 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42907 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42908 __freeifaddrs. Use libc_hidden_weak.
42909 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42910 __getifaddrs and define as weak alias of __getifaddrs. Use
42911 libc_hidden_weak.
42912 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42913 __freeifaddrs. Use libc_hidden_weak.
42914 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42915 Remove variable.
42916 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42917 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42918
42919 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42920
42921 [BZ #17601]
42922 * sysdeps/mips/start.S (__start): Use indirect jump to call
42923 __libc_start_main.
42924
42925 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42926
42927 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42928
42929 * nptl/tst-mutex1.c: Include <stdbool.h>.
42930 [!ATTR] (ATTR_NULL): New macro.
42931 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42932 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42933 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42934
42935 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42936 to char *.
42937
42938 [BZ #17665]
42939 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42940 Change conditional to [__USE_MISC].
42941
42942 [BZ #17664]
42943 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42944 fgets_unlocked.
42945 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42946 __fgets_unlocked.
42947 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42948 fgets_unlocked.
42949 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42950 Remove variable.
42951 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42952 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42953 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42954 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42955 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42956 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42957 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42958 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42959 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42960
42961 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42962
42963 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42964
42965 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42966 Remove strpbrk objects.
42967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42968 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42969 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42970 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42971 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42972 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42973
42974 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42975 Remove strcspn objects.
42976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42977 (__libc_ifunc_impl_list): Remove strcspn implementation.
42978 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42979 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42980 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42981 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42982
42983 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42984 Remove strspn objetcs.
42985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42986 (__libc_ifunc_impl_list): Remove strspn implementation.
42987 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42988 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42989 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42990 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42991
42992 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42993
42994 [BZ #17581]
42995 * malloc/hooks.c
42996 (mem2mem_check): Add a terminator to the chain of checking blocks.
42997 (malloc_check_get_size): Use it here.
42998 (mem2chunk_check): Ditto.
42999
43000 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43001
43002 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43003 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43004
43005 2014-11-29 Carlos O'Donell <carlos@redhat.com>
43006
43007 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43008
43009 * nptl/nptl-init.c: Include libc-internal.h.
43010 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43011
43012 * elf/ldconfig.c (search_dir): Expand comment.
43013
43014 2014-11-29 Joseph Myers <joseph@codesourcery.com>
43015
43016 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43017 variable.
43018 (linknamespace-symlist-stdlibs-tests): Likewise.
43019 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43020 instead of $(objpfx)symlist-stdlibs.
43021 (linknamespace-libs-isoc): New variable.
43022 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43023 (linknamespace-libs-ISO): New variable.
43024 (linknamespace-libs-ISO99): Likewise.
43025 (linknamespace-libs-ISO11): Likewise.
43026 (linknamespace-libs-XPG3): Likewise.
43027 (linknamespace-libs-XPG4): Likewise.
43028 (linknamespace-libs-POSIX): Likewise.
43029 (linknamespace-libs-UNIX98): Likewise.
43030 (linknamespace-libs-XOPEN2K): Likewise.
43031 (linknamespace-libs-POSIX2008): Likewise.
43032 (linknamespace-libs-XOPEN2K8): Likewise.
43033 ($(objpfx)symlist-stdlibs): Replace by
43034 $(linknamespace-symlist-stdlibs-tests). Use
43035 $(linknamespace-libs-$*) as set of libraries.
43036 ($(linknamespace-header-tests)): Update dependencies. Use
43037 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43038 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43039 * conform/linknamespace.pl: Remove comment about considering
43040 definitions of symbols from irrelevant libraries.
43041
43042 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43043
43044 [BZ #13862]
43045 * elf/dl-tls.c: Include <atomic.h>.
43046 (oom): Remove #ifdef SHARED/#endif.
43047 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43048 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43049 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43050 big enough.
43051 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43052 * nptl/Makefile (tests): Add tst-stack4.
43053 (modules-names): Add tst-stack4mod.
43054 ($(objpfx)tst-stack4): New.
43055 (tst-stack4mod.sos): Likewise.
43056 ($(objpfx)tst-stack4.out): Likewise.
43057 ($(tst-stack4mod.sos)): Likewise.
43058 (clean): Likewise.
43059 * nptl/tst-stack4.c: New file.
43060 * nptl/tst-stack4mod.c: Likewise.
43061
43062 2014-11-27 J. Brown <jb999@gmx.de>
43063
43064 * sysdeps/x86/bits/string.h: Add recent CPUs.
43065
43066 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43067
43068 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43069 sigblock.
43070
43071 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43072 feof.
43073
43074 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43075 variable.
43076
43077 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43078
43079 * nscd/connections.c: Include libc-internal.h because of macro
43080 usage ignore_value.
43081
43082 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43083
43084 * string/bits/string3.h (__warn_memset_zero_len): Don't
43085 declare for gcc newer than 5.0.
43086 (memset): Don't test for zero-length __LEN for gcc newer than
43087 5.0.
43088
43089 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43090
43091 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43092 size_t for %zu format.
43093
43094 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43095 difference, not %ju.
43096
43097 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43098
43099 * include/libc-internal.h (ignore_value): New macro.
43100 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43101 with ignore_value.
43102
43103 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43104 definition.
43105
43106 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43107 pthread_cleanup_push to void *.
43108
43109 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43110 Undefine.
43111
43112 [BZ #16619]
43113 [BZ #16740]
43114 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43115 instead of 1L << 52.
43116
43117 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43118 * libio/bug-rewind2.c (do_test): Likewise.
43119
43120 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43121 * debug/test-strcpy_chk-ifunc.c: Likewise.
43122 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43123 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43124 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43125 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43126 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43127 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43128 * Rules [$(multi-arch) = no] (tests): Do not filter out
43129 $(tests-ifunc).
43130 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43131 * debug/Makefile (tests-ifunc): Remove variable.
43132 (tests): Do not add $(tests-ifunc).
43133 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43134 (tests): Do not add $(tests-ifunc).
43135 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43136 [TEST_IFUNC]: Remove conditionals.
43137 * string/test-string.h (TEST_IFUNC): Remove macro.
43138 [TEST_IFUNC]: Remove conditionals.
43139
43140 * string/test-strchr.c [!WIDE] (L): New macro.
43141 [WIDE] (L): Likewise.
43142 (check1): Use CHAR instead of char. Use L on string and character
43143 constants.
43144
43145 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43146
43147 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43148 tests.
43149 * sysdeps/powerpc/bits/atomic.h
43150 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43151 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43152 (atomic_exchange_and_add_acq): Likewise.
43153 (atomic_exchange_and_add_rel): Likewise.
43154 * sysdeps/powerpc/powerpc32/bits/atomic.h
43155 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43156 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43157 * sysdeps/powerpc/powerpc64/bits/atomic.h
43158 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43159 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43160
43161 2014-11-26 Torvald Riegel <triegel@redhat.com>
43162
43163 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43164 Change synchronization of __sched_fifo_min_prio and
43165 __sched_fifo_max_prio.
43166 * nptl/pthread_mutexattr_getprioceiling.c
43167 (pthread_mutexattr_getprioceiling): Likewise.
43168 * nptl/pthread_mutexattr_setprioceiling.c
43169 (pthread_mutexattr_setprioceiling): Likewise.
43170 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43171 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43172 Likewise.
43173
43174 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43175
43176 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43177 void.
43178
43179 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43180
43181 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43182 third argument const.
43183
43184 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43185
43186 fnmatch: work around GCC compiler warning bug with uninit var
43187 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43188 This works around a bug with x86-64 GCC 4.9.2 and earlier
43189 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43190 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43191 used uninitialized in this function [-Wmaybe-uninitialized]".
43192
43193 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43194
43195 * posix/bug-regex31.c (main): Return RES not 0.
43196
43197 2014-11-25 Anton Blanchard <anton@samba.org>
43198
43199 * sysdeps/powerpc/bits/atomic.h
43200 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43201
43202 2014-11-24 Sterling Augustine <saugustine@google.com>
43203
43204 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43205
43206 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43207
43208 [BZ #17608]
43209 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43210
43211 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43212
43213 [BZ #17633]
43214 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43215 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43216 variable.
43217 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43218 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43219
43220 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43221
43222 * string/strncpy.c (strncpy): Improve performance by using memset.
43223
43224 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43225
43226 * string/strcpy.c (strcpy):
43227 Improve performance by using strlen and memcpy.
43228
43229 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43230
43231 * string/strcoll_l.c (get_next_seq): __always_inline.
43232 * string/strcoll_l.c (do_compare): __always_inline.
43233
43234 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43235
43236 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43237 defined.
43238 * include/mqueue.h: Likewise.
43239 * include/stdlib.h: Likewise.
43240
43241 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43242 (get_null_defines): Adjust.
43243 * sunrpc/Makefile: Adjust comment.
43244 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43245 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43246 (CFLAGS-interp.c): Likewise.
43247 (CFLAGS-ldconfig.c): Likewise.
43248 (CPPFLAGS-.os): Likewise.
43249 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43250 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43251 * extra-modules.mk (extra-modules.mk): Likewise.
43252 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43253 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43254 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43255 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43256 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43257 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43258 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43259 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43260 * iconvdata/Makefile (CPPFLAGS): Likewise.
43261 (cpp-srcs-left): Add libof for all iconvdata routines.
43262 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43263 * include/assert.h: Likewise.
43264 * include/ctype.h: Likewise.
43265 * include/errno.h: Likewise.
43266 * include/libc-symbols.h: Likewise.
43267 * include/math.h: Likewise.
43268 * include/netdb.h: Likewise.
43269 * include/resolv.h: Likewise.
43270 * include/stdio.h: Likewise.
43271 * include/stdlib.h: Likewise.
43272 * include/string.h: Likewise.
43273 * include/sys/stat.h: Likewise.
43274 * include/wctype.h: Likewise.
43275 * intl/l10nflist.c: Likewise.
43276 * libidn/idn-stub.c: Likewise.
43277 * libio/libioP.h: Likewise.
43278 * nptl/libc_multiple_threads.c: Likewise.
43279 * nptl/pthreadP.h: Likewise.
43280 * posix/regex_internal.h: Likewise.
43281 * resolv/res_hconf.c: Likewise.
43282 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43283 * sysdeps/arm/memmove.S: Likewise.
43284 * sysdeps/arm/sysdep.h: Likewise.
43285 * sysdeps/generic/_itoa.h: Likewise.
43286 * sysdeps/generic/symbol-hacks.h: Likewise.
43287 * sysdeps/gnu/errlist.awk: Likewise.
43288 * sysdeps/gnu/errlist.c: Likewise.
43289 * sysdeps/i386/i586/memcpy.S: Likewise.
43290 * sysdeps/i386/i586/memset.S: Likewise.
43291 * sysdeps/i386/i686/memcpy.S: Likewise.
43292 * sysdeps/i386/i686/memmove.S: Likewise.
43293 * sysdeps/i386/i686/mempcpy.S: Likewise.
43294 * sysdeps/i386/i686/memset.S: Likewise.
43295 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43296 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43297 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43299 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43301 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43302 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43305 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43306 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43307 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43308 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43309 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43310 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43311 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43312 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43313 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43314 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43315 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43316 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43317 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43318 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43319 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43320 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43321 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43322 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43325 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43326 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43331 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43332 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43334 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43335 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43336 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43337 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43338 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43341 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43342 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43343 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43345 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43346 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43347 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43348 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43349 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43350 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43351 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43352 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43353 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43355 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43356 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43357 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43358 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43359 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43360 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43361 * sysdeps/posix/closedir.c: Likewise.
43362 * sysdeps/posix/opendir.c: Likewise.
43363 * sysdeps/posix/readdir.c: Likewise.
43364 * sysdeps/posix/rewinddir.c: Likewise.
43365 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43366 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43367 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43368 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43370 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43371 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43376 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43377 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43378 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43380 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43381 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43382 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43384 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43385 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43386 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43387 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43388 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43390 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43393 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43400 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43401 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43402 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43403 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43404 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43405 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43407 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43409 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43410 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43411 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43412 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43413 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43414 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43415 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43416 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43418 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43419 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43421 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43422 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43423 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43424 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43425 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43426 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43427 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43428 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43429 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43430 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43431 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43432 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43433 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43434 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43436 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43437 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43438 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43439 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43440 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43442 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43443 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43444 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43445 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43446 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43447 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43448 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43449 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43451 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43452 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43453 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43454 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43455 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43456 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43457 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43461 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43463 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43464 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43465 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43466 * sysdeps/unix/alpha/sysdep.S: Likewise.
43467 * sysdeps/unix/alpha/sysdep.h: Likewise.
43468 * sysdeps/unix/make-syscalls.sh: Likewise.
43469 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43471 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43472 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43473 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43474 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43475 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43476 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43477 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43478 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43479 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43480 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43481 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43482 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43483 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43484 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43485 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43486 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43487 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43488 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43489 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43490 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43491 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43492 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43493 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43494 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43495 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43498 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43499 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43503 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43507 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43508 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43509 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43510 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43512 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43513 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43519 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43520 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43521 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43522 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43524 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43525 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43527 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43528 * sysdeps/x86_64/memcpy.S: Likewise.
43529 * sysdeps/x86_64/memmove.c: Likewise.
43530 * sysdeps/x86_64/memset.S: Likewise.
43531 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43533 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43534 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43535 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43538 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43539 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43540 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43541 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43542 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43543 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43544 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43545 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43546 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43548 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43549 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43550 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43551 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43552 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43555 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43556 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43557 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43558 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43559 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43560 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43561 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43562 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43563 * sysdeps/x86_64/strcmp.S: Likewise.
43564
43565 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43566
43567 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43568 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43569 * elf/rtld-Rules: Likewise.
43570 * elf/setup-vdso.h: Likewise.
43571 * include/assert.h: Likewise.
43572 * include/bits/stdlib-float.h: Likewise.
43573 * include/errno.h: Likewise.
43574 * include/sys/stat.h: Likewise.
43575 * include/unistd.h: Likewise.
43576 * sysdeps/aarch64/setjmp.S: Likewise.
43577 * sysdeps/alpha/setjmp.S: Likewise.
43578 * sysdeps/arm/__longjmp.S: Likewise.
43579 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43580 * sysdeps/arm/setjmp.S: Likewise.
43581 * sysdeps/arm/sysdep.h: Likewise.
43582 * sysdeps/generic/_itoa.h: Likewise.
43583 * sysdeps/generic/dl-sysdep.h: Likewise.
43584 * sysdeps/generic/ldsodefs.h: Likewise.
43585 * sysdeps/i386/dl-tls.h: Likewise.
43586 * sysdeps/i386/setjmp.S: Likewise.
43587 * sysdeps/m68k/setjmp.c: Likewise.
43588 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43589 * sysdeps/mach/hurd/opendir.c: Likewise.
43590 * sysdeps/posix/getcwd.c: Likewise.
43591 * sysdeps/posix/opendir.c: Likewise.
43592 * sysdeps/posix/profil.c: Likewise.
43593 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43594 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43596 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43597 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43598 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43600 * sysdeps/s390/dl-tls.h: Likewise.
43601 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43602 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43603 * sysdeps/sh/sh3/setjmp.S: Likewise.
43604 * sysdeps/sh/sh4/setjmp.S: Likewise.
43605 * sysdeps/unix/alpha/sysdep.h: Likewise.
43606 * sysdeps/unix/arm/sysdep.S: Likewise.
43607 * sysdeps/unix/i386/sysdep.S: Likewise.
43608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43609 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43610 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43612 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43613 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43614 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43615 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43616 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43617 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43618 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43619 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43620 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43623 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43626 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43627 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43628 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43631 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43632 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43636 * sysdeps/x86_64/setjmp.S: Likewise.
43637
43638 * include/math.h: Use IS_IN instead of IS_IN_libm.
43639 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43640 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43641 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43642 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43643 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43648 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43649 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43650 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43651 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43652 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43653 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43654 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43655 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43656 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43657 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43658 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43659 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43660 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43661 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43662 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43663 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43664 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43665 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43666 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43667 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43668 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43669 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43670 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43671 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43673 Likewise.
43674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43675 Likewise.
43676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43677 Likewise.
43678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43679 Likewise.
43680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43681 Likewise.
43682 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43683 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43684 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43685 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43686 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43687 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43693 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43694 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43695 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43696 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43697 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43698 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43699 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43700 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43701 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43702 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43703 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43704 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43705 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43706 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43708 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43709
43710 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43711 * nptl/pthreadP.h: Likewise.
43712 * nptl_db/structs.def: Likewise.
43713 * sysdeps/arm/sysdep.h: Likewise.
43714 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43715 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43716 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43717 * sysdeps/unix/alpha/sysdep.h: Likewise.
43718 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43720 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43721 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43722 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43723 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43725 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43726 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43727 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43728 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43729 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43730 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43731 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43736 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43739 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43740 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43741 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43742 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43743 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43744
43745 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43746 * nptl/pthreadP.h: Likewise.
43747 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43748 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43749 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43750 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43751 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43752 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43753 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43754 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43755 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43756 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43757 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43758 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43760 Likewise.
43761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43762 Likewise.
43763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43765 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43768 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43769 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43770 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43771
43772 * dlfcn/dladdr.c: Use IS_IN.
43773 * dlfcn/dladdr1.c: Likewise.
43774 * dlfcn/dlclose.c: Likewise.
43775 * dlfcn/dlerror.c: Likewise.
43776 * dlfcn/dlinfo.c: Likewise.
43777 * dlfcn/dlmopen.c: Likewise.
43778 * dlfcn/dlopen.c: Likewise.
43779 * dlfcn/dlsym.c: Likewise.
43780 * dlfcn/dlvsym.c: Likewise.
43781
43782 * include/ifaddrs.h: Use IS_IN.
43783 * inet/check_pf.c: Likewise.
43784 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43785 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43786
43787 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43788 IS_IN_ldconfig.
43789 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43790 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43791
43792 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43793 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43794 IS_IN (libc).
43795
43796 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43797
43798 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43799 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43800 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43801 * include/libc-symbols.h (IS_IN_LIB): New macro.
43802 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43803 * include/netdb.h: Likewise.
43804 * include/stap-probe.h: Remove all uses of IN_LIB.
43805
43806 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43807 instead of IN_MODULE.
43808 * include/libc-symbols.h (IN_MODULE): Define using
43809 MODULE_NAME.
43810 (PASTE_NAME, PASTE_NAME1): New macros.
43811 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43812 of IN_LIB.
43813 (STAP_PROBE_ASM): Likewise.
43814
43815 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43816
43817 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43818 __mach_init in dlopened libc.
43819
43820 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43821
43822 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43823 * sysdeps/arm/preconfigure: Regenerate.
43824
43825 2014-11-21 Roland McGrath <roland@hack.frob.com>
43826
43827 * nptl/pthread_create.c (__pthread_create_2_1): Set
43828 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43829 when copying values from IATTR into PD.
43830
43831 2014-11-21 Will Newton <will.newton@linaro.org>
43832 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43833
43834 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43835 Refactor inline-asm. Also add comment.
43836
43837 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43838 ElfW macro instead of hardcoded Elf64 types.
43839 (la_aarch64_gnu_pltenter): Likewise.
43840 * sysdeps/aarch64/dl-machine.h
43841 (elf_machine_runtime_setup): Use ElfW(Addr).
43842
43843 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43844 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43845 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43846 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43847 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43848 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43849 (R_AARCH64_TLS_DTPMOD): This.
43850 (R_AARCH64_TLS_DTPREL64): Rename to ...
43851 (R_AARCH64_TLS_DTPREL): This.
43852 (R_AARCH64_TLS_TPREL64): Rename to ...
43853 (R_AARCH64_TLS_TPREL): This.
43854 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43855 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43856 R_AARCH64_TLS_TPREL64.
43857 (elf_machine_rela): Likewise.
43858
43859 2014-11-21 Torvald Riegel <triegel@redhat.com>
43860
43861 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43862 by setting it to 0. 64b atomics are not supported currently.
43863
43864 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43865
43866 [BZ #16469]
43867 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43868 search domain names.
43869
43870 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43871
43872 [BZ #16469]
43873 * NEWS: Update.
43874 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43875 trailing dot.
43876 * posix/tst-getaddrinfo5.c: New.
43877 * posix/Makefile (tests): Add it.
43878
43879 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43880
43881 [BZ #14498]
43882 * NEWS: Fixed.
43883 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43884 after parsing line but before break_if_match.
43885 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43886 if there is a protocol mismatch.
43887
43888 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43889
43890 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43891 because the potential race is on the user-supplied stream.
43892
43893 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43894
43895 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43896 string literal if not passed a buffer.
43897 * manual/job.texi (ctermid): Update reasoning, note deviation
43898 from posix, suggest mtasurace when not passed a buffer, for
43899 future non-preliminary safety notes.
43900
43901 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43902
43903 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43904 of not passing it a buffer.
43905 Reported by Peng Haitao.
43906
43907 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43908
43909 * manual/Makefile ($(objpfx)stamp-summary): Require
43910 check-safety.sh to pass.
43911 * manual/check-safety.sh: Wish for verification that every
43912 @deftypefn and @deftypefun is followed by a @safety remark.
43913
43914 2014-11-20 Roland McGrath <roland@hack.frob.com>
43915
43916 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43917
43918 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43919 PTHREAD_CANCEL_ASYNCHRONOUS.
43920 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43921 send SIGCANCEL.
43922
43923 * nptl/default-sched.h: New file.
43924 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43925 * nptl/pthread_create.c: Include it.
43926 (__pthread_create_2_1): Use collect_default_sched instead of making
43927 Linux syscalls here directly.
43928
43929 2014-11-20 Torvald Riegel <triegel@redhat.com>
43930
43931 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43932 __pthread_once): Use C11 atomics.
43933
43934 2014-11-20 Torvald Riegel <triegel@redhat.com>
43935
43936 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43937
43938 2014-11-20 Torvald Riegel <triegel@redhat.com>
43939
43940 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43941 atomic_thread_fence_acquire, atomic_thread_fence_release,
43942 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43943 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43944 atomic_compare_exchange_weak_relaxed,
43945 atomic_compare_exchange_weak_acquire,
43946 atomic_compare_exchange_weak_release,
43947 atomic_exchange_acquire, atomic_exchange_release,
43948 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43949 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43950 atomic_fetch_and_acquire,
43951 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43952
43953 2014-11-20 Torvald Riegel <triegel@redhat.com>
43954
43955 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43956 USE_ATOMIC_COMPILER_BUILTINS): Define.
43957 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43958 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43959 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43961 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43963 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43965 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43967 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43969 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43971 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43973 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43975 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43976 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43977 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43979 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43981 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43982 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43983 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43984 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43985 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43986 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43987 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43988 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43989 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43990 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43991 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43992 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43993 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43994 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43995 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43997
43998 2014-11-19 Roland McGrath <roland@hack.frob.com>
43999
44000 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44001 the sched_priority value here. It was already checked when the user
44002 called pthread_attr_setschedparam.
44003
44004 * nptl/tst-bad-schedattr.c: New file.
44005 * nptl/Makefile (tests): Add it.
44006
44007 2014-11-19 Carlos O'Donell <carlos@redhat.com>
44008 Florian Weimer <fweimer@redhat.com>
44009 Joseph Myers <joseph@codesourcery.com>
44010 Adam Conrad <adconrad@0c3.net>
44011 Andreas Schwab <schwab@suse.de>
44012 Brooks <bmoses@google.com>
44013
44014 [BZ #17625]
44015 * wordexp-test.c (__dso_handle): Add prototype.
44016 (__register_atfork): Likewise.
44017 (__app_register_atfork): New function.
44018 (registered_forks): New global.
44019 (register_fork): New function.
44020 (test_case): Add 3 new tests for WRDE_CMDSUB.
44021 (main): Call __app_register_atfork.
44022 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44023 fork count is non-zero fail the test.
44024 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44025 is set.
44026 (parse_dollars): Remove check for WRDE_NOCMD.
44027 (parse_dquote): Likewise.
44028
44029 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44030
44031 * Makeconfig (built-modules): List non-library modules to be
44032 built.
44033 (module-cppflags): Include libc-modules.h for
44034 everything except shlib-versions.v.i.
44035 (CPPFLAGS): Use it.
44036 (before-compile): Add libc-modules.h.
44037 ($(common-objpfx)libc-modules.h,
44038 $(common-objpfx)libc-modules.stmp): New targets.
44039 (common-generated): Add libc-modules.h and libc-modules.stmp.
44040 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44041 * include/libc-symbols.h: Don't include libc-modules.h.
44042 * include/libc-modules.h: Remove file.
44043 * scripts/gen-libc-modules.awk: New script to generate
44044 libc-modules.h.
44045 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44046 Depend on libc-modules.stmp.
44047
44048 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44049
44050 * Makeconfig (in-module): Get value of libof set for the
44051 translation unit.
44052 (CPPFLAGS): Use $(in-module).
44053 * Makerules: Don't suffix routine names for nonlib.
44054 * include/libc-modules.h: New file.
44055 * include/libc-symbols.h: Include libc-modules.h
44056 (IS_IN): New macro to replace IS_IN_* macros.
44057 * elf/Makefile: Set libof-* for each routine.
44058 * elf/rtld-Rules: Likewise.
44059 * extra-modules.mk: Likewise.
44060 * iconv/Makefile: Likewise.
44061 * iconvdata/Makefile: Likewise.
44062 * locale/Makefile: Likewise.
44063 * malloc/Makefile: Likewise.
44064 * nss/Makefile: Likewise.
44065 * sysdeps/gnu/Makefile: Likewise.
44066 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44067 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44068 * sysdeps/s390/s390-64/Makefile: Likewise.
44069 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44070 CPPFLAGS for nscd instead of nonlib.
44071
44072 2014-11-18 Roland McGrath <roland@hack.frob.com>
44073
44074 * nptl/createthread.c: New file.
44075
44076 * nptl/createthread.c: Moved ...
44077 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44078
44079 * nptl/createthread.c: Add proper top-line comment.
44080 (do_clone): Folded into ...
44081 (create_thread): ... here. Take new arguments STOPPED_START and
44082 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44083 increment __nptl_threads, do event-reporting logic, do
44084 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44085 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44086 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44087 just send SIGCANCEL.
44088 * nptl/pthread_create.c: Forward-declare create_thread before
44089 including createthread.c.
44090 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44091 declaration, and new macro START_THREAD_SELF to replace argument.
44092 Remove return statement.
44093 (report_thread_creation): New function.
44094 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44095 synchronization logic, and __nptl_nthreads increment here, around
44096 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44097 PD->parent_cancelhandling here, before create_thread. When
44098 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44099 __deallocate_stack, and ENOMEM translation here.
44100
44101 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44102
44103 [BZ #17616]
44104 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44105 (mptwo): Rename to __mptwo.
44106 (__inv): Use __mptwo instead of mptwo.
44107 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44108 (mptwo): Rename to __mptwo.
44109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44110 of mpone and __mptwo instead of mptwo.
44111 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44112 instead of mpone.
44113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44114 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44115 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44116 of mpone and __mptwo instead of mptwo.
44117 (__mpranred): Use __mpone instead of mpone.
44118 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44119 variable.
44120 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44121 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44122 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44123 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44124 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44125 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44126 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44127 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44128 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44129 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44130 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44131 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44132 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44133 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44134 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44135 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44136 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44137 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44138 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44139
44140 2014-11-18 Tom de Vries <tom@codesoucery.com>
44141
44142 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44143 replace BSD Handler xref with BSD Signal Handling.
44144
44145 2014-11-17 Richard Henderson <rth@redhat.com>
44146
44147 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44148 (_FP_PACK_RAW_2): Remove.
44149 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44150 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44151 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44152 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44153 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44154 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44155 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44156 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44157 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44158 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44159 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44160 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44161 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44162 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44163 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44164 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44165
44166 2014-11-14 Roland McGrath <roland@hack.frob.com>
44167
44168 * signal/signal.h [__USE_MISC]
44169 (struct sigvec): Remove type.
44170 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44171 (sigvec): Remove declaration.
44172 * sysdeps/posix/sigvec.c: Moved ...
44173 * signal/sigvec.c: ... here, replacing old file.
44174 (struct sigvec): New type, copied from old signal.h definition.
44175 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44176 (__sigvec): Convert definition to prototype.
44177 (sigvec): Replace weak_alias with compat_symbol.
44178 * signal/Versions (libc: GLIBC_2.21): New version set.
44179 * include/signal.h: Remove __sigvec declaration.
44180 * sysdeps/unix/bsd/sigvec.c: Remove file.
44181 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44182 * manual/signal.texi (BSD Handler): Remove subsection.
44183 Move siginterrupt up to ...
44184 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44185 (Blocking in BSD): Fold subsection into its parent.
44186 * NEWS: Mention sigvec removal.
44187
44188 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44189
44190 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44191 (DLA_FMS): Make definition conditional only on [__FMA4__].
44192 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44193 definition.
44194
44195 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44196 Make definition conditional only on [PROF].
44197 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44198 definition.
44199 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44200 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44201
44202 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44203 !__GNUC__].
44204 * include/signal.h (__sigpause): Move declaration above call to
44205 libc_hidden_proto.
44206 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44207 variable.
44208 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44209 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44210
44211 2014-11-14 David S. Miller <davem@davemloft.net>
44212
44213 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44214 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44215
44216 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44217
44218 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44219 * configure: Regenerated.
44220 * manual/install.texi (Tools for Compilation): Document a
44221 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44222 compiler verified to work.
44223 * INSTALL: Regenerated.
44224
44225 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44226 redeclare with asm name.
44227 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44228 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44229 including <string.h>.
44230 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44231 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44232 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44233 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44234 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44236 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44237
44238 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44239
44240 * stdlib/strtol.c (__strtol): Use prototype definition.
44241
44242 [BZ #17594]
44243 * stdlib/strtol.c (SYM__): New macro.
44244 (SYM__1): Likewise.
44245 (__strtol): Likewise.
44246 (strtol): Rename to __strtol and define as weak alias of
44247 __strtol. Use libc_hidden_weak.
44248
44249 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44250
44251 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44252 Use numbered labels in inline assembly.
44253
44254 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44255
44256 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44257 Add setjmp LIBC_PROBE.
44258 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44259 Likewise.
44260 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44261 Add longjmp, longjmp_target LIBC_PROBE.
44262 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44263 Likewise.
44264
44265 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44266
44267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44268 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44269 to get rid of unused variable warning.
44270
44271 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44272
44273 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44274 Check for unwind_backtrace == NULL only in SHARED case.
44275 (__backchain_backtrace): Compile only in SHARED case.
44276 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44277 Likewise.
44278 (__backchain_backtrace): Declare as static.
44279
44280 2014-11-12 Roland McGrath <roland@hack.frob.com>
44281
44282 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44283 (__libc_multiple_threads_ptr): Variable moved ...
44284 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44285
44286 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44287
44288 * conform/GlibcConform.pm: New file.
44289 * conform/conformtest.pl: Use GlibcConform module.
44290 * conform/linknamespace.pl: New file.
44291 * conform/list-header-symbols.pl: Likewise.
44292 * conform/Makefile (linknamespace-symlists-base): New variable.
44293 (linknamespace-symlists-tests): Likewise.
44294 (linknamespace-header-base): Likewise.
44295 (linknamespace-header-tests): Likewise.
44296 (tests-special): Add new tests.
44297 ($(linknamespace-symlists-tests)): New rule.
44298 (linknamespace-libs): New variable.
44299 ($(objpfx)symlist-stdlibs): New rule.
44300 ($(linknamespace-header-tests)): Likewise.
44301 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44302 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44303 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44304 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44305 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44306 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44307 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44308 (test-xfail-ISO/math.h/linknamespace): Likewise.
44309 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44310 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44311 (test-xfail-ISO/time.h/linknamespace): Likewise.
44312 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44313 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44314 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44315 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44316 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44317 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44318 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44319 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44320 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44321 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44322 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44323 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44324 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44325 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44326 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44327 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44328 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44329 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44330 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44331 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44332 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44333 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44334 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44335 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44336 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44337 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44338 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44339 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44340 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44341 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44342 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44343 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44344 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44345 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44346 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44347 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44348 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44349 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44350 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44351 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44352 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44353 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44354 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44355 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44356 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44357 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44358 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44359 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44360 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44361 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44362 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44363 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44364 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44365 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44366 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44367 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44368 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44369 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44370 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44371 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44372 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44373 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44374 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44375 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44376 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44377 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44378 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44379 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44380 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44381 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44382 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44383 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44384 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44385 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44386 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44387 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44388 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44389 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44390 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44391 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44392 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44393 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44394 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44395 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44396 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44397 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44398 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44399 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44400 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44401 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44402 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44403 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44404 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44405 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44406 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44407 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44408 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44409 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44410 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44411 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44412 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44413 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44414 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44415 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44416 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44417 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44418 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44419 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44420 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44421 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44422 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44423 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44424 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44425 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44426 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44427 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44428 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44429 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44430 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44431 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44432 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44433 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44434 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44435 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44436 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44437 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44438 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44439 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44440 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44441 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44442 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44443 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44444 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44445 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44446 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44447 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44448 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44449 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44450 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44451 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44452 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44453 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44454 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44455 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44456 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44457 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44458 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44459 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44460 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44461 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44462
44463 [BZ #17589]
44464 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44465 of fgets_unlocked.
44466
44467 [BZ #17585]
44468 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44469 (memmem): Rename to __memmem and define as weak alias of
44470 __memmem. Use libc_hidden_weak.
44471 (__memmem): Use libc_hidden_def.
44472 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44473 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44474 memmem.
44475
44476 [BZ #17582]
44477 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44478 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44479 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44480 and define as weak alias of __fgets_unlocked. Use
44481 libc_hidden_weak.
44482 (__fgets_unlocked): Use libc_hidden_def.
44483 * include/stdio.h (__fgets_unlocked): Declare. Use
44484 libc_hidden_proto.
44485 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44486 __fgets_unlocked instead of fgets_unlocked.
44487 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44488 (GET_NPROCS_CONF_PARSER): Likewise.
44489 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44490 (GET_NPROCS_CONF_PARSER): Likewise.
44491
44492 [BZ #17574]
44493 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44494 weak alias of __wmemset. Use libc_hidden_weak.
44495 (__wmemset): Use libc_hidden_def.
44496 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44497 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44498 of wmemset.
44499
44500 [BZ #17573]
44501 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44502 with asm name __mempcpy.
44503 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44504
44505 [BZ #17572]
44506 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44507 and define as weak alias of __rawmemchr.
44508 (__rawmemchr): Do not define as strong alias of rawmemchr.
44509
44510 [BZ #17571]
44511 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44512 alias of __qsort_r.
44513 (qsort): Call __qsort_r instead of qsort_r.
44514 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44515 (__qsort_r): Declare. Call libc_hidden_proto.
44516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44517 instead of qsort_r.
44518 * nscd/gai.c (__qsort_r): Define to qsort_r.
44519 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44520 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44521 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44522
44523 [BZ #17570]
44524 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44525 define as weak alias of __malloc_info.
44526
44527 [BZ #17584]
44528 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44529 as weak alias of __rewinddir. Don't use libc_hidden_def.
44530 (__rewinddir): Use libc_hidden_def.
44531 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44532 as weak alias of __rewinddir. Don't use libc_hidden_def.
44533 (__rewinddir): Use libc_hidden_def.
44534 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44535 weak alias of __rewinddir. Don't use libc_hidden_def.
44536 (__rewinddir): Use libc_hidden_def.
44537 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44538 (__rewinddir): Use libc_hidden_proto.
44539 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44540 rewinddir.
44541 (__getcwd): Use __rewinddir instead of rewinddir.
44542
44543 [BZ #17583]
44544 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44545 alias of __fileno. Use libc_hidden_weak.
44546 (__fileno): Use libc_hidden_def.
44547 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44548 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44549 alias of __ftello.
44550 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44551 __ftello.
44552 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44553 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44554 libc_hidden_def.
44555 (fread_unlocked): Don't use libc_hidden_ver.
44556 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44557 and define as weak alias of __fread_unlocked. Don't use
44558 libc_hidden_def.
44559 (__fread_unlocked): Use libc_hidden_def.
44560 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44561 (ftello): Don't use libc_hidden_proto.
44562 (__ftello): Declare. Use libc_hidden_proto.
44563 (fread_unlocked): Don't use libc_hidden_proto.
44564 (__fread_unlocked): Declare. Use libc_hidden_proto.
44565 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44566 and __ftello instead of fileno, fread_unlocked and ftello.
44567
44568 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44569
44570 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44571 GOT12.
44572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44573 Likewise.
44574 (_dl_start_user): Likewise.
44575 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44576
44577 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44578 Siddhesh Poyarekar <siddhesh@redhat.com>
44579
44580 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44581 Move argv and envp down instead of moving argc up.
44582 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44583
44584 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44585
44586 [BZ #17506]
44587 * test-skeleton.c (main): Return successful if one of
44588 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44589 * string/tst-strcoll-overflow.c: Define expected status.
44590
44591 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44592
44593 [BZ #17475]
44594 * locale/iso-639.def: Define Bhili and Tulu language codes.
44595
44596 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44597
44598 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44599
44600 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44601
44602 [BZ #17555]
44603 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44604
44605 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44606
44607 * configure.ac: Updated check of minimal required version to
44608 2.22.
44609 * manual/install.texi (Tools for Compilation): Updated version
44610 number.
44611 * configure: Regenerated.
44612 * INSTALL: Likewise.
44613
44614 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44615
44616 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44617 __tls_get_addr.
44618
44619 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44620
44621 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44622 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44623 (__waitpid): Don't define as alias. Use libc_hidden_def not
44624 libc_hidden_weak.
44625 (waitpid): Define as alias of __waitpid.
44626 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44627 __waitpid.
44628 (__waitpid): Don't define as alias. Use libc_hidden_def not
44629 libc_hidden_weak.
44630 (waitpid): Define as alias of __waitpid.
44631 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44632 __libc_waitpid alias.
44633 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44634 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44635 Likewise.
44636 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44637 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44638 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44639 alias.
44640 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44641 __waitpid.
44642 (__waitpid): Don't define as alias. Use libc_hidden_def not
44643 libc_hidden_weak.
44644 (waitpid): Define as alias of __waitpid.
44645
44646 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44647
44648 * manual/llio.texi: Add comment that write safety has been
44649 fixed in Linux.
44650
44651 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44652 (localplt-build-dso): Add elf/ld.so.
44653 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44654 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44655 and free for ld.so.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44657 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44659 Likewise.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44661 Likewise.
44662 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44663 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44664 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44665 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44666 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44667 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44668 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44669 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44670 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44671 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44672 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44673
44674 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44675
44676 [BZ #14132]
44677 * include/libc-symbols.h (INTUSE): Remove macro.
44678 (INTDEF): Likewise.
44679 (INTVARDEF): Likewise.
44680 (_INTVARDEF): Likewise.
44681 (INTDEF2): Likewise.
44682 (INTVARDEF2): Likewise.
44683 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44684 rtld_hidden_def instead of INTVARDEF.
44685 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44686 (_dl_starting_up_internal): Remove declaration.
44687 (_dl_starting_up): Use rtld_hidden_proto.
44688 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44689 declaration.
44690 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44691 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44692 _dl_starting_up.
44693 * elf/dl-writev.h (_dl_writev): Likewise.
44694 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44695 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44696 _dl_starting_up_internal.
44697
44698 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44699
44700 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44701 test-skeleton.c.
44702
44703 2014-11-05 Will Newton <will.newton@linaro.org>
44704
44705 * benchtests/Makefile: (bench-malloc): Add malloc thread
44706 scalability benchmark.
44707 * benchtests/bench-malloc-threads.c: New file.
44708
44709 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44710
44711 * sysdeps/aarch64/strchrnul.S: New file.
44712
44713 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44714
44715 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44716 definition.
44717 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44718 Likewise.
44719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44720 Likewise.
44721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44722 Likewise.
44723 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44724 Likewise.
44725 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44726 Likewise.
44727
44728 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44729
44730 * catgets/test-gencat.c: Use test-skeleton.c.
44731 * catgets/tst-catgets.c: Likewise.
44732 * csu/tst-empty.c: Likewise.
44733 * elf/tst-audit2.c: Likewise.
44734 * elf/tst-global1.c: Likewise.
44735 * elf/tst-pathopt.c: Likewise.
44736 * elf/tst-piemod1.c: Likewise.
44737 * elf/tst-tls10.c: Likewise.
44738 * elf/tst-tls11.c: Likewise.
44739 * elf/tst-tls12.c: Likewise.
44740 * gnulib/tst-gcc.c: Likewise.
44741 * iconvdata/tst-e2big.c: Likewise.
44742 * iconvdata/tst-loading.c: Likewise.
44743 * iconv/tst-iconv1.c: Likewise.
44744 * iconv/tst-iconv2.c: Likewise.
44745 * inet/test-inet6_opt.c: Likewise.
44746 * inet/tst-gethnm.c: Likewise.
44747 * inet/tst-network.c: Likewise.
44748 * inet/tst-ntoa.c: Likewise.
44749 * intl/tst-codeset.c: Likewise.
44750 * intl/tst-gettext2.c: Likewise.
44751 * intl/tst-gettext3.c: Likewise.
44752 * intl/tst-ngettext.c: Likewise.
44753 * intl/tst-translit.c: Likewise.
44754 * io/test-stat.c: Likewise.
44755 * libio/test-fmemopen.c: Likewise.
44756 * libio/tst-freopen.c: Likewise.
44757 * libio/tst-sscanf.c: Likewise.
44758 * libio/tst-ungetwc1.c: Likewise.
44759 * libio/tst-ungetwc2.c: Likewise.
44760 * libio/tst-widetext.c: Likewise.
44761 * localedata/tst-ctype.c: Likewise.
44762 * localedata/tst-digits.c: Likewise.
44763 * localedata/tst-leaks.c: Likewise.
44764 * localedata/tst-mbswcs1.c: Likewise.
44765 * localedata/tst-mbswcs2.c: Likewise.
44766 * localedata/tst-mbswcs3.c: Likewise.
44767 * localedata/tst-mbswcs4.c: Likewise.
44768 * localedata/tst-mbswcs5.c: Likewise.
44769 * localedata/tst-setlocale.c: Likewise.
44770 * localedata/tst-trans.c: Likewise.
44771 * localedata/tst-wctype.c: Likewise.
44772 * localedata/tst-xlocale1.c: Likewise.
44773 * login/tst-grantpt.c: Likewise.
44774 * malloc/tst-calloc.c: Likewise.
44775 * malloc/tst-malloc.c: Likewise.
44776 * malloc/tst-mallocstate.c: Likewise.
44777 * malloc/tst-mcheck.c: Likewise.
44778 * malloc/tst-mtrace.c: Likewise.
44779 * malloc/tst-obstack.c: Likewise.
44780 * math/atest-exp2.c: Likewise.
44781 * math/atest-exp.c: Likewise.
44782 * math/atest-sincos.c: Likewise.
44783 * math/test-matherr.c: Likewise.
44784 * math/test-misc.c: Likewise.
44785 * math/test-powl.c: Likewise.
44786 * math/tst-definitions.c: Likewise.
44787 * misc/tst-dirname.c: Likewise.
44788 * misc/tst-efgcvt.c: Likewise.
44789 * misc/tst-fdset.c: Likewise.
44790 * misc/tst-hsearch.c: Likewise.
44791 * misc/tst-mntent2.c: Likewise.
44792 * nptl/tst-sem7.c: Likewise.
44793 * nptl/tst-sem8.c: Likewise.
44794 * nptl/tst-sem9.c: Likewise.
44795 * nss/test-netdb.c: Likewise.
44796 * posix/tst-fnmatch.c: Likewise.
44797 * posix/tst-getlogin.c: Likewise.
44798 * posix/tst-gnuglob.c: Likewise.
44799 * posix/tst-mmap.c: Likewise.
44800 * pwd/tst-getpw.c: Likewise.
44801 * resolv/tst-inet_ntop.c: Likewise.
44802 * rt/tst-timer.c: Likewise.
44803 * stdio-common/test-fseek.c: Likewise.
44804 * stdio-common/test-popen.c: Likewise.
44805 * stdio-common/test-vfprintf.c: Likewise.
44806 * stdio-common/tst-cookie.c: Likewise.
44807 * stdio-common/tst-fileno.c: Likewise.
44808 * stdio-common/tst-gets.c: Likewise.
44809 * stdio-common/tst-obprintf.c: Likewise.
44810 * stdio-common/tst-perror.c: Likewise.
44811 * stdio-common/tst-sprintf2.c: Likewise.
44812 * stdio-common/tst-sprintf3.c: Likewise.
44813 * stdio-common/tst-sprintf.c: Likewise.
44814 * stdio-common/tst-swprintf.c: Likewise.
44815 * stdio-common/tst-tmpnam.c: Likewise.
44816 * stdio-common/tst-unbputc.c: Likewise.
44817 * stdio-common/tst-wc-printf.c: Likewise.
44818 * stdlib/tst-environ.c: Likewise.
44819 * stdlib/tst-fmtmsg.c: Likewise.
44820 * stdlib/tst-limits.c: Likewise.
44821 * stdlib/tst-rand48-2.c: Likewise.
44822 * stdlib/tst-rand48.c: Likewise.
44823 * stdlib/tst-random2.c: Likewise.
44824 * stdlib/tst-random.c: Likewise.
44825 * stdlib/tst-strtol.c: Likewise.
44826 * stdlib/tst-strtoll.c: Likewise.
44827 * stdlib/tst-tls-atexit.c: Likewise.
44828 * stdlib/tst-xpg-basename.c: Likewise.
44829 * string/test-ffs.c: Likewise.
44830 * string/tst-bswap.c: Likewise.
44831 * string/tst-inlcall.c: Likewise.
44832 * string/tst-strtok.c: Likewise.
44833 * string/tst-strxfrm.c: Likewise.
44834 * sysdeps/x86_64/tst-audit10.c: Likewise.
44835 * sysdeps/x86_64/tst-audit3.c: Likewise.
44836 * sysdeps/x86_64/tst-audit4.c: Likewise.
44837 * sysdeps/x86_64/tst-audit5.c: Likewise.
44838 * time/tst-ftime_l.c: Likewise.
44839 * time/tst-getdate.c: Likewise.
44840 * time/tst-mktime3.c: Likewise.
44841 * time/tst-mktime.c: Likewise.
44842 * time/tst-posixtz.c: Likewise.
44843 * time/tst-strptime2.c: Likewise.
44844 * time/tst-strptime3.c: Likewise.
44845 * wcsmbs/tst-btowc.c: Likewise.
44846 * wcsmbs/tst-mbrtowc.c: Likewise.
44847 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44848 * wcsmbs/tst-wchar-h.c: Likewise.
44849 * wcsmbs/tst-wcpncpy.c: Likewise.
44850 * wcsmbs/tst-wcrtomb.c: Likewise.
44851 * wcsmbs/tst-wcsnlen.c: Likewise.
44852 * wcsmbs/tst-wcstof.c: Likewise.
44853
44854 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44855
44856 [BZ #14132]
44857 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44858 INTDEF.
44859 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44860 declaration.
44861 (_dl_mcount): Use rtld_hidden_proto.
44862 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44863 _dl_mcount.
44864 * elf/rtld.c (_rtld_global_ro): Likewise.
44865
44866 [BZ #14132]
44867 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44868 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44869 of _dl_init_internal.
44870 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44871 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44872 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44873 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44874 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44875 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44876 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44877 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44878 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44879 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44880 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44881 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44882 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44883 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44884 * sysdeps/tile/dl-start.S (_start): Likewise.
44885 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44886 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44887
44888 [BZ #14132]
44889 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44890 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44891 (rtld_progname): Make macro definition unconditional.
44892 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44893 INTDEF.
44894 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44895 (dl_main): Likewise.
44896 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44897 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44898 instead of _dl_argv_internal.
44899 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44900 __GI__dl_argv instead of INTUSE(_dl_argv).
44901 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44902 __GI__dl_argv instead of _dl_argv_internal.
44903
44904 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44905 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44906 macro.
44907 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44908 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44909 New macro.
44910 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44911 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44912 macro.
44913 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44914 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44915
44916 2014-11-04 Andreas Schwab <schwab@suse.de>
44917
44918 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44919
44920 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44921
44922 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44923 mtvsrd instruction in binary form.
44924
44925 2014-11-03 Andreas Schwab <schwab@suse.de>
44926
44927 [BZ #17522]
44928 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44929 for less than MB_LEN_MAX use a local buffer of that size.
44930 * libio/tst-fputws.c: New file.
44931 * libio/Makefile (tests): Add tst-fputws.
44932
44933 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44934
44935 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44936 the size of the fpu_fr.fpu_dregs[] array.
44937
44938 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44939
44940 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44941 (__nanosleep): Do not define as alias.
44942 (nanosleep): Define as alias of __nanosleep.
44943 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44944 __libc_nanosleep name.
44945
44946 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44947
44948 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44949 install.texi in comment.
44950
44951 2014-10-31 Torvald Riegel <triegel@redhat.com>
44952
44953 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44954 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44955 ... add here and use lwsync or sync ...
44956 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44957 ... and add here using lwsync.
44958
44959 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44960
44961 * elf/dl-machine-reject-phdr.h: New file.
44962 * elf/dl-load.c: #include that.
44963 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44964 if that returned true.
44965
44966 2014-10-31 Roland McGrath <roland@hack.frob.com>
44967
44968 [BZ #17496]
44969 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44970 gen-as-const-headers chunk. Add a big scare comment after the last
44971 safe place to touch before-compile.
44972
44973 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44974
44975 * manual/install.texi (Tools for Compilation): Update autoconf
44976 version requirements.
44977 * INSTALL: Regenerated.
44978
44979 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44980 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44981 (__libc_pselect): Likewise.
44982
44983 [BZ #14138]
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44988
44989 2014-10-31 Torvald Riegel <triegel@redhat.com>
44990
44991 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44992 correct barrier instruction.
44993 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44994 Likewise.
44995 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44996 Likewise.
44997
44998 2014-10-30 Roland McGrath <roland@hack.frob.com>
44999
45000 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45001 after defining inlines. Instead, just use parens to defeat macro
45002 expansion of __isctype in its declaration.
45003
45004 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45005
45006 * include/sys/uio.h (__libc_readv): Remove declaration.
45007 (__libc_writev): Likewise.
45008 * misc/readv.c (__libc_readv): Rename to __readv.
45009 (__readv): Do not define as alias.
45010 (readv): Define as alias of __readv.
45011 * misc/writev.c (__libc_writev): Rename to __writev.
45012 (__writev): Do not define as alias.
45013 (writev): Define as alias of __writev.
45014 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45015 (__readv): Do not define as alias.
45016 (readv): Define unconditionally as alias of __readv.
45017 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45018 (__writev): Do not define as alias.
45019 (writev): Define unconditionally as alias of __writev.
45020 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45021 name.
45022 (writev): Do not define __libc_writev name.
45023
45024 2014-10-30 Roland McGrath <roland@hack.frob.com>
45025
45026 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45027 (convert_charseq): New function, broken out of ...
45028 (use_from_charmap): ... here. Call it.
45029 (use_to_charmap): Use convert_charseq and free instead of duplicating
45030 its code with a variable-length stack struct.
45031
45032 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45033
45034 * include/fcntl.h (__libc_creat): Remove declaration.
45035 * io/creat.c (__libc_creat): Rename to creat.
45036 (creat): Do not define as alias.
45037 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45038 of creat instead of __libc_creat.
45039 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45040 to creat.
45041 (creat): Do not define as alias.
45042 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45043 __libc_creat.
45044 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45045 __libc_creat name.
45046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45047 Likewise.
45048
45049 2014-10-29 Carlos O'Donell <carlos@redhat.com>
45050
45051 * manual/llio.texi: Add comments discussing why write() may be
45052 considered MT-unsafe on Linux.
45053
45054 2014-10-28 Carlos O'Donell <carlos@redhat.com>
45055
45056 * dl-load.c (local_strdup): Remove.
45057 (expand_dynamic_string_token): Use __strdup.
45058 (decompose_rpath): Likewise.
45059 (_dl_map_object): Likewise.
45060
45061 2014-10-28 Joseph Myers <joseph@codesourcery.com>
45062
45063 [BZ #14132]
45064 * sysdeps/generic/unwind-dw2-fde.c
45065 (__register_frame_info_bases_internal): Do not declare.
45066 (__register_frame_info_table_bases_internal): Likewise.
45067 (__deregister_frame_info_bases_internal): Likewise.
45068 (__register_frame_info_bases): Declare and use hidden_proto before
45069 definition. Use hidden_def instead of INTDEF.
45070 (__register_frame_info_table_bases): Likewise.
45071 (__deregister_frame_info_bases): Likewise.
45072 (__register_frame_info): Do not use INTUSE.
45073 (__register_frame): Likewise.
45074 (__register_frame_info_table): Likewise.
45075 (__register_frame_table): Likewise.
45076 (__deregister_frame_info): Likewise.
45077 (__deregister_frame): Likewise.
45078
45079 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45080
45081 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45082 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45083 not undefine.
45084 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45085 Likewise.
45086 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45087 Likewise.
45088
45089 2014-10-27 Joseph Myers <joseph@codesourcery.com>
45090
45091 [BZ #14138]
45092 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45093 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45094 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45095 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45096 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45097 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45098 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45099 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45100 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45101 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45102 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45103 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45104 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45105 syscall.
45106 (setfsuid): Likewise.
45107 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45108 (setfsuid): Likewise.
45109 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45110 (setfsuid): Likewise.
45111 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45112 Likewise.
45113 (setfsuid): Likewise.
45114 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45115 (setfsuid): Likewise.
45116 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45117 Likewise.
45118 (setfsuid): Likewise.
45119
45120 2014-10-27 Andreas Schwab <schwab@suse.de>
45121
45122 [BZ #17501]
45123 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45124 check for Slow_SSE4_2 feature bit.
45125 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45126 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45127 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45128 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45129
45130 2014-10-24 Roland McGrath <roland@hack.frob.com>
45131
45132 * configure.ac: Validate compiler version with a empirical test of
45133 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45134 $CC -v output.
45135 * configure: Regenerated.
45136
45137 * inet/htons.c (htons): Prototypify.
45138 * inet/htonl.c (htonl): Likewise.
45139
45140 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45141
45142 * string/strncat.c (strncat): Improve performance by using strlen.
45143
45144 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45145
45146 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45147
45148 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45149
45150 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45151 Call libc_fetestexcept_aarch64.
45152
45153 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45154
45155 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45156 Call libc_feholdexcept_aarch64.
45157
45158 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45159
45160 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45161 Call get_rounding_mode.
45162
45163 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45164
45165 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45166 Simplify logic.
45167
45168 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45169
45170 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45171 Simplify logic.
45172
45173 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45174
45175 [BZ #14138]
45176 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45177 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45178 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45179 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45180 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45181 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45182 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45183 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45184 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45185 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45186 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45187 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45188 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45189 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45190 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45191 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45192 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45193 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45194 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45195 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45196 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45197 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45198 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45199 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45200 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45201 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45202 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45203 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45204 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45205 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45206 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45207 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45208 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45209 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45210 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45211 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45212 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45213 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45214 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45215 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45216 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45217 syscall.
45218 (geteuid): Likewise.
45219 (getgid): Likewise.
45220 (getuid): Likewise.
45221 (getresgid): Likewise.
45222 (getresuid): Likewise.
45223 (getgroups): Likewise.
45224 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45225 (geteuid): Likewise.
45226 (getgid): Likewise.
45227 (getuid): Likewise.
45228 (getresgid): Likewise.
45229 (getresuid): Likewise.
45230 (getgroups): Likewise.
45231 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45232 (geteuid): Likewise.
45233 (getgid): Likewise.
45234 (getuid): Likewise.
45235 (getresgid): Likewise.
45236 (getresuid): Likewise.
45237 (getgroups): Likewise.
45238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45239 Likewise.
45240 (geteuid): Likewise.
45241 (getgid): Likewise.
45242 (getuid): Likewise.
45243 (getresgid): Likewise.
45244 (getresuid): Likewise.
45245 (getgroups): Likewise.
45246 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45247 (geteuid): Likewise.
45248 (getgid): Likewise.
45249 (getuid): Likewise.
45250 (getresgid): Likewise.
45251 (getresuid): Likewise.
45252 (getgroups): Likewise.
45253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45254 Likewise.
45255 (geteuid): Likewise.
45256 (getgid): Likewise.
45257 (getuid): Likewise.
45258 (getgroups): Likewise.
45259
45260 [BZ #14138]
45261 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45262 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45263 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45264 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45265 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45266 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45267 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45268 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45269 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45270 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45271 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45272 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45273 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45274 __chown.
45275 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45276 (lchown): Likewise.
45277 (fchown): Likewise.
45278 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45279 Likewise.
45280 (lchown): Likewise.
45281 (fchown): Likewise.
45282 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45283 (lchown): Likewise.
45284 (fchown): Likewise.
45285 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45286 Likewise.
45287 (lchown): Likewise.
45288 (fchown): Likewise.
45289
45290 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45291
45292 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45293 Simplify logic.
45294
45295 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45296
45297 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45298 Cleanup logic.
45299
45300 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45301
45302 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45303 Remove unused include.
45304
45305 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45306
45307 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45309 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45310 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45311
45312 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45313 Helge Deller <deller@gmx.de>
45314
45315 [BZ #17508]
45316 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45317 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45318 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45319
45320 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45321
45322 [BZ #14132]
45323 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45324 Remove macro definition.
45325 (__ashrdi3_v_glibc20): Likewise.
45326 (__lshrdi3_v_glibc20): Likewise.
45327 (__cmpdi2_v_glibc20): Likewise.
45328 (__ucmpdi2_v_glibc20): Likewise.
45329 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45330 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45331 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45332 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45333 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45334 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45335
45336 2014-10-22 Roland McGrath <roland@hack.frob.com>
45337
45338 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45339 old GNU extension [0] syntax.
45340 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45341 alloca rather than an array member with variable length.
45342 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45343 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45344 (parse_opt): ... here. Likewise use alloca there.
45345 Validate the -i argument before checking for rootness.
45346 (send_shutdown): New function, broken out of ...
45347 (parse_opt): ... here.
45348
45349 2014-10-22 Roland McGrath <roland@hack.frob.com>
45350
45351 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45352 macro to get at the _rt_local_ro field.
45353 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45354 ([PIC] case) or _dl_hwcap ([!PIC] case).
45355 * sysdeps/arm/setjmp.S: Likewise.
45356
45357 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45358 * sysdeps/arm/configure.ac: New check to define it.
45359 * sysdeps/arm/configure: Regenerated.
45360 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45361 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45362 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45363 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45364 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45365 Use move/movt pair instead of a load.
45366 (LDST_GLOBAL): Macro removed.
45367 (LDR_GLOBAL): New macro replaces it.
45368 (LDR_HIDDEN): New macro.
45369 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45370 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45371
45372 * setjmp/tst-setjmp-static.c: New file.
45373 * setjmp/Makefile (tests): Add it.
45374 (tests-static): New variable.
45375
45376 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45377
45378 [BZ #17485]
45379 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45380
45381 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45382
45383 [BZ #14132]
45384 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45385
45386 2014-10-21 Roland McGrath <roland@hack.frob.com>
45387
45388 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45389
45390 2014-10-20 Roland McGrath <roland@hack.frob.com>
45391
45392 * io/fts.c (dirent_not_directory): New function.
45393 (fts_build): Call it.
45394
45395 2014-10-20 Roland McGrath <roland@hack.frob.com>
45396
45397 * nptl/version.c (__nptl_main): Use normal __write rather than
45398 INTERNAL_SYSCALL.
45399 (banner): Update copyright years.
45400
45401 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45402 gettimeofday.
45403 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45404 * nptl/pthread_cond_timedwait.c: Likewise.
45405 * nptl/pthread_mutex_timedlock.c: Likewise.
45406 * nptl/sem_timedwait.c: Likewise.
45407
45408 * sysdeps/nptl/bits/libc-lock.h
45409 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45410 (__libc_lock_init_recursive): Return void, not 0.
45411 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45412 (__libc_rwlock_init): Likewise.
45413 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45414
45415 2014-10-20 Torvald Riegel <triegel@redhat.com>
45416
45417 [BZ #15215]
45418 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45419 (__pthread_once_slow): ... here.
45420 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45421 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45422
45423 2014-10-20 Torvald Riegel <triegel@redhat.com>
45424
45425 [BZ #15215]
45426 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45427 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45428 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45429 * nptl/pthread_once.c (__pthread_once): Likewise.
45430 Update comments.
45431
45432 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45433
45434 [BZ #14138]
45435 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45436 name.
45437 (writev): Use __libc_writev as strong name.
45438 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45439 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45440
45441 2014-10-17 Roland McGrath <roland@hack.frob.com>
45442
45443 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45444
45445 * sysdeps/i386/nptl/tls.h
45446 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45447 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45448 New macros.
45449 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45450 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45451 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45452 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45453 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45454 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45455
45456 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45457 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45458 on [__NR_futex].
45459 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45460 broken out of ...
45461 (__pthread_mutex_init): ... here. Call it.
45462 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45463 Conditionalize PI cases on [__NR_futex].
45464 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45465 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45466 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45467
45468 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45469 conditional on [SIGSETXID].
45470 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45471 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45472 is defined. Likewise for SIGSETXID.
45473 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45474 Conditionalize definitions on [SIGSETXID].
45475 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45476 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45477 unblocking on [SIGCANCEL].
45478
45479 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45480 [__NR_set_robust_list].
45481
45482 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45483
45484 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45485 (do_compare): Likewise.
45486
45487 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45488
45489 [BZ #15884]
45490 * string/strcoll_l.c: Don't include stdio.h.
45491 (coll_seq): Remove members idxarr and rulearr.
45492 (get_next_seq_cached): Remove function.
45493 (get_next_seq): Likewise.
45494 (get_next_seq_nocache): Rename to get_next_seq.
45495 (do_compare): Remove function.
45496 (do_compare_nocache): Rename to do_compare.
45497 (STRCOLL): Remove weight and rules cache.
45498
45499 2014-10-16 Roland McGrath <roland@hack.frob.com>
45500
45501 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45502 * sysdeps/arm/sfp-machine.h: ... to here.
45503 * sysdeps/arm/Implies: Remove arm/soft-fp.
45504
45505 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45506
45507 * conform/data/sys/utsname.h-data (*_t): Allow.
45508 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45509 [POSIX] (WEXITED): Do not expect constant.
45510 [POSIX] (WSTOPPED): Likewise.
45511 [POSIX] (WNOHANG): Likewise.
45512 [POSIX] (WNOWAIT): Likewise.
45513 [POSIX] (siginfo_t): Do not expect type or elements.
45514 [POSIX] (pid_t): Do not expect type.
45515 [POSIX] (signal.h): Do not allow header.
45516 [POSIX] (sys/resource.h): Likewise.
45517 [POSIX] (si_*): Do not allow pattern.
45518 [POSIX] (W*): Likewise.
45519 [POSIX] (P_*): Likewise.
45520 [POSIX] (BUS_*): Likewise.
45521 [POSIX] (CLD_*): Likewise.
45522 [POSIX] (FPE_*): Likewise.
45523 [POSIX] (ILL_*): Likewise.
45524 [POSIX] (POLL_*): Likewise.
45525 [POSIX] (SEGV_*): Likewise.
45526 [POSIX] (SI_*): Likewise.
45527 [POSIX] (TRAP_*): Likewise.
45528 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45529 variable.
45530
45531 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45532
45533 [BZ #12926]
45534 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45535 infinite loop when __recvmsg returns 0.
45536
45537 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45538
45539 * CANCEL-FCT-WAIVE: Remove file.
45540 * CANCEL-FILE-WAIVE: Likewise.
45541
45542 [BZ #14132]
45543 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45544 instead of INTVARDEF.
45545 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45546 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45547 rtld_hidden_data_def instead of INTVARDEF.
45548 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45549 * elf/dl-deps.c (expand_dst): Likewise.
45550 * elf/dl-load.c (_dl_dst_count): Likewise.
45551 (_dl_dst_substitute): Likewise.
45552 (decompose_rpath): Likewise.
45553 (_dl_init_paths): Likewise.
45554 (open_path): Likewise.
45555 (_dl_map_object): Likewise.
45556 * elf/rtld.c (dl_main): Likewise.
45557 (process_dl_audit): Likewise.
45558 (process_envvars): Likewise.
45559 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45560 Remove declaration.
45561 (__libc_enable_secure): Use rtld_hidden_proto.
45562
45563 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45564
45565 * elf/dl-load.c
45566 (add_path): New function broken out of _dl_rtld_di_serinfo.
45567 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45568
45569 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45570
45571 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45572 parentheses around macro arguments.
45573 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45574 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45575 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45577 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45584 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45585 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45586 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45587 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45588 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45589 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45590 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45591 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45592 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45593 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45598 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45602 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45603 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45604 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45606 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45607 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45608 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45609 Likewise.
45610 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45611 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45614 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45617 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45618 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45619 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45620 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45621 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45622 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45624 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45625 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45627 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45631 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45632 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45633 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45634 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45635 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45636 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45637 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45638 (_FP_FRAC_SRS_1): Likewise.
45639 (_FP_FRAC_CLZ_1): Likewise.
45640 (_FP_MUL_MEAT_1_imm): Likewise.
45641 (_FP_MUL_MEAT_1_wide): Likewise.
45642 (_FP_MUL_MEAT_1_hard): Likewise.
45643 (_FP_SQRT_MEAT_1): Likewise.
45644 (_FP_FRAC_ASSEMBLE_1): Likewise.
45645 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45646 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45647 (__FP_CLZ_2): Likewise.
45648 (_FP_MUL_MEAT_2_wide): Likewise.
45649 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45650 (_FP_MUL_MEAT_2_gmp): Likewise.
45651 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45652 (_FP_SQRT_MEAT_2): Likewise.
45653 (_FP_FRAC_ASSEMBLE_2): Likewise.
45654 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45655 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45656 (_FP_FRAC_CLZ_4): Likewise.
45657 (_FP_MUL_MEAT_4_wide): Likewise.
45658 (_FP_MUL_MEAT_4_gmp): Likewise.
45659 (_FP_SQRT_MEAT_4): Likewise.
45660 (_FP_FRAC_ASSEMBLE_4): Likewise.
45661 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45662 * soft-fp/op-common.h (_FP_CMP): Likewise.
45663 (_FP_CMP_EQ): Likewise.
45664 (_FP_CMP_UNORD): Likewise.
45665 (_FP_TO_INT): Likewise.
45666 (_FP_FROM_INT): Likewise.
45667 [!__FP_CLZ] (__FP_CLZ): Likewise.
45668 (_FP_DIV_HELP_imm): Likewise.
45669 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45670 Likewise.
45671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45673 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45675 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45679 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45682 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45683 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45684 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45685 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45686 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45687 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45690 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45691 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45700 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45701 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45702 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45703 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45704 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45705 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45706 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45707 (FP_UNPACK_RAW_SP): Likewise.
45708 (FP_PACK_RAW_S): Likewise.
45709 (FP_PACK_RAW_SP): Likewise.
45710 (FP_UNPACK_S): Likewise.
45711 (FP_UNPACK_SP): Likewise.
45712 (FP_UNPACK_SEMIRAW_S): Likewise.
45713 (FP_UNPACK_SEMIRAW_SP): Likewise.
45714 (FP_PACK_S): Likewise.
45715 (FP_PACK_SP): Likewise.
45716 (FP_PACK_SEMIRAW_S): Likewise.
45717 (FP_PACK_SEMIRAW_SP): Likewise.
45718 (_FP_SQRT_MEAT_S): Likewise.
45719 (FP_CMP_S): Likewise.
45720 (FP_CMP_EQ_S): Likewise.
45721 (FP_CMP_UNORD_S): Likewise.
45722 (FP_TO_INT_S): Likewise.
45723 (FP_FROM_INT_S): Likewise.
45724
45725 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45726
45727 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45728 (FP_EX_INVALID_IMZ): Likewise.
45729 (FP_EX_INVALID_IMZ_FMA): Likewise.
45730 (FP_EX_INVALID_ISI): Likewise.
45731 (FP_EX_INVALID_ZDZ): Likewise.
45732 (FP_EX_INVALID_IDI): Likewise.
45733 (FP_EX_INVALID_SQRT): Likewise.
45734 (FP_EX_INVALID_CVI): Likewise.
45735 (FP_EX_INVALID_VC): Likewise.
45736 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45737 "invalid" exceptions.
45738 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45739 (_FP_ADD_INTERNAL): Likewise.
45740 (_FP_MUL): Likewise.
45741 (_FP_FMA): Likewise.
45742 (_FP_DIV): Likewise.
45743 (_FP_CMP_CHECK_NAN): Likewise.
45744 (_FP_SQRT): Likewise.
45745 (_FP_TO_INT): Likewise.
45746 (FP_EXTEND): Likewise.
45747
45748 2014-10-09 Allan McRae <allan@archlinux.org>
45749
45750 * po/fr.po: Update French translation from translation project.
45751
45752 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45753
45754 [BZ #14132]
45755 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45756 of INTDEF.
45757 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45758 (__cxa_atexit): Use libc_hidden_proto.
45759 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45760
45761 [BZ #14132]
45762 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45763 declaration.
45764 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45765 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45766 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45767 [!_ISOMAC] (__iswctype_internal): Likewise.
45768 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45769 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45770 alias.
45771 (fcntl): Remove __fcntl_internal alias.
45772 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45773 __connect_internal alias.
45774 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45775 Likewise.
45776
45777 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45778 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45779 FP_DENORM_ZERO.
45780 (_FP_CHECK_FLUSH_ZERO): New macro.
45781 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45782 (_FP_CMP): Likewise.
45783 (_FP_CMP_EQ): Likewise.
45784 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45785 FP_DENORM_ZERO.
45786 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45787 (FP_TRUNC): Likewise.
45788
45789 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45790 treated as invalid conversion, not as normal exponent.
45791
45792 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45793 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45794 (_FP_CMP_EQ): Likewise.
45795 (_FP_CMP_UNORD): Likewise.
45796 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45797 (FP_CMP_EQ_D): Likewise.
45798 (FP_CMP_UNORD_D): Likewise.
45799 * soft-fp/extended.h (FP_CMP_E): Likewise.
45800 (FP_CMP_EQ_E): Likewise.
45801 (FP_CMP_UNORD_E): Likewise.
45802 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45803 (FP_CMP_EQ_Q): Likewise.
45804 (FP_CMP_UNORD_Q): Likewise.
45805 * soft-fp/single.h (FP_CMP_S): Likewise.
45806 (FP_CMP_EQ_S): Likewise.
45807 (FP_CMP_UNORD_S): Likewise.
45808 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45809 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45810 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45811 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45812 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45813 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45814 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45815 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45816 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45817 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45818 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45819 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45820 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45821 to FP_CMP_Q.
45822 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45823 FP_CMP_Q.
45824 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45825 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45826 FP_CMP_EQ_Q.
45827 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45828 FP_CMP_Q.
45829 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45830 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45831 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45832 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45833 FP_CMP_EQ_Q.
45834 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45835 FP_CMP_Q.
45836 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45837 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45838 FP_CMP_EQ_Q.
45839 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45840 FP_CMP_Q.
45841 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45842 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45843 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45844 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45845 FP_CMP_EQ_Q.
45846
45847 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45848 a subnormal result, set the underflow exception if trapping on
45849 underflow is enabled.
45850 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45851 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45852 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45853 redefine to 0.
45854 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45855 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45856 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45857 * soft-fp/extendxftf2.c (__extendxftf2): Use
45858 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45859
45860 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45861 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45862 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45863 FP_HANDLE_EXCEPTIONS.
45864 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45865 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45866 FP_HANDLE_EXCEPTIONS.
45867 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45868 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45869 FP_HANDLE_EXCEPTIONS.
45870 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45871 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45872 FP_HANDLE_EXCEPTIONS.
45873
45874 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45875
45876 [BZ #14132]
45877 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45878 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45879 use INTUSE.
45880 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45881 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45882 Remove alias.
45883 (__adjtimex): Define using libc_hidden_ver.
45884 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45885 Remove declaration.
45886 (ntp_gettime): Call __adjtimex directly.
45887 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45888 Remove declaration.
45889 (ntp_gettimex): Call __adjtimex directly.
45890 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45891 __adjtimex_internal alias.
45892
45893 2014-10-08 Roland McGrath <roland@hack.frob.com>
45894
45895 [BZ #17460]
45896 * nscd/nscd.c (more_help): Rewrite list of tables collection
45897 using xstrdup and asprintf.
45898
45899 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45900
45901 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45902 Roland McGrath <roland@hack.frob.com>
45903
45904 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45905 (do_lookup_unique): ... local function 'enter' here; update callers.
45906
45907 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45908
45909 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45910 compat_symbol calls on [SHARED].
45911 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45912 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45913 Remove.
45914 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45915 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45916 (oldsetrlimit): Remove.
45917 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45919 (lchown): New syscall entry.
45920 (oldsetrlimit): Remove.
45921 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45923 (oldsetrlimit): Remove.
45924 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45925
45926 [BZ #14138]
45927 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45928 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45929 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45930 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45931 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45932 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45933 (fchown): Likewise.
45934 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45935 (fchown): Likewise.
45936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45937 Likewise.
45938
45939 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45940
45941 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45942 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45943 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45944 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45945 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45946 Likewise.
45947 (__old_sem_post): Likewise.
45948
45949 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45950
45951 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45952 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45953 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45954 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45955 Use INLINE_VSYSCALL macro.
45956 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45957 __vdso_clock_gettime.
45958 * sysdeps/unix/sysv/linux/tile/init-first.c
45959 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45960 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45961 __vdso_clock_gettime.
45962
45963 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45964 to set up frame more cleanly.
45965
45966 * sysdeps/tile/memcmp.c: New file.
45967
45968 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45969
45970 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45971 * sysdeps/tile/tilegx/strcasestr.c: New file.
45972 * sysdeps/tile/tilegx/strnlen.c: New file.
45973 * sysdeps/tile/tilegx/strstr.c: New file.
45974
45975 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45976
45977 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45978
45979 * nptl/tst-setuid3.c: Write errors to stdout.
45980
45981 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45982
45983 * elf/dl-deps.c
45984 (preload): New functions broken out of _dl_map_object_deps.
45985 (_dl_map_object_deps): Remove a nested function. Update call sites.
45986
45987 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45988
45989 [BZ #14138]
45990 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45991 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45992
45993 2014-10-01 Steve Ellcey <sellcey@mips.com>
45994
45995 * sysdeps/mips/strcmp.S: New.
45996
45997 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45998
45999 [BZ #14138]
46000 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46001 (linkat): Likewise.
46002 (mkdirat): Likewise.
46003 (readlinkat): Likewise.
46004 (renameat): Likewise.
46005 (symlinkat): Likewise.
46006 (unlinkat): Likewise.
46007 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46008 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46009 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46010 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46011 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46012 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46013 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46014
46015 2014-09-30 Will Newton <will.newton@linaro.org>
46016
46017 * math/math.h: Define long double math functions if
46018 _LIBC_TEST is defined.
46019 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46020
46021 * localedata/Makefile: Move assignment to tests-special
46022 into an ifdef testing run-built-tests.
46023 * timezone/Makefile: Likewise.
46024
46025 2014-09-29 Joseph Myers <joseph@codesourcery.com>
46026
46027 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46028 with $(BASH) not $(SHELL).
46029
46030 2014-09-29 Carlos O'Donell <carlos@redhat.com>
46031 Matthew LeGendre <legendre1@llnl.gov>
46032
46033 [BZ #17411]
46034 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46035 l_reloc_result.
46036
46037 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46038
46039 * stdio-common/printf_fp.c
46040 (hack_digit): New function, broken out of ...
46041 (__printf_fp): ... local function here. Update call sites.
46042 hack_digit now takes an additional parameter that is a pointer
46043 to a struct of the referenced locals. Those locals moved inside
46044 the struct and references updated.
46045
46046 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46047
46048 * aclocal.m4: Require autoconf 2.69.
46049 * configure: Regenerated.
46050 * sysdeps/aarch64/configure: Likewise.
46051 * sysdeps/alpha/configure: Likewise.
46052 * sysdeps/arm/armv7/configure: Likewise.
46053 * sysdeps/arm/configure: Likewise.
46054 * sysdeps/ia64/configure: Likewise.
46055 * sysdeps/mach/configure: Likewise.
46056 * sysdeps/mips/configure: Likewise.
46057 * sysdeps/s390/configure: Likewise.
46058 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46060
46061 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46062 file.
46063 * sysdeps/ia64/configure.ac: Likewise.
46064
46065 2014-09-26 Joseph Myers <joseph@codesourcery.com>
46066
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46068 specify symbol version for ld.so. Do not include entry for
46069 libpthread.
46070 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46071 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46072 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46073
46074 [BZ #14171]
46075 * Makeconfig [$(build-shared) = yes]
46076 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46077 makefiles.
46078 [$(build-shared) = yes && $(soversions.mk-done) = t]
46079 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46080 [$(build-shared) = yes && $(soversions.mk-done) = t]
46081 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46082 to Makerules.
46083 [$(build-shared) = yes && $(soversions.mk-done) = t]
46084 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46085 here.
46086 [$(build-shared) = yes && $(soversions.mk-done) = t]
46087 (common-generated): Don't append gnu/lib-names.h and
46088 gnu/lib-names.stmp here.
46089 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46090 (lib-names-h-abi): New variable.
46091 [$(build-shared) = yes && $(soversions.mk-done) = t]
46092 (lib-names-stmp-abi): Likewise.
46093 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46094 abi-variants] (before-compile): Append
46095 $(common-objpfx)$(lib-names-h-abi).
46096 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46097 abi-variants] (common-generated): Append gnu/lib-names.h.
46098 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46099 abi-variants] (install-others-nosubdir): Depend on
46100 $(inst_includedir)/$(lib-names-h-abi).
46101 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46102 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46103 [$(build-shared) = yes && $(soversions.mk-done) = t]
46104 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46105 [$(build-shared) = yes && $(soversions.mk-done) = t]
46106 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46107 [$(build-shared) = yes && $(soversions.mk-done) = t]
46108 (common-generated): Append $(lib-names-h-abi) and
46109 $(lib-names-stmp-abi).
46110 * scripts/lib-names.awk: Do not handle multi being set.
46111 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46112 Remove variable.
46113 (abi-lp64_be-ld-soname): Likewise.
46114 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46115 Likewise.
46116 (abi-hard-ld-soname): Likewise.
46117 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46118 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46119 Remove variable.
46120 (abi-o32_hard-ld-soname): Likewise.
46121 (abi-o32_soft_2008-ld-soname): Likewise.
46122 (abi-o32_hard_2008-ld-soname): Likewise.
46123 (abi-n32_soft-ld-soname): Likewise.
46124 (abi-n32_hard-ld-soname): Likewise.
46125 (abi-n32_soft_2008-ld-soname): Likewise.
46126 (abi-n32_hard_2008-ld-soname): Likewise.
46127 (abi-n64_soft-ld-soname): Likewise.
46128 (abi-n64_hard-ld-soname): Likewise.
46129 (abi-n64_soft_2008-ld-soname): Likewise.
46130 (abi-n64_hard_2008-ld-soname): Likewise.
46131 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46132 Likewise.
46133 (abi-64-v2-ld-soname): Likewise.
46134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46135 ld.so entries.
46136 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46137 variable.
46138 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46139 entry.
46140 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46141 variable.
46142 (abi-64-ld-soname): Likewise.
46143 (abi-x32-ld-soname): Likewise.
46144 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46145 entry.
46146 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46147
46148 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46149
46150 [BZ #14138]
46151 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46152 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46153 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46154 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46155 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46156 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46157 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46158 syscall entry for GLIBC_2.2 symbol version.
46159 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46160 Likewise.
46161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46162 (setrlimit): Likewise.
46163 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46164 Likewise.
46165
46166 2014-09-23 Will Newton <will.newton@linaro.org>
46167
46168 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46169 _LINUX_ARM_SYSDEP_H include guard too.
46170 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46171 define.
46172
46173 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46174
46175 * sysdeps/unix/sysv/linux/eventfd.c:
46176 Make first argument unsigned.
46177 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46178 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46179
46180 2014-09-20 Ondƙej Bílka <neleai@seznam.cz>
46181
46182 [BZ #16852]
46183 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46184 * socket/sys/socket.h: Likewise.
46185 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46186
46187 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46188
46189 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46190
46191 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46192
46193 * time/tst-ftime.c: New test.
46194 * time/Makefile (tests): Add tst-ftime.
46195
46196 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46197
46198 * soft-fp/extended.h: Fix comment formatting.
46199 * soft-fp/op-1.h: Likewise.
46200 * soft-fp/op-2.h: Likewise.
46201 * soft-fp/op-4.h: Likewise.
46202 * soft-fp/op-8.h: Likewise.
46203 * soft-fp/op-common.h: Likewise.
46204 * soft-fp/soft-fp.h: Likewise.
46205
46206 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46207
46208 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46209
46210 [BZ #6652]
46211 * Makeconfig (soversions-default-setname): Remove variable.
46212 ($(common-objpfx)soversions.i): Don't pass default_setname to
46213 soversions.awk.
46214 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46215 oldest_abi to abi-versions.awk.
46216 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46217 * config.make.in (oldest-abi): Remove variable.
46218 * configure.ac (--enable-oldest-abi): Remove configure option.
46219 * configure: Regenerated.
46220 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46221 text.
46222 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46223 * scripts/soversions.awk: Do not handle default_setname variable.
46224 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46225 variable.
46226 * sysdeps/mach/hurd/configure: Regenerated.
46227 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46228 variable.
46229 * sysdeps/unix/sysv/linux/configure: Regenerated.
46230
46231 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46232
46233 * elf/Makefile (CFLAGS-interp.c): Remove.
46234 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46235 path string.
46236 * elf/interp.c: Include generated runtime-linker.h
46237
46238 * Makerules (lib%.so): Don't include $(+interp) in
46239 prerequisites.
46240 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46241 * dlfcn/eval.c: Remove file.
46242
46243 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46244 macros.
46245
46246 [BZ #17266]
46247 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46248 4.2 and newer.
46249
46250 [BZ #17370]
46251 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46252
46253 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46254 Jakub Jelinek <jakub@redhat.com>
46255
46256 [BZ #17266]
46257 * libio/stdio.h: Check definition of __fortify_function
46258 instead of __extern_always_inline to include bits/stdio2.h.
46259 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46260 check if __extern_always_inline is defined.
46261 [__USE_MISC || __USE_XOPEN]: Likewise.
46262 [__USE_ISOC99] Likewise.
46263 * misc/sys/cdefs.h (__fortify_function): Define only if
46264 __extern_always_inline is defined.
46265 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46266 __extern_always_inline and __extern_inline only for g++-4.3
46267 and newer or a compatible gcc.
46268
46269 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46270
46271 [BZ #17371]
46272 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46273 last change to handle zero prefix length.
46274
46275 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46276
46277 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46278 _SC_REGEX_VERSION.
46279
46280 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46281 _POSIX_RAW_SOCKETS.
46282
46283 2014-09-13 Allan McRae <allan@archlinux.org>
46284
46285 * po/ru.po: Update Russian translation from translation project.
46286
46287 2014-09-12 Roland McGrath <roland@hack.frob.com>
46288
46289 * locale/programs/locale.c (show_locale_vars): Inline local function
46290 into its sole call site. Clean up some style nits.
46291 (print_item): New function, broken out of ...
46292 (show_info): ... local function here. Clean up style nits.
46293
46294 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46295 out of ...
46296 (set_class_defaults): ... local function set_default here.
46297 Define set_default as a macro locally to pass constant parameters.
46298 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46299 rather than a shared local.
46300
46301 * stdlib/rpmatch.c (try): New function, broken out of ...
46302 (rpmatch): ... local function here. Also, prototypify definition.
46303
46304 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46305
46306 * scripts/soversions.awk: Do not handle configuration names.
46307 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46308 vendor and os variables to soversions.awk.
46309 * configure.ac: Do not modify gnu-* host_os.
46310 * configure: Regenerated
46311 * shlib-versions: Remove first column with configuration names.
46312 * nptl/shlib-versions: Likewise.
46313 * nptl_db/shlib-versions: Likewise.
46314 * sysdeps/hppa/shlib-versions: Likewise.
46315 * sysdeps/m68k/shlib-versions: Likewise.
46316 * sysdeps/mach/hurd/shlib-versions: Likewise.
46317 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46318 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46319 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46320 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46321 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46322 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46323 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46324 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46326 Likewise.
46327 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46328 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46329 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46330 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46331 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46332 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46333 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46334 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46335
46336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46337 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46339 Regenerated.
46340 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46342 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46343
46344 * shlib-versions: Remove OS-specific entries. Moved to files in
46345 sysdeps.
46346 * sysdeps/mach/hurd/shlib-versions: New file.
46347 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46348
46349 * nptl/shlib-versions: Remove architecture-specific entries.
46350 Moved to files in sysdeps.
46351 * shlib-versions: Likewise.
46352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46353 file.
46354 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46355 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46356 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46357 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46358
46359 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46360 (UDP_NO_CHECK6_RX): Likewise.
46361
46362 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46363
46364 * sysdeps/posix/sysconf.c (__sysconf): Spell
46365 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46366
46367 2014-08-12 Florian Weimer <fweimer@redhat.com>
46368
46369 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46370 loading.
46371 * iconv/Versions (__gconv_transliterate): Export for use from
46372 gconv modules.
46373 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46374 (struct __gconv_trans_data, __gconv_trans_fct,
46375 __gconv_trans_context_fct, __gconv_trans_query_fct,
46376 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46377 definitions.
46378 (struct __gconv_step_data): Remove __trans member.
46379 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46380 longer hidden. Remove unused trans_data argument.
46381 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46382 (__gconv_translit_find): Remove declaration.
46383 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46384 prototype.
46385 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46386 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46387 trans_data argument. Add hidden definition.
46388 (__gconv_translit_find): Remove.
46389 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46390 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46391 * iconv/skeleton.c: Remove transliteration initialization.
46392 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46393 __gconv_step_data initialization.
46394 * libio/iofwide.c (__libio_translit_): Remove.
46395 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46396 * wcsmbs/btowc.c (__btowc): Likewise.
46397 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46398 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46399 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46400 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46401 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46402 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46403 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46404 * wcsmbs/wctob.c (wctob): Likewise.
46405
46406 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46407
46408 [BZ #16194]
46409 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46410 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46411 register usage.
46412 * sysdeps/x86/Makefile: Adjust.
46413
46414 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46415 Roland McGrath <roland@hack.frob.com>
46416
46417 * locale/weight.h: Add include guard.
46418 (findidx): Make static rather than auto; take new parameters
46419 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46420 * locale/weightwc.h: Likewise.
46421 * posix/fnmatch_loop.c
46422 (FCT): Change type of EXTRA from int32_t to wint_t.
46423 Don't include either header inside the function.
46424 Call FINDIDX rather than findidx, and pass new arguments.
46425 #undef FINDIDX at the end of the file.
46426 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46427 FINDIDX before including fnmatch_loop.c for the non-wide version.
46428 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46429 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46430 for the wide version.
46431 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46432 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46433 Pass new arguments to findidx.
46434 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46435 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46436 Don't #include it inside the function. Pass new arguments to findidx.
46437 * posix/regex_internal.h
46438 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46439 (re_string_elem_size_at): Don't #include it inside the function.
46440 Pass new arguments to findidx.
46441 * string/strcoll_l.c: #include WEIGHT_H at top level.
46442 (get_next_seq): Don't #include it inside the function.
46443 Pass new arguments to findidx.
46444 (get_next_seq_nocache): Likewise.
46445 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46446 (STRXFRM): Don't #include it inside the function.
46447 Pass new arguments to findidx.
46448
46449 2014-09-11 Florian Weimer <fweimer@redhat.com>
46450
46451 [BZ #17344]
46452 * malloc/malloc.c (unlink): Turn asserts into a call to
46453 malloc_printerr.
46454
46455 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46456
46457 [BZ #17370]
46458 * libio/wfileops (do_ftell_wide): Free OUT.
46459
46460 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46461
46462 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46463
46464 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46465
46466 [BZ #17363]
46467 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46468 group if the current group is empty.
46469
46470 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46471
46472 * benchtests/bench-memset.c (test_main): Add more test from size
46473 from 32 to 512 bytes.
46474 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46475 Add POWER8 memset object.
46476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46477 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46478 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46479 implementation.
46480 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46481 Likewise.
46482 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46483 multiarch POWER8 memset optimization.
46484 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46485 POWER8 memset optimization.
46486
46487 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46488 Remove bzero multiarch objects.
46489 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46492 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46493 Remove define.
46494 [__bzero]: Redefine to specific name.
46495 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46496 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46497 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46498 define.
46499 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46500 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46501
46502 2014-09-10 Florian Weimer <fweimer@redhat.com>
46503
46504 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46505 warnings into errors.
46506
46507 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46508 __cxa_thread_atexit_impl prototype.
46509
46510 2014-09-09 Steve Ellcey <sellcey@mips.com>
46511
46512 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46513 Fix capitalization of error message.
46514
46515 2014-09-09 Steve Ellcey <sellcey@mips.com>
46516
46517 * sysdeps/mips/preconfigure: Modify ABI tests.
46518
46519 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46520
46521 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46522
46523 2014-09-07 Roland McGrath <roland@hack.frob.com>
46524 Carlos O'Donell <carlos@systemhalted.org>
46525
46526 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46527 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46528 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46529 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46530 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46531 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46532 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46533 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46534 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46535 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46536 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46537 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46538 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46539 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46540 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46541 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46542 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46543 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46545 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46547 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46548 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46549 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46550 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46551 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46552 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46553 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46554 Deconditionalize the code that was previously under [RESET_PID].
46555 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46556 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46557 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46558 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46559 include sysdep.h.
46560
46561 2014-09-08 Allan McRae <allan@archlinux.org>
46562
46563 * version.h (RELEASE): Set to "development".
46564 (VERSION): Set to "2.20.90"
46565
46566 2014-09-07 Allan McRae <allan@archlinux.org
46567
46568 * version.h (RELEASE): Set to "stable".
46569 (VERSION): Set to "2.20"
46570 * include/features.h (__GLIBC_MINOR__): Set to 20.
46571
46572 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46573 Liebler.
46574
46575 * po/ko.po: Update Korean translation from translation project.
46576
46577 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46578
46579 [BZ #17354]
46580 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46581 macro for handling signed relocations.
46582
46583 2014-09-03 Florian Weimer <fweimer@redhat.com>
46584
46585 [BZ #17325]
46586 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46587 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46588 assert.
46589 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46590 * iconvdata/ibm935.c (BODY): Likewise.
46591 * iconvdata/ibm937.c (BODY): Likewise.
46592 * iconvdata/ibm939.c (BODY): Likewise.
46593 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46594 assert.
46595 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46596 script.
46597 * iconvdata/run-iconv-test.sh: New test loop for checking for
46598 decoder crashers.
46599
46600 2014-09-02 Khem Raj <raj.khem@gmail.com>
46601
46602 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46603 libm_hidden_ver.
46604
46605 2014-09-01 Allan McRae <allan@archlinux.org>
46606
46607 * po/eo.po: Update Esperanto translation from translation project.
46608
46609 * po/ca.po: Update Catalan translation from translation project.
46610
46611 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46612
46613 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46614 __proc_dostop call.
46615
46616 2014-08-27 Mark Wielaard <mjw@redhat.com>
46617
46618 [BZ #17319]
46619 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46620 to call set_thread_area instead of hand written asm.
46621 (__NR_set_thread_area): Removed define.
46622 (TLS_FLAG_WRITABLE): Likewise.
46623 (__ASSUME_SET_THREAD_AREA): Remove check.
46624 (TLS_EBX_ARG): Remove define.
46625 (TLS_LOAD_EBX): Likewise.
46626
46627 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46628
46629 Simplify atomicity of socket creation in bind.
46630
46631 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46632 looking up the name after linking the file.
46633
46634 2014-08-27 Allan McRae <allan@archlinux.org>
46635
46636 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46637
46638 2014-08-26 Florian Weimer <fweimer@redhat.com>
46639
46640 [BZ #17187]
46641 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46642 trans_compare, open_translit, __gconv_translit_find):
46643 Remove module loading code.
46644
46645 2014-08-26 Allan McRae <allan@archlinux.org>
46646
46647 * po/vi.po: Update Vietnamese translation from translation project.
46648
46649 * po/uk.po: Update Ukrainian translation from translation project.
46650
46651 * po/fr.po: Update French translation from translation project.
46652
46653 * po/ru.po: Update Russian translation from translation project.
46654
46655 * po/pl.po: Update Polish translation from translation project.
46656
46657 * po/cs.po: Update Czech translation from translation project.
46658
46659 * po/de.po: Update German translation from translation project.
46660
46661 * po/bg.po: Update Bulgarian translation from translation project.
46662
46663 * po/sv.po: Update Sweedish translation from translation project.
46664
46665 * po/nl.po: Update Dutch translation from translation project.
46666
46667 * po/es.po: Update Spanish translation from translation project.
46668
46669 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46670
46671 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46672
46673 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46674 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46675 (CPPFLAGS-iconvconfig): Likewise.
46676 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46677
46678 * include/libc-symbols.h: Remove unnecessary check for
46679 NOT_IN_libc.
46680 * nptl/pthreadP.h: Likewise.
46681 * sysdeps/aarch64/setjmp.S: Likewise.
46682 * sysdeps/alpha/setjmp.S: Likewise.
46683 * sysdeps/arm/sysdep.h: Likewise.
46684 * sysdeps/i386/setjmp.S: Likewise.
46685 * sysdeps/m68k/setjmp.c: Likewise.
46686 * sysdeps/posix/getcwd.c: Likewise.
46687 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46689 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46690 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46691 * sysdeps/sh/sh3/setjmp.S: Likewise.
46692 * sysdeps/sh/sh4/setjmp.S: Likewise.
46693 * sysdeps/unix/alpha/sysdep.h: Likewise.
46694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46696 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46697 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46702 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46705 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46707 * sysdeps/x86_64/setjmp.S: Likewise.
46708
46709 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46710
46711 [BZ #17263]
46712 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46713 <stdint.h>.
46714 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46715 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46716
46717 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46718
46719 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46720
46721 [BZ #17262]
46722 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46723 and __x86_64__ when disabling x87 inline functions.
46724
46725 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46726
46727 [BZ #17259]
46728 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46729 asm statement with __cpuid_count.
46730
46731 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46732
46733 * configure.ac: Change __ehdr_start code to dereference the struct.
46734 Run readelf on the output to look for relocations.
46735 * configure: Regenerated.
46736
46737 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46738
46739 [BZ #17261]
46740 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46741 value to 0.
46742 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46743
46744 2014-08-12 Roland McGrath <roland@hack.frob.com>
46745
46746 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46747
46748 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46749
46750 [BZ #16892]
46751 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46752 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46753
46754 2014-08-12 Sean Anderson <seanga2@gmail.com>
46755
46756 * malloc/malloc.c: Fix typo in comment.
46757
46758 2014-08-09 Allan McRae <allan@archlinux.org>
46759
46760 * Regenerate libc.po.
46761
46762 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46763
46764 * intl/tst-gettext2.sh: Check every lang file for creation.
46765
46766 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46767
46768 * sysdeps/aarch64/fpu/math_private.h
46769 (libc_feholdsetround_noex_aarch64_ctx): New function.
46770
46771 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46772
46773 * sysdeps/arm/armv6/strcpy.S (strcpy):
46774 Fix performance issue in misaligned cases.
46775
46776 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46777
46778 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46779 Move definition from termios.h.
46780 (struct termio): Likewise.
46781 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46782 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46783 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46784 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46785 Likewise.
46786 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46787 Move definition to ioctl-types.h
46788 (struct termio): Likewise.
46789 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46790 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46791 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46792 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46793 Likewise.
46794
46795 2014-08-05 Richard Henderson <rth@redhat.com>
46796
46797 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46798 exceptions.
46799 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46800 Add fraiseexcpt.
46801 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46802 Use __feraiseexcept.
46803 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46804 Protect libm symbols with IS_IN_libm.
46805
46806 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46807
46808 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46809
46810 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46811
46812 2014-08-04 Will Newton <will.newton@linaro.org>
46813
46814 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46815 file.
46816
46817 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46818
46819 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46820 variants for each function.
46821
46822 2014-08-04 Roland McGrath <roland@hack.frob.com>
46823
46824 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46825 appended ...
46826 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46827 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46828 appended ...
46829 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46830 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46831 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46832 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46833 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46834 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46835 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46836 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46837 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46838 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46839 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46840 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46841 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46842 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46843 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46844 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46845 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46846 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46847 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46848 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46849 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46850 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46851 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46852 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46853 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46854 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46855 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46856 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46857 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46858 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46859 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46860 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46861 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46862 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46863 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46864 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46865 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46866 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46867 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46868 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46869 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46870 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46871 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46873 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46875 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46876 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46877 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46878 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46879 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46880 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46881 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46882 Update #include.
46883 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46884 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46885
46886 2014-08-04 Roland McGrath <roland@hack.frob.com>
46887
46888 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46889 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46890 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46891 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46892 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46893 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46894
46895 2014-08-04 Roland McGrath <roland@hack.frob.com>
46896
46897 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46898 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46899 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46900 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46901
46902 2014-08-04 Roland McGrath <roland@hack.frob.com>
46903
46904 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46905 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46906 (__libc_vfork): Define function under this name.
46907 (__vfork): Define as an alias.
46908 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46909 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46910
46911 2014-08-04 Roland McGrath <roland@hack.frob.com>
46912
46913 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46914 that was previously under [RESET_PID].
46915 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46916
46917 2014-08-04 Andreas Schwab <schwab@suse.de>
46918
46919 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46920
46921 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46922
46923 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46924 (main): Likewise.
46925
46926 2014-08-01 Roland McGrath <roland@hack.frob.com>
46927
46928 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46929
46930 2014-08-01 Richard Henderon <rth@redhat.com>
46931
46932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46933 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46934 typo in exact zero test.
46935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46936 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46938
46939 2014-08-01 Roland McGrath <roland@hack.frob.com>
46940
46941 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46942 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46943 * sysdeps/arm/sysdep.h: ... here.
46944 [!__ASSEMBLER__]: Include <stdint.h>.
46945
46946 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46947
46948 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46949 (HAVE_WCTYPE_H): Likewise.
46950 (HAVE_ISWCTYPE): Likewise.
46951 (ENABLE_NLS): Likewise.
46952 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46953 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46954
46955 * posix/regex_internal.c: Check if DEBUG is defined and is
46956 set.
46957
46958 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46959 (HAVE_MBSRTOWCS): Likewise.
46960 * posix/fnmatch.c: Include string.h unconditionally.
46961
46962 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46963
46964 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46965 reversal.
46966
46967 2014-07-31 Roland McGrath <roland@hack.frob.com>
46968
46969 * sysdeps/generic/safe-fatal.h: New file.
46970 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46971 * nptl/forward.c: Include it.
46972 (__pthread_unwind): Use __safe_fatal as default action, rather
46973 than a bogus use of INTERNAL_SYSCALL that could never work.
46974
46975 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46976 * configure.ac (libc_cv_builtin_trap): New test.
46977 * configure: Regenerated.
46978 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46979 (ABORT_INSTRUCTION): Define using __builtin_trap.
46980
46981 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46982 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46983 * sysdeps/nptl/nptl-signals.h: New file.
46984 * nptl/pthreadP.h: Include <nptl-signals.h>.
46985
46986 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46987
46988 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46989 (ONE_DIRECTION): Define.
46990 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46991 (ONE_DIRECTION): Define.
46992 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46993 (ONE_DIRECTION): Define.
46994
46995 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46996
46997 * sysdeps/s390/Makefile: Delete file.
46998 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46999 * sysdeps/s390/__longjmp.c: Delete file.
47000 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47001 Remove fields __flags and __reserved.
47002 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47003 and add versioning.
47004 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47005 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47006 * sysdeps/s390/rtld-setjmp.S: Likewise.
47007 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47008 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47009 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47010 * sysdeps/s390/s390-32/setjmp.S: ... here.
47011 Add versioning.
47012 (__sigsetjmp): Remove setting __flags field.
47013 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47014 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47015 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47016 * sysdeps/s390/s390-64/setjmp.S: ... here.
47017 Add versioning.
47018 (__sigsetjmp): Remove setting __flags field.
47019 * sysdeps/s390/setjmp.S: Delete file.
47020 * sysdeps/s390/sigjmp.c: Likewise.
47021 * sysdeps/s390/v1-longjmp.c: Likewise.
47022 * sysdeps/s390/v1-setjmp.h: Likewise.
47023 * sysdeps/s390/v1-sigjmp.c: Likewise.
47024 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47025 Remove v1-longjmp_chk.
47026 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47027 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47028 Include debug/longjmp_chk.c and add versioning.
47029 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47030 Include nptl/pt-longjmp.c and add versioning.
47031 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47032 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47033 Include __longjmp.c.
47034 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47035 Move to ...
47036 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47037 (__getcontext): Remove setting __flags field.
47038 Add versioning.
47039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47040 Don't restore upper high grps.
47041 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47042 Likewise.
47043 (__swapcontext): Remove setting uc_flags field.
47044 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47045 Delete file.
47046 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47047 Include __longjmp.c.
47048 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47049 Move to ...
47050 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47051 (__getcontext): Remove setting __flags field.
47052 Add versioning.
47053 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47054 (__swapcontext): Remove setting uc_flags field.
47055 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47056 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47057 Remove fields uc_high_gprs and __reserved.
47058 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47059 New file with reverted content.
47060 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47061 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47062 Regenerated.
47063 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47064 Regenerated.
47065
47066 2014-07-31 Andreas Schwab <schwab@suse.de>
47067
47068 * config.h.in (HAVE_IFUNC): Define to 0.
47069 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47070 definedness.
47071
47072 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47073
47074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47075 memmove-avx-unaligned, memcpy-avx-unaligned and
47076 mempcpy-avx-unaligned.
47077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47078 Add tests for AVX memcpy functions.
47079 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47080 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47081 memcpy_chk.
47082 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47083 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47084 memmove_chk.
47085 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47086 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47087 mempcpy_chk.
47088 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47089 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47090 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47091
47092 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47093
47094 [BZ #17213]
47095 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47096 powerpc64le.
47097
47098 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47099
47100 [BZ #16839]
47101 * manual/llio.texi: Add section about open file description locks.
47102 * manual/examples/ofdlocks.c: Example of open file description
47103 lock usage.
47104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47105 F_OFD_SETLK, and F_OFD_SETLKW.
47106
47107 2014-07-23 Allan McRae <allan@archlinux.org>
47108
47109 * po/es.po: Update Spanish translation from translation project.
47110
47111 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47112
47113 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47114
47115 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47116
47117 [BZ #17078]
47118 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47119 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47120 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47121
47122 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47123
47124 [BZ #17088]
47125 * math/fesetenv.c (__fesetenv)
47126 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47127 * math/feupdateenv.c (__feupdateenv)
47128 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47129
47130 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47131 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47132 (__ASSUME_SOCKETCALL): Do not define.
47133
47134 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47135 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47136 (__ASSUME_SOCKETCALL): Do not define.
47137 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47138 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47139 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47140 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47141 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47142 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47143 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47144 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47145
47146 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47147 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47148 (__ASSUME_SOCKETCALL): Do not define.
47149 (__ASSUME_IPC64): Define unconditionally.
47150 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47151 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47152 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47153 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47154 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47155 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47156 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47157 Likewise.
47158
47159 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47160 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47161 (__ASSUME_SOCKETCALL): Do not define.
47162 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47163 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47164 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47165 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47166 (__ASSUME_REQUEUE_PI): Define unconditionally.
47167 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47168 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47169 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47170 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47171 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47172 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47173
47174 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47175 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47176 (__ASSUME_SOCKETCALL): Do not define.
47177 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47178 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47179 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47180 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47181 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47182 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47183
47184 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47185 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47186 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47187 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47188 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47189 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47191 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47192 (__ASSUME_GETCPU_SYSCALL): Likewise.
47193
47194 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47195 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47196 cases for individual architectures.
47197 * sysdeps/gnu/configure: Regenerated.
47198 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47199 LIBC_SLIBDIR_RTLDDIR.
47200 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47201 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47202 LIBC_SLIBDIR_RTLDDIR.
47203 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47205 LIBC_SLIBDIR_RTLDDIR.
47206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47207 Regenerated.
47208 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47209 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47210 file.
47211 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47212 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47213 file.
47214 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47215 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47216 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47217 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47218
47219 * sysdeps/aarch64/shlib-versions: Move to ...
47220 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47221 * sysdeps/alpha/shlib-versions: Move to ...
47222 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47223 * sysdeps/arm/shlib-versions: Move to ...
47224 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47225 * sysdeps/hppa/shlib-versions: Move all contents except for
47226 libgcc_s entry to ...
47227 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47228 entry from ...
47229 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47230 * sysdeps/ia64/shlib-versions: Move to ...
47231 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47232 entry from ...
47233 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47234 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47235 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47236 * sysdeps/microblaze/shlib-versions: Move to ...
47237 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47238 * sysdeps/mips/shlib-versions: Move to ...
47239 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47240 entry from ...
47241 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47242 * sysdeps/tile/shlib-versions: Move to ...
47243 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47244 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47245 from ...
47246 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47247 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47248 entry from ...
47249 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47250
47251 2014-07-17 Will Newton <will.newton@linaro.org>
47252
47253 * sysdeps/arm/bits/atomic.h
47254 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47255 (__arch_compare_and_exchange_bool_16_int): Likewise.
47256 (__arch_compare_and_exchange_bool_64_int): Likewise.
47257
47258 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47259 into an #else block.
47260
47261 2014-07-16 Roland McGrath <roland@hack.frob.com>
47262
47263 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47264 just Linux configurations. Test empirically that the compiler sets
47265 __ARM_EABI__, rather than using the tuple to decide.
47266 * sysdeps/arm/preconfigure: Regenerated.
47267 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47268 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47269 contents appended ...
47270 * sysdeps/arm/configure.ac: ... here.
47271 * sysdeps/arm/configure: Regenerated.
47272
47273 2014-07-15 Roland McGrath <roland@hack.frob.com>
47274
47275 * nptl/pthread_kill.c: New file.
47276 * nptl/pthread_sigmask.c: New file.
47277 * nptl/pthread_sigqueue.c: New file.
47278
47279 * sysdeps/nptl/lowlevellock.h: New file.
47280 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47281 * sysdeps/nptl/lowlevellock-futex.h: New file.
47282
47283 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47284 Remove dead declarations.
47285
47286 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47287
47288 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47289 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47290 config-cflags-avx2.
47291 * sysdeps/x86_64/configure.ac: Likewise.
47292 * sysdeps/i386/configure: Regenerated.
47293 * sysdeps/x86_64/configure: Likewise.
47294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47295 memset-avx2 only if config-cflags-avx2 is yes.
47296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47297 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47298 defined.
47299 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47300 only if HAVE_AVX2_SUPPORT is defined.
47301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47302
47303 2014-07-14 Alan Modra <amodra@gmail.com>
47304
47305 [BZ #17153]
47306 * elf/elf.h (DT_PPC64_NUM): Correct value.
47307 * NEWS: Add to fixed bug list.
47308
47309 2014-07-13 Jim Meyering <meyering@fb.com>
47310
47311 [BZ 17150]
47312 regex: don't deref NULL upon heap allocation failure
47313 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47314 failure in one more place.
47315 To trigger the segfault, configure grep -with-included-regex,
47316 build it, and run these commands:
47317 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47318
47319 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47320
47321 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47322
47323 2014-07-11 Richard Henderson <rth@redhat.com>
47324
47325 * sysdeps/aarch64/libm-test-ulps: Update.
47326
47327 2014-07-10 Florian Weimer <fweimer@redhat.com>
47328
47329 [BZ #17135]
47330 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47331 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47332 (__nptl_setxid): Initialize error member. Call
47333 __nptl_setxid_error.
47334 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47335 * nptl/descr.h (struct xid_command): Add error member.
47336 * nptl/tst-setuid3.c: New file.
47337 * nptl/Makefile (tests): Add it.
47338
47339 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47340
47341 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47342 New define.
47343 (__lll_trylock): Use __lll_base_trylock.
47344 (__lll_cond_trylock): Likewise.
47345
47346 2014-07-10 Roland McGrath <roland@hack.frob.com>
47347
47348 * nptl/pthread_create.c (start_thread): Use atomic_or and
47349 lll_futex_wake directly rather than lll_robust_dead.
47350 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47351 (lll_robust_dead): Macro removed.
47352 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47353 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47354 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47355 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47356 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47357 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47358 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47359 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47360 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47361 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47362 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47363 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47364 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47365 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47367
47368 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47369 Use atomic_compare_and_exchange_val_acq directly rather than
47370 lll_robust_trylock.
47371 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47372 (__lll_robust_trylock, lll_robust_trylock): Removed.
47373 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47374 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47375 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47376 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47377 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47378 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47379 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47380 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47381 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47382 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47383 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47384 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47385 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47387
47388 2014-07-02 Florian Weimer <fweimer@redhat.com>
47389
47390 * manual/locale.texi (Locale Names): New section documenting
47391 locale name syntax. Adjust menu and node chaining accordingly.
47392 (Choosing Locale): Reference Locale Names, Locale Categories.
47393 Mention setting LC_ALL=C. Reflect that name syntax is now
47394 documented.
47395 (Locale Categories): New section title. Reference Locale Names.
47396 LC_ALL is an environment variable, but not a category.
47397 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47398 description, now in Locale Name. Reference that section. Locale
47399 name syntax is now documented.
47400
47401 2014-07-02 Florian Weimer <fweimer@redhat.com>
47402
47403 [BZ #17137]
47404 * locale/findlocale.c (name_present, valid_locale_name): New
47405 functions.
47406 (_nl_find_locale): Use the loc_name variable to store name
47407 candidates. Call name_present and valid_locale_name to check and
47408 validate locale names. Return an error if the locale is invalid.
47409
47410 2014-07-02 Florian Weimer <fweimer@redhat.com>
47411
47412 * locale/setlocale.c (setlocale): Use strdup for allocating
47413 composite name copy.
47414
47415 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47416
47417 Sync up with gnulib.
47418 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47419 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47420 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47421 and _GL_ARG_NONNULL.
47422 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47423 [!_LIBC]: Include code for Windows and Cygwin.
47424 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47425 Include prototype for int strerror_r.
47426 [!_LIBC] (is_open): New function.
47427 (flush_stdout): New function.
47428 (print_errno_message): Use it.
47429 (error): Likewise.
47430 (error_at_line): Likewise.
47431 (error_tail) Add function attribute macros. Use
47432 __builtin_expect.
47433
47434 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47435
47436 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47437
47438 * io/ftw.c: Include sys/param.h unconditionally.
47439
47440 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47441
47442 [BZ #17125]
47443 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47444 libc_freeres_ptr.
47445 (freecache): New function to free CACHE on exit.
47446
47447 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47448 initialization.
47449
47450 2014-07-09 David S. Miller <davem@davemloft.net>
47451
47452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47453
47454 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47455 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47456 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47457 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47458 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47459 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47460 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47461 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47462 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47463 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47464 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47465 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47466 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47467
47468 2014-07-09 Andreas Schwab <schwab@suse.de>
47469
47470 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47471 output.
47472 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47473 (do_test): Likewise.
47474
47475 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47476
47477 2014-07-09 Will Newton <will.newton@linaro.org>
47478
47479 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47480 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47481 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47482 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47483 * sysdeps/hppa/start.S (_start): Likewise.
47484
47485 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47486
47487 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47488
47489 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47490 defined.
47491
47492 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47493
47494 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47495 after checking that it is non-NULL.
47496
47497 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47498
47499 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47500
47501 * sysdeps/powerpc/memmove.c: Remove file.
47502 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47503 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47504 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47505 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47506 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47507 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47508 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47509 string memmove instead of removed powerpc one.
47510
47511 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47512 [weak_alias]: Fix compiler warning due trailing data.
47513 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47514 [weak_alias]: Likewise.
47515 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47516 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47517
47518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47519 (__libc_ifunc_impl_list): Add memmove functions.
47520
47521 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47522
47523 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47524 Remove code.
47525 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47526 Likewise.
47527 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47528 Likewise.
47529 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47530 Likewise.
47531 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47532 Likewise.
47533 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47534 Likewise.
47535 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47536 Likewise.
47537 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47538 Likewise.
47539 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47540 Likewise.
47541 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47542 Likewise.
47543 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47544 Likewise.
47545 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47546 Likewise.
47547 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47548 Likewise.
47549 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47550 Likewise.
47551 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47552 Likewise.
47553 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47554 Likewise.
47555 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47556 Likewise.
47557
47558 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47559
47560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47561 to avoid alignment traps in non-cacheable memory.
47562 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47563
47564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47565 multiarch objects.
47566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47567 file: multiarch power7 memmove.
47568 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47569 multiarch default memmove.
47570 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47571 multiarch memove for powerpc32/power4.
47572
47573 * string/bcopy.c: Use full path to include memmove.c.
47574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47575 multiarch objects.
47576 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47577 bcopy for powerpc64.
47578 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47579 bcopy for powerpc64.
47580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47581 and memmove implementations.
47582 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47583 optimized multiarch memmove for POWER7/powerpc64.
47584 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47585 default multiarch memmove for powerpc64.
47586 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47587 multiarch for powerpc64.
47588 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47589 for POWER7/powerpc64.
47590 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47591 memmove for POWER7/powerpc64.
47592
47593 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47594 glibc default one.
47595
47596 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47597 __ELF_NATIVE_CLASS equal to 64.
47598
47599 2014-07-07 Roland McGrath <roland@hack.frob.com>
47600
47601 * sysdeps/nptl/lowlevellock.h: File removed.
47602
47603 * NEWS: NPTL is no longer an add-on!
47604 * nptl/internaltypes.h: Moved ...
47605 * sysdeps/nptl/internaltypes.h: ... here.
47606 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47607 * sysdeps/nptl/fork.c: Likewise.
47608 * sysdeps/nptl/gai_misc.h: Likewise.
47609 * sysdeps/nptl/librt-cancellation.c: Likewise.
47610 * sysdeps/nptl/jmp-unwind.c: Likewise.
47611 * sysdeps/nptl/setxid.h: Likewise.
47612 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47613 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47614 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47615 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47616 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47617 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47618 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47619 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47620 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47621 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47622 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47623 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47624 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47625 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47626 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47627 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47628 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47629 * nptl/Makeconfig: Moved ...
47630 * sysdeps/nptl/Makeconfig: ... here.
47631 * nptl/configure: File removed.
47632 * nptl/ANNOUNCE: File removed.
47633 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47634 * sysdeps/unix/sysv/linux/configure: Regenerated.
47635
47636 * nptl/Makefile (routines): Add libc_pthread_init,
47637 libc_multiple_threads, register-atfork and unregister-atfork.
47638 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47639 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47640 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47641 pthread-pi-defines.sym, structsem.sym.
47642 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47643 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47644 [$(subdir) = nptl] (tests): Add tst-setgetname.
47645 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47646 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47647 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47648 [!LIBC_SIGACTION]: Remove aliases.
47649 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47650 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47651 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47652 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47653 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47654 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47657 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47658 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47659 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47660 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47661 __libc_allocate_rtsig_private.
47662 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47663 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47664 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47665 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47666 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47667 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47668 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47669 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47670 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47671 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47672 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47673 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47674 * nptl/internaltypes.h: ... here.
47675 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47676 * sysdeps/nptl/jmp-unwind.c: ... here.
47677 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47678 * nptl/libc-lowlevellock.c: ... here.
47679 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47680 * nptl/libc_multiple_threads.c: ... here.
47681 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47682 * nptl/libc_pthread_init.c: ... here.
47683 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47684 * nptl/lowlevelbarrier.sym: ... here.
47685 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47686 * nptl/lowlevelcond.sym: ... here.
47687 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47688 * nptl/lowlevellock.c: ... here.
47689 * nptl/lowlevellock.h: Moved ...
47690 * sysdeps/nptl/lowlevellock.h: ... here.
47691 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47692 * nptl/lowlevelrobustlock.c: ... here.
47693 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47694 * nptl/lowlevelrobustlock.sym: ... here.
47695 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47696 * nptl/lowlevelrwlock.sym: ... here.
47697 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47698 * nptl/pt-fork.c: ... here.
47699 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47700 * nptl/pthread-pi-defines.sym: ... here.
47701 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47702 * nptl/pthread_attr_getaffinity.c: ... here.
47703 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47704 * nptl/pthread_attr_setaffinity.c: ... here.
47705 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47706 * nptl/pthread_mutex_cond_lock.c: ... here.
47707 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47708 Update #include.
47709 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47710 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47711 * nptl/pthread_once.c: ... here, replacing old file.
47712 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47713 * nptl/pthread_yield.c: ... here.
47714 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47715 * nptl/register-atfork.c: ... here.
47716 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47717 * nptl/sem_post.c: ... here.
47718 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47719 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47720 * nptl/sem_timedwait.c: ... here.
47721 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47722 * nptl/sem_trywait.c: ... here.
47723 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47724 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47725 * nptl/sem_wait.c: ... here.
47726 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47727 * nptl/structsem.sym: ... here.
47728 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47729 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47730 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47731 * nptl/unregister-atfork.c: ... here.
47732 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47733 * nptl/unwindbuf.sym: ... here.
47734 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47735 * sysdeps/nptl/fork.c: ... here.
47736 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47737 * sysdeps/nptl/fork.h: ... here.
47738 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47739 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47740 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47741 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47742 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47743 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47744 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47745 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47746 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47747 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47748 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47749 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47750 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47751 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47752 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47753 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47754 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47755 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47756 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47757 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47758 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47759 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47760 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47761 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47762 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47763 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47764 * sysdeps/unix/sysv/linux/raise.c: ... here.
47765 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47766 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47767 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47768 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47769 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47770 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47771 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47772 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47773 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47774 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47775 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47776 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47777 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47778 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47779 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47780
47781 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47782
47783 * sysdeps/generic/memcopy.h: Add comment for
47784 MEMCPY_OK_FOR_FWD_MEMMOVE.
47785
47786 2014-07-04 Will Newton <will.newton@linaro.org>
47787
47788 * string/memchr.c: Merge from gnulib.
47789 [_LIBC]: Remove conditionals.
47790 (__ptr_t): Remove define.
47791 (LONG_MAX_32_BITS): Likewise.
47792 (LONG_MAX): Likewise.
47793 (MEMCHR): Use ANSI prototype and optimize algorithm.
47794
47795 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47796
47797 2014-07-03 Roland McGrath <roland@hack.frob.com>
47798
47799 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47800 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47801
47802 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47803 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47804 in a bare environment with no <stdlib.h> installed.
47805 * sysdeps/nptl/configure: Regenerated.
47806
47807 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47808
47809 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47810 AC_EGREP_CPP for kernel header checks, so they only succeed if
47811 including <linux/version.h> actually works right.
47812 * sysdeps/unix/sysv/linux/configure: Regenerated.
47813
47814 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47815 value so it's not diagnosed as unused.
47816
47817 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47818 thing) with "ifeq ($(subdir),rt)".
47819
47820 2014-07-03 Richard Henderson <rth@redhat.com>
47821
47822 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47823 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47824 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47825
47826 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47827 (math_force_eval): New.
47828
47829 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47830 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47831
47832 * sysdeps/alpha/fpu/s_round.c: Remove file.
47833 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47834
47835 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47836 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47837 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47838 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47839 (_dl_start, print_statistics): Likewise.
47840 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47841 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47842
47843 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47844 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47845 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47846 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47847 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47848 (HP_SMALL_TIMING_AVAIL): Define.
47849 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47850 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47851 (HP_SMALL_TIMING_AVAIL): Define.
47852 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47853 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47854
47855 * sysdeps/aarch64/hp-timing.h: New file.
47856
47857 * sysdeps/generic/hp-timing.h: Remove dead comment.
47858 * sysdeps/generic/hp-timing-common.h: New file.
47859 * sysdeps/alpha/hp-timing.h: Include it.
47860 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47861 * sysdeps/i386/i686/hp-timing.h: Likewise.
47862 * sysdeps/ia64/hp-timing.h: Likewise.
47863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47864 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47865 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47866 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47867 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47868 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47869 (hp_timing_t): New.
47870
47871 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47872 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47873 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47874 * elf/rtld.c (_dl_start_final): Likewise.
47875 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47876 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47877 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47878 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47879 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47880 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47881 (HP_TIMING_DIFF_INIT): Remove.
47882 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47884 (HP_TIMING_DIFF_INIT): Remove.
47885 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47886 * sysdeps/i386/i686/hp-timing.c: Remove file.
47887 * sysdeps/x86_64/hp-timing.c: Remove file.
47888 * sysdeps/ia64/hp-timing.c: Remove file.
47889 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47890 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47891 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47892 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47893
47894 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47895 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47896 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47897 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47899 (HP_TIMING_ACCUM): Remove.
47900 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47902 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47903
47904 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47905 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47906 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47907 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47908 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47909 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47910 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47911 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47912
47913 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47914
47915 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47916
47917 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47918
47919 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47920
47921 Sync up with gettext.
47922 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47923 [_MSC_VER]: Include malloc.h
47924 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47925 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47926 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47927 TEMP_FAILURE_RETRY. Cast return of alloca.
47928 [!_LIBC] Call gl_rwlock_init.
47929 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47930
47931 2014-07-02 Roland McGrath <roland@hack.frob.com>
47932
47933 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47934 before checking its value.
47935
47936 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47937
47938 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47939
47940 * debug/memcpy_chk.c: Don't include pagecopy.h.
47941 * debug/mempcpy_chk.c: Likewise.
47942 * string/memcpy.c: Likewise.
47943 * string/memmove.c: Likewise.
47944 * sysdeps/powerpc/memmove.c: Likewise.
47945 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47946 definition of PAGE_COPY_FWD_MAYBE here...
47947 * sysdeps/generic/pagecopy.h: ... from here.
47948 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47949
47950 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47951 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47952
47953 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47955 optimizations.
47956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47957 (__libc_ifunc_impl_list): Likewise.
47958 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47959 multiarch strcat for PPC64.
47960 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47961 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47962
47963 2014-07-02 Roland McGrath <roland@hack.frob.com>
47964
47965 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47966
47967 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47968
47969 * intl/loadmsgcat.c: Remove declaration of
47970 get_sysdep_segment_value.
47971 (get_sysdep_segment_value): Use ISO C style.
47972 (_nl_load_domain): Use ISO C style. Get rid of redundant
47973 semicolon. Fix typo and formatting in comment.
47974 (_nl_unload_domain): Use ISO C style.
47975
47976 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47977
47978 2014-07-02 Will Newton <will.newton@linaro.org>
47979
47980 * malloc/obstack.c: Merge from gnulib master.
47981 [HAVE_CONFIG_H]: Remove conditional code.
47982 [!_LIBC]: Include config.h.
47983 [!ELIDE_CODE]: Don't include inttypes.h, include
47984 stdint.h unconditionally.
47985 (print_and_abort): Mark as _Noreturn.
47986 (_obstack_allocated_p): Mark as __attribute_pure__.
47987 (obstack_free): Rename to __obstack_free.
47988 [!__attribute__]: Remove conditional code.
47989 * malloc/obstack.h: Merge from gnulib master.
47990 [__cplusplus]: Move conditional down.
47991 [!__attribute_pure__]: Define __attribute_pure__ here
47992 if it is not already defined.
47993 (_obstack_memory_used): Mark as __attribute_pure__.
47994 [!__obstack_free]: Define as obstack_free.
47995 [__GNUC__]: Remove check for ancient NeXT gcc.
47996
47997 2014-07-02 Will Newton <will.newton@linaro.org>
47998 Paul Eggert <eggert@cs.ucla.edu>
47999
48000 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48001
48002 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48003
48004 * resolv/gethnamaddr.c: Add comment warning that the file is
48005 not maintained.
48006
48007 2014-07-01 Carlos O'Donell <carlos@redhat.com>
48008
48009 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48010 entries.
48011
48012 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48013 entry for aio_cancel and aio_cancel64.
48014 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48015 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48016 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48017 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48018 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48019 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48020 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48021 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48022 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48023 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48024 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48025 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48026 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48027
48028 2014-07-01 Roland McGrath <roland@hack.frob.com>
48029
48030 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48031 * nptl/pthread_mutex_lock.c: Likewise.
48032 * nptl/pthread_mutex_timedlock.c: Likewise.
48033 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48034
48035 2014-07-01 Richard henderson <rth@redhat.com>
48036
48037 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48038 (__isnan, __isnanl): Remove.
48039 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48040
48041 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48042
48043 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48044
48045 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48046
48047 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48048
48049 * resolv/nss_dns/dns-host.c (getanswer_r)
48050 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48051
48052 2014-07-01 Joseph Myers <joseph@codesourcery.com>
48053
48054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48055 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48056 undefine.
48057 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48058 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48059
48060 2014-07-01 Roland McGrath <roland@hack.frob.com>
48061
48062 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48063 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48064
48065 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48066 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48067
48068 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48069 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48070 ... here.
48071 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48072 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48073
48074 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48075 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48076 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48077 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48078
48079 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48080 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48081 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48082 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48083 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48084 Moved ...
48085 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48086 ... here.
48087 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48088 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48089 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48090 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48091 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48092 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48093 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48094 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48096 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48097 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48098 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48099 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48100 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48101 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48102 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48103 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48104 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48105 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48106 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48107 ... here.
48108 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48109 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48110 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48111 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48112 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48113 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48114 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48115 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48116
48117 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48118
48119 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48120 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48121 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48122 Add sysdep.
48123
48124 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48125
48126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48127
48128 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48129
48130 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48131 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48132
48133 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48134
48135 * sysdeps/arm/libm-test-ulps: Regenerated.
48136
48137 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48138 Roland McGrath <roland@hack.frob.com>
48139
48140 * test-skeleton.c (signal_handler): Kill the whole process group
48141 before killing the child individually.
48142 (main): Report any failure on `setpgid'.
48143
48144 2014-06-30 Roland McGrath <roland@hack.frob.com>
48145
48146 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48147 from _TLS_H to _ARM_NPTL_TLS_H.
48148 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48149 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48150
48151 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48152
48153 [BZ #16539]
48154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48155 (__expm1l): Return argument unchanged when small but not
48156 subnormal.
48157
48158 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48159 include macro name.
48160 (_FP_UNPACK_RAW_1_P): Likewise.
48161 (_FP_PACK_RAW_1): Likewise.
48162 (_FP_PACK_RAW_1_P): Likewise.
48163 (_FP_MUL_MEAT_1_wide): Likewise.
48164 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48165 (_FP_MUL_MEAT_1_hard): Likewise.
48166 (_FP_DIV_MEAT_1_imm): Likewise.
48167 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48168 (_FP_DIV_MEAT_1_udiv): Likewise.
48169 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48170 (_FP_UNPACK_RAW_2): Likewise.
48171 (_FP_UNPACK_RAW_2_P): Likewise.
48172 (_FP_PACK_RAW_2): Likewise.
48173 (_FP_PACK_RAW_2_P): Likewise.
48174 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48175 (_FP_MUL_MEAT_2_wide): Likewise.
48176 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48177 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48178 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48179 (_FP_MUL_MEAT_2_gmp): Likewise.
48180 (_FP_DIV_MEAT_2_udiv): Likewise.
48181 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48182 (_FP_FRAC_SRL_4): Likewise.
48183 (_FP_FRAC_SRST_4): Likewise.
48184 (_FP_FRAC_SRS_4): Likewise.
48185 (_FP_UNPACK_RAW_4): Likewise.
48186 (_FP_UNPACK_RAW_4_P): Likewise.
48187 (_FP_PACK_RAW_4): Likewise.
48188 (_FP_PACK_RAW_4_P): Likewise.
48189 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48190 (_FP_MUL_MEAT_4_wide): Likewise.
48191 (_FP_MUL_MEAT_4_gmp): Likewise.
48192 (umul_ppppmnnn): Likewise.
48193 (_FP_DIV_MEAT_4_udiv): Likewise.
48194 (__FP_FRAC_ADD_4): Likewise.
48195 (__FP_FRAC_SUB_3): Likewise.
48196 (__FP_FRAC_SUB_4): Likewise.
48197 (__FP_FRAC_DEC_3): Likewise.
48198 (__FP_FRAC_DEC_4): Likewise.
48199 (__FP_FRAC_ADDI_4): Likewise.
48200 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48201 (_FP_FRAC_SRL_8): Likewise.
48202 (_FP_FRAC_SRS_8): Likewise.
48203
48204 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48205 include macro name.
48206 (FP_UNPACK_RAW_EP): Likewise.
48207 (FP_PACK_RAW_E): Likewise.
48208 (FP_PACK_RAW_EP): Likewise.
48209 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48210 (_FP_ISSIGNAN): Likewise.
48211 (_FP_ADD_INTERNAL): Likewise.
48212 (_FP_FMA): Likewise.
48213 (_FP_CMP): Likewise.
48214 (_FP_SQRT): Likewise.
48215 (_FP_TO_INT): Likewise.
48216 (_FP_FROM_INT): Likewise.
48217 (FP_EXTEND): Likewise.
48218 (_FP_DIV_MEAT_N_loop): Likewise.
48219
48220 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48221
48222 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48223 throughout.
48224
48225 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48226
48227 [BZ #17097]
48228 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48229 result with correct sign in case of exponents that produce
48230 overflow except for X very close to 1.
48231
48232 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48233
48234 mktime: merge #if/#ifdef usage from glibc
48235 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48236 as that works with both Glibc's and Gnulib's style.
48237 See thread starting at Siddhesh Poyarekar's bug report at:
48238 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48239
48240 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48241
48242 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48243 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48244 * sysdeps/tile/tilegx/memmove.c: Remove file.
48245
48246 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48247
48248 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48249 abi-name definition.
48250 * scripts/soversions.awk: Do not handle or generate ABI lines.
48251 * shlib-versions: Remove ABI entries.
48252 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48253 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48254
48255 2014-06-27 Roland McGrath <roland@hack.frob.com>
48256
48257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48258 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48260 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48262 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48264 Moved ...
48265 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48266 ... here.
48267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48268 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48270 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48272 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48274 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48278 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48280 Moved ...
48281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48283 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48285 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48287 Moved ...
48288 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48290 Moved ...
48291 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48293 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48295 Moved ...
48296 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48298 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48300 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48302 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48304 Moved ...
48305 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48307 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48308 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48309 Moved ...
48310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48312 Moved ...
48313 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48315 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48317 Moved ...
48318 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48319 ... here.
48320 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48321 Identical file removed.
48322 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48323 Moved ...
48324 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48325 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48326 Identical file removed.
48327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48330 Moved ...
48331 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48333 Identical file removed.
48334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48335 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48336 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48337 Identical file removed.
48338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48339 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48341 Identical file removed.
48342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48343 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48345 Identical file removed.
48346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48347 Moved ...
48348 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48350 Identical file removed.
48351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48352 Moved ...
48353 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48355 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48356 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48357 Identical file removed.
48358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48359 Moved ...
48360 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48361 ... here.
48362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48363 Identical file removed.
48364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48365 Moved ...
48366 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48368 Identical file removed.
48369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48370 Moved ...
48371 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48373 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48374 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48377 Moved ...
48378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48379 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48380 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48381
48382 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48383 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48384 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48385 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48386 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48387
48388 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48389
48390 [BZ #17092]
48391 * nscd/nscd.c (monitor_child): Return exit status of child
48392 instead of return value from wait syscall.
48393
48394 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48395
48396 * configure.ac (libc_commonpagesize): Remove variable.
48397 (libc_relro_required): Likewise.
48398 (libc_cv_z_relro): Remove configure test.
48399 * configure: Regenerated.
48400 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48401 variable.
48402 (libc_relro_required): Likewise.
48403 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48404 (libc_relro_required): Likewise.
48405 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48406 (libc_relro_required): Likewise.
48407 * sysdeps/arm/preconfigure: Regenerated.
48408 * sysdeps/ia64/preconfigure: Remove file.
48409 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48410 variable.
48411 (libc_relro_required): Likewise.
48412
48413 [BZ #16561]
48414 [BZ #16562]
48415 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48416 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48417 recompute overflowing results in original rounding mode.
48418 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48419 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48420 recompute overflowing results in original rounding mode.
48421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48422 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48423 recompute overflowing results in original rounding mode.
48424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48425 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48426 recompute overflowing results in original rounding mode.
48427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48428 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48429 recompute overflowing results in original rounding mode.
48430 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48431 (libc_feholdsetround_ctx): New macro.
48432 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48433 * sysdeps/i386/fpu/libm-test-ulps: Update.
48434 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48435
48436 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48437
48438 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48439 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48440 corresponding .cpsetup call.
48441
48442 2014-06-26 Roland McGrath <roland@hack.frob.com>
48443
48444 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48445 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48446 * sysdeps/arm/Makefile [$(subdir) = csu]
48447 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48448 (static-only-routines): Add aeabi_read_tp here.
48449 (shared-only-routines): Add libc-aeabi_read_tp here.
48450 (CFLAGS-libc-start.c): Add -fexceptions here.
48451 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48452 (sysdep_routines, static-only-routines, shared-only-routines):
48453 Don't add to these here.
48454 (CFLAGS-libc-start.c): Likewise.
48455
48456 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48457 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48458 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48459 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48460 * sysdeps/arm/Makefile [$(subdir) = rt]
48461 (librt-sysdep_routines, librt-shared-only-routines):
48462 Append rt-aeabi_unwind_cpp_pr1 here.
48463 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48464 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48465 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48466 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48467 Append nptl-aeabi_unwind_cpp_pr1 here.
48468 (tests): Filter out tst-cleanupx4 here.
48469 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48470 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48471 Don't do those here.
48472
48473 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48474
48475 * scripts/list-sources.sh: Do not handle ports specially.
48476
48477 2014-06-26 Roland McGrath <roland@hack.frob.com>
48478
48479 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48480 * sysdeps/arm/feupdateenv.c: Likewise.
48481
48482 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48483
48484 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48485
48486 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48487 trailing whitespace removed.
48488 * scripts/config.guess: Update to version 2014-03-23.
48489 * scripts/config.sub: Update to version 2014-05-01
48490 * scripts/install-sh: Update to version 2013-12-25.23.
48491 * scripts/move-if-change: Update from gnulib.
48492
48493 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48494
48495 * debug/memmove_chk.c: Remove pagecopy.h include.
48496
48497 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48498
48499 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48500 identical to gnulib mktime.
48501
48502 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48503
48504 * configure.ac: Do not test for machine being rs6000. Do not test
48505 for powerpc*-*soft.
48506 * configure: Regenerated.
48507
48508 [BZ #11505]
48509 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48510 test.
48511 * configure: Regenerated.
48512 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48513 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48514 Remove configure test.
48515 * sysdeps/arm/configure: Regenerated.
48516 * sysdeps/nptl/configure.ac: Do not check
48517 libc_cv_asm_cfi_directives.
48518 * sysdeps/nptl/configure: Regenerated.
48519 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48520 * sysdeps/x86_64/nptl/configure: Remove generated file.
48521 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48522 unconditional.
48523 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48524
48525 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48526
48527 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48528 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48529 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48530 it is defined.
48531
48532 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48533 instead of whether it is defined.
48534 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48535 * sysdeps/hppa/dl-machine.h: Likewise.
48536 * sysdeps/ia64/dl-machine.h: Likewise.
48537 * sysdeps/m68k/dl-machine.h: Likewise.
48538 * sysdeps/microblaze/dl-machine.h: Likewise.
48539 * sysdeps/mips/dl-machine.: Likewise.
48540 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48542 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48543 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48544 * sysdeps/sh/dl-machine.h: Likewise.
48545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48546 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48547 * sysdeps/tile/dl-machine.h: Likewise.
48548 * sysdeps/x86_64/dl-machine.h: Likewise.
48549
48550 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48551 code.
48552 (verify_persistent_db): Likewise.
48553
48554 2014-06-26 Roland McGrath <roland@hack.frob.com>
48555
48556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48557 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48559 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48561 Moved ...
48562 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48563 ... here.
48564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48565 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48567 Identical file removed.
48568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48571 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48573 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48577 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48579 Moved ...
48580 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48582 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48584 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48586 Moved ...
48587 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48589 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48591 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48593 Identical file removed.
48594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48595 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48597 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48599 Moved ...
48600 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48601 ... here.
48602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48603 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48605 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48607 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48611 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48613 Moved ...
48614 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48616 Moved ...
48617 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48619 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48621 Moved ...
48622 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48624 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48625
48626 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48627 folded into ...
48628 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48629 * sysdeps/unix/sysv/linux/s390/Versions
48630 (libpthread: GLIBC_2.19): New version set.
48631 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48632 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48633 (librt: GLIBC_2.3.3): New version set.
48634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48635 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48636 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48637 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48638 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48639 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48640 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48641 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48642 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48643 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48644 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48645 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48646 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48647 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48648 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48649 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48650 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48651 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48652 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48653 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48654 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48656 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48658 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48660 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48662 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48663 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48664 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48665 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48670 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48672 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48674 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48675 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48676 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48678 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48679
48680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48681 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48682 (__libc_vfork): Define the function under this name.
48683 [!NOT_IN_libc] (__vfork): Make this an alias.
48684 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48686 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48687 (__libc_vfork): Define the function under this name.
48688 [!NOT_IN_libc] (__vfork): Make this an alias.
48689 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48690 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48691 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48694 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48695
48696 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48697 code that was previously under [RESET_PID].
48698 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48699 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48701
48702 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48703 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48705 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48706 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48707 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48708 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48709 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48710 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48711 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48712 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48713 Moved ...
48714 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48715 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48716 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48717 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48718 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48719 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48720 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48721 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48722 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48723 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48724 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48725 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48726 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48727 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48728 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48729 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48730 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48731 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48732 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48733 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48734 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48735 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48736 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48737 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48738 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48739 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48740 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48741 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48742 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48743
48744 2014-06-25 Roland McGrath <roland@hack.frob.com>
48745
48746 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48747 that was previously under [RESET_PID].
48748 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48749
48750 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48751
48752 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48753 not undefine and redefine.
48754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48755 [O_CLOEXEC]: Make code unconditional.
48756 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48757 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48758 <kernel-features.h>.
48759 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48760 conditional variable definition.
48761 (shm_open) [O_CLOEXEC]: Make code unconditional.
48762 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48763 code.
48764
48765 * configure.ac (USE_REGPARMS): Don't define here.
48766 * configure: Regenerated.
48767 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48768 * sysdeps/i386/configure: Regenerated.
48769
48770 * nptl/createthread.c: Don't include kernel-features.h.
48771 * nptl/pthread_cancel.c: Likewise.
48772 * nptl/pthread_condattr_setclock.c: Likewise.
48773 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48774 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48775 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48776 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48777 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48779 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48782 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48783 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48784 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48785 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48786 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48787 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48788 * nscd/gai.c: Likewise.
48789 * nss/nss_db/db-open.c: Likewise.
48790 * sysdeps/generic/ldsodefs.h: Likewise.
48791 * sysdeps/sh/nptl/tls.h: Likewise.
48792 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48793 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48794 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48795 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48796 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48797 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48798 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48799 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48800 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48801 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48802 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48803 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48804 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48805 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48806 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48807 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48808 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48809 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48810 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48811 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48812 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48814 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48815 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48820 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48821 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48822 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48823 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48824 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48825 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48826 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48827 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48828 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48829 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48830 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48831 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48832 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48833 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48834 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48835 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48836 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48837 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48838 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48839 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48840 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48841 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48842 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48843 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48844 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48845 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48846 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48847 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48848 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48849 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48872 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48873 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48874 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48875 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48876 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48877 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48878 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48879 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48880 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48881 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48882 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48883 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48884 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48885 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48886 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48887 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48888 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48889 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48890 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48891 * sysdeps/unix/sysv/linux/system.c: Likewise.
48892 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48893 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48894 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48895 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48896 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48898 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48899
48900 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48901 * configure: Regenerated.
48902 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48903
48904 * configure.ac (base_machine): Do not set specially for particular
48905 machines here.
48906 * configure: Regenerated.
48907 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48908 settings from configure.ac.
48909 * sysdeps/i386/preconfigure: New file.
48910 * sysdeps/s390/preconfigure: Likewise.
48911 * sysdeps/sh/preconfigure: Likewise.
48912 * sysdeps/sparc/preconfigure: Likewise.
48913
48914 2014-06-25 Roland McGrath <roland@hack.frob.com>
48915
48916 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48917 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48918 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48919 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48920 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48921 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48922 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48923 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48924 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48925 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48926 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48927 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48928 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48929 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48933 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48934 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48935
48936 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48937 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48938 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48939 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48940 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48941 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48942 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48943 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48944 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48945 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48946 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48947 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48948 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48949 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48950 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48951 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48952 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48953 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48954 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48955 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48957 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48959 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48961 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48962 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48966 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48967 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48969 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48971 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48973 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48974
48975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48976 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48978 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48980 Moved ...
48981 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48982 ... here.
48983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48984 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48988 Moved ...
48989 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48991 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48993 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48995 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48997 Moved ...
48998 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49000 Moved ...
49001 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49003 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49005 Moved ...
49006 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49008 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49010 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49012 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49014 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49016 Moved ...
49017 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49018 ... here.
49019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49020 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49022 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49024 Moved ...
49025 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49027 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49029 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49031 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49033 Moved ...
49034 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49036 Moved ...
49037 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49039 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49041 Moved ...
49042 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49044 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49046 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49047
49048 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49049
49050 * timezone/checktab.awk: Update from tzcode 2014e.
49051 * timezone/private.h: Likewise.
49052 * timezone/tzfile.h: Likewise.
49053 * timezone/zdump.c: Likewise.
49054 * timezone/zic.c: Likewise.
49055
49056 * sysdeps/unix/sysv/linux/kernel-features.h
49057 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49059 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49060 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49061 Remove conditional code.
49062
49063 2014-06-25 Will Newton <will.newton@linaro.org>
49064
49065 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49066 (_dl_arm_cap_flags): Add HWCAP2 values.
49067 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49068 (_DL_HWCAP_COUNT): Increase to 37.
49069 (_DL_HWCAP_LAST): New define.
49070 (_DL_HWCAP2_LAST): New define.
49071 (_dl_procinfo): Add support for printing
49072 AT_HWCAP2 entries.
49073 (_dl_string_hwcap): Use _dl_hwcap_string.
49074
49075 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49076
49077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49078
49079 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49080
49081 * README: Do not mention ports directory.
49082
49083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49084 Remove macro.
49085 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49086 <kernel-features.h>.
49087 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49088 conditional variable definition.
49089 (__futimes): Update comment.
49090 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49091 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49092
49093 [BZ #16560]
49094 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49095 arguments close to 0.
49096 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49097 Likewise.
49098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49099 Likewise.
49100 * math/auto-libm-test-in: Add more tests of exp10.
49101 * math/auto-libm-test-out: Regenerated.
49102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49103
49104 * sysdeps/unix/sysv/linux/kernel-features.h
49105 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49106 * sysdeps/unix/sysv/linux/readv.c: Do not include
49107 <kernel-features.h>.
49108 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49109 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49110 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49111 unconditional.
49112 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49113 conditional code.
49114 * sysdeps/unix/sysv/linux/writev.c: Do not include
49115 <kernel-features.h>.
49116 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49117 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49118 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49119 unconditional.
49120 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49121 conditional code.
49122
49123 2014-06-25 Will Newton <will.newton@linaro.org>
49124
49125 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49126 comment changes throughout the file. Remove checks
49127 for HAVE_*_H definitions that are not required.
49128 (__gen_tempname): Call abort if an unknown kind value is
49129 passed.
49130
49131 2014-06-25 Andreas Schwab <schwab@suse.de>
49132
49133 [BZ #17086]
49134 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49135 scalbln, scalblnf, scalblnl in libc.
49136
49137 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49138
49139 [BZ #17086]
49140 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49141 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49142 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49143
49144 2014-06-24 Roland McGrath <roland@hack.frob.com>
49145
49146 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49147 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49148 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49149 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49150 Update #include.
49151 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49152 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49153 Update #include.
49154 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49155 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49156 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49157 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49158 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49159 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49160 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49161 * sysdeps/x86/bits/semaphore.h: ... here.
49162 * sysdeps/x86/nptl/elide.h: Moved ...
49163 * sysdeps/x86/elide.h: ... here.
49164 * sysdeps/x86_64/nptl/Implies: File removed.
49165 * sysdeps/i386/nptl/Implies: File removed.
49166
49167 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49168
49169 [BZ #16539]
49170 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49171 return the argument for normal arguments with exponent below -64.
49172 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49173 Likewise.
49174 * math/auto-libm-test-in: Add another test of expm1.
49175 * math/auto-libm-test-out: Regenerated.
49176
49177 [BZ #16287]
49178 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49179 calling __erfcl for arguments at least 16.
49180 * math/auto-libm-test-in: Add more tests of erf.
49181 * math/auto-libm-test-out: Regenerated.
49182
49183 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49184 individual architectures.
49185 * sysdeps/unix/sysv/linux/configure: Regenerated.
49186 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49187 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49188 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49189 (ldd_rewrite_script): Define variable.
49190 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49192 file.
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49194 generated file.
49195 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49196 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49197 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49198 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49199 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49200 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49201 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49202 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49203
49204 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49205
49206 [BZ #17084]
49207 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49208 Rename member __data.d to __data.__elision_data.
49209
49210 2014-06-24 Wilco <wdijkstr@arm.com>
49211
49212 * NEWS: Add 16918 to fixed bug list.
49213
49214 2014-06-24 Wilco <wdijkstr@arm.com>
49215
49216 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49217
49218 2014-06-24 Wilco <wdijkstr@arm.com>
49219
49220 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49221 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49222 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49223 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49224 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49225 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49226 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49227 Use _FPU_MASK_RM.
49228
49229 2014-06-24 Wilco <wdijkstr@arm.com>
49230
49231 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49232
49233 2014-06-24 Wilco <wdijkstr@arm.com>
49234
49235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49236 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49237 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49238 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49239
49240 2014-06-24 Wilco <wdijkstr@arm.com>
49241
49242 [BZ #16918]
49243 * sysdeps/arm/feupdateenv.c (feupdateenv):
49244 Rewrite to reduce FPSCR accesses and fix return value.
49245
49246 2014-06-24 Wilco <wdijkstr@arm.com>
49247
49248 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49249 Optimize to avoid unnecessary FPSCR writes.
49250 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49251 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49252 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49253 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49254
49255 2014-06-24 Wilco <wdijkstr@arm.com>
49256
49257 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49258 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49259 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49260 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49261 Call libc_fetestexcept_vfp.
49262 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49263 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49264 __SOFTFP__ ifdef so that they can be built for softfp.
49265
49266 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49267
49268 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49269 argument type signed char.
49270
49271 * Makerules (check-abi): Dump diff of symlist if the test
49272 fails.
49273
49274 2014-06-23 Roland McGrath <roland@hack.frob.com>
49275
49276 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49277 using abort.
49278
49279 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49280 Remove unused variable ST.
49281
49282 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49283
49284 [BZ #16354]
49285 [BZ #17061]
49286 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49287 small arguments before calling __expm1.
49288 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49289 small arguments before calling __expm1f.
49290 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49291 small arguments before calling __expm1l.
49292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49293 Likewise.
49294 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49295 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49296 spurious underflow for some cosh tests.
49297 * math/auto-libm-test-out: Regenerated.
49298 * sysdeps/i386/fpu/libm-test-ulps: Update.
49299
49300 [BZ #17050]
49301 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49302 (__ieee754_y1): Set errno if return value overflows.
49303 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49304 (__ieee754_y1f): Set errno if return value overflows.
49305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49306 (__ieee754_y1l): Set errno if return value overflows.
49307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49308 (__ieee754_y1l): Set errno if return value overflows.
49309 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49310 * math/auto-libm-test-out: Regenerated.
49311
49312 * math/gen-auto-libm-tests.c: Document use of
49313 ignore-zero-inf-sign.
49314 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49315 (input_flags): Add ignore-zero-inf-sign.
49316 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49317 * math/gen-libm-test.pl (generate_testfile): Handle
49318 ignore-zero-inf-sign.
49319 * math/auto-libm-test-in: Mark some cpow tests with
49320 ignore-zero-inf-sign and some with xfail-rounding.
49321 * math/auto-libm-test-out: Regenerated.
49322 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49323 * sysdeps/i386/fpu/libm-test-ulps: Update.
49324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49325
49326 [BZ #16315]
49327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49328 overflowing or underflowing operations take place with sign of
49329 result.
49330 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49331 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49332 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49333 (__ieee754_pow): Recompute overflowing and underflowing results in
49334 original rounding mode.
49335 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49336 (__powl_helper): Allow negative argument X and scale negated value
49337 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49339 overflowing or underflowing operations take place with sign of
49340 result.
49341 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49342 Include <math.h>.
49343 * math/auto-libm-test-in: Add more tests of pow.
49344 * math/auto-libm-test-out: Regenerated.
49345 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49346 (pow_tonearest_test_data): Remove.
49347 (pow_test_tonearest): Likewise.
49348 (pow_towardzero_test_data): Likewise.
49349 (pow_test_towardzero): Likewise.
49350 (pow_downward_test_data): Likewise.
49351 (pow_test_downward): Likewise.
49352 (pow_upward_test_data): Likewise.
49353 (pow_test_upward): Likewise.
49354 (main): Don't call removed functions.
49355 * sysdeps/i386/fpu/libm-test-ulps: Update.
49356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49357
49358 2014-06-23 Roland McGrath <roland@hack.frob.com>
49359
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49361 Moved ...
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49364 Moved ...
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49367 Moved ...
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49370 Moved ...
49371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49373 File removed.
49374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49375 File removed.
49376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49377 File removed.
49378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49379 File removed.
49380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49381 File removed.
49382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49383 File removed.
49384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49385 File removed.
49386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49387 File removed.
49388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49389 File removed.
49390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49391 File removed.
49392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49393 File removed.
49394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49395 File removed.
49396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49397 Moved ...
49398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49400 Moved ...
49401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49402 ... here.
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49404 Moved ...
49405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49407 Moved ...
49408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49410 Moved ...
49411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49413 Moved ...
49414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49416 Moved ...
49417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49419 Moved ...
49420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49422 Moved ...
49423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49426 ... here.
49427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49428 Moved ...
49429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49431 Moved ...
49432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49433 ... here.
49434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49435 Moved ...
49436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49437 ... here.
49438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49439 Moved ...
49440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49441 ... here.
49442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49443 Moved ...
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49446 Moved ...
49447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49451 Moved ...
49452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49453 ... here.
49454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49455 Moved ...
49456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49457 ... here.
49458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49459 Moved ...
49460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49462 Moved ...
49463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49465 Moved ...
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49468 Moved ...
49469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49471 Moved ...
49472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49473 ... here.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49475 Moved ...
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49478 Moved ...
49479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49481 Moved ...
49482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49484 Moved ...
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49489 Moved ...
49490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49492 Moved ...
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49495 Moved ...
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49497 ... here.
49498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49499 Moved ...
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49501 ... here.
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49503 Moved ...
49504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49505 ... here.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49507 Moved ...
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49510 Moved ...
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49513 Moved ...
49514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49516 Moved ...
49517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49518 ... here.
49519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49520 Moved ...
49521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49522 ... here.
49523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49524 Moved ...
49525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49526 ... here.
49527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49528 Moved ...
49529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49531 Moved ...
49532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49533
49534 2014-06-23 Will Newton <will.newton@linaro.org>
49535 Wilco <wdijkstr@arm.com>
49536
49537 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49538 implementation. Include get-rounding-mode.h.
49539 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49540 [!libc_feholdsetround_noex_ctx]: Define
49541 libc_feholdsetround_noex_ctx.
49542 [!libc_feholdsetround_noexf_ctx]: Define
49543 libc_feholdsetround_noexf_ctx.
49544 [!libc_feholdsetround_noexl_ctx]: Define
49545 libc_feholdsetround_noexl_ctx.
49546 (libc_feholdsetround_ctx): New function.
49547 (libc_feresetround_ctx): New function.
49548 (libc_feholdsetround_noex_ctx): New function.
49549 (libc_feresetround_noex_ctx): New function.
49550
49551 2014-06-23 Roland McGrath <roland@hack.frob.com>
49552
49553 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49554 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49555 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49556 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49557 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49558 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49559
49560 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49561 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49562 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49563 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49564 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49565 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49566 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49567 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49569 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49571 Moved ...
49572 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49573 ... here.
49574 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49575 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49579 Moved ...
49580 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49582 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49586 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49588 Moved ...
49589 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49591 Moved ...
49592 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49594 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49596 Moved ...
49597 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49599 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49600 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49601 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49602 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49603 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49605 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49607 Moved ...
49608 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49609 ... here.
49610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49611 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49613 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49615 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49616 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49617 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49618 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49619 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49621 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49623 Moved ...
49624 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49626 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49628 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49630 Moved ...
49631 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49633 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49634 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49635 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49636
49637 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49638 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49640 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49641 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49642 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49643 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49644 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49646 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49647 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49648 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49650 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49651 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49652 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49653 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49654 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49656 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49657 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49658 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49660 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49661 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49662 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49663 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49664 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49665
49666 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49667
49668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49669 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49670 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49671 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49672 (IPV6_PMTUDISC_INTERFACE): Likewise.
49673 (IPV6_PMTUDISC_OMIT): Likewise.
49674
49675 2014-06-23 Andreas Schwab <schwab@suse.de>
49676
49677 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49678 Remove unused errout label.
49679
49680 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49681
49682 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49683 macro: hardware supports Vector Crypto instructions.
49684
49685 2014-06-23 Will Newton <will.newton@linaro.org>
49686
49687 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49688 rather than __builtin_expect.
49689
49690 * elf/dl-lookup.c (undefined_msg): Remove variable.
49691 (_dl_lookup_symbol_x): Replace undefined_msg with string
49692 literal.
49693
49694 * elf/dl-lookup.c (do_lookup_unique): New function.
49695 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49696 to a separate function.
49697
49698 2014-06-23 Andreas Schwab <schwab@suse.de>
49699
49700 [BZ #17079]
49701 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49702 before reading the next line.
49703
49704 2014-06-23 Will Newton <will.newton@linaro.org>
49705
49706 * test-skeleton.c (signal_handler): Use printf and %m
49707 rather than perror. Use printf rather than fprintf to
49708 stderr. Use puts rather than fputs to stderr.
49709 (main): Likewise.
49710
49711 2014-06-22 Ludovic CourtĂšs <ludo@gnu.org>
49712
49713 * nscd/nscd.c (thread_info_t): Remove typedef.
49714 (thread_info): Remove variable.
49715
49716 2014-06-21 Allan McRae <allan@archlinux.org>
49717
49718 * NEWS: Mention CVE-2014-4043.
49719
49720 2014-06-20 Roland McGrath <roland@hack.frob.com>
49721
49722 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49723 * nptl/smp.h: ... here.
49724
49725 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49726
49727 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49728 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49729 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49730 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49731
49732 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49733 * nptl/stack-aliasing.h: New file.
49734 * sysdeps/i386/i686/stack-aliasing.h: New file.
49735 * sysdeps/i386/i686/nptl/Makefile: File removed.
49736 * sysdeps/x86_64/stack-aliasing.h: New file.
49737 * sysdeps/x86_64/nptl/Makefile
49738 (CFLAGS-pthread_create.c): Variable removed.
49739
49740 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49741 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49742 old file.
49743 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49744 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49745 old file.
49746
49747 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49748
49749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49750 (__ASSUME_SIGFRAME_V2): Remove macro.
49751 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49752 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49753 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49754 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49755 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49756 Declare as function. Remove conditional macro definitions.
49757 (__default_rt_sa_restorer): Likewise.
49758 (__default_sa_restorer_v1): Remove declaration.
49759 (__default_sa_restorer_v2): Likewise.
49760 (__default_rt_sa_restorer_v1): Likewise.
49761 (__default_rt_sa_restorer_v2): Likewise.
49762 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49763 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49764 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49765
49766 2014-06-20 Roland McGrath <roland@hack.frob.com>
49767
49768 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49769 (libpthread-routines): Add sysdep.
49770 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49771 * sysdeps/unix/sysv/linux/sparc/Versions
49772 (libpthread: GLIBC_2.3.3): New version set.
49773 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49774 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49775 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49776 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49777 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49778 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49779 Moved ...
49780 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49782 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49783 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49784 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49785 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49786 * sysdeps/sparc/nptl/sem_init.c: ... here.
49787 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49788 * sysdeps/sparc/nptl/sem_post.c: ... here.
49789 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49790 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49791 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49792 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49793 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49794 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49795 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49796 (libpthread-routines): Add cpu_relax.
49797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49798 File removed.
49799 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49800 (librt: GLIBC_2.3.3): New version set.
49801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49802 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49803 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49804 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49807 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49809 Moved ...
49810 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49812 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49814 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49816 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49818 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49820 Moved ...
49821 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49822 Update #include.
49823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49824 Moved ...
49825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49826 Update #include.
49827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49828 Moved ...
49829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49830 Update #include.
49831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49832 Moved ...
49833 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49834 Update #include.
49835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49836 Moved ...
49837 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49838 Update #include.
49839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49840 Moved ...
49841 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49842 Update #include.
49843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49844 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49850 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49854 Moved ...
49855 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49857 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49859 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49860
49861 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49862
49863 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49864 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49865 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49866 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49867 * nscd/nscd.c: Likewise.
49868 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49869 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49870 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49871 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49872
49873 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49874 <kernel-features.h>.
49875 (init_mq_netlink): Remove conditional have_sock_cloexec
49876 definitions. Remove code conditional on have_sock_cloexec < 0.
49877 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49878 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49879 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49880 <kernel-features.h>.
49881 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49882 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49883
49884 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49885
49886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49887 Add tests for memset_chk and memset.
49888
49889 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49890 with AVX2_Usable.
49891
49892 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49893
49894 [BZ #16046]
49895 * elf/tst-dl-iter-static.c: New file.
49896 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49897
49898 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49899 error.
49900
49901 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49902
49903 * sysdeps/unix/sysv/linux/kernel-features.h
49904 (__ASSUME_F_GETOWN_EX): Remove macro.
49905 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49906 <kernel-features.h>.
49907 (miss_F_GETOWN_EX): Remove variable or macro.
49908 (do_fcntl): Do not check miss_F_GETOWN_EX.
49909 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49910
49911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49912 Remove macro.
49913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49914 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49915 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49916
49917 * sysdeps/unix/sysv/linux/kernel-features.h
49918 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49919 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49920 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49921 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49922
49923 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49924
49925 [BZ #17075]
49926 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49927 Fix calculation of the symbol's value.
49928 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49929 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49930 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49931 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49932 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49933 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49934 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49935 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49936 (modules-names): Add `tst-armtlsdescmod',
49937 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49938 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49939 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49940 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49941 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49942 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49943 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49944 ($(objpfx)tst-armtlsdescloc): New dependency.
49945 ($(objpfx)tst-armtlsdescextnow): Likewise.
49946 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49947 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49948 TLS scheme support.
49949 * sysdeps/arm/configure: Regenerate.
49950
49951 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49952
49953 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49954 (__atfct_seterrno_2): Likewise.
49955 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49956 <kernel-features.h>.
49957 (__ASSUME_ATFCTS): Do not undefine and redefine.
49958 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49959 (__have_atfcts): Remove conditional definition.
49960 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49961 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49962 unreachable if [__ASSUME_ATFCTS].
49963 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49964 not undefine and redefine.
49965 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49966 <kernel-features.h>.
49967 (faccessat) [__NR_faccessat]: Make code unconditional.
49968 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49969 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49970 <kernel-features.h>.
49971 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49972 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49973 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49974 <kernel-features.h>.
49975 (fchownat) [__NR_fchownat]: Make code unconditional.
49976 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49977 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49978 <kernel-features.h>.
49979 (futimesat) [__NR_futimesat]: Make code unconditional.
49980 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49981 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49982 <kernel-features.h>.
49983 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49984 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49985 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49986 <kernel-features.h>.
49987 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49988 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49989 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49990 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49991 <kernel-features.h>.
49992 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49993 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49994 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49995 <kernel-features.h>.
49996 (linkat) [__NR_linkat]: Make code unconditional.
49997 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49998 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49999 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50000 <kernel-features.h>.
50001 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50002 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50003 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50004 <kernel-features.h>.
50005 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50006 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50007 * sysdeps/unix/sysv/linux/openat.c: Do not include
50008 <kernel-features.h>.
50009 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50010 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50011 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50012 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50013 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50014 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50015 <kernel-features.h>.
50016 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50017 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50018 result of INLINE_SYSCALL directly, not via int variable.
50019 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50020 <kernel-features.h>.
50021 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50022 (renameat) [__NR_renameat]: Make code unconditional.
50023 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50024 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50025 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50026 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50027 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50028 (__ASSUME_ATFCTS): Do not undefine and redefine.
50029 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50030 <kernel-features.h>.
50031 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50032 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50033 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50034 <kernel-features.h>.
50035 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50036 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50037 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50038 (__ASSUME_ATFCTS): Do not undefine and redefine.
50039 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50040 <kernel-features.h>.
50041 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50042 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50043 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50044 <kernel-features.h>.
50045 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50046 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50047
50048 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50049
50050 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50051
50052 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50053
50054 [BZ #17069]
50055 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50056 constructed tree before returning error.
50057 * posix/bug-regexp36.c: Expand test case.
50058
50059 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50060
50061 [BZ #6803]
50062 * math/libm-test.inc (scalbln_test_date):
50063 Add errno expectations.
50064 * math/w_scalblnf.c: New File.
50065 Add wrapper which checks for setting errno to ERANGE.
50066 Add weak_alias for corresponding scalbln function.
50067 * math/w_scalbln.c: Likewise.
50068 * math/w_scalblnl.c: Likewise.
50069 * math/Makefile (libm-calls): Add w_scalbln.
50070 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50071 Remove weak_alias for corresponding scalbln function.
50072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50076 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50077 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50078 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50079 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50080 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50081 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50082 Remove long_double_symbol for scalblnl function in libm, libc.
50083 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50084 Add wrapper which checks for setting errno to ERANGE.
50085 Add long_double_symbol for scalblnl function in libm, libc.
50086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50087 Remove long_double_symbol for scalblnl in libm.
50088 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50089 Add wrapper which checks for setting errno to ERANGE.
50090 Add long_double_symbol for scalblnl function in libm.
50091 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50092 Do not use wrapper because of own implementation.
50093
50094 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50095
50096 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50097 3 bytes for __pad1 for x32.
50098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50099
50100 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50101 H.J. Lu <hongjiu.lu@intel.com>
50102
50103 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50104 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50105 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50106 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50107 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50108
50109 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50110
50111 [BZ #17069]
50112 * posix/regcomp.c (parse_expression): Deallocate partially
50113 constructed tree before returning error.
50114 * posix/Makefile.c (tests): Add bug-regex36.
50115 (generated): Add bug-regex36.mtrace.
50116 (tests-special): Add $(objpfx)bug-regex36-mem.out
50117 (bug-regex36-ENV): New variable.
50118 ($(objpfx)bug-regex36-mem.out): New rule.
50119 * posix/bug-regex36.c: New file.
50120
50121 2014-06-19 Will Newton <will.newton@linaro.org>
50122
50123 * malloc/malloc.c (systrim): If extra is zero then return
50124 early.
50125
50126 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50127
50128 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50129
50130 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50131
50132 * sysdeps/aarch64/strchr.S: New file.
50133
50134 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50135
50136 [BZ #17022]
50137 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50138 from arguments -2 or below.
50139 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50140 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50141
50142 2014-06-18 Andreas Schwab <schwab@suse.de>
50143
50144 [BZ #17062]
50145 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50146 of a bracket expr not to run off the end of the string.
50147 * posix/Makefile (tests): Add tst-fnmatch3.
50148 * posix/tst-fnmatch3.c: New file.
50149
50150 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50151
50152 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50153 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50154 [$(cross-compiling) = no]: Likewise.
50155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50156 [$(cross-compiling) = no]: Likewise.
50157
50158 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50159
50160 [BZ #17031]
50161 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50162 double, adjusted for any remainder from the high double.
50163 * math/libm-test.inc (nearbyint): Add tests.
50164 (rint): Likewise.
50165
50166 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50167
50168 * nptl/sysdeps/powerpc/Makefile: Moved ...
50169 * sysdeps/powerpc/nptl/Makefile: ... here.
50170 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50171 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50172 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50173 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50174 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50175 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50176 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50177 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50178 * nptl/sysdeps/powerpc/tls.h: Moved ...
50179 * sysdeps/powerpc/nptl/tls.h: ... here.
50180
50181 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50182
50183 [BZ #16681]
50184 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50185 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50186 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50187 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50188 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50189 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50190 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50191 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50192 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50193
50194 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50195
50196 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50197
50198 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50199
50200 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50201 defined operator.
50202
50203 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50204 $TIMEOUTFACTOR.
50205
50206 2014-06-16 Florian Weimer <fweimer@redhat.com>
50207
50208 [BZ #17058]
50209 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50210 non-executed part of the test.
50211
50212 2014-06-16 Andreas Schwab <schwab@suse.de>
50213
50214 * string/bits/string2.h (strdup, strndup): Update feature guard.
50215
50216 2014-06-14 David S. Miller <davem@davemloft.net>
50217
50218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50219
50220 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50221
50222 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50223 that was previously under [RESET_PID].
50224 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50225
50226 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50227 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50228 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50229 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50230 (__libc_vfork): New strong alias.
50231 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50232
50233 2014-06-14 Andi Kleen <ak@linux.intel.com>
50234
50235 * sysdeps/generic/elide.h: New file.
50236
50237 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50238
50239 * Makefile (installed-headers): Adjust path of pthread.h header.
50240
50241 2014-06-13 Roland McGrath <roland@hack.frob.com>
50242
50243 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50244 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50245 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50246 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50247
50248 * nptl/sysdeps/s390/Makefile: Moved ...
50249 * sysdeps/s390/nptl/Makefile: ... here.
50250 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50251 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50252 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50253 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50254 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50255 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50256 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50257 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50258 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50259 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50260 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50261 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50262 * nptl/sysdeps/s390/tls.h: Moved ...
50263 * sysdeps/s390/nptl/tls.h: ... here.
50264
50265 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50266 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50267
50268 2014-06-13 David S. Miller <davem@davemloft.net>
50269
50270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50273 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50277 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50278 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50279 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50280 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50281 Remove RESET_PID cpp guards.
50282 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50283 Remove RESET_PID cpp guards.
50284 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50285
50286 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50287
50288 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50289 __sp to uintptr_t.
50290
50291 2014-06-13 Andi Kleen <ak@linux.intel.com>
50292
50293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50303 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50313
50314 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50315 (pthread_rwlock_rdlock): Add elision.
50316 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50317 (pthread_rwlock_wrlock): Add elision.
50318 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50319 (pthread_rwlock_trywrlock): Add elision.
50320 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50321 (pthread_rwlock_tryrdlock): Add elision.
50322 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50323 (pthread_rwlock_tryrdlock): Add elision unlock.
50324 * nptl/sysdeps/pthread/pthread.h:
50325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50326 (PTHREAD_RWLOCK_INITIALIZER,
50327 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50328 Handle new elision field.
50329 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50330 * sysdeps/arm/nptl/bits/pthreadtypes.h
50331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50332 * sysdeps/sh/nptl/bits/pthreadtypes.h
50333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50334 * sysdeps/tile/nptl/bits/pthreadtypes.h
50335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50336 * sysdeps/a/nptl/bits/pthreadtypes.h
50337 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50338 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50340 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50341 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50342 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50344 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50346 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50347 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50348 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50350 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50352 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50354 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50355 (elision_init): Set try_xbegin to zero when no RTM.
50356 * sysdeps/x86/nptl/bits/pthreadtypes.h
50357 (pthread_rwlock_t): Change __pad1 to __rwelision.
50358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50359
50360 2014-06-13 Andi Kleen <ak@linux.intel.com>
50361
50362 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50363 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50364 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50365 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50366
50367 2014-06-13 Meador Inge <meadori@codesourcery.com>
50368
50369 [BZ #16996]
50370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50371 that the cached result has been set before returning it.
50372
50373 2014-06-12 Roland McGrath <roland@hack.frob.com>
50374
50375 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50376 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50377 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50378 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50379 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50380 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50381
50382 * nptl/sysdeps/sparc/Makefile: Moved ...
50383 * sysdeps/sparc/nptl/Makefile: ... here.
50384 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50385 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50386 * nptl/sysdeps/sparc/tls.h: Moved ...
50387 * sysdeps/sparc/nptl/tls.h: ... here.
50388 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50389 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50390 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50391 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50392 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50393 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50394 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50395 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50396 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50397 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50398 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50399 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50400 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50401 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50402 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50403 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50404 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50405 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50406 Update #include.
50407 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50409 Update #include.
50410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50412 Update #include.
50413 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50415 Update #include.
50416
50417 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50418
50419 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50420 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50421
50422 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50423 (struct list_links): Type removed.
50424 (struct thread_node, struct timer_node): Replace struct list_links
50425 with struct list_head.
50426 (list_unlink_ip): Likewise.
50427 * sysdeps/pthread/timer_routines.c
50428 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50429 (list_append, list_insbefore): Likewise.
50430 (list_init): Function removed.
50431 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50432 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50433 * sysdeps/pthread/Makefile: ... here, new file.
50434
50435 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50436 * sysdeps/nptl/Implies: ... here.
50437 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50438 * nptl/sysdeps/pthread/list.h: Moved ...
50439 * include/list.h: ... here.
50440 * nptl/sysdeps/pthread/createthread.c: Moved ...
50441 * nptl/createthread.c: ... here.
50442 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50443 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50444 * nptl/pt-longjmp.c: ... here.
50445 * nptl/sysdeps/pthread/Makefile: Moved ...
50446 * sysdeps/nptl/Makefile: ... here.
50447 * nptl/sysdeps/pthread/Subdirs: Moved ...
50448 * sysdeps/nptl/Subdirs: ... here.
50449 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50450 * sysdeps/nptl/aio_misc.h: ... here.
50451 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50452 * sysdeps/nptl/bits/libc-lock.h: ... here.
50453 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50454 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50455 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50456 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50457 * nptl/sysdeps/pthread/configure: Moved ...
50458 * sysdeps/nptl/configure: ... here.
50459 * nptl/sysdeps/pthread/configure.ac: Moved ...
50460 * sysdeps/nptl/configure.ac: ... here.
50461 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50462 * sysdeps/nptl/gai_misc.h: ... here.
50463 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50464 * sysdeps/nptl/librt-cancellation.c: ... here.
50465 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50466 * sysdeps/nptl/malloc-machine.h: ... here.
50467 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50468 * sysdeps/nptl/pthread-functions.h: ... here.
50469 * nptl/sysdeps/pthread/pthread.h: Moved ...
50470 * sysdeps/nptl/pthread.h: ... here.
50471 * nptl/sysdeps/pthread/setxid.h: Moved ...
50472 * sysdeps/nptl/setxid.h: ... here.
50473 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50474 * sysdeps/nptl/sigfillset.c: ... here.
50475 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50476 * sysdeps/nptl/tcb-offsets.h: ... here.
50477 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50478 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50479 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50480 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50481 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50482 * sysdeps/pthread/allocalim.h: ... here.
50483 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50484 * sysdeps/pthread/bits/sigthread.h: ... here.
50485 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50486 * sysdeps/pthread/flockfile.c: ... here.
50487 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50488 * sysdeps/pthread/ftrylockfile.c: ... here.
50489 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50490 * sysdeps/pthread/funlockfile.c: ... here.
50491 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50492 * sysdeps/pthread/posix-timer.h: ... here.
50493 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50494 * sysdeps/pthread/timer_create.c: ... here.
50495 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50496 * sysdeps/pthread/timer_delete.c: ... here.
50497 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50498 * sysdeps/pthread/timer_getoverr.c: ... here.
50499 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50500 * sysdeps/pthread/timer_gettime.c: ... here.
50501 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50502 * sysdeps/pthread/timer_routines.c: ... here.
50503 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50504 * sysdeps/pthread/timer_settime.c: ... here.
50505 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50506 * sysdeps/pthread/tst-timer.c: ... here.
50507 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50508 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50509
50510 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50511 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50512
50513 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50514 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50515 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50516 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50517 Update #include target.
50518 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50519 * sysdeps/i386/i686/nptl/Makefile: ... here.
50520 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50521 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50522 Update #include target.
50523 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50524 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50525 * nptl/sysdeps/i386/Makefile: Moved ...
50526 * sysdeps/i386/nptl/Makefile: ... here.
50527 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50528 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50529 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50530 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50531 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50532 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50533 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50534 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50535 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50536 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50537 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50538 * nptl/sysdeps/i386/tls.h: Moved ...
50539 * sysdeps/i386/nptl/tls.h: ... here.
50540
50541 * sysdeps/sh/Makefile [$(subdir) = csu]
50542 (gen-as-const-headers): Add tcb-offsets.sym.
50543 * nptl/sysdeps/sh/Makefile: File removed.
50544 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50545 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50546 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50547 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50548 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50549 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50550 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50551 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50552 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50553 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50554 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50555 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50556 * nptl/sysdeps/sh/tls.h: Moved ...
50557 * sysdeps/sh/nptl/tls.h: ... here.
50558 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50559 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50560 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50561 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50562 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50563 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50564 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50565 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50566 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50567 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50568 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50569 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50571 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50572 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50573 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50574 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50575 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50576 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50577 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50578 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50579 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50583 Moved ...
50584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50586 Moved ...
50587 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50588 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50589 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50590 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50591 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50592 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50593 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50594 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50595 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50596 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50597 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50598 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50599 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50600 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50601 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50602 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50603 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50604 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50605 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50606
50607 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50608
50609 * posix/spawn_faction_addopen.c: Include string.h.
50610
50611 2014-06-11 Roland McGrath <roland@hack.frob.com>
50612
50613 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50614 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50615 * nptl/sysdeps/x86_64/Makefile: Moved ...
50616 * sysdeps/x86_64/nptl/Makefile: ... here.
50617 * nptl/sysdeps/x86_64/configure: Moved ...
50618 * sysdeps/x86_64/nptl/configure: ... here.
50619 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50620 * sysdeps/x86_64/nptl/configure.ac: ... here.
50621 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50622 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50623 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50624 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50625 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50626 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50627 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50628 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50629 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50630 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50631 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50632 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50633 * nptl/sysdeps/x86_64/tls.h: Moved ...
50634 * sysdeps/x86_64/nptl/tls.h: ... here.
50635 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50636 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50637 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50638 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50639
50640 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50641
50642 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50643
50644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50645
50646 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50647
50648 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50649 type.
50650 [POSIX] (off_t): Likewise.
50651 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50652 [POSIX] (S_ISBLK): Require macro.
50653 [POSIX] (S_ISCHR): Likewise.
50654 [POSIX] (S_ISDIR): Likewise.
50655 [POSIX] (S_ISFIFO): Likewise.
50656 [POSIX] (S_ISREG): Likewise.
50657 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50658 optional-macro.
50659 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50660 type.
50661 [POSIX] (time_t): Likewise.
50662 [POSIX] (timer_t): Likewise.
50663
50664 2014-06-11 Florian Weimer <fweimer@redhat.com>
50665
50666 [BZ #17048]
50667 * posix/spawn_int.h (struct __spawn_action): Make the path string
50668 non-const to support deallocation.
50669 * posix/spawn_faction_addopen.c
50670 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50671 * posix/spawn_faction_destroy.c
50672 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50673 path in all spawn_do_open actions.
50674 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50675 posix_spawn_file_actions_addopen.
50676
50677 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50678
50679 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50680 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50681 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50682 conditional code always true.
50683 (__libc_vfork): New alias.
50684
50685 2014-06-11 Roland McGrath <roland@hack.frob.com>
50686
50687 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50688 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50689
50690 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50691
50692 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50693 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50694
50695 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50696 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50697
50698 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50699 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50700
50701 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50702
50703 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50704 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50705 multiarch strcmp for PPC64.
50706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50709 multiarch optimizations.
50710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50711 (__libc_ifunc_impl_list): Likewise.
50712
50713 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50714
50715 * benchtests/scripts/validate_benchout.py: New script.
50716 * benchtests/Makefile (bench-func): Call it.
50717 * benchtests/scripts/benchout.schema.json: New file.
50718
50719 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50720
50721 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50722 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50723 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50724 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50725 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50726 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50727 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50728 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50729 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50730 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50731 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50732 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50733 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50734 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50735 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50736 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50738 Moved ...
50739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50740 ... here.
50741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50742 Moved ...
50743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50745 Moved ...
50746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50747 ... here.
50748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50749 Moved ...
50750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50751 ... here.
50752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50753 Moved ...
50754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50756 Moved ...
50757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50758 ... here.
50759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50760 Moved ...
50761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50762 ... here.
50763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50764 Moved ...
50765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50767 Moved ...
50768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50769 ... here.
50770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50771 Moved ...
50772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50773 ... here.
50774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50775 Moved ...
50776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50777 ... here.
50778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50779 Moved ...
50780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50782 Moved ...
50783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50784 ... here.
50785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50786 Moved ...
50787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50788 ... here.
50789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50790 Moved ...
50791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50792 ... here.
50793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50794 Moved ...
50795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50797 Moved ...
50798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50799 ... here.
50800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50801 Moved ...
50802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50803 ... here.
50804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50805 Moved ...
50806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50808 Moved ...
50809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50810 ... here.
50811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50812 Moved ...
50813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50815 Moved ...
50816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50818 Moved ...
50819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50820 ... here.
50821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50822 Moved ...
50823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50824 ... here.
50825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50826 Moved ...
50827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50828 ... here.
50829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50830 Moved ...
50831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50833 Moved ...
50834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50835 ... here.
50836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50837 Moved ...
50838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50839 ... here.
50840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50841 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50843 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50844 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50845 Moved ...
50846 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50847 ... here.
50848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50849 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50851 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50852 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50853 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50854 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50855 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50857 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50859 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50861 Moved ...
50862 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50864 Moved ...
50865 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50867 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50869 Moved ...
50870 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50871 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50872 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50873 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50874 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50875 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50876 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50877
50878 2014-06-10 Wilco <wdijkstr@arm.com>
50879
50880 * math/test-fenv-return.c: New file.
50881 * math/Makefile: Add new test test-fenv-return.
50882
50883 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50884
50885 [BZ #17042]
50886 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50887 when x - 1 is zero.
50888 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50889 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50890 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50891 0.0L for an argument of 1.0L.
50892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50893 Likewise.
50894 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50895 value when x - 1 is zero.
50896 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50897 * sysdeps/i386/fpu/libm-test-ulps: Update.
50898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50899
50900 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50901
50902 [BZ #15119]
50903 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50904
50905 2014-06-09 Roland McGrath <roland@hack.frob.com>
50906
50907 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50908 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50909
50910 2014-06-09 Roland McGrath <roland@hack.frob.com>
50911
50912 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50913 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50914
50915 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50916 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50917
50918 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50919 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50920
50921 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50922 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50923
50924 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50925 if not already defined.
50926 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50927 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50928 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50929 (TLS_INIT_TP): Use it.
50930 (TLS_DEFINE_INIT_TP): New macro.
50931 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50932
50933 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50934
50935 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50936 constant.
50937 [POSIX] (IXANY): Likewise.
50938 [POSIX] (OLCUC): Likewise.
50939 [POSIX || POSIX2008] (CBAUD): Do not allow.
50940 [POSIX || POSIX2008] (DEFECHO): Likewise.
50941 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50942 [POSIX || POSIX2008] (ECHOKE): Likewise.
50943 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50944 [POSIX || POSIX2008] (EXTA): Likewise.
50945 [POSIX || POSIX2008] (EXTB): Likewise.
50946 [POSIX || POSIX2008] (FLUSHO): Likewise.
50947 [POSIX || POSIX2008] (LOBLK): Likewise.
50948 [POSIX || POSIX2008] (PENDIN): Likewise.
50949 [POSIX || POSIX2008] (SWTCH): Likewise.
50950 [POSIX || POSIX2008] (VDISCARD): Likewise.
50951 [POSIX || POSIX2008] (VDSUSP): Likewise.
50952 [POSIX || POSIX2008] (VLNEXT): Likewise.
50953 [POSIX || POSIX2008] (VREPRINT): Likewise.
50954 [POSIX || POSIX2008] (VSTATUS): Likewise.
50955 [POSIX || POSIX2008] (VWERASE): Likewise.
50956 (B*): Change to B[0123456789]*.
50957 * conform/data/time.h-data [POSIX || UNIX98]
50958 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50959 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50960 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50961 [POSIX] (tm_*): Do not allow.
50962
50963 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50964
50965 * Makefile (install): Don't set LANGUAGE.
50966 * Makefile.in (install): Likewise.
50967 * assert/Makefile (test-assert-ENV): Remove variable.
50968 (test-assert-perr-ENV): Likewise.
50969 * elf/Makefile (neededtest4-ENV): Likewise.
50970 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50971 [$(cross-compiling) = no]: Don't set LANGUAGE.
50972 * io/ftwtest-sh (LANG): Remove variable.
50973 * libio/Makefile (tst-widetext-ENV): Likewise.
50974 * manual/install.texi (Running make install): Don't refer to
50975 environment settings for make install.
50976 * INSTALL: Regenerated.
50977 * nptl/tst-tls6.sh: Don't set LANG.
50978 * posix/globtest.sh (LANG): Remove variable.
50979 * string/Makefile (tester-ENV): Likewise.
50980 (inl-tester-ENV): Likewise.
50981 (noinl-tester-ENV): Likewise.
50982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50983 [$(cross-compiling) = no]: Don't set LANGUAGE.
50984 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50985 without explicit environment settings.
50986
50987 2014-06-06 Roland McGrath <roland@hack.frob.com>
50988
50989 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50990 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50991 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50992 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50993
50994 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50995
50996 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50997 other files in the crypt directory.
50998 * crypt/crypt.c: Remove duplicate includes.
50999 * crypt/crypt-entry.c: Likewise.
51000 * crypt/crypt_util.c: Likewise.
51001
51002 2014-06-06 Joseph Myers <joseph@codesourcery.com>
51003
51004 * Makeconfig (run-program-env): New variable.
51005 (run-program-prefix-before-env): Likewise.
51006 (run-program-prefix-after-env): Likewise.
51007 (run-program-prefix): Define in terms of new variables.
51008 (built-program-cmd-before-env): New variable.
51009 (built-program-cmd-after-env): Likewise.
51010 (built-program-cmd): Define in terms of new variables.
51011 (test-program-prefix-before-env): New variable.
51012 (test-program-prefix-after-env): Likewise.
51013 (test-program-prefix): Define in terms of new variables.
51014 (test-program-cmd-before-env): New variable.
51015 (test-program-cmd-after-env): Likewise.
51016 (test-program-cmd): Define in terms of new variables.
51017 * Rules (make-test-out): Use $(run-program-env).
51018 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51019 (help): Do not mention environment variables. Mention
51020 --timeoutfactor option.
51021 (timeoutfactor): New variable.
51022 (blacklist_exports): Remove function.
51023 (exports): Remove variable.
51024 (command): Do not include ${exports}.
51025 * manual/install.texi (Configuring and compiling): Do not mention
51026 test wrappers preserving environment variables. Mention that last
51027 assignment to a variable must take precedence.
51028 * INSTALL: Regenerated.
51029 * benchtests/Makefile (run-bench): Use $(run-program-env).
51030 * catgets/Makefile ($(objpfx)test1.cat): Use
51031 $(built-program-cmd-before-env), $(run-program-env) and
51032 $(built-program-cmd-after-env).
51033 ($(objpfx)test2.cat): Do not specify environment variables
51034 explicitly.
51035 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51036 $(run-program-env) and $(built-program-cmd-after-env).
51037 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51038 $(run-program-env) and $(test-program-cmd-after-env).
51039 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51040 explicitly.
51041 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51042 run_program_env and test_program_cmd_after_env arguments.
51043 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51044 * elf/tst-pathopt.sh: Use run_program_env argument.
51045 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51046 $(test-wrapper-env) and $(run-program-env).
51047 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51048 run_program_env arguments.
51049 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51050 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51051 $(test-program-prefix-before-env), $(run-program-env) and
51052 $(test-program-prefix-after-env).
51053 ($(objpfx)tst-gettext2.out): Likewise.
51054 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51055 run_program_env and test_program_prefix_after_env arguments.
51056 * intl/tst-gettext2.sh: Likewise.
51057 * intl/tst-gettext4.sh: Do not set environment variables
51058 explicitly.
51059 * intl/tst-gettext6.sh: Likewise.
51060 * intl/tst-translit.sh: Likewise.
51061 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51062 $(test-program-prefix-before-env), $(run-program-env) and
51063 $(test-program-prefix-after-env).
51064 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51065 run_program_env and test_program_prefix_after_env arguments.
51066 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51067 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51068 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51069 explicitly with each use of ${test_wrapper_env}.
51070 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51071 $(test-program-prefix-before-env), $(run-program-env) and
51072 $(test-program-prefix-after-env).
51073 * posix/tst-getconf.sh: Do not set environment variables
51074 explicitly.
51075 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51076 run_program_env and test_program_prefix_after_env arguments.
51077 * stdio-common/tst-printf.sh: Do not set environment variables
51078 explicitly.
51079 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51080 $(test-program-prefix-before-env), $(run-program-env) and
51081 $(test-program-prefix-after-env).
51082 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51083 run_program_env and test_program_prefix_after_env arguments.
51084 Split $test calls into $test_pre and $test.
51085 * timezone/Makefile (build-testdata): Use
51086 $(built-program-cmd-before-env), $(run-program-env) and
51087 $(built-program-cmd-after-env).
51088
51089 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51090
51091 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51092 strlen for non SHARED builds.
51093
51094 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51095
51096 * nptl/allocatestack.c (check_list): Inlined function...
51097 (__reclaim_stacks): ... here.
51098
51099 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51100
51101 [BZ #15698]
51102 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51103 memory overrun.
51104
51105 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51106
51107 * Rules (make-test-out): Include
51108 LOCPATH=$(common-objpfx)localedata in default environment.
51109 * debug/Makefile (tst-chk1-ENV): Remove variable.
51110 (tst-chk2-ENV): Likewise.
51111 (tst-chk3-ENV): Likewise.
51112 (tst-chk4-ENV): Likewise.
51113 (tst-chk5-ENV): Likewise.
51114 (tst-chk6-ENV): Likewise.
51115 (tst-lfschk1-ENV): Likewise.
51116 (tst-lfschk2-ENV): Likewise.
51117 (tst-lfschk3-ENV): Likewise.
51118 (tst-lfschk4-ENV): Likewise.
51119 (tst-lfschk5-ENV): Likewise.
51120 (tst-lfschk6-ENV): Likewise.
51121 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51122 (tst-iconv7-ENV): Likewise.
51123 * intl/Makefile (LOCPATH-ENV): Likewise.
51124 (tst-codeset-ENV): Likewise.
51125 (tst-gettext3-ENV): Likewise.
51126 (tst-gettext5-ENV): Likewise.
51127 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51128 (tst-fopenloc-ENV): Likewise.
51129 (tst-fgetws-ENV): Remove variable.
51130 (tst-ungetwc1-ENV): Likewise.
51131 (tst-ungetwc2-ENV): Likewise.
51132 (bug-ungetwc2-ENV): Likewise.
51133 (tst-swscanf-ENV): Likewise.
51134 (bug-ftell-ENV): Likewise.
51135 (tst-fgetwc-ENV): Likewise.
51136 (tst-fseek-ENV): Likewise.
51137 (tst-ftell-partial-wide-ENV): Likewise.
51138 (tst-ftell-active-handler-ENV): Likewise.
51139 (tst-ftell-append-ENV): Likewise.
51140 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51141 (tst-regexloc-ENV): Likewise.
51142 (bug-regex1-ENV): Likewise.
51143 (tst-regex-ENV): Likewise.
51144 (tst-regex2-ENV): Likewise.
51145 (bug-regex5-ENV): Likewise.
51146 (bug-regex6-ENV): Likewise.
51147 (bug-regex17-ENV): Likewise.
51148 (bug-regex18-ENV): Likewise.
51149 (bug-regex19-ENV): Likewise.
51150 (bug-regex20-ENV): Likewise.
51151 (bug-regex22-ENV): Likewise.
51152 (bug-regex23-ENV): Likewise.
51153 (bug-regex25-ENV): Likewise.
51154 (bug-regex26-ENV): Likewise.
51155 (bug-regex30-ENV): Likewise.
51156 (bug-regex32-ENV): Likewise.
51157 (bug-regex33-ENV): Likewise.
51158 (bug-regex34-ENV): Likewise.
51159 (bug-regex35-ENV): Likewise.
51160 (tst-rxspencer-ENV): Likewise.
51161 (tst-rxspencer-no-utf8-ENV): Likewise.
51162 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51163 (tst-sscanf-ENV): Likewise.
51164 (tst-swprintf-ENV): Likewise.
51165 (tst-swscanf-ENV): Likewise.
51166 (test-vfprintf-ENV): Likewise.
51167 (scanf13-ENV): Likewise.
51168 (bug14-ENV): Likewise.
51169 (tst-grouping-ENV): Likewise.
51170 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51171 (tst-strtod3-ENV): Likewise.
51172 (tst-strtod4-ENV): Likewise.
51173 (tst-strtod5-ENV): Likewise.
51174 (testmb2-ENV): Likewise./
51175 * string/Makefile (tst-strxfrm-ENV): Likewise.
51176 (tst-strxfrm2-ENV): Likewise.
51177 (bug-strcoll1-ENV): Likewise.
51178 (test-strcasecmp-ENV): Likewise.
51179 (test-strncasecmp-ENV): Likewise.
51180 * time/Makefile (tst-strptime-ENV): Likewise.
51181 (tst-ftime_l-ENV): Likewise.
51182 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51183 (tst-mbrtowc-ENV): Likewise.
51184 (tst-wcrtomb-ENV): Likewise.
51185 (tst-mbrtowc2-ENV): Likewise.
51186 (tst-c16c32-1-ENV): Likewise.
51187 (tst-mbsnrtowcs-ENV): Likewise.
51188
51189 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51190
51191 * manual/resource.texi (How to get information about the memory
51192 subsystem?): Fix typo.
51193 Reported by Peon de la Parra Ivan <peon@keba.com>
51194
51195 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51196
51197 [BZ #16882]
51198 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51199 (pthread_spin_lock): Branch out of spin loop to proper location.
51200 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51201 (pthread_spin_lock): Likewise.
51202
51203 * nptl/tst-spin4.c: New test.
51204 * nptl/Makefile (tests): Add tst-spin4.
51205
51206 2014-06-03 Andreas Schwab <schwab@suse.de>
51207
51208 [BZ #15946]
51209 * resolv/res_send.c (send_dg): Reload file descriptor after
51210 calling reopen.
51211
51212 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51213
51214 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51215
51216 2014-06-03 Richard Henderson <rth@redhat.com>
51217
51218 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51219 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51220 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51221 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51222 in the SAVE_PID block.
51223 (__libc_vfork): New alias.
51224 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51225
51226 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51227 child in registers, not on the stack. Remove RESET_PID conditionals.
51228 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51229
51230 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51231
51232 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51233
51234 2014-06-03 Wilco <wdijkstr@arm.com>
51235
51236 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51237 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51238 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51239 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51240 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51241 Likewise.
51242
51243 2014-06-03 Wilco <wdijkstr@arm.com>
51244
51245 * sysdeps/aarch64/fpu/math_private.h
51246 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51247 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51248 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51249 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51250 Fix declarations.
51251
51252 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51253
51254 * crypt/crypt-private.h: Include ufc-crypt.h.
51255 (__b64_from_24bit): Declare extern.
51256 * crypt/crypt_util.c(__b64_from_24bit): New function.
51257 (b64t): New static const variable.
51258 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51259 (b64t): Remove variable.
51260 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51261 * crypt/sha256-crypt.c: Include crypt-private.h.
51262 (b64t): Remove variable.
51263 (__sha256_crypt_r): Remove b64_from_24bit and replace
51264 with __b64_from_24bit.
51265 * crypt/sha512-crypt.c: Likewise.
51266
51267 2014-06-02 Roland McGrath <roland@hack.frob.com>
51268
51269 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51270 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51271 Label the code __libc_vfork rather than __vfork.
51272 [!NOT_IN_libc] (vfork): Define as weak alias.
51273 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51274 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51275 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51276
51277 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51278
51279 * malloc/malloc.c (malloc_info): Fix format specifier for
51280 n_mmaps.
51281
51282 2014-06-02 Wilco <wdijkstr@arm.com>
51283
51284 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51285 FPCR write.
51286
51287 2014-06-02 Wilco <wdijkstr@arm.com>
51288
51289 [BZ #17009]
51290 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51291 Rewrite to reduce FPCR/FPSR accesses.
51292
51293 2014-06-01 David S. Miller <davem@davemloft.net>
51294
51295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51296
51297 2014-05-31 David S. Miller <davem@davemloft.net>
51298
51299 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51300 to occur in round to nearest mode when |x| >= 2.0
51301
51302 2014-05-30 Richard Henderson <rth@twiddle.net>
51303
51304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51305 (PSEUDO_RET_NOERRNO): Remove.
51306 (ret): Don't redefine.
51307 (ret_NOERRNO): Define in terms of ret.
51308 (ret_ERRVAL): Likewise.
51309
51310 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51311 use of PSEUDO_RET; perform the error check directly.
51312
51313 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51314
51315 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51316 with __int128_t.
51317
51318 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51319
51320 * malloc/malloc (malloc_info): Fix formatting.
51321
51322 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51323 Roland McGrath <roland@hack.frob.com>
51324
51325 * malloc/malloc (malloc_info): Also print mmapped statistics.
51326
51327 2014-05-30 Roland McGrath <roland@hack.frob.com>
51328
51329 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51330 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51331
51332 2014-05-30 Ondƙej Bílka <neleai@seznam.cz>
51333
51334 * malloc/malloc.c (malloc_info): Inline mi_arena.
51335
51336 2014-05-29 Richard Henderson <rth@twiddle.net>
51337
51338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51339 Remove comma before expanding ASM_ARGS_##nr.
51340 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51341 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51342 of ASM_ARGS_##nr.
51343 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51344 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51345 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51346 (ASM_ARGS_1): Add leading comma.
51347
51348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51349 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51350 to __errno_location.
51351 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51352 Remove the expected plt for __errno_location.
51353
51354 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51355 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51356 call to __read_tp.
51357
51358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51359 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51360 it and break it down.
51361 (DOCARGS_0, DOCARGS_1): Do nothing.
51362 (DOCARGS_2): Update to store into the new stack frame.
51363 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51364 (UNDOCARGS_1): Update to restore from the new stack frame.
51365 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51366 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51367
51368 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51369 (SINGLE_THREAD_P): New parameter for result regno.
51370 (PSEUDO): Update to match; use cbz instead of beq.
51371
51372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51373 Use ENTRY to define the _nocancel entry point. Share the syscall
51374 and syscall error check paths with the cancel path.
51375 (PSEUDO_END): New.
51376
51377 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51378 whitespace; tabs before and after asm mnemonics.
51379
51380 2014-05-29 Eric Wong <normalperson@yhbt.net>
51381
51382 [BZ #15132]
51383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51384 Call fstat64 or stat64 internally, depending on arguments passed.
51385 Replace stat buffer argument with file descriptor argument.
51386 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51387 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51388 Pass fd to __internal_statvfs instead of calling fstat64.
51389 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51390 Pass fd to __internal_statvfs64 instead of calling fstat64.
51391 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51392 Pass -1 to __internal_statvfs instead of calling stat64.
51393 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51394 Pass -1 to __internal_statvfs64 instead of calling stat64.
51395
51396 2014-05-28 Roland McGrath <roland@hack.frob.com>
51397
51398 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51399 that was previously under [RESET_PID].
51400 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51401
51402 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51403 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51404
51405 2014-05-27 Roland McGrath <roland@hack.frob.com>
51406
51407 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51408
51409 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51410 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51411
51412 2014-05-27 Ondƙej Bílka <neleai@seznam.cz>
51413
51414 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51415
51416 2014-05-27 Andreas Schwab <schwab@suse.de>
51417
51418 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51419 TLS_INIT_TP macro.
51420 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51421 * elf/rtld.c (init_tls, dl_main): Likewise.
51422 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51423 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51424 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51425 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51426 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51427 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51428 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51429 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51430 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51431 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51432 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51433 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51434 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51435 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51436 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51437 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51438 * sysdeps/generic/tls.h: Update description.
51439
51440 2014-05-27 Will Newton <will.newton@linaro.org>
51441
51442 [BZ #16990]
51443 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51444 and restore r2 rather than just restoring.
51445
51446 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51447
51448 [BZ #16724]
51449 * libio/tst-ftell-append.c: New test case.
51450 * libio/Makefile (tests): Add test case.
51451 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51452 append mode.
51453 * libio/wfileops.c (do_ftell_wide): Likewise.
51454
51455 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51456
51457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51458
51459 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51460 ...
51461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51463 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51464 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51465 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51466 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51467 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51470 Moved ...
51471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51473 Moved ...
51474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51475 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51476 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51477 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51478 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51479 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51480 ...
51481 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51482 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51483 Moved ...
51484 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51485 here.
51486 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51487 ...
51488 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51489 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51490 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51491
51492 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51493 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51494 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51495 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51496
51497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51498 merge into ...
51499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51501 ...
51502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51504 ...
51505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51507 Moved ...
51508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51509 here.
51510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51511 Moved ...
51512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51514 Moved ...
51515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51516
51517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51518 conditional [RESET_PID].
51519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51521 removed.
51522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51523 removed.
51524
51525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51526 <tcb-offsets.h>.
51527 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51528 (__libc_vfork): New strong alias.
51529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51530 removed.
51531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51532 Removed.
51533
51534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51535 <tcb-offsets.h>.
51536 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51537 (__libc_vfork): New strong alias.
51538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51539 removed.
51540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51541 removed.
51542
51543 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51544
51545 * malloc/malloc.c (mi_arena): New function.
51546 (malloc_info): Remove nested function mi_arena. Call non-nosted
51547 function mi_arena.
51548
51549 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51550
51551 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51552 by insrwi.
51553 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51554 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51555 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51556 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51558 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51560
51561 2014-05-26 Andreas Schwab <schwab@suse.de>
51562
51563 [BZ #16984]
51564 * locale/programs/repertoire.c (repertoire_read): Add slash
51565 between I18NPATH element and file name.
51566 * locale/programs/locfile.c (locfile_read): Likewise.
51567
51568 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51569
51570 * nptl/pthread_mutexattr_settype.c
51571 (__pthread_mutexattr_settype):
51572 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51573
51574 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51575
51576 * nptl/tst-mutex5 (do_test):
51577 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51578
51579 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51580
51581 * benchtests/README: Document 'init' directive.
51582 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51583 BENCH_INIT.
51584 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51585 (parse_file): Recognize 'init' directive.
51586
51587 2014-05-26 Kyle McMartin <kyle@redhat.com>
51588
51589 [BZ #16796]
51590 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51591 alignment of struct pthread.
51592
51593 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51594
51595 [BZ #16878]
51596 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51597 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51598 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51599 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51600
51601 2014-05-25 Richard Henderson <rth@twiddle.net>
51602
51603 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51604 (SINGLE_THREAD_P_PIC): Remove.
51605 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51606 (SINGLE_THREAD_P_PIC): Remove.
51607
51608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51609 branch to syscall error ...
51610 (PSEUDO): ... here.
51611 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51612 from __local_syscall_error to .Lsyscall_error.
51613 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51614 (SYSCALL_ERROR): Update label name.
51615
51616 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51617 Do not use DOARGS/UNDOARGS.
51618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51619 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51620 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51621 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51622 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51623
51624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51625 block comment.
51626
51627 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51628 define if !NOT_IN_libc.
51629 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51630 define with non-default symbol versions.
51631
51632 2014-05-23 Richard Henderson <rth@twiddle.net>
51633
51634 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51635 (vfork, __vfork): Define via compat_symbol.
51636
51637 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51638 [!HAVE_IFUNC] (vfork_compat): Remove.
51639 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51640
51641 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51642
51643 [BZ #16978]
51644 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51645 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51646 variable.
51647
51648 2014-05-23 Richard Henderson <rth@twiddle.net>
51649
51650 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51651 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51652 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51653 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51654
51655 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51656 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51657 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51658 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51659 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51660 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51662 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51663 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51664 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51665 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51666 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51667 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51668 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51669 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51670 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51671 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51672 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51673 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51674 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51675 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51676 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51677 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51678 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51679 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51680 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51681 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51682 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51683 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51684 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51685 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51686 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51687 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51688 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51689 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51690 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51691 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51692 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51693 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51694 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51695 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51696 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51697 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51698 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51699 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51700 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51701 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51702 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51703 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51704 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51705 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51706 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51708 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51710 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51711
51712 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51713 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51714 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51715 before exiting on error.
51716 (__libc_vfork): New strong alias.
51717 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51718 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51719
51720 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51721 that was previously under [RESET_PID].
51722 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51723
51724 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51725
51726 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51727
51728 [BZ #16977]
51729 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51730 value when x - 1 is zero.
51731 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51732 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51733 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51734 0.0L for an argument of 1.0L.
51735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51736 Likewise.
51737 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51738 value when x - 1 is zero.
51739 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51740 * sysdeps/i386/fpu/libm-test-ulps: Update.
51741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51742
51743 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51744
51745 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51746 alphasort and versionsort.
51747
51748 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51749
51750 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51751 macro.
51752 [copysignf]: Likewise.
51753
51754 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51755
51756 * crypt/md5-crypt.c: Fix formatting.
51757
51758 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51759
51760 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51761 (b64_from_24bit): New function.
51762
51763 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51764
51765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51766 libc_hidden_builtin_def to ifunc.
51767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51768 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51769
51770 2014-05-21 Roland McGrath <roland@hack.frob.com>
51771
51772 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51773 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51774
51775 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51776
51777 * nscd/Depend (linuxthreads): Remove.
51778 (nptl): Add.
51779 * resolv/Depend (linuxthreads): Remove.
51780 * rt/Depend (linuxthreads): Remove.
51781
51782 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51783 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51784 $(common-objpfx)elf/.
51785 (link-libc-before-gnulib): Likewise.
51786 (elfobjdir): Remove variable.
51787 * Makefile (install): Use $(elf-objpfx) instead of
51788 $(common-objpfx)elf/.
51789 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51790 $(elfobjdir)/.
51791 (link-libc-deps): Likewise.
51792 ($(common-objpfx)libc.so): Likewise.
51793 ($(common-objpfx)linkobj/libc.so): Likewise.
51794 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51795 instead of $(common-objpfx)elf/.
51796 (symbolic-link-list): Likewise.
51797 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51798 [$(cross-compiling) = no]: Likewise.
51799 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51800 $(elfobjdir)/.
51801 (static-gnulib-arch): Likewise.
51802 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51803 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51804 $(common-objpfx)elf/.
51805
51806 2014-05-21 Richard Henderson <rth@redhat.com>
51807
51808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51809 (SINGLE_THREAD_P): Use the correct width load. Fold
51810 into the ldr offset.
51811
51812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51813 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51814
51815 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51816
51817 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51818 (libgcc_s_resume): Use __attribute_used__.
51819 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51820 Likewise.
51821
51822 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51823
51824 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51825 optimization when used with float constants.
51826
51827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51828
51829 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51830
51831 [BZ #16915]
51832 * locale/nl_langinfo_l.c: Make direct reference to every
51833 _nl_current_CATEGORY symbol.
51834 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51835 (tests-static): Add tst-langinfo-static.
51836 (tests-special): Add tst-langinfo-static.out.
51837 ($(objpfx)tst-langinfo.out): Redirect output.
51838 ($(objpfx)tst-langinfo-static.out): New.
51839 * localedata/tst-langinfo.sh: Send output to stdout.
51840 * localedata/tst-langinfo-static.c: New file.
51841
51842 [BZ #16965]
51843 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51844 when the shift amount is modulo the limb size.
51845
51846 2014-05-20 Richard Henderson <rth@redhat.com>
51847
51848 [BZ #16967]
51849 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51850 Change type of sa_flags from unsigned int to int.
51851
51852 [BZ #16966]
51853 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51854
51855 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51856
51857 2014-05-20 Will Newton <will.newton@linaro.org>
51858
51859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51860 Test the return value of the system call in the nocancel case.
51861
51862 2014-05-20 Will Newton <will.newton@linaro.org>
51863 Yvan Roux <yvan.roux@linaro.org>
51864
51865 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51866 #include of asm/ptrace.h.
51867 (PTRACE_GET_THREAD_AREA): Remove #undef.
51868 (PTRACE_GETHBPREGS): Likewise.
51869 (PTRACE_SETHBPREGS): Likewise.
51870 (struct user_regs_struct): New structure.
51871 (struct user_fpsimd_struct): New structure.
51872 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51873 #include of asm/ptrace.h and second #include of sys/user.h.
51874 (PTRACE_GET_THREAD_AREA): Remove #undef.
51875 (PTRACE_GETHBPREGS): Likewise.
51876 (PTRACE_SETHBPREGS): Likewise.
51877 (ELF_NGREG): Use new struct user_regs_struct.
51878 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51879
51880 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51881
51882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51884
51885 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51886
51887 [BZ #16958]
51888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51889 membar to avoid block loads/stores to overlap previous stores.
51890
51891 2014-05-17 Richard Henderson <rth@redhat.com>
51892
51893 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51894 Create the __##syscall_name##_nocancel entry point.
51895 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51896 Remove; let the sysdep-cancel.h code create it.
51897
51898 2014-05-17 David S. Miller <davem@davemloft.net>
51899
51900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51901 Protect with __USE_GNU.
51902 (TIOCSET_TEMPT): Likewise.
51903 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51904 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51905 these are already provided in bits/ioctl-types.h
51906
51907 2014-05-16 Roland McGrath <roland@hack.frob.com>
51908
51909 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51910 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51911
51912 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51913 Use wait4 regardless of [__NR_waitpid].
51914
51915 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51916
51917 PR libgcc/60166
51918 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51919 (_FP_NANSIGN_Q): Set the quiet bit.
51920
51921 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51922
51923 * benchtests/Makefile
51924 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51925 not $(common-objpfx)math/libm.so.
51926 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51927 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51928 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51929 $(common-objpfx)dlfcn/libdl.so.
51930 ($(objpfx)tst-audit8): Depend on $(libm), not
51931 $(common-objpfx)math/libm.so.
51932 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51933 not $(common-objpfx)dlfcn/libdl.so.
51934 * math/Makefile
51935 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51936 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51937 [$(build-shared) = yes].
51938 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51939 $(common-objpfx)nptl/libpthread.so.
51940 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51941 $(common-objpfx)math/libm.so$(libm.so-version) or
51942 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51943 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51944 $(common-objpfx)dlfcn/libdl.so.
51945 * setjmp/Makefile (link-libm): Remove variable.
51946 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51947 * stdio-common/Makefile (link-libm): Remove variable.
51948 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51949 * stdlib/Makefile (link-libm): Remove variable.
51950 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51951 ($(objpfx)tst-strtod-round): Likewise.
51952 ($(objpfx)tst-tininess): Likewise.
51953 ($(objpfx)tst-strtod-underflow): Likewise.
51954 ($(objpfx)tst-strtod6): Likewise.
51955 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51956 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51957 $(common-objpfx)dlfcn/libdl.so.
51958
51959 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51960
51961 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51962 BSD terminal modes definitions.
51963
51964 2014-05-16 Roland McGrath <roland@hack.frob.com>
51965
51966 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51967 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51968
51969 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51970 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51971 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51972 Don't do #include_next.
51973 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51974 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51975 Don't do #include_next.
51976 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51977 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51978 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51979 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51980
51981 2014-05-16 Allan McRae <allan@archlinux.org>
51982
51983 * po/sv.po: Update Swedish translation from translation project.
51984
51985 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51986 in sed expression.
51987
51988 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51989
51990 [BZ #16917]
51991 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51992 errno if the TIOCGPTN ioctl fails with an error different than
51993 EINVAL.
51994 * login/tst-ptsname.c: New file.
51995 * login/Makefile (tests): Add tst-ptsname.
51996
51997 [BZ #16943]
51998 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51999 and prlimit64.
52000
52001 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52002
52003 [BZ #16849]
52004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52005 herrno to return EAI_AGAIN.
52006
52007 2014-05-14 Roland McGrath <roland@hack.frob.com>
52008
52009 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52010 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52011 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52012 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52013 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52014 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52015 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52016 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52018 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52019 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52020 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52021 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52022 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52023 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52024 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52025 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52026 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52028 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52029 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52030 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52031 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52032 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52033 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52034 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52035 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52036 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52037 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52038 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52040 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52042 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52044 Moved ...
52045 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52047 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52049 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52051 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52053 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52055 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52057 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52059 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52061 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52063 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52065 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52067 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52069 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52071 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52073 Moved ...
52074 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52076 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52080 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52082 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52086 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52088 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52090 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52092 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52094 Moved ...
52095 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52097 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52098
52099 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52100 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52101 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52102 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52103 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52104 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52105 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52106 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52107 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52108 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52109 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52110 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52111 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52112 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52113 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52114 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52115 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52116 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52117 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52118 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52119 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52120 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52121 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52122 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52123 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52124 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52125 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52126 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52127 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52128 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52129 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52130
52131 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52132 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52133
52134 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52135 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52136 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52137 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52138 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52140 Moved ...
52141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52143 Moved ...
52144 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52146 Moved ...
52147 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52148 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52149 Moved ...
52150 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52151 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52152 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52153 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52154 Moved ...
52155 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52156 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52157 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52158 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52159 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52160 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52161 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52162 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52163 Moved ...
52164 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52166 Moved ...
52167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52168 ... here.
52169 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52170 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52172 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52174 Moved ...
52175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52176 ... here.
52177 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52178 Moved ...
52179 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52180 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52181 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52182 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52183 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52185 Moved ...
52186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52188 Moved ...
52189 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52191 Moved ...
52192 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52193 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52194 Moved ...
52195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52196 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52197 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52198 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52199 Moved ...
52200 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52201 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52202 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52203 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52204 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52205 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52206 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52207 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52208 Moved ...
52209 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52211 Moved ...
52212 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52213 ... here.
52214 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52215 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52217 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52219 Moved ...
52220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52221 ... here.
52222 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52223 Moved ...
52224 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52225 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52226 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52227 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52228 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52229 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52230 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52231 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52232 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52233 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52234 Moved ...
52235 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52237 Moved ...
52238 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52240 Moved ...
52241 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52243 Moved ...
52244 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52245 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52246 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52247 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52248 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52249 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52250 Moved ...
52251 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52252 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52253 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52255 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52256 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52257 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52259 Moved ...
52260 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52262 Moved ...
52263 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52264 ... here.
52265 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52266 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52267 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52268 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52270 Moved ...
52271 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52272 ... here.
52273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52274 Moved ...
52275 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52276 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52277 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52278 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52279 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52280 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52281 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52282 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52283 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52284 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52285 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52286
52287 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52288 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52289
52290 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52291 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52292
52293 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52294 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52295 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52296 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52297 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52298 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52299 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52300 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52301 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52302 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52304 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52306 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52307 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52309 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52311 Moved ...
52312 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52316 Moved ...
52317 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52318 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52319 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52321 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52325 Moved ...
52326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52328 Moved ...
52329 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52331 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52332 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52335 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52336 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52337 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52338 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52339 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52340 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52341 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52342 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52343 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52344 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52345 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52346
52347 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52348 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52349 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52350 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52351 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52352
52353 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52354 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52356 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52357 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52358 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52359 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52360 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52361 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52362 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52363
52364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52366
52367 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52368 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52369 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52370 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52371 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52372 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52373 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52374 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52375 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52376 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52377 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52378 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52379 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52380 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52382 Update #include.
52383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52384 Likewise.
52385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52386 Likewise.
52387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52388 Likewise.
52389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52390 Likewise.
52391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52392 Likewise.
52393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52394 Likewise.
52395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52396 Likewise.
52397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52398 Likewise.
52399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52400 Likewise.
52401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52416
52417 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52418 that was previously under [RESET_PID].
52419 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52420 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52421 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52422
52423 * sysdeps/i386/nptl/Implies: New file.
52424 * sysdeps/x86_64/nptl/Implies: New file.
52425 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52426 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52427 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52428 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52429
52430 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52431 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52432 (__libc_vfork): New strong alias.
52433 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52434 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52435
52436 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52437 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52438 (__libc_vfork): New strong alias.
52439 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52440 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52441
52442 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52443 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52444 (__libc_vfork): New strong alias.
52445 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52446 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52447 * nptl/pt-vfork.c: New file.
52448 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52449 (libpthread: GLIBC_2.20): New version set (empty).
52450
52451 2014-05-14 Will Newton <will.newton@linaro.org>
52452
52453 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52454 rather than #if.
52455
52456 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52457
52458 [BZ #16564]
52459 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52460 arguments with exponent 65 or above.
52461 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52462 arguments 0x1p113L or above.
52463 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52464 to arguments 0x1p107L or above.
52465 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52466 positive arguments with exponent 65 or above.
52467 * math/auto-libm-test-in: Add more tests of log1p.
52468 * math/auto-libm-test-out: Regenerated.
52469
52470 [BZ #16928]
52471 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52472 non-finite arguments is +0.
52473 * math/s_cacosf.c (__cacosf): Likewise.
52474 * math/s_cacosl.c (__cacosl): Likewise.
52475 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52476 * sysdeps/i386/fpu/libm-test-ulps: Update.
52477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52478
52479 [BZ #16927]
52480 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52481 value.
52482 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52483 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52484 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52485 for explicit high bit of mantissa when testing for argument equal
52486 to 1.
52487 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52488 * sysdeps/i386/fpu/libm-test-ulps: Update.
52489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52490
52491 [BZ #16516]
52492 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52493 (__erf): Scale by 16 instead of 8 in potentially underflowing
52494 case. Ensure exception if result actually underflows.
52495 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52496 (__erff): Scale by 16 instead of 8 in potentially underflowing
52497 case. Ensure exception if result actually underflows.
52498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52499 (efx8): Remove variable.
52500 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52501 case. Ensure exception if result actually underflows.
52502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52503 (efx8): Remove variable.
52504 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52505 case. Ensure exception if result actually underflows.
52506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52507 (efx8): Remove variable.
52508 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52509 case. Ensure exception if result actually underflows.
52510 * math/auto-libm-test-in: Add more tests of erf.
52511 * math/auto-libm-test-out: Regenerated.
52512
52513 2014-05-14 Andreas Schwab <schwab@suse.de>
52514
52515 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52516 Remove code conditionalized on USE___THREAD.
52517
52518 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52519 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52520 not definedness.
52521
52522 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52523
52524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52525 Define unconditionally.
52526 (__ASSUME_O_CLOEXEC): Likewise.
52527 (__ASSUME_SOCK_CLOEXEC): Likewise.
52528 (__ASSUME_IN_NONBLOCK): Likewise.
52529 (__ASSUME_PIPE2): Likewise.
52530 (__ASSUME_EVENTFD2): Likewise.
52531 (__ASSUME_SIGNALFD4): Likewise.
52532 (__ASSUME_DUP3): Likewise.
52533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52534 (__ASSUME_DUP3): Do not define.
52535 (__ASSUME_EVENTFD2): Likewise.
52536 (__ASSUME_IN_NONBLOCK): Likewise.
52537 (__ASSUME_O_CLOEXEC): Likewise.
52538 (__ASSUME_PIPE2): Likewise.
52539 (__ASSUME_SIGNALFD4): Likewise.
52540 (__ASSUME_SOCK_CLOEXEC): Likewise.
52541 (__ASSUME_UTIMES): Undefine.
52542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52543 (__ASSUME_UTIMES): Do not define.
52544 (__ASSUME_O_CLOEXEC): Likewise.
52545 (__ASSUME_SOCK_CLOEXEC): Likewise.
52546 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52547 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52548 0x020621].
52549 (__ASSUME_PIPE2): Likewise.
52550 (__ASSUME_EVENTFD2): Likewise.
52551 (__ASSUME_SIGNALFD4): Likewise.
52552 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52553 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52554 Do not define.
52555 (__ASSUME_EVENTFD2): Likewise.
52556 (__ASSUME_SIGNALFD4): Likewise.
52557 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52558 (__ASSUME_32BITUIDS): Likewise.
52559 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52560 (__ASSUME_IPC64): Likewise.
52561 (__ASSUME_ST_INO_64_BIT): Likewise.
52562 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52563 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52564 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52565 (__ASSUME_UTIMES): Do not define.
52566 (__ASSUME_PSELECT): Likewise.
52567 (__ASSUME_PPOLL): Likewise.
52568 (__ASSUME_O_CLOEXEC): Likewise.
52569 (__ASSUME_SOCK_CLOEXEC): Likewise.
52570 (__ASSUME_IN_NONBLOCK): Likewise.
52571 (__ASSUME_PIPE2): Likewise.
52572 (__ASSUME_EVENTFD2): Likewise.
52573 (__ASSUME_SIGNALFD4): Likewise.
52574 (__ASSUME_DUP3): Likewise.
52575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52576 (__ASSUME_UTIMES): Likewise.
52577 (__ASSUME_O_CLOEXEC): Likewise.
52578 (__ASSUME_SOCK_CLOEXEC): Likewise.
52579 (__ASSUME_IN_NONBLOCK): Likewise.
52580 (__ASSUME_PIPE2): Likewise.
52581 (__ASSUME_EVENTFD2): Likewise.
52582 (__ASSUME_SIGNALFD4): Likewise.
52583 (__ASSUME_DUP3): Likewise.
52584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52585 (__ASSUME_UTIMES): Likewise.
52586 (__ASSUME_O_CLOEXEC): Likewise.
52587 (__ASSUME_SOCK_CLOEXEC): Likewise.
52588 (__ASSUME_IN_NONBLOCK): Likewise.
52589 (__ASSUME_PIPE2): Likewise.
52590 (__ASSUME_EVENTFD2): Likewise.
52591 (__ASSUME_SIGNALFD4): Likewise.
52592 (__ASSUME_DUP3): Likewise.
52593 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52594 Likewise.
52595 (__ASSUME_UTIMES): Likewise.
52596 (__ASSUME_EVENTFD2): Likewise.
52597 (__ASSUME_SIGNALFD4): Likewise.
52598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52599 (__ASSUME_O_CLOEXEC): Likewise.
52600 (__ASSUME_SOCK_CLOEXEC): Likewise.
52601 (__ASSUME_IN_NONBLOCK): Likewise.
52602 (__ASSUME_PIPE2): Likewise.
52603 (__ASSUME_EVENTFD2): Likewise.
52604 (__ASSUME_SIGNALFD4): Likewise.
52605 (__ASSUME_DUP3): Likewise.
52606 (__ASSUME_UTIMES): Undefine.
52607
52608 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52609 feclearexcept. Remove symbol versioning code.
52610 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52611 symbol versioning code.
52612 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52613 symbol versioning code.
52614 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52615 feupdateenv. Remove symbol versioning code.
52616 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52617 fegetexceptflag. Remove symbol versioning code.
52618 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52619 fesetexceptflag. Remove symbol versioning code.
52620 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52621 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52622 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52623 (__posix_fadvise64_l32): Remove prototype.
52624 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52625 code.
52626
52627 2014-05-13 Roland McGrath <roland@hack.frob.com>
52628
52629 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52630 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52631 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52632 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52633
52634 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52635
52636 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52637 current working directory
52638
52639 2014-05-13 Roland McGrath <roland@hack.frob.com>
52640
52641 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52642 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52643 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52644 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52645 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52646 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52647 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52648 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52649 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52650 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52651 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52652 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52653 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52654 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52655 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52656 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52657 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52658 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52659 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52660 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52661 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52662 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52663 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52664 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52665 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52666 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52667 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52668 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52669 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52670 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52671 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52672 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52673 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52674 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52675 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52676 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52677 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52678 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52679 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52680 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52681 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52682 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52683
52684 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52685 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52686
52687 * sysdeps/unix/sysv/linux/arm/Makefile
52688 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52689 Add rt-aeabi_unwind_cpp_pr1.
52690 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52691 Add nptl-aeabi_unwind_cpp_pr1.
52692 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52693 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52694 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52695 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52696 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52697 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52698
52699 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52700 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52701 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52702 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52703
52704 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52705 Deconditionalize the code that was previously under [RESET_PID].
52706 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52707
52708 * sysdeps/generic/exit-thread.h: New file.
52709 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52710 * include/unistd.h (__exit_thread): Remove declaration.
52711 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52712 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52713 * csu/libc-start.c: Include <exit-thread.h>.
52714 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52715 * nptl/pthread_create.c: Include <exit-thread.h>.
52716 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52717 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52718 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52719 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52720 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52721 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52722 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52723 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52724 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52725 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52726 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52727 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52728 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52729 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52730 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52731 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52732 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52733
52734 2014-05-13 Andreas Schwab <schwab@suse.de>
52735
52736 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52737
52738 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52739
52740 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52741 (__ASSUME_UTIMES): Do not condition on kernel version.
52742 (__ASSUME_PSELECT): Define unconditionally.
52743 (__ASSUME_PPOLL): Likewise.
52744 (__ASSUME_ATFCTS): Likewise.
52745 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52746 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52747 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52748 (__ASSUME_UTIMENSAT): Define unconditionally.
52749 (__ASSUME_PRIVATE_FUTEX): Likewise.
52750 (__ASSUME_FALLOCATE): Likewise.
52751 (__ASSUME_O_CLOEXEC): Likewise.
52752 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52753 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52754 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52755 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52756 (__ASSUME_IN_NONBLOCK): Likewise.
52757 (__ASSUME_PIPE2): Likewise.
52758 (__ASSUME_EVENTFD2): Likewise.
52759 (__ASSUME_SIGNALFD4): Likewise.
52760 (__ASSUME_DUP3): Likewise.
52761 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52762 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52763 (__ASSUME_AT_RANDOM): Likewise.
52764 (__ASSUME_PREADV): Likewise.
52765 (__ASSUME_PWRITEV): Likewise.
52766 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52767 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52768 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52769 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52770 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52772 (__ASSUME_O_CLOEXEC): Define unconditionally.
52773 (__ASSUME_PSELECT): Do not undefine conditionally.
52774 (__ASSUME_PPOLL): Likewise.
52775 (__ASSUME_ATFCTS): Likewise.
52776 (__ASSUME_SET_ROBUST_LIST): Likewise.
52777 (__ASSUME_UTIMENSAT): Likewise.
52778 (__ASSUME_FDATASYNC): Define unconditionally.
52779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52780 (__ASSUME_SIGFRAME_V2): Likewise.
52781 )__ASSUME_EVENTFD2): Likewise.
52782 (__ASSUME_SIGNALFD4): Likewise.
52783 (__ASSUME_PSELECT): Do not undefine conditionally.
52784 (__ASSUME_PPOLL): Likewise.
52785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52786 (__ASSUME_PSELECT): Define unconditionally.
52787 (__ASSUME_PPOLL): Likewise.
52788 (__ASSUME_O_CLOEXEC): Likewise.
52789 (__ASSUME_SOCK_CLOEXEC): Likewise.
52790 (__ASSUME_IN_NONBLOCK): Likewise.
52791 (__ASSUME_PIPE2): Likewise.
52792 (__ASSUME_EVENTFD2): Likewise.
52793 (__ASSUME_SIGNALFD4): Likewise.
52794 (__ASSUME_DUP3): Likewise.
52795 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52796 (__ASSUME_O_CLOEXEC): Likewise.
52797 (__ASSUME_SOCK_CLOEXEC): Likewise.
52798 (__ASSUME_IN_NONBLOCK): Likewise.
52799 (__ASSUME_PIPE2): Likewise.
52800 (__ASSUME_EVENTFD2): Likewise.
52801 (__ASSUME_SIGNALFD4): Likewise.
52802 (__ASSUME_DUP3): Likewise.
52803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52804 (__ASSUME_EVENTFD2): Likewise.
52805 (__ASSUME_SIGNALFD4): Likewise.
52806 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52807
52808 2014-05-12 Andreas Schwab <schwab@suse.de>
52809
52810 [BZ #16932]
52811 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52812 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52813 than maximum RPC packet size.
52814 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52815 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52816 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52817 (_nss_nis_getservbyport_r): Likewise.
52818
52819 2014-05-12 Will Newton <will.newton@linaro.org>
52820
52821 * malloc/Makefile (tests): Add tst-mallopt.
52822 * malloc/tst-mallopt.c: New file.
52823
52824 2014-05-09 Roland McGrath <roland@hack.frob.com>
52825
52826 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52827 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52828
52829 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52830
52831 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52832 (tst-tlsmod6.so): Likewise.
52833
52834 2014-05-09 Roland McGrath <roland@hack.frob.com>
52835
52836 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52837
52838 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52839
52840 [BZ #16064]
52841 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52842 and <dl-procinfo.h>.
52843 (__fegetenv): Save SSE state in envp->__eip if supported.
52844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52845 envp->__eip if supported.
52846 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52847 and <dl-procinfo.h>.
52848 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52849 __data_offset and __data_selector in environment to 0. Set SSE
52850 state if supported.
52851 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52852 test-fenv-sse.
52853 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52854 -mfpmath=sse.
52855 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52856
52857 2014-05-09 Will Newton <will.newton@linaro.org>
52858
52859 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52860 and libc_relro_required for ARM.
52861 * sysdeps/arm/preconfigure: Regenerate.
52862
52863 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52864 Stefan Liebler <stli@linux.vnet.ibm.com>
52865
52866 * config.make.in (enable-lock-elision): New Makefile variable.
52867 * configure.ac: Likewise.
52868 * configure: Regenerate.
52869 * sysdeps/s390/configure.ac:
52870 Add check for gcc transactions support.
52871 * sysdeps/s390/configure: Regenerate.
52872 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52873 Build elision files if enabled.
52874 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52875 Add lock elision support for s390.
52876 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52877 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52878 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52879 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52880 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52881 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52882 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52883 Likewise.
52884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52885 Likewise.
52886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52887 Likewise.
52888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52889 Likewise.
52890 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52891 (__lll_timedlock_elision, __lll_lock_elision)
52892 (__lll_unlock_elision, __lll_trylock_elision)
52893 (lll_timedlock_elision, lll_lock_elision)
52894 (lll_unlock_elision, lll_trylock_elision): Add.
52895 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52896 (pthread_mutex_t): Add lock elision support for s390.
52897
52898 2014-05-14 Wilco <wdijkstr@arm.com>
52899
52900 * sysdeps/arm/fclrexcpt.c: Cleanup.
52901 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52902 * sysdeps/arm/feenablxcpt.c: Cleanup.
52903 * sysdeps/arm/fegetenv.c: Cleanup.
52904 * sysdeps/arm/fegetexcept.c: Cleanup.
52905 * sysdeps/arm/fegetround.c: Cleanup.
52906 * sysdeps/arm/feholdexcpt.c: Cleanup.
52907 * sysdeps/arm/fesetenv.c: Cleanup.
52908 * sysdeps/arm/fesetround.c: Cleanup.
52909 * sysdeps/arm/feupdateenv.c: Cleanup.
52910 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52911 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52912 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52913 * sysdeps/arm/ftestexcept.c: Cleanup.
52914 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52915 * sysdeps/arm/setfpucw.c: Cleanup.
52916
52917 2014-05-09 Will Newton <will.newton@linaro.org>
52918
52919 * sysdeps/arm/armv7/strcmp.S: New file.
52920 * NEWS: Mention addition of ARMv7 optimized strcmp.
52921
52922 2014-05-08 Roland McGrath <roland@hack.frob.com>
52923
52924 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52925 look for %.ac rather than %.in.
52926
52927 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52928 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52929 * sysdeps/mach/hurd/configure: Regenerated.
52930 * sysdeps/unix/sysv/linux/configure: Regenerated.
52931
52932 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52933
52934 2014-05-07 Steve Ellcey <sellcey@mips.com>
52935
52936 [BZ #16922]
52937 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52938 (LONG_SUB): Ditto.
52939 (PTR_SUB): Ditto.
52940
52941 2014-05-07 Andreas Schwab <schwab@suse.de>
52942
52943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52944 when skipping over non-matching result from nscd.
52945
52946 2014-05-07 Ondƙej Bílka <neleai@seznam.cz>
52947
52948 [BZ #16876]
52949 * nptl/sockperf.c (client): Check socket return value.
52950
52951 [BZ #16877]
52952 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52953 nscd security class.
52954
52955 2014-05-06 Roland McGrath <roland@hack.frob.com>
52956
52957 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52958 * sysdeps/arm/unwind.h: ... here.
52959
52960 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52961
52962 [BZ #16916]
52963 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52964 Define.
52965
52966 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52967
52968 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52969 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52970 multiarch strncpy for PPC64.
52971 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52974 multiarch optimizations.
52975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52976 (__libc_ifunc_impl_list): Likewise.
52977 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52978 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52979 multiarch stpncpy for PPC64.
52980 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52981 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52982
52983 2014-05-06 Andreas Schwab <schwab@suse.de>
52984
52985 [BZ #16912]
52986 * gmon/mcount.c (_MCOUNT_DECL): Use
52987 atomic_compare_and_exchange_bool_acq instead of
52988 catomic_compare_and_exchange_bool_acq.
52989
52990 2014-05-05 Roland McGrath <roland@hack.frob.com>
52991
52992 * elf/Makefile (others, install-bin): Remove pldd.
52993 (pldd-modules): Variable removed.
52994 ($(objpfx)pldd): Target removed.
52995 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52996 (others, install-bin): Append pldd here.
52997 ($(objpfx)pldd): New target.
52998
52999 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53000 to 0, so the first #if test emitted later doesn't see it undefined.
53001 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53002 * sysdeps/gnu/errlist.c: Regenerated.
53003
53004 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53005
53006 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53007 [libc_hidden_builtin_def]: Define to empty value.
53008 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53009 [libc_hidden_builtin_def]: Likewise.
53010 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53011 [libc_hidden_builtin_def]: Likewise.
53012 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53013 [libc_hidden_builtin_def]: Likewise.
53014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53015 __redirect_memcpy and define ifunc as default hidden symbol.
53016 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53017 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53018
53019 2014-05-04 Adam Conrad <adconrad@0c3.net>
53020
53021 * locale/iso-4217.def: Reintroduce XDR currency.
53022
53023 2014-05-04 Allan McRae <allan@archlinux.org>
53024
53025 * po/eo.po: Update Esperanto translation from translation project.
53026
53027 2014-05-02 Carlos O'Donell <carlos@redhat.com>
53028
53029 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53030 and FEATURE_INDEX_MAX to 1.
53031 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53032
53033 2014-05-01 Steve Ellcey <sellcey@mips.com>
53034
53035 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53036 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53037 * iconvdata/big5.c (ONE_DIRECTION): Define.
53038 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53039 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53040 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53041 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53042 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53043 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53044 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53045 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53046 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53047 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53048 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53049 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53050 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53051 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53052 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53053 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53054 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53055 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53056 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53057 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53058 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53059 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53060 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53061 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53062 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53063 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53064 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53065 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53066 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53067 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53068 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53069 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53070 * iconvdata/johab.c (ONE_DIRECTION): Define.
53071 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53072 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53073 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53074 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53075 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53076 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53077 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53078 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53079 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53080 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53081
53082 2014-05-01 Roland McGrath <roland@hack.frob.com>
53083
53084 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53085 (_IO_JUMPS_OFFSET): Define to 0.
53086
53087 * nptl/sysdeps/pthread/bits/libc-lock.h
53088 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53089 (__libc_lock_define_initialized_recursive): Always define using
53090 initializer. Modern compilers treat uninitialized (implicit zero) and
53091 explicit zero initializers the same (i.e. put the datum in bss).
53092
53093 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53094
53095 * nscd/nscd-client.h: Include <string.h>.
53096
53097 2014-05-01 David S. Miller <davem@davemloft.net>
53098
53099 [BZ #16885]
53100 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53101 multiple zero bytes exist at the end of a string.
53102 Reported by Aurelien Jarno <aurelien@aurel32.net>
53103
53104 * string/test-strcmp.c (check): Add explicit test for situations where
53105 there are multiple zero bytes after the first.
53106
53107 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53108
53109 [BZ #16890]
53110 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53111 when compiling wprintf.
53112 * stdio-common/tstdiomisc.c (t3): New function.
53113 (main): Call it.
53114
53115 2014-05-01 Steve Ellcey <sellcey@mips.com>
53116
53117 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53118 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53119 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53120 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53121
53122 2014-05-01 Steve Ellcey <sellcey@mips.com>
53123
53124 * stdlib/longlong.h: Updated from GCC.
53125
53126 2014-05-01 Will Newton <will.newton@linaro.org>
53127 Bernard Ogden <bernie.ogden@linaro.org>
53128
53129 * NEWS: Update fixed bug list.
53130
53131 [BZ #15119]
53132 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53133
53134 2014-04-30 David S. Miller <davem@davemloft.net>
53135
53136 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53137 (libc_feholdexcept_setround_sparc_ctx): New function.
53138 (libc_fesetenv_sparc_ctx): Likewise.
53139 (libc_feupdateenv_sparc_ctx): Likewise.
53140 (libc_feholdsetround_sparc_ctx): Likewise.
53141 (libc_feholdexcept_setround_ctx): Define.
53142 (libc_feholdexcept_setroundf_ctx): Likewise.
53143 (libc_feholdexcept_setroundl_ctx): Likewise.
53144 (libc_fesetenv_ctx): Likewise.
53145 (libc_fesetenvf_ctx): Likewise.
53146 (libc_fesetenvl_ctx): Likewise.
53147 (libc_feupdateenv_ctx): Likewise.
53148 (libc_feupdateenvf_ctx): Likewise.
53149 (libc_feupdateenvl_ctx): Likewise.
53150 (libc_feresetround_ctx): Likewise.
53151 (libc_feresetroundf_ctx): Likewise.
53152 (libc_feresetroundl_ctx): Likewise.
53153 (libc_feholdsetround_ctx): Likewise.
53154 (libc_feholdsetroundf_ctx): Likewise.
53155 (libc_feholdsetroundl_ctx): Likewise.
53156
53157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53158 with __USE_GNU instead of XOPEN cpp guards.
53159
53160 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53161 0.
53162
53163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53164 with XOPEN cpp guards.
53165
53166 2014-04-30 Julian Brown <julian@codesourcery.com>
53167
53168 [BZ #16888]
53169 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53170 handling.
53171
53172 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53173
53174 [BZ #9894]
53175 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53176 Change to 2.6.32.
53177 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53178 * sysdeps/unix/sysv/linux/configure: Regenerated.
53179 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53180 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53181 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53182 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53183 * README: Update reference to required Linux kernel version.
53184 * manual/install.texi (Linux): Update reference to required Linux
53185 kernel headers version.
53186 * INSTALL: Regenerated.
53187
53188 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53189 header inclusion.
53190 [POSIX] (limits.h): Likewise.
53191 [POSIX] (math.h): Likewise.
53192 [POSIX] (sys/wait.h): Likewise.
53193 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53194 function.
53195 [POSIX] (stddef.h): Do not allow header inclusion.
53196
53197 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53198
53199 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53200
53201 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53202
53203 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53204 Return immediately after lll_futex_wake.
53205
53206 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53207
53208 [BZ #16791]
53209 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53210 structure.
53211 (datahead_init_pos): Call datahead_init_common early.
53212 (datahead_init_neg): Likewise.
53213
53214 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53215 datahead_init_neg): New functions.
53216 * nscd/aicache.c (addhstaiX): Use them.
53217 * nscd/grpcache.c (cache_addgr): Likewise.
53218 * nscd/hstcache.c (cache_addhst): Likewise.
53219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53220 * nscd/netgroupcache.c (do_notfound): Likewise.
53221 (addgetnetgrentX): Likewise.
53222 (addinnetgrX): Likewise.
53223 * nscd/pwdcache.c (cache_addpw): Likewise.
53224 * nscd/servicescache.c (cache_addserv): Likewise.
53225
53226 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53227 Atsushi Onoe <atsushi@onoe.org>
53228
53229 [BZ #14308]
53230 [BZ #12994]
53231 [BZ #13651]
53232 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53233 one response is valid.
53234 * resolv/res_send.c (send_dg): Check for validity of other
53235 response if the current response is a referral.
53236
53237 2014-04-29 Steve Ellcey <sellcey@mips.com>
53238
53239 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53240
53241 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53242
53243 [BZ #16823]
53244 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53245 Always divide by positive zero when computing -Inf result.
53246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53247 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53248
53249 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53250
53251 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53252 FPSCR if value do not change.
53253 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53254 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53255 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53256 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53257 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53258 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53259 function.
53260
53261 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53262
53263 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53264 * sysdeps/unix/sysv/linux/hppa: Move directory from
53265 ports/systeps/unix/sysv/linux/hppa.
53266 * README: Update listing for hppa-*-linux-gnu.
53267
53268 2014-04-28 Ondƙej Bílka <neleai@seznam.cz>
53269
53270 [BZ #16754]
53271 * manual/stdio.texi (Hook functions): Fix types of stream hook
53272 functions.
53273 [BZ #16854]
53274 * socket/sys/socket.h: Fix typo in comment.
53275
53276 2014-04-28 Wilco <wdijkstr@arm.com>
53277
53278 * sysdeps/arm/fenv_private.h: New file.
53279 * sysdeps/arm/math_private.h: New file.
53280 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53281
53282 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53283
53284 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53285 with __int128_t.
53286 (La_x86_64_retval): Likewise.
53287
53288 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53289
53290 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53291 fpsr if value didn't change.
53292 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53293 to fpcr if value didn't change.
53294 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53295 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53296 fpsr or fpcr if value didn't change.
53297 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53298 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53299 fpcr if value didn't change.
53300 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53301 to fpsr if value didn't change.
53302
53303 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53304
53305 * nptl/tst-sem3.c: Use test-skeleton.c
53306 (main): Rename to do_test. Use return instead of
53307 exit.
53308 * nptl/tst-sem4.c: Use test-skeleton.c
53309 (main): Rename to do_test.
53310
53311 2014-04-22 David S. Miller <davem@davemloft.net>
53312
53313 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53314 (struct sigaction): New struct member __glibc_reserved0, change
53315 type of sa_flags to int.
53316
53317 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53318
53319 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53320 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53321
53322 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53323
53324 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53325 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53326
53327 2014-04-22 Will Newton <will.newton@linaro.org>
53328 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53329
53330 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53331 (__longjmp): Add longjmp and longjmp_target SystemTap
53332 probes.
53333 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53334 (__sigsetjmp): Add setjmp SystemTap probe.
53335
53336 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53337
53338 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53339 match manual order.
53340
53341 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53342
53343 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53344
53345 * sysdeps/powerpc/fpu/fenv_private.h
53346 (libc_feholdexcept_setroundl_ctx): Define to
53347 libc_feholdexcept_setround_ppc_ctx.
53348 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53349 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53350 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53351 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53352
53353 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53354
53355 * sysdeps/aarch64/math-tests.h: New file.
53356
53357 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53358
53359 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53360 New.
53361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53362 Check and set bit_AVX2_Usable.
53363 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53364 macro.
53365 (bit_AVX2): Likewise.
53366 (index_AVX2_Usable): Likewise.
53367 (CPUID_AVX2): Likewise.
53368 (HAS_AVX2): Likewise.
53369
53370 2014-04-17 Will Newton <will.newton@linaro.org>
53371
53372 * manual/setjmp.texi (System V contexts): Add note that
53373 calling setcontext on a context created by a call to a
53374 signal handler is undefined. Update text to note that
53375 setcontext from a signal handler is possible but not
53376 recommended.
53377
53378 [BZ #16629]
53379 * stdlib/tst-setcontext.c: Include signal.h.
53380 (main): Check that the signal stack before and
53381 after swapcontext is the same.
53382
53383 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53384 Re-implement to restore registers in user code and avoid
53385 rt_sigreturn system call.
53386
53387 2014-04-17 Wilco <wdijkstr@arm.com>
53388
53389 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53390 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53391 * math/test-fenv.c: Skip exception trap tests on targets which only
53392 support non-stop mode.
53393
53394 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53395 Wilco Dijkstra <wilco.dijkstra@arm.com>
53396
53397 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53398 (libc_feholdsetround_aarch64_ctx)
53399 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53400 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53401 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53402 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53403 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53404 (libc_feresetround_noexl_ctx): Define.
53405
53406 2014-04-16 Richard Henderson <rth@redhat.com>
53407
53408 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53409
53410 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53411 unwind tables.
53412
53413 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53414 const from the non-libc, non-ldso copy.
53415
53416 * sysdeps/alpha/libm-test-ulps: Regenerate.
53417
53418 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53419 Wilco Dijkstra <wilco.dijkstra@arm.com>
53420
53421 * sysdeps/aarch64/fpu/math_private.h: New file.
53422
53423 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53424
53425 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53426
53427 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53428
53429 [BZ #16275]
53430 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53431 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53433 Intel MPX bound registers before _dl_profile_fixup.
53434 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53435 registers after _dl_profile_fixup. Save and restore bound
53436 registers bnd0/bnd1 when calling _dl_call_pltexit.
53437 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53438 (LR_BND_OFFSET): Likewise.
53439 (LRV_BND0_OFFSET): Likewise.
53440 (LRV_BND1_OFFSET): Likewise.
53441
53442 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53443
53444 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53445 to...
53446 * sysdeps/mach/hurd/i386/tls.h: ... here.
53447 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53448 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53449 fields.
53450
53451 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53452
53453 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53454
53455 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53456
53457 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53458
53459 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53460
53461 [BZ #14770]
53462 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53463 * sysdeps/s390/configure: Regenerate.
53464
53465 [BZ #16824]
53466 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53467 Set round-to-nearest internally to reduce error accumulation.
53468
53469 2014-04-16 Alan Modra <amodra@gmail.com>
53470
53471 [BZ #16740]
53472 [BZ #16619]
53473 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53474 * math/libm-test.inc (frexp_test_data): Add tests.
53475 * NEWS: Update fixed bug list.
53476
53477 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53478
53479 * benchtests/Makefile: Depend on libraries in build directory.
53480 (bench-math): Separate out math tests.
53481 (bench-pthread): Separate out pthread tests.
53482 (bench): Include math and pthread tests.
53483
53484 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53485
53486 [BZ #16831]
53487 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53488 _dl_debug_initialize.
53489
53490 * configure.ac: Remove SELinux header check.
53491 * configure: Regenerate.
53492 * nscd/selinux.c (perms): Array of const char* to permission names.
53493 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53494 default policy. Call string_to_security_class and string_to_av_perm to
53495 translate strings. Enforce default policy and call avs_has_perm with
53496 results of translated strings.
53497
53498 2014-04-13 David S. Miller <davem@davemloft.net>
53499
53500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53501
53502 2014-04-12 Allan McRae <allan@archlinux.org>
53503
53504 [BZ #16838]
53505 * manual/string.texi (Collation Functions): Fix qsort argument
53506 order in example.
53507 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53508
53509 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53510
53511 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53512 Make the test a no-op if there are no exceptions defined.
53513
53514 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53515
53516 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53517 enable-hardcoded-path-in-tests
53518
53519 2014-04-11 Will Newton <will.newton@linaro.org>
53520
53521 * benchtests/Makefile (extra-objs): Add json-lib.o.
53522 (bench-func): Tidy up JSON output.
53523 * benchtests/bench-skeleton.c: Include json-lib.h.
53524 (main): Use JSON library functions to do output of
53525 benchmark results.
53526 * benchtests/bench-timing-type.c (main): Output the
53527 timing type simply, leaving formatting to the user.
53528 * benchtests/json-lib.c: New file.
53529 * benchtests/json-lib.h: Likewise.
53530
53531 2014-04-11 Torvald Riegel <triegel@redhat.com>
53532
53533 [BZ #15215]
53534 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53535 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53536 memory barriers. Add comments.
53537 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53538 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53539 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53540 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53541 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53542 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53543
53544 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53545
53546 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53547 * sysdeps/s390/s390-64/configure.ac: ... this ...
53548 * sysdeps/s390/configure.ac: ... to here.
53549 * sysdeps/s390/s390-32/configure: Delete file.
53550 * sysdeps/s390/s390-64/configure: Delete file.
53551 * sysdeps/s390/configure: Regenerate.
53552
53553 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53554
53555 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53556
53557 2014-04-11 Will Newton <will.newton@linaro.org>
53558
53559 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53560 to zero if it is not defined elsewhere. (mtrim): Test
53561 the value of MALLOC_DEBUG with #if rather than #ifdef.
53562
53563 2014-04-10 Torvald Riegel <triegel@redhat.com>
53564
53565 * benchtests/pthread_once-inputs: New file.
53566 * benchtests/pthread_once-source.c: New file.
53567 * benchtests/README: Update documentation.
53568
53569 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53570 H.J. Lu <hongjiu.lu@intel.com>
53571
53572 [BZ #16275]
53573 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53574 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53575 * sysdeps/x86_64/configure: Regenerated.
53576 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53577 macro.
53578 (REGISTER_SAVE_RAX): Likewise.
53579 (REGISTER_SAVE_RCX): Likewise.
53580 (REGISTER_SAVE_RDX): Likewise.
53581 (REGISTER_SAVE_RSI): Likewise.
53582 (REGISTER_SAVE_RDI): Likewise.
53583 (REGISTER_SAVE_R8): Likewise.
53584 (REGISTER_SAVE_R9): Likewise.
53585 (REGISTER_SAVE_BND0): Likewise.
53586 (REGISTER_SAVE_BND1): Likewise.
53587 (REGISTER_SAVE_BND2): Likewise.
53588 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53589 bound registers when calling _dl_fixup.
53590
53591 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53592
53593 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53594 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53595 of its definition.
53596 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53597 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53598 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53599 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53600 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53601 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53602 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53603
53604 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53605
53606 [BZ #15514]
53607 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53608 pathconf(_PC_NAME_MAX).
53609
53610 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53611
53612 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53613 Remove macro usage.
53614 (__PTHREAD_SPINS): Move definition to ...
53615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53616 (__PTHREAD_SPINS): ... here.
53617 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53618 (__PTHREAD_SPIN): Likewise.
53619 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53620 (__PTHREAD_SPIN): Likewise.
53621 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53622 (__PTHREAD_SPIN): Likewise.
53623 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53624 (__PTHREAD_SPIN): Likewise.
53625 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53626 (__PTHREAD_SPIN): Likewise.
53627 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53628 (__PTHREAD_SPIN): Likewise.
53629 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53630 (__PTHREAD_SPIN): Likewise.
53631 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53632 (__PTHREAD_SPIN): Likewise.
53633 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53634 (__PTHREAD_SPIN): Likewise.
53635 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53636 (__PTHREAD_SPIN): Likewise.
53637 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53638 (__PTHREAD_SPIN): Likewise.
53639 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53640 (__PTHREAD_SPIN): Likewise.
53641
53642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53643 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53644 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53646 imply folder.
53647 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53648 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53649 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53650 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53651 correct imply path.
53652 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53653 strlen symbol for non multi-arch builds.
53654 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53655 missing hidden_def and weak_alias.
53656
53657 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53658
53659 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53660
53661 2014-04-07 Will Newton <will.newton@linaro.org>
53662
53663 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53664 and contents. [!_LIBC] Remove #ifndef and contents.
53665 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53666 * string/memccpy.c (__memccpy): Use ANSI prototype.
53667 * string/memfrob.c (memfrob): Likewise.
53668 * string/strcoll.c (STRCOLL): Likewise.
53669 * string/strlen.c (strlen): Likewise.
53670 * string/strtok.c (STRTOK): Likewise.
53671 * string/strcat.c: Remove unused #include of memcopy.h.
53672 (strcat): Use ANSI prototype.
53673 * string/strchr.c: Remove unused #include of memcopy.h.
53674 (strchr): Use ANSI prototype.
53675 * string/strcmp.c: Remove unused #include of memcopy.h.
53676 (strcmp): Use ANSI prototype.
53677 * string/strcpy.c: Remove unused #include of memcopy.h.
53678 (strcpy): Use ANSI prototype.
53679
53680 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53681
53682 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53683 * config.make.in (config-extra-cppflags): Set it from
53684 libc_extra_cppflags.
53685 * configure.ac (libc_extra_cflags): Make it accumulate over
53686 configure fragments.
53687 (libc_extra_cppflags): New flag.
53688 * configure. Regenerate.
53689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53690 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53691 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53693
53694 [BZ #16815]
53695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53696 result for FE_DOWNWARD rounding mode.
53697 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53698 Likewise.
53699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53700
53701 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53702
53703 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53704 in function argument name.
53705
53706 2014-04-03 David Svoboda <svoboda@cert.org>
53707
53708 [BZ #5666]
53709 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53710 explicitly.
53711
53712 2014-04-03 Roland McGrath <roland@hack.frob.com>
53713
53714 * elf/dl-unmap-segments.h: New file.
53715 * sysdeps/generic/ldsodefs.h
53716 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53717 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53718 * elf/dl-fptr.c: Likewise.
53719 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53720 * sysdeps/aarch64/tlsdesc.c: Likewise.
53721 * sysdeps/arm/tlsdesc.c: Likewise.
53722 * sysdeps/i386/tlsdesc.c: Likewise.
53723 * sysdeps/tile/dl-runtime.c: Likewise.
53724 * sysdeps/x86_64/tlsdesc.c: Likewise.
53725 * elf/dl-load.h: New file.
53726 * elf/dl-load.c: Include it.
53727 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53728 Macros moved to dl-load.h.
53729 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53730 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53731 Use _dl_unmap_segments in place of __munmap.
53732 Break out segment-mapping loop into ...
53733 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53734
53735 2014-04-03 Will Newton <will.newton@linaro.org>
53736
53737 * elf/dl-lookup.c (do_lookup_x): Remove comment
53738 referring to nested function and move variable
53739 declarations down to before first use.
53740
53741 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53742
53743 [BZ #16799]
53744 [BZ #16800]
53745 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53746 with 0 numerator.
53747 * math/s_catanf.c (__catanf): Likewise.
53748 * math/s_catanh.c (__catanh): Likewise.
53749 * math/s_catanhf.c (__catanhf): Likewise.
53750 * math/s_catanhl.c (__catanhl): Likewise.
53751 * math/s_catanl.c (__catanl): Likewise.
53752 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53753 by positive zero when computing -Inf result.
53754 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53755 (catanh_test): Likewise.
53756 * sysdeps/i386/fpu/libm-test-ulps: Update.
53757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53758
53759 [BZ #16789]
53760 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53761 instead of using underflowing value in computing result.
53762 * math/s_clog10.c (__clog10): Likewise.
53763 * math/s_clog10f.c (__clog10f): Likewise.
53764 * math/s_clog10l.c (__clog10l): Likewise.
53765 * math/s_clogf.c (__clogf): Likewise.
53766 * math/s_clogl.c (__clogl): Likewise.
53767 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53768 (clog10_test): Likewise.
53769 * sysdeps/i386/fpu/libm-test-ulps: Update.
53770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53771
53772 2014-04-02 Alan Modra <amodra@gmail.com>
53773
53774 [BZ #16739]
53775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53776 output when value is near a power of two. Use int64_t for lx and
53777 remove casts. Use decimal rather than hex exponent constants.
53778 Don't use long double multiplication when double will suffice.
53779 * math/libm-test.inc (nextafter_test_data): Add tests.
53780 * NEWS: Add 16739 and 16786 to bug list.
53781
53782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53783
53784 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53785
53786 2014-04-01 Will Newton <will.newton@linaro.org>
53787
53788 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53789 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53790
53791 2014-04-01 Florian Weimer <fweimer@redhat.com>
53792
53793 [BZ #13347]
53794 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53795 * nptl/tst-setuid2.c: New file.
53796 * nptl/Makefile (xtests): Add tst-setuid2.
53797
53798 2014-04-01 Alan Modra <amodra@gmail.com>
53799
53800 [BZ #16786]
53801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53802
53803 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53804
53805 [BZ #6803]
53806 [BZ #6804]
53807 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53808 set errno as appropriate.
53809 * math/w_scalbf.c (__scalbf): Likewise.
53810 * math/w_scalbl.c (__scalbl): Likewise.
53811 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53812 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53813 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53814 Add more NaN tests.
53815
53816 [BZ #16349]
53817 * math/w_atan2.c: Include <errno.h>.
53818 (__atan2): Set errno for result underflowing to zero.
53819 * math/w_atan2f.c: Include <errno.h>.
53820 (__atan2f): Set errno for result underflowing to zero.
53821 * math/w_atan2l.c: Include <errno.h>.
53822 (__atan2l): Set errno for result underflowing to zero.
53823 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53824 tests.
53825 * math/auto-libm-test-out: Regenerated.
53826
53827 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53828
53829 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53830 Encode instruction correctly in little endian.
53831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53832 Likewise.
53833 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53834 Likewise.
53835 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53836 Likewise.
53837 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53838 Likewise.
53839
53840 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53841
53842 [BZ #9894]
53843 * sysdeps/unix/sysv/linux/kernel-features.h
53844 [__sparc__ && !__arch64__ && !__sparc_v9__]
53845 (__ASSUME_SET_ROBUST_LIST): Do not define.
53846 [__sparc__ && !__arch64__ && !__sparc_v9__]
53847 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53848 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53849 Likewise.
53850 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53851 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53852 (__ASSUME_REQUEUE_PI): Likewise.
53853 (__ASSUME_SET_ROBUST_LIST): Likewise.
53854 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53855 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53856 Undefine.
53857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53858 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53859 Likewise.
53860 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53861 Likewise.
53862 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53863 Likewise.
53864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53865 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53866 Undefine.
53867 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53868 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53869 Likewise.
53870
53871 [BZ #16648]
53872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53873 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53874 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53875
53876 2014-03-31 Will Newton <will.newton@linaro.org>
53877
53878 * benchtests/Makefile (bench): Add ffs and ffsll to list
53879 of tests.
53880 * benchtests/ffs-inputs: New file.
53881 * benchtests/ffsll-inputs: Likewise.
53882
53883 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53884
53885 [BZ #16770]
53886 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53887 too large before casting to int.
53888 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53889 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53890 * math/libm-test.inc (scalb_test_data): Add more tests.
53891
53892 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53893
53894 * benchtests/Makefile (DETAILED_OPT): New make option.
53895 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53896 set.
53897 * benchtests/bench-skeleton.c: Include stdbool.h.
53898 (main): Store and print timings per input.
53899 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53900 member to each argument value.
53901 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53902 (_print_arg_data): Initialize per-input timing to 0.
53903
53904 * benchtests/Makefile (timing-type): New binary.
53905 (bench-clean): Also remove bench-timing-type.
53906 (bench): New target for timing-type.
53907 (bench-func): Print output in JSON format.
53908 * benchtests/bench-skeleton.c (main): Print output in JSON
53909 format.
53910 * benchtests/bench-timing-type.c: New file.
53911 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53912 (TIMING_PRINT_STATS): Remove.
53913 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53914 name separately.
53915
53916 * benchtests/bench-modf.c: Remove.
53917 * benchtests/modf-inputs: New inputs file.
53918
53919 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53920
53921 [BZ #16362]
53922 * math/s_clog10.c (M_PI_LOG10E): New macro.
53923 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53924 imaginary parts are 0.
53925 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53926 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53927 imaginary parts are 0.
53928 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53929 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53930 imaginary parts are 0.
53931 * math/libm-test.inc (clog10_test_data): Update expected results
53932 for when real and imaginary parts are 0.
53933
53934 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53935
53936 * elf/dl-load.c: Finish conversion of __builtin_expect into
53937 __glibc_{un}likely.
53938
53939 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53940
53941 [BZ #16348]
53942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53943 1+x for argument with exponent below -67.
53944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53945 Likewise.
53946 * math/auto-libm-test-in: Add more tests of exp.
53947 * math/auto-libm-test-out: Regenerated.
53948
53949 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53950
53951 [BZ #16759]
53952 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53953 (nscd_getnetgrent): Use it.
53954
53955 [BZ #16760]
53956 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53957 of stpcpy.
53958
53959 2014-03-27 Andi Kleen <ak@linux.intel.com>
53960
53961 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53962 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53963 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53964 (lll_robust_unlock): Remove out of line section. Use cfi
53965 intrinsics.
53966 (LLL_STUB_UNWIND_INFO*): Remove.
53967 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53968 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53969 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53970 (lll_robust_unlock): Remove out of line section. Use cfi
53971 intrinsics.
53972 (LLL_STUB_UNWIND_INFO*): Remove.
53973
53974 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53975
53976 [BZ #16758]
53977 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53978 blank values.
53979
53980 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53981
53982 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53983
53984 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53985
53986 [BZ #16198]
53987 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53988 fnstenv.
53989 * math/test-fenv-preserve.c: New file.
53990 * math/Makefile (tests): Add test-fenv-preserve.
53991
53992 2014-03-26 Will Newton <will.newton@linaro.org>
53993
53994 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53995
53996 2014-03-25 Roland McGrath <roland@hack.frob.com>
53997
53998 * scripts/versionlist.awk: Partition the version sets and emit all
53999 GLIBC_* (sorted) before all others (sorted).
54000
54001 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54002
54003 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54004 GLIBC_2.2.5 version.
54005
54006 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54007
54008 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54009 calls.
54010
54011 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54012 previous change.
54013
54014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54015
54016 2014-03-25 Andreas Schwab <schwab@suse.de>
54017
54018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54019 label to be used after in6ailist is initialized.
54020
54021 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54022
54023 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54024 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54025
54026 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54027
54028 [BZ #16357]
54029 [BZ #16599]
54030 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54031 min_plus_half.
54032 (fp_formats): Update initializers.
54033 (init_fp_formats): Initialize new field.
54034 (output_for_one_input_case): Allow underflow for results up to
54035 min_plus_half.
54036 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54037 * math/auto-libm-test-in: Don't mark some underflows from asin and
54038 atanh as spurious.
54039 * math/auto-libm-test-out: Regenerated.
54040 * sysdeps/i386/fpu/libm-test-ulps: Update.
54041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54042
54043 2014-03-25 Andreas Schwab <schwab@suse.de>
54044
54045 * libio/Makefile (tst-ftell-partial-wide-ENV)
54046 (tst-ftell-active-handler-ENV): Define.
54047
54048 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54049
54050 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54051
54052 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54053
54054 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54055
54056 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54057
54058 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54059 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54060 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54061
54062 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54063
54064 [BZ #16634]
54065 * elf/dl-load.c (open_verify): Add mode parameter.
54066 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54067 (open_path): Change from boolean 'secure' to complete flag 'mode'
54068 (_dl_map_object): Adjust.
54069 * elf/Makefile (tests): Add tst-dlopen-aout.
54070 * elf/tst-dlopen-aout.c: New test.
54071
54072 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54073
54074 [BZ #16714]
54075 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54076 (struct stat): Rename member pad0 to __glibc_reserved0.
54077
54078 [BZ #16712]
54079 * sysdeps/s390/s390-32/bits/wordsize.h
54080 (__WORDSIZE32_SIZE_ULONG): New define.
54081 * sysdeps/s390/s390-64/bits/wordsize.h
54082 (__WORDSIZE32_SIZE_ULONG): Likewise.
54083 * sysdeps/generic/stdint.h (SIZE_MAX):
54084 Define as UL if __WORDSIZE32_SIZE_ULONG.
54085
54086 [BZ #16713]
54087 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54088 (__glibc_reserved0): New variable.
54089 (sa_flags): Change type to int.
54090
54091 * posix/Makefile (before-compile): Use += before-compile instead
54092 of a :=.
54093
54094 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54095 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54096
54097 2014-03-20 Andreas Schwab <schwab@suse.de>
54098
54099 [BZ #16743]
54100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54101 non-matching result from nscd.
54102
54103 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54104
54105 * scripts/bench.py: Moved to ...
54106 * benchtests/scripts/bench.py: ... here.
54107 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54108
54109 2014-03-24 Andreas Schwab <schwab@suse.de>
54110
54111 [BZ #16002]
54112 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54113 alloca_account and account alloca use for struct in6ailist.
54114
54115 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54116
54117 [BZ #16284]
54118 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54119 rounding mode to recompute results that overflow to infinity or
54120 underflow to zero.
54121 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54122 bug 16284.
54123 * math/auto-libm-test-out: Regenerated.
54124 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54125 (ccosh_test): Likewise.
54126 (csin_test_data): Use plus_oflow.
54127 (csin_test): Use ALL_RM_TEST.
54128 (csinh_test_data): Use plus_oflow.
54129 (csinh_test): Use ALL_RM_TEST.
54130 * sysdeps/i386/fpu/libm-test-ulps: Update.
54131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54132
54133 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54134
54135 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54136 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54137 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54138
54139 [BZ #16731]
54140 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54141 when x - 1 is zero.
54142 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54143 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54144 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54146 argument is 1.
54147 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54148 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54149 zero.
54150 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54151 * sysdeps/i386/fpu/libm-test-ulps: Update.
54152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54153
54154 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54155
54156 * scripts/bench.pl: Remove file.
54157 * scripts/bench.py: New benchmark script.
54158 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54159 * benchtests/README: Mention python dependency.
54160 * scripts/pylintrc: New file.
54161 * scripts/pylint: New file.
54162
54163 * bits/mathdef.h: Use #ifdef instead of #if.
54164 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54165 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54166 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54167 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54168 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54169 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54170
54171 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54172 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54173
54174 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54176 and strpbrk-ppc64 objects.
54177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54178 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54179 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54180 multiarch strpbrk for POWER7.
54181 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54182 multiarch strpbrk for PPC64.
54183 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54184 ifunc selector.
54185 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54186 strpbrk for POWER7.
54187
54188 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54189
54190 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54191 (atan_test): Likewise.
54192 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54193 (atanh_test): Use ALL_RM_TEST.
54194 (atan2_test_data): Likewise.
54195 (cabs_test): Likewise.
54196 (cacosh_test): Likewise.
54197 (carg_test): Likewise.
54198 (casin_test): Likewise.
54199 (casinh_test): Likewise.
54200 (cbrt_test): Likewise.
54201 (csqrt_test): Likewise.
54202 (erf_test): Likewise.
54203 (erfc_test): Likewise.
54204 (pow10_test): Likewise.
54205 (exp2_test): Likewise.
54206 (hypot_test): Likewise.
54207 (j0_test): Likewise.
54208 (j1_test): Likewise.
54209 (lgamma_test): Likewise.
54210 (gamma_test): Likewise.
54211 (sincos_test): Likewise.
54212 (tanh_test): Likewise.
54213 (y0_test): Likewise.
54214 (y1_test): Likewise.
54215 * sysdeps/i386/fpu/libm-test-ulps: Update.
54216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54217
54218 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54219
54220 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54222 and strcspn-ppc64 objects.
54223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54224 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54225 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54226 multiarch strcspn for POWER7.
54227 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54228 multiarch strcspn for PPC64.
54229 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54230 ifunc selector.
54231 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54232 strcspn for POWER7.
54233
54234 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54235
54236 * math/gen-libm-test.pl (generate_testfile): Expect only function
54237 name as argument to AUTO_TESTS_* and pass results for all rounding
54238 modes to parse_args.
54239 (parse_auto_input): Separate inputs of automatic tests from
54240 outputs before storing in %auto_tests.
54241 * math/libm-test.inc (acos_test_data): Update call to
54242 AUTO_TESTS_f_f.
54243 (acos_test): Use ALL_RM_TEST.
54244 (acos_tonearest_test_data): Remove.
54245 (acos_test_tonearest): Likewise.
54246 (acos_towardzero_test_data): Likewise.
54247 (acos_test_towardzero): Likewise.
54248 (acos_downward_test_data): Likewise.
54249 (acos_test_downward): Likewise.
54250 (acos_upward_test_data): Likewise.
54251 (acos_test_upward): Likewise.
54252 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54253 (asin_test_data): Likewise.
54254 (asin_test): Use ALL_RM_TEST.
54255 (asin_tonearest_test_data): Remove.
54256 (asin_test_tonearest): Likewise.
54257 (asin_towardzero_test_data): Likewise.
54258 (asin_test_towardzero): Likewise.
54259 (asin_downward_test_data): Likewise.
54260 (asin_test_downward): Likewise.
54261 (asin_upward_test_data): Likewise.
54262 (asin_test_upward): Likewise.
54263 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54264 (atan_test_data): Likewise.
54265 (atanh_test_data): Likewise.
54266 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54267 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54268 (carg_test_data): Likewise.
54269 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54270 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54271 (ccosh_test_data): Likewise.
54272 (cexp_test_data): Likewise.
54273 (clog_test_data): Likewise.
54274 (clog10_test_data): Likewise.
54275 (cos_test_data): Update call to AUTO_TESTS_f_f.
54276 (cos_test): Use ALL_RM_TEST.
54277 (cos_tonearest_test_data): Remove.
54278 (cos_test_tonearest): Likewise.
54279 (cos_towardzero_test_data): Likewise.
54280 (cos_test_towardzero): Likewise.
54281 (cos_downward_test_data): Likewise.
54282 (cos_test_downward): Likewise.
54283 (cos_upward_test_data): Likewise.
54284 (cos_test_upward): Likewise.
54285 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54286 (cosh_test): Use ALL_RM_TEST.
54287 (cosh_tonearest_test_data): Remove.
54288 (cosh_test_tonearest): Likewise.
54289 (cosh_towardzero_test_data): Likewise.
54290 (cosh_test_towardzero): Likewise.
54291 (cosh_downward_test_data): Likewise.
54292 (cosh_test_downward): Likewise.
54293 (cosh_upward_test_data): Likewise.
54294 (cosh_test_upward): Likewise.
54295 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54296 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54297 (ctan_test_data): Likewise.
54298 (ctan_test): Use ALL_RM_TEST.
54299 (ctan_tonearest_test_data): Remove.
54300 (ctan_test_tonearest): Likewise.
54301 (ctan_towardzero_test_data): Likewise.
54302 (ctan_test_towardzero): Likewise.
54303 (ctan_downward_test_data): Likewise.
54304 (ctan_test_downward): Likewise.
54305 (ctan_upward_test_data): Likewise.
54306 (ctan_test_upward): Likewise.
54307 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54308 (ctanh_test): Use ALL_RM_TEST.
54309 (ctanh_tonearest_test_data): Remove.
54310 (ctanh_test_tonearest): Likewise.
54311 (ctanh_towardzero_test_data): Likewise.
54312 (ctanh_test_towardzero): Likewise.
54313 (ctanh_downward_test_data): Likewise.
54314 (ctanh_test_downward): Likewise.
54315 (ctanh_upward_test_data): Likewise.
54316 (ctanh_test_upward): Likewise.
54317 (erf_test_data): Update call to AUTO_TESTS_f_f.
54318 (erfc_test_data): Likewise.
54319 (exp_test_data): Likewise.
54320 (exp_test): Use ALL_RM_TEST.
54321 (exp_tonearest_test_data): Remove.
54322 (exp_test_tonearest): Likewise.
54323 (exp_towardzero_test_data): Likewise.
54324 (exp_test_towardzero): Likewise.
54325 (exp_downward_test_data): Likewise.
54326 (exp_test_downward): Likewise.
54327 (exp_upward_test_data): Likewise.
54328 (exp_test_upward): Likewise.
54329 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54330 (exp10_test): Use ALL_RM_TEST.
54331 (exp10_tonearest_test_data): Remove.
54332 (exp10_test_tonearest): Likewise.
54333 (exp10_towardzero_test_data): Likewise.
54334 (exp10_test_towardzero): Likewise.
54335 (exp10_downward_test_data): Likewise.
54336 (exp10_test_downward): Likewise.
54337 (exp10_upward_test_data): Likewise.
54338 (exp10_test_upward): Likewise.
54339 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54340 (expm1_test_data): Likewise.
54341 (expm1_test): Use ALL_RM_TEST.
54342 (expm1_tonearest_test_data): Remove.
54343 (expm1_test_tonearest): Likewise.
54344 (expm1_towardzero_test_data): Likewise.
54345 (expm1_test_towardzero): Likewise.
54346 (expm1_downward_test_data): Likewise.
54347 (expm1_test_downward): Likewise.
54348 (expm1_upward_test_data): Likewise.
54349 (expm1_test_upward): Likewise.
54350 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54351 (fma_test): Use ALL_RM_TEST.
54352 (fma_towardzero_test_data): Remove.
54353 (fma_test_towardzero): Likewise.
54354 (fma_downward_test_data): Likewise.
54355 (fma_test_downward): Likewise.
54356 (fma_upward_test_data): Likewise.
54357 (fma_test_upward): Likewise.
54358 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54359 (j0_test_data): Update call to AUTO_TESTS_f_f.
54360 (j1_test_data): Likewise.
54361 (jn_test_data): Update call to AUTO_TESTS_if_f.
54362 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54363 (log_test_data): Update call to AUTO_TESTS_f_f.
54364 (log10_test_data): Likewise.
54365 (log1p_test_data): Likewise.
54366 (log2_test_data): Likewise.
54367 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54368 (pow_tonearest_test_data): Likewise.
54369 (sin_test_data): Update call to AUTO_TESTS_f_f.
54370 (sin_test): Use ALL_RM_TEST.
54371 (sin_tonearest_test_data): Remove.
54372 (sin_test_tonearest): Likewise.
54373 (sin_towardzero_test_data): Likewise.
54374 (sin_test_towardzero): Likewise.
54375 (sin_downward_test_data): Likewise.
54376 (sin_test_downward): Likewise.
54377 (sin_upward_test_data): Likewise.
54378 (sin_test_upward): Likewise.
54379 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54380 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54381 (sinh_test): Use ALL_RM_TEST.
54382 (sinh_tonearest_test_data): Remove.
54383 (sinh_test_tonearest): Likewise.
54384 (sinh_towardzero_test_data): Likewise.
54385 (sinh_test_towardzero): Likewise.
54386 (sinh_downward_test_data): Likewise.
54387 (sinh_test_downward): Likewise.
54388 (sinh_upward_test_data): Likewise.
54389 (sinh_test_upward): Likewise.
54390 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54391 (sqrt_test): Use ALL_RM_TEST.
54392 (sqrt_tonearest_test_data): Remove.
54393 (sqrt_test_tonearest): Likewise.
54394 (sqrt_towardzero_test_data): Likewise.
54395 (sqrt_test_towardzero): Likewise.
54396 (sqrt_downward_test_data): Likewise.
54397 (sqrt_test_downward): Likewise.
54398 (sqrt_upward_test_data): Likewise.
54399 (sqrt_test_upward): Likewise.
54400 (tan_test_data): Update call to AUTO_TESTS_f_f.
54401 (tan_test): Use ALL_RM_TEST.
54402 (tan_tonearest_test_data): Remove.
54403 (tan_test_tonearest): Likewise.
54404 (tan_towardzero_test_data): Likewise.
54405 (tan_test_towardzero): Likewise.
54406 (tan_downward_test_data): Likewise.
54407 (tan_test_downward): Likewise.
54408 (tan_upward_test_data): Likewise.
54409 (tan_test_upward): Likewise.
54410 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54411 (tgamma_test_data): Likewise.
54412 (y0_test_data): Likewise.
54413 (y1_test_data): Likewise.
54414 (yn_test_data): Update call to AUTO_TESTS_if_f.
54415 (main): Do not call removed functions.
54416
54417 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54418
54419 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54420 (ldexp_test_data): Remove.
54421 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54422 scalbn_test_data.
54423 (scalb_test): Use ALL_RM_TEST.
54424
54425 2014-03-19 Andreas Schwab <schwab@suse.de>
54426
54427 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54428
54429 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54430
54431 [BZ #16649]
54432 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54433 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54436 (__ASSUME_PREADV): Undefine.
54437 (__ASSUME_PWRITEV): Likewise.
54438
54439 2014-03-18 Roland McGrath <roland@hack.frob.com>
54440
54441 * bits/mman-linux.h: Add comment about non-Linux use.
54442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54443 bits/mman-linux.h resting place.
54444
54445 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54446 * bits/mman-linux.h: ... here.
54447
54448 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54449
54450 * conform/conformtest.pl: Add standard definition when calling C
54451 preprocessor on data files.
54452 (checknamespace): Remove unused variable.
54453
54454 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54455
54456 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54457 minus_oflow, plus_uflow and minus_uflow in expected results.
54458 * math/libm-test.inc (scalbn_test_data): Add more tests of
54459 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54460 minus_uflow.
54461 (scalbn_test): Use ALL_RM_TEST.
54462 (scalbln_test_data): Add more tests of negative arguments. Use
54463 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54464 (scalbln_test): Use ALL_RM_TEST.
54465
54466 2014-03-18 Roland McGrath <roland@hack.frob.com>
54467
54468 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54469
54470 2014-03-18 Will Newton <will.newton@linaro.org>
54471
54472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54473 inaccurate comment.
54474
54475 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54476
54477 * Makerules [!subdir] (check-abi): Exit with error status if a
54478 test failed.
54479
54480 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54481
54482 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54483 for rint. Include results for all rounding modes.
54484 (nearbyint_test): Use ALL_RM_TEST.
54485 (rint_test_data): Include all tests used for nearbyint.
54486
54487 2014-03-17 Will Newton <will.newton@linaro.org>
54488
54489 * nptl/sysdeps/pthread/pthread.h: Revert previous
54490 change.
54491
54492 * sysdeps/generic/ldsodefs.h: Revert previous
54493 change.
54494
54495 * libio/genops.c: Revert previous change.
54496 * libio/libioP.h: Likewise.
54497 * stdio-common/vfprintf.c: Likewise.
54498
54499 * sysdeps/generic/math_private.h: Revert previous
54500 change.
54501
54502 * sysdeps/generic/math_private.h: Check whether
54503 HAVE_RM_CTX is defined with #ifdef rather
54504 than #if.
54505
54506 * argp/argp-fmtstream.h: Check whether
54507 __STRICT_ANSI__ is defined with #ifdef rather
54508 than #if.
54509 * argp/argp.h: Likewise.
54510
54511 * libio/genops.c: Check whether
54512 _IO_JUMPS_OFFSET is defined with #ifdef rather
54513 than #if.
54514 * libio/libioP.h: Likewise.
54515 * stdio-common/vfprintf.c: Likewise.
54516
54517 * sysdeps/generic/ldsodefs.h: Check whether
54518 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54519 than #if.
54520
54521 * nptl/sysdeps/pthread/pthread.h: Check
54522 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54523 its value.
54524
54525 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54526
54527 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54528 setting O_APPEND.
54529 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54530 test case.
54531
54532 [BZ #16680]
54533 * libio/fileops.c (_IO_file_open): Seek to end of file but
54534 don't cache the offset.
54535 (get_file_offset): Remove function.
54536 (do_ftell): Use cached offset when available.
54537 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54538 don't cache the offset.
54539 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54540 case.
54541 (do_one_test): Call it.
54542 (do_ftell_test): Fix up expected old offset for a+ mode.
54543 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54544 available.
54545
54546 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54547 up test status with function return status.
54548 (do_write_test): Likewise.
54549 (do_append_test): Likewise.
54550
54551 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54552 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54553 Remove.
54554
54555 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54556
54557 * math/gen-libm-test.pl (parse_args): Handle results specified for
54558 each rounding mode separately.
54559 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54560 tests and results from lrint_tonearest_test_data,
54561 lrint_towardzero_test_data, lrint_downward_test_data and
54562 lrint_upward_test_data.
54563 (lrint_test): Use ALL_RM_TEST.
54564 (lrint_tonearest_test_data): Remove.
54565 (lrint_test_tonearest): Likewise.
54566 (lrint_towardzero_test_data): Likewise.
54567 (lrint_test_towardzero): Likewise.
54568 (lrint_downward_test_data): Likewise.
54569 (lrint_test_downward): Likewise.
54570 (lrint_upward_test_data): Likewise.
54571 (lrint_test_upward): Likewise.
54572 (llrint_test_data): Merge in per-rounding-mode tests and results
54573 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54574 llrint_downward_test_data and llrint_upward_test_data.
54575 (llrint_test): Use ALL_RM_TEST.
54576 (llrint_tonearest_test_data): Remove.
54577 (llrint_test_tonearest): Likewise.
54578 (llrint_towardzero_test_data): Likewise.
54579 (llrint_test_towardzero): Likewise.
54580 (llrint_downward_test_data): Likewise.
54581 (llrint_test_downward): Likewise.
54582 (llrint_upward_test_data): Likewise.
54583 (llrint_test_upward): Likewise.
54584 (rint_test_data): Merge in per-rounding-mode tests and results
54585 from rint_tonearest_test_data, rint_towardzero_test_data,
54586 rint_downward_test_data and rint_upward_test_data. Add
54587 per-rounding-mode results for tests not in those arrays.
54588 (rint_test): Use ALL_RM_TEST.
54589 (rint_tonearest_test_data): Remove.
54590 (rint_test_tonearest): Likewise.
54591 (rint_towardzero_test_data): Likewise.
54592 (rint_test_towardzero): Likewise.
54593 (rint_downward_test_data): Likewise.
54594 (rint_test_downward): Likewise.
54595 (rint_upward_test_data): Likewise.
54596 (rint_test_upward): Likewise.
54597 (main): Don't call removed functions.
54598
54599 2014-03-14 Roland McGrath <roland@hack.frob.com>
54600
54601 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54602 "Compiled on ..." crapola. It is anti-useful.
54603
54604 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54605
54606 * scripts/evaluate-test.sh: Handle fourth argument to determine
54607 whether test run should stop on failure.
54608 * Makeconfig (stop-on-test-failure): New variable.
54609 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54610 $(stop-on-test-failure).
54611 * Makefile (tests): Give a summary of results from testing and
54612 exit with failure status if they include an ERROR or FAIL.
54613 (xtests): Likewise.
54614 * manual/install.texi (Configuring and compiling): Mention
54615 stop-on-test-failure=y.
54616 * INSTALL: Regenerated.
54617
54618 2014-03-14 Roland McGrath <roland@hack.frob.com>
54619
54620 * scripts/versionlist.awk: New file.
54621 * Makerules [$(build-shared) = yes]
54622 (postclean-generated): Add Versions.def, not Versions.def.v and
54623 Versions.def.v.i.
54624 ($(common-objpfx)Versions.def.v.i): Target removed.
54625 ($(common-objpfx)Versions.def): New target.
54626 ($(common-objpfx)Versions.all): Depend on that rather that
54627 $(common-objpfx)Versions.def.v.
54628 * Versions.def: File removed.
54629
54630 * Makeconfig (+gccwarn): Add -Wundef.
54631 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54632 a dl-sysdep.h breaking its contract.
54633 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54634 * include/stackinfo.h: New file.
54635 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54636 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54637 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54638 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54639 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54640 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54641 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54642 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54643 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54644 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54645 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54646 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54647 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54648 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54649 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54650
54651 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54652
54653 [BZ #16707]
54654 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54655 implementation.
54656 * math/libm-test.inc (round_test_data): Add more tests.
54657
54658 [BZ #16706]
54659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54660 implementation.
54661 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54662
54663 [BZ #16701]
54664 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54665 implementation.
54666 * math/libm-test.inc (ceil_test_data): Add more tests.
54667
54668 * math/libm-test.inc (trunc_test_data): Add more tests related to
54669 BZ#16414.
54670
54671 2014-03-14 Roland McGrath <roland@hack.frob.com>
54672
54673 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54674 with #if rather than #ifdef.
54675 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54676
54677 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54678
54679 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54680 first. Disable AVX-512 GCC support if assembler doesn't support
54681 it.
54682 * sysdeps/x86_64/configure: Regenerated.
54683
54684 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54685
54686 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54687 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54688 (__old_pthread_attr_setstack): Likewise.
54689 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54690 [!_STACK_GROWS_DOWN]: Likewise.
54691
54692 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54693
54694 * config.make.in (have-bash2): Delete.
54695 * configure.ac (libc_cv_have_bash2): Delete.
54696 * configure: Regenerate.
54697 * elf/Makefile (common-ldd-rewrite): Rename to ...
54698 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54699 (sh-ldd-rewrite): Delete.
54700 (bash-ldd-rewrite): Delete.
54701 (have-bash2): Delete checks.
54702 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54703 ldd-rewrite.
54704
54705 * config.make.in (have-ksh): Delete.
54706 (KSH): Delete.
54707 * configure.ac (libc_cv_have_ksh): Delete.
54708 * configure: Regenerate.
54709
54710 * elf/Makefile: Delete $(have-ksh) check.
54711 ($(objpfx)sotruss): Change KSH to BASH.
54712 * elf/sotruss.ksh: Rename to ...
54713 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54714 function style to match POSIX. Drop ksh vim mode setting.
54715
54716 * manual/time.texi (Specifying the Time Zone with TZ): Change
54717 Tuesday to Thursday.
54718
54719 * debug/tst-longjmp_chk2.c: Update header comment.
54720 (stackoverflow_handler): Add comment. Call assert on pass value.
54721
54722 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54723
54724 [BZ #16194]
54725 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54726 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54727 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54728 (La_x86_64_vector): Add zmm.
54729 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54730 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54731 ($(objpfx)tst-audit10): New target.
54732 ($(objpfx)tst-audit10.out): Likewise.
54733 (tst-audit10-ENV): New.
54734 (AVX512-CFLAGS): Likewise.
54735 (CFLAGS-tst-audit10.c): Likewise.
54736 (CFLAGS-tst-auditmod10a.c): Likewise.
54737 (CFLAGS-tst-auditmod10b.c): Likewise.
54738 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54739 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54740 * sysdeps/x86_64/configure: Regenerated.
54741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54742 AVX-512 zmm register support.
54743 (_dl_x86_64_save_sse): Likewise.
54744 (_dl_x86_64_restore_sse): Likewise.
54745 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54746 size vector registers.
54747 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54748 (ZMM_SIZE): Likewise.
54749 * sysdeps/x86_64/tst-audit10.c: New file.
54750 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54751 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54752
54753 2014-03-13 Roland McGrath <roland@hack.frob.com>
54754
54755 * configure.ac (HAVE_EHDR_START): New check.
54756 * configure: Regenerated.
54757 * config.h.in (HAVE_EHDR_START): New #undef.
54758 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54759 assuming the lowest-addressed segment maps the start of the file.
54760
54761 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54762
54763 * INSTALL: Regenerated.
54764
54765 2014-03-13 Will Newton <will.newton@linaro.org>
54766
54767 * manual/setjmp.texi (System V contexts): Improve
54768 clarity and grammar of documentation.
54769
54770 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54771
54772 [BZ #16381]
54773 * elf/Makefile (tests): Add tst-pie2.
54774 (tests-pie): Add tst-pie2.
54775 * elf/tst-pie2.c: New file.
54776 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54777 for ET_EXEC.
54778 * elf/rtld.c (map_doit): Load executable as lt_executable.
54779 (dl_main): Likewise.
54780
54781 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54782
54783 [BZ #16642]
54784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54785 (__ASSUME_PSELECT): Undefine.
54786
54787 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54788
54789 [BZ #16689]
54790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54791 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54792 static build.
54793 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54794 selector for static builds.
54795
54796 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54797
54798 [BZ #16695]
54799 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54800 key in the buffer.
54801
54802 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54803
54804 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54805 IFUNC selector for static builds.
54806
54807 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54808
54809 * sysdeps/mips/math_private.h [__mips_hard_float]
54810 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54811 libc_feresetround_mips_ctx.
54812 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54813 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54814 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54815
54816 [BZ #16677]
54817 * math/s_nextafter.c (__nextafter): Do not return value from
54818 overflowing computation.
54819 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54820 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54822 Likewise.
54823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54824 Likewise.
54825 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54826 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54827
54828 2014-03-11 Roland McGrath <roland@hack.frob.com>
54829
54830 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54831 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54832 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54833 the new mov targetting sp.
54834
54835 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54836
54837 [BZ #16683]
54838 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54839 Define it for static builds as well.
54840 (NO_BZERO_IMPL): Likewise.
54841
54842 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54843
54844 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54845 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54846 multiarch strspn for PPC64.
54847 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54848 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54850 (__libc_ifunc_impl_list): Likewise.
54851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54852 multiarch optimizations
54853 * string/strspn.c (strspn): Using macro to redefine symbol name.
54854
54855 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54857
54858 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54859 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54860 multiarch strncat for PPC64.
54861 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54862 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54864 (__libc_ifunc_impl_list): Likewise.
54865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54866 multiarch optimizations
54867
54868 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54869
54870 [BZ #16639]
54871 * nscd/nscd.service: Make service type forking.
54872
54873 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54874
54875 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54876 sign in non default rounding modes.
54877 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54878
54879 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54880
54881 * math/libm-test.inc (ALL_RM_TEST): New macro.
54882 (ceil_test): Use ALL_RM_TEST.
54883 (cimag_test): Likewise.
54884 (conj_test): Likewise.
54885 (copysign_test): Likewise.
54886 (cproj_test): Likewise.
54887 (creal_test): Likewise.
54888 (fabs_test): Likewise.
54889 (floor_test): Likewise.
54890 (fmax_test): Likewise.
54891 (fmin_test): Likewise.
54892 (fmod_test): Likewise.
54893 (fpclassify_test): Likewise.
54894 (frexp_test): Likewise.
54895 (ilogb_test): Likewise.
54896 (isfinite_test): Likewise.
54897 (finite_test): Likewise.
54898 (isgreater_test): Likewise.
54899 (isgreaterequal_test): Likewise.
54900 (isinf_test): Likewise.
54901 (isless_test): Likewise.
54902 (islessequal_test): Likewise.
54903 (islessgreater_test): Likewise.
54904 (isnan_test): Likewise.
54905 (isnormal_test): Likewise.
54906 (issignaling_test): Likewise.
54907 (isunordered_test): Likewise.
54908 (logb_test): Likewise.
54909 (logb_downward_test_data): Remove.
54910 (logb_test_downward): Likewise.
54911 (lround_test): Use ALL_RM_TEST.
54912 (llround_test): Likewise.
54913 (modf_test): Likewise.
54914 (nexttoward_test): Likewise.
54915 (remainder_test): Likewise.
54916 (drem_test): Likewise.
54917 (remainder_tonearest_test_data): Likewise.
54918 (remainder_test_tonearest): Likewise.
54919 (drem_test_tonearest): Likewise.
54920 (remainder_towardzero_test_data): Likewise.
54921 (remainder_test_towardzero): Likewise.
54922 (drem_test_towardzero): Likewise.
54923 (remainder_downward_test_data): Likewise.
54924 (remainder_test_downward): Likewise.
54925 (drem_test_downward): Likewise.
54926 (remainder_upward_test_data): Likewise.
54927 (remainder_test_upward): Likewise.
54928 (drem_test_upward): Likewise.
54929 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54930 (round_test): Use ALL_RM_TEST.
54931 (signbit_test): Likewise.
54932 (trunc_test): Likewise.
54933 (significand_test): Likewise.
54934 (main): Don't call removed functions.
54935
54936 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54937
54938 [BZ #16674]
54939 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54940 || __USE_XOPEN2K8].
54941 (ILL_ILLOPN): Likewise.
54942 (ILL_ILLADR): Likewise.
54943 (ILL_ILLTRP): Likewise.
54944 (ILL_PRVOPC): Likewise.
54945 (ILL_PRVREG): Likewise.
54946 (ILL_COPROC): Likewise.
54947 (ILL_BADSTK): Likewise.
54948 (FPE_INTDIV): Likewise.
54949 (FPE_INTOVF): Likewise.
54950 (FPE_FLTDIV): Likewise.
54951 (FPE_FLTOVF): Likewise.
54952 (FPE_FLTUND): Likewise.
54953 (FPE_FLTRES): Likewise.
54954 (FPE_FLTINV): Likewise.
54955 (FPE_FLTSUB): Likewise.
54956 (SEGV_MAPERR): Likewise.
54957 (SEGV_ACCERR): Likewise.
54958 (BUS_ADRALN): Likewise.
54959 (BUS_ADRERR): Likewise.
54960 (BUS_OBJERR): Likewise.
54961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54962 (TRAP_TRACE): Likewise.
54963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54964 __USE_XOPEN2K8].
54965 (CLD_KILLED): Likewise.
54966 (CLD_DUMPED): Likewise.
54967 (CLD_TRAPPED): Likewise.
54968 (CLD_STOPPED): Likewise.
54969 (CLD_CONTINUED): Likewise.
54970 (POLL_IN): Likewise.
54971 (POLL_OUT): Likewise.
54972 (POLL_MSG): Likewise.
54973 (POLL_ERR): Likewise.
54974 (POLL_PRI): Likewise.
54975 (POLL_HUP): Likewise.
54976 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54977 Likewise.
54978 (ILL_ILLOPN): Likewise.
54979 (ILL_ILLADR): Likewise.
54980 (ILL_ILLTRP): Likewise.
54981 (ILL_PRVOPC): Likewise.
54982 (ILL_PRVREG): Likewise.
54983 (ILL_COPROC): Likewise.
54984 (ILL_BADSTK): Likewise.
54985 (FPE_INTDIV): Likewise.
54986 (FPE_INTOVF): Likewise.
54987 (FPE_FLTDIV): Likewise.
54988 (FPE_FLTOVF): Likewise.
54989 (FPE_FLTUND): Likewise.
54990 (FPE_FLTRES): Likewise.
54991 (FPE_FLTINV): Likewise.
54992 (FPE_FLTSUB): Likewise.
54993 (SEGV_MAPERR): Likewise.
54994 (SEGV_ACCERR): Likewise.
54995 (BUS_ADRALN): Likewise.
54996 (BUS_ADRERR): Likewise.
54997 (BUS_OBJERR): Likewise.
54998 (BUS_MCEERR_AR): Likewise.
54999 (BUS_MCEERR_AO): Likewise.
55000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55001 (TRAP_TRACE): Likewise.
55002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55003 __USE_XOPEN2K8].
55004 (CLD_KILLED): Likewise.
55005 (CLD_DUMPED): Likewise.
55006 (CLD_TRAPPED): Likewise.
55007 (CLD_STOPPED): Likewise.
55008 (CLD_CONTINUED): Likewise.
55009 (POLL_IN): Likewise.
55010 (POLL_OUT): Likewise.
55011 (POLL_MSG): Likewise.
55012 (POLL_ERR): Likewise.
55013 (POLL_PRI): Likewise.
55014 (POLL_HUP): Likewise.
55015 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55016 (ILL_ILLOPN): Likewise.
55017 (ILL_ILLADR): Likewise.
55018 (ILL_ILLTRP): Likewise.
55019 (ILL_PRVOPC): Likewise.
55020 (ILL_PRVREG): Likewise.
55021 (ILL_COPROC): Likewise.
55022 (ILL_BADSTK): Likewise.
55023 (FPE_INTDIV): Likewise.
55024 (FPE_INTOVF): Likewise.
55025 (FPE_FLTDIV): Likewise.
55026 (FPE_FLTOVF): Likewise.
55027 (FPE_FLTUND): Likewise.
55028 (FPE_FLTRES): Likewise.
55029 (FPE_FLTINV): Likewise.
55030 (FPE_FLTSUB): Likewise.
55031 (SEGV_MAPERR): Likewise.
55032 (SEGV_ACCERR): Likewise.
55033 (BUS_ADRALN): Likewise.
55034 (BUS_ADRERR): Likewise.
55035 (BUS_OBJERR): Likewise.
55036 (BUS_MCEERR_AR): Likewise.
55037 (BUS_MCEERR_AO): Likewise.
55038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55039 (TRAP_TRACE): Likewise.
55040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55041 __USE_XOPEN2K8].
55042 (CLD_KILLED): Likewise.
55043 (CLD_DUMPED): Likewise.
55044 (CLD_TRAPPED): Likewise.
55045 (CLD_STOPPED): Likewise.
55046 (CLD_CONTINUED): Likewise.
55047 (POLL_IN): Likewise.
55048 (POLL_OUT): Likewise.
55049 (POLL_MSG): Likewise.
55050 (POLL_ERR): Likewise.
55051 (POLL_PRI): Likewise.
55052 (POLL_HUP): Likewise.
55053 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55054 Likewise.
55055 (ILL_ILLOPN): Likewise.
55056 (ILL_ILLADR): Likewise.
55057 (ILL_ILLTRP): Likewise.
55058 (ILL_PRVOPC): Likewise.
55059 (ILL_PRVREG): Likewise.
55060 (ILL_COPROC): Likewise.
55061 (ILL_BADSTK): Likewise.
55062 (ILL_BADIADDR): Likewise.
55063 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
55073 (FPE_DECDIV): Likewise.
55074 (FPE_DECERR): Likewise.
55075 (FPE_INVASC): Likewise.
55076 (FPE_INVDEC): Likewise.
55077 (SEGV_MAPERR): Likewise.
55078 (SEGV_ACCERR): Likewise.
55079 (SEGV_PSTKOVF): Likewise.
55080 (BUS_ADRALN): Likewise.
55081 (BUS_ADRERR): Likewise.
55082 (BUS_OBJERR): Likewise.
55083 (BUS_MCEERR_AR): Likewise.
55084 (BUS_MCEERR_AO): Likewise.
55085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55086 (TRAP_TRACE): Likewise.
55087 (TRAP_BRANCH): Likewise.
55088 (TRAP_HWBKPT): Likewise.
55089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55090 __USE_XOPEN2K8].
55091 (CLD_KILLED): Likewise.
55092 (CLD_DUMPED): Likewise.
55093 (CLD_TRAPPED): Likewise.
55094 (CLD_STOPPED): Likewise.
55095 (CLD_CONTINUED): Likewise.
55096 (POLL_IN): Likewise.
55097 (POLL_OUT): Likewise.
55098 (POLL_MSG): Likewise.
55099 (POLL_ERR): Likewise.
55100 (POLL_PRI): Likewise.
55101 (POLL_HUP): Likewise.
55102 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55103 (ILL_ILLOPN): Likewise.
55104 (ILL_ILLADR): Likewise.
55105 (ILL_ILLTRP): Likewise.
55106 (ILL_PRVOPC): Likewise.
55107 (ILL_PRVREG): Likewise.
55108 (ILL_COPROC): Likewise.
55109 (ILL_BADSTK): Likewise.
55110 (FPE_INTDIV): Likewise.
55111 (FPE_INTOVF): Likewise.
55112 (FPE_FLTDIV): Likewise.
55113 (FPE_FLTOVF): Likewise.
55114 (FPE_FLTUND): Likewise.
55115 (FPE_FLTRES): Likewise.
55116 (FPE_FLTINV): Likewise.
55117 (FPE_FLTSUB): Likewise.
55118 (SEGV_MAPERR): Likewise.
55119 (SEGV_ACCERR): Likewise.
55120 (BUS_ADRALN): Likewise.
55121 (BUS_ADRERR): Likewise.
55122 (BUS_OBJERR): Likewise.
55123 (BUS_MCEERR_AR): Likewise.
55124 (BUS_MCEERR_AO): Likewise.
55125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55126 (TRAP_TRACE): Likewise.
55127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55128 __USE_XOPEN2K8].
55129 (CLD_KILLED): Likewise.
55130 (CLD_DUMPED): Likewise.
55131 (CLD_TRAPPED): Likewise.
55132 (CLD_STOPPED): Likewise.
55133 (CLD_CONTINUED): Likewise.
55134 (POLL_IN): Likewise.
55135 (POLL_OUT): Likewise.
55136 (POLL_MSG): Likewise.
55137 (POLL_ERR): Likewise.
55138 (POLL_PRI): Likewise.
55139 (POLL_HUP): Likewise.
55140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55141 (ILL_ILLOPN): Likewise.
55142 (ILL_ILLADR): Likewise.
55143 (ILL_ILLTRP): Likewise.
55144 (ILL_PRVOPC): Likewise.
55145 (ILL_PRVREG): Likewise.
55146 (ILL_COPROC): Likewise.
55147 (ILL_BADSTK): Likewise.
55148 (FPE_INTDIV): Likewise.
55149 (FPE_INTOVF): Likewise.
55150 (FPE_FLTDIV): Likewise.
55151 (FPE_FLTOVF): Likewise.
55152 (FPE_FLTUND): Likewise.
55153 (FPE_FLTRES): Likewise.
55154 (FPE_FLTINV): Likewise.
55155 (FPE_FLTSUB): Likewise.
55156 (SEGV_MAPERR): Likewise.
55157 (SEGV_ACCERR): Likewise.
55158 (BUS_ADRALN): Likewise.
55159 (BUS_ADRERR): Likewise.
55160 (BUS_OBJERR): Likewise.
55161 (BUS_MCEERR_AR): Likewise.
55162 (BUS_MCEERR_AO): Likewise.
55163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55164 (TRAP_TRACE): Likewise.
55165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55166 __USE_XOPEN2K8].
55167 (CLD_KILLED): Likewise.
55168 (CLD_DUMPED): Likewise.
55169 (CLD_TRAPPED): Likewise.
55170 (CLD_STOPPED): Likewise.
55171 (CLD_CONTINUED): Likewise.
55172 (POLL_IN): Likewise.
55173 (POLL_OUT): Likewise.
55174 (POLL_MSG): Likewise.
55175 (POLL_ERR): Likewise.
55176 (POLL_PRI): Likewise.
55177 (POLL_HUP): Likewise.
55178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55179 (ILL_ILLOPN): Likewise.
55180 (ILL_ILLADR): Likewise.
55181 (ILL_ILLTRP): Likewise.
55182 (ILL_PRVOPC): Likewise.
55183 (ILL_PRVREG): Likewise.
55184 (ILL_COPROC): Likewise.
55185 (ILL_BADSTK): Likewise.
55186 (FPE_INTDIV): Likewise.
55187 (FPE_INTOVF): Likewise.
55188 (FPE_FLTDIV): Likewise.
55189 (FPE_FLTOVF): Likewise.
55190 (FPE_FLTUND): Likewise.
55191 (FPE_FLTRES): Likewise.
55192 (FPE_FLTINV): Likewise.
55193 (FPE_FLTSUB): Likewise.
55194 (SEGV_MAPERR): Likewise.
55195 (SEGV_ACCERR): Likewise.
55196 (BUS_ADRALN): Likewise.
55197 (BUS_ADRERR): Likewise.
55198 (BUS_OBJERR): Likewise.
55199 (BUS_MCEERR_AR): Likewise.
55200 (BUS_MCEERR_AO): Likewise.
55201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55202 (TRAP_TRACE): Likewise.
55203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55204 __USE_XOPEN2K8].
55205 (CLD_KILLED): Likewise.
55206 (CLD_DUMPED): Likewise.
55207 (CLD_TRAPPED): Likewise.
55208 (CLD_STOPPED): Likewise.
55209 (CLD_CONTINUED): Likewise.
55210 (POLL_IN): Likewise.
55211 (POLL_OUT): Likewise.
55212 (POLL_MSG): Likewise.
55213 (POLL_ERR): Likewise.
55214 (POLL_PRI): Likewise.
55215 (POLL_HUP): Likewise.
55216 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55217 (ILL_ILLOPN): Likewise.
55218 (ILL_ILLADR): Likewise.
55219 (ILL_ILLTRP): Likewise.
55220 (ILL_PRVOPC): Likewise.
55221 (ILL_PRVREG): Likewise.
55222 (ILL_COPROC): Likewise.
55223 (ILL_BADSTK): Likewise.
55224 (ILL_DBLFLT): Likewise.
55225 (ILL_HARDWALL): Likewise.
55226 (FPE_INTDIV): Likewise.
55227 (FPE_INTOVF): Likewise.
55228 (FPE_FLTDIV): Likewise.
55229 (FPE_FLTOVF): Likewise.
55230 (FPE_FLTUND): Likewise.
55231 (FPE_FLTRES): Likewise.
55232 (FPE_FLTINV): Likewise.
55233 (FPE_FLTSUB): Likewise.
55234 (SEGV_MAPERR): Likewise.
55235 (SEGV_ACCERR): Likewise.
55236 (BUS_ADRALN): Likewise.
55237 (BUS_ADRERR): Likewise.
55238 (BUS_OBJERR): Likewise.
55239 (BUS_MCEERR_AR): Likewise.
55240 (BUS_MCEERR_AO): Likewise.
55241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55242 (TRAP_TRACE): Likewise.
55243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55244 __USE_XOPEN2K8].
55245 (CLD_KILLED): Likewise.
55246 (CLD_DUMPED): Likewise.
55247 (CLD_TRAPPED): Likewise.
55248 (CLD_STOPPED): Likewise.
55249 (CLD_CONTINUED): Likewise.
55250 (POLL_IN): Likewise.
55251 (POLL_OUT): Likewise.
55252 (POLL_MSG): Likewise.
55253 (POLL_ERR): Likewise.
55254 (POLL_PRI): Likewise.
55255 (POLL_HUP): Likewise.
55256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55257 (ILL_ILLOPN): Likewise.
55258 (ILL_ILLADR): Likewise.
55259 (ILL_ILLTRP): Likewise.
55260 (ILL_PRVOPC): Likewise.
55261 (ILL_PRVREG): Likewise.
55262 (ILL_COPROC): Likewise.
55263 (ILL_BADSTK): Likewise.
55264 (FPE_INTDIV): Likewise.
55265 (FPE_INTOVF): Likewise.
55266 (FPE_FLTDIV): Likewise.
55267 (FPE_FLTOVF): Likewise.
55268 (FPE_FLTUND): Likewise.
55269 (FPE_FLTRES): Likewise.
55270 (FPE_FLTINV): Likewise.
55271 (FPE_FLTSUB): Likewise.
55272 (SEGV_MAPERR): Likewise.
55273 (SEGV_ACCERR): Likewise.
55274 (BUS_ADRALN): Likewise.
55275 (BUS_ADRERR): Likewise.
55276 (BUS_OBJERR): Likewise.
55277 (BUS_MCEERR_AR): Likewise.
55278 (BUS_MCEERR_AO): Likewise.
55279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55280 (TRAP_TRACE): Likewise.
55281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55282 __USE_XOPEN2K8].
55283 (CLD_KILLED): Likewise.
55284 (CLD_DUMPED): Likewise.
55285 (CLD_TRAPPED): Likewise.
55286 (CLD_STOPPED): Likewise.
55287 (CLD_CONTINUED): Likewise.
55288 (POLL_IN): Likewise.
55289 (POLL_OUT): Likewise.
55290 (POLL_MSG): Likewise.
55291 (POLL_ERR): Likewise.
55292 (POLL_PRI): Likewise.
55293 (POLL_HUP): Likewise.
55294 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55296
55297 [BZ #16670]
55298 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55299 before #include of <time.h>.
55300 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55301 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55302 (test-xfail-UNIX98/sched.h/conform): Likewise.
55303
55304 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55305
55306 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55307 error absence of trapping exception support.
55308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55309
55310 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55311
55312 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55313 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55314 * timezone/Makefile (testdata): Move definition above include of
55315 Rules.
55316 (test-zones): New variable.
55317 (tests-special): Add zone files.
55318 (build-testdata): Use $(evaluate-test).
55319
55320 * elf/Makefile (tests-special): Rename tests to end with .out.
55321 ($(objpfx)noload-mem): Likewise.
55322 ($(objpfx)tst-leaks1-mem): Likewise.
55323 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55324 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55325 $(objpfx)test-iconvconfig.out.
55326 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55327 set -e inside subshell and redirect output to file.
55328 * iconvdata/Makefile (generated): Rename tests to end with .out.
55329 Correct type.
55330 (tests-special): Rename tests to end with .out.
55331 ($(objpfx)mtrace-tst-loading): Likewise.
55332 * intl/Makefile (generated): Likewise.
55333 (tests-special): Likewise.
55334 ($(objpfx)mtrace-tst-gettext): Likewise.
55335 * misc/Makefile (generated): Likewise.
55336 (tests-special): Likewise.
55337 ($(objpfx)tst-error1-mem): Likewise.
55338 * nptl/Makefile (tests-special): Likewise.
55339 ($(objpfx)tst-stack3-mem): Likewise.
55340 (generated): Likewise.
55341 * posix/Makefile (generated): Likewise.
55342 (tests-special): Likewise.
55343 (xtests-special): Likewise.
55344 ($(objpfx)tst-fnmatch-mem): Likewise.
55345 ($(objpfx)bug-regex2-mem): Likewise.
55346 ($(objpfx)bug-regex14-mem): Likewise.
55347 ($(objpfx)bug-regex21-mem): Likewise.
55348 ($(objpfx)bug-regex31-mem): Likewise.
55349 ($(objpfx)tst-vfork3-mem): Likewise.
55350 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55351 ($(objpfx)tst-pcre-mem): Likewise.
55352 ($(objpfx)tst-boost-mem): Likewise.
55353 ($(objpfx)bug-ga2-mem): Likewise.
55354 ($(objpfx)bug-glob2-mem): Likewise.
55355 * resolv/Makefile (generate): Likewise.
55356 (tests-special): Likewise.
55357 (xtests-special): Likewise.
55358 (generated): Likewise.
55359 ($(objpfx)mtrace-tst-leaks): Likewise.
55360 ($(objpfx)mtrace-tst-leaks2): Likewise.
55361
55362 * scripts/merge-test-results.sh: New file.
55363 * Makefile (tests-special-notdir): New variable.
55364 (tests): Run merge-test-results.sh.
55365 (xtests): Likewise.
55366 * Rules (tests-special-notdir): New variable.
55367 (xtests-special-notdir): Likewise.
55368 (tests): Run merge-test-results.sh
55369 (xtests): Likewise.
55370
55371 * Makeconfig (test-xfail-name): New variable.
55372 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55373 compute variable name for expected failures.
55374 * conform/Makefile (conformtest-headers-data): New variable.
55375 (conformtest-standards): Likewise.
55376 (conformtest-headers-ISO): Likewise.
55377 (conformtest-headers-ISO99): Likewise.
55378 (conformtest-headers-ISO11): Likewise.
55379 (conformtest-headers-POSIX): Likewise.
55380 (conformtest-headers-XPG3): Likewise.
55381 (conformtest-headers-XPG4): Likewise.
55382 (conformtest-headers-UNIX98): Likewise.
55383 (conformtest-headers-XOPEN2K): Likewise.
55384 (conformtest-headers-POSIX2008): Likewise.
55385 (conformtest-headers-XOPEN2K8): Likewise.
55386 (conformtest-header-list-base): Likewise.
55387 (conformtest-header-list-tests): Likewise.
55388 (conformtest-header-base): Likewise.
55389 (conformtest-header-tests): Likewise.
55390 (tests-special): Add $(conformtest-header-list-tests). If
55391 [$(fast-check) && !$(cross-compiling)], add
55392 $(conformtest-header-tests) instead of
55393 $(objpfx)run-conformtest.out.
55394 (generated): Add $(conformtest-header-list-base). If
55395 [$(fast-check) && !$(cross-compiling)], add
55396 $(conformtest-header-base). Remove previous setting.
55397 ($(conformtest-header-list-tests)): New target.
55398 (test-xfail-run-conformtest): Remove variable.
55399 ($(objpfx)run-conformtest.out): Remove target.
55400 (test-xfail-ISO11/complex.h/conform): New variable.
55401 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55402 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55403 (test-xfail-XPG3/varargs.h/conform): Likewise.
55404 (test-xfail-XPG4/varargs.h/conform): Likewise.
55405 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55406 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55407 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55408 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55409 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55410 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55411 (test-xfail-XPG3/ftw.h/conform): Likewise.
55412 (test-xfail-XPG3/grp.h/conform): Likewise.
55413 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55414 (test-xfail-XPG3/limits.h/conform): Likewise.
55415 (test-xfail-XPG3/pwd.h/conform): Likewise.
55416 (test-xfail-XPG3/search.h/conform): Likewise.
55417 (test-xfail-XPG3/signal.h/conform): Likewise.
55418 (test-xfail-XPG3/stdio.h/conform): Likewise.
55419 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55420 (test-xfail-XPG3/string.h/conform): Likewise.
55421 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55422 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55423 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55424 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55425 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55426 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55427 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55428 (test-xfail-XPG3/termios.h/conform): Likewise.
55429 (test-xfail-XPG3/time.h/conform): Likewise.
55430 (test-xfail-XPG3/unistd.h/conform): Likewise.
55431 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55432 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55433 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55434 (test-xfail-XPG4/netdb.h/conform): Likewise.
55435 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55436 (test-xfail-XPG4/signal.h/conform): Likewise.
55437 (test-xfail-XPG4/stdio.h/conform): Likewise.
55438 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55439 (test-xfail-XPG4/stropts.h/conform): Likewise.
55440 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55441 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55442 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55443 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55444 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55445 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55446 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55447 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55448 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55449 (test-xfail-XPG4/termios.h/conform): Likewise.
55450 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55451 (test-xfail-XPG4/unistd.h/conform): Likewise.
55452 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55453 (test-xfail-POSIX/sched.h/conform): Likewise.
55454 (test-xfail-POSIX/signal.h/conform): Likewise.
55455 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55456 (test-xfail-POSIX/tar.h/conform): Likewise.
55457 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55458 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55459 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55460 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55461 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55462 (test-xfail-UNIX98/sched.h/conform): Likewise.
55463 (test-xfail-UNIX98/signal.h/conform): Likewise.
55464 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55465 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55466 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55467 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55468 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55469 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55470 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55471 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55472 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55473 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55474 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55475 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55476 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55477 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55478 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55479 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55480 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55481 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55482 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55483 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55484 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55485 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55486 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55487 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55488 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55489 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55490 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55491 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55492 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55493 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55494 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55495 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55496 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55497 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55498 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55499 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55500 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55501 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55502 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55503 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55504 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55505 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55506 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55507 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55508 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55509 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55510 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55511 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55512 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55513 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55514 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55515 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55516 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55517 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55518 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55519 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55520 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55521 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55522 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55523 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55524 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55525 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55526 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55527 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55528 (conformtest-cc-flags): Likewise.
55529 ($(conformtest-header-tests): New target.
55530 * conform/check-header-lists.sh: New file.
55531 * conform/run-conformtest.sh: Remove.
55532
55533 * conform/conformtest.pl: Allow ' and \ in values given for
55534 constants.
55535 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55536 inclusion.
55537 [POSIX] (sys/types.h): Likewise.
55538 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55539 inclusion.
55540 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55541 inclusion.
55542 * conform/data/signal.h-data (SIGIO): Remove expectation.
55543 [XPG3] (SIGBUS): Do not expect.
55544 [POSIX || XPG3] (SIGPOLL): Likewise.
55545 [POSIX || XPG3] (SIGPROF): Likewise.
55546 [POSIX || XPG3] (SIGSYS): Likewise.
55547 [XPG3] (SIGTRAP): Likewise.
55548 [POSIX || XPG3] (SIGURG): Likewise.
55549 [POSIX || XPG3] (SIGVTALRM): Likewise.
55550 [POSIX || XPG3] (SIGXCPU): Likewise.
55551 [POSIX || XPG3] (SIGXFSZ): Likewise.
55552 [POSIX] (SA_SIGINFO): Expect.
55553 [XPG3] (siginfo_t): Do not expect type or contents.
55554 [POSIX] (si_pid): Do not expect element.
55555 [POSIX] (si_uid): Likewise.
55556 [POSIX] (si_addr): Likewise.
55557 [POSIX] (si_status): Likewise.
55558 [POSIX] (si_band): Likewise.
55559 [XPG4] (si_value): Likewise.
55560 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55561 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55562 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55563 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55564 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55565 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55566 [POSIX || XPG3] (ILL_COPROC): Likewise.
55567 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55568 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55569 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55570 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55571 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55572 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55573 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55574 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55575 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55576 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55577 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55578 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55579 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55580 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55581 [POSIX || XPG3] (CLD_EXITED): Likewise.
55582 [POSIX || XPG3] (CLD_KILLED): Likewise.
55583 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55584 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55585 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55586 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55587 [POSIX || XPG3] (POLL_IN): Likewise.
55588 [POSIX || XPG3] (POLL_OUT): Likewise.
55589 [POSIX || XPG3] (POLL_MSG): Likewise.
55590 [POSIX || XPG3] (POLL_ERR): Likewise.
55591 [POSIX || XPG3] (POLL_PRI): Likewise.
55592 [POSIX || XPG3] (POLL_HUP): Likewise.
55593 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55594 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55595 (SIG*): Do not allow.
55596 [XPG3] (si_*): Likewise.
55597 [XPG3] (SI_*): Likewise.
55598 [XPG3 || XPG4] (sigev_*): Likewise.
55599 [XPG3 || XPG4] (SIGEV_*): Likewise.
55600 [XPG3 || XPG4] (sival_*): Likewise.
55601 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55602 [POSIX || XPG3] (BUS_*): Likewise.
55603 [POSIX || XPG3] (CLD_*): Likewise.
55604 [POSIX || XPG3] (FPE_*): Likewise.
55605 [POSIX || XPG3] (ILL_*): Likewise.
55606 [POSIX || XPG3] (POLL_*): Likewise.
55607 [POSIX || XPG3] (SEGV_*): Likewise.
55608 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55609 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55610 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55611 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55612 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55613 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55614 Specify type and value.
55615 (TVERSLEN): Likewise.
55616 (REGTYPE): Likewise.
55617 (AREGTYPE): Likewise.
55618 (LNKTYPE): Likewise.
55619 (SYMTYPE): Likewise.
55620 (CHRTYPE): Likewise.
55621 (BLKTYPE): Likewise.
55622 (DIRTYPE): Likewise.
55623 (FIFOTYPE): Likewise.
55624 (CONTTYPE): Likewise.
55625 (TSUID): Likewise.
55626 (TSGID): Likewise.
55627 (TSVTX): Likewise.
55628 (TUREAD): Likewise.
55629 (TUWRITE): Likewise.
55630 (TUEXEC): Likewise.
55631 (TGREAD): Likewise.
55632 (TGWRITE): Likewise.
55633 (TGEXEC): Likewise.
55634 (TOREAD): Likewise.
55635 (TOWRITE): Likewise.
55636 (TOEXEC): Likewise.
55637 [POSIX] (TSVTX): Expect constant.
55638
55639 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55640
55641 * Makefile (tests): Change dependencies to ....
55642 (tests-special): ... additions to this variable.
55643 (tests): Depend on $(tests-special).
55644 * Makerules (check-abi-list): New variable.
55645 (check-abi): Depend on $(check-abi-list).
55646 [$(subdir) = elf] (tests-special): Add
55647 $(objpfx)check-abi-libc.out.
55648 [$(build-shared) = yes && subdir] (tests-special): Add
55649 $(check-abi-list).
55650 [$(build-shared) = yes && subdir] (tests): Do not depend on
55651 check-abi.
55652 * Rules (tests): Depend on $(tests-special).
55653 (xtests): Depend on $(xtests-special).
55654 * catgets/Makefile (tests): Change dependencies to ....
55655 (tests-special): ... additions to this variable.
55656 * conform/Makefile (tests): Change dependencies to ....
55657 (tests-special): ... additions to this variable.
55658 * elf/Makefile (tests): Change dependencies to ....
55659 (tests-special): ... additions to this variable.
55660 * grp/Makefile (tests): Change dependencies to ....
55661 (tests-special): ... additions to this variable.
55662 * iconv/Makefile (xtests): Change dependencies to ....
55663 (xtests-special): ... additions to this variable.
55664 * iconvdata/Makefile (tests): Change dependencies to ....
55665 (tests-special): ... additions to this variable.
55666 * intl/Makefile (tests): Change dependencies to ....
55667 (tests-special): ... additions to this variable. Also add
55668 $(objpfx)tst-gettext.out.
55669 * io/Makefile (tests): Change dependencies to ....
55670 (tests-special): ... additions to this variable.
55671 * libio/Makefile (tests): Change dependencies to ....
55672 (tests-special): ... additions to this variable.
55673 * malloc/Makefile (tests): Change dependencies to ....
55674 (tests-special): ... additions to this variable.
55675 * misc/Makefile (tests): Change dependencies to ....
55676 (tests-special): ... additions to this variable.
55677 * nptl/Makefile (tests): Change dependencies to ....
55678 (tests-special): ... additions to this variable.
55679 * nptl_db/Makefile (tests): Change dependencies to ....
55680 (tests-special): ... additions to this variable.
55681 * posix/Makefile (tests): Change dependencies to ....
55682 (tests-special): ... additions to this variable.
55683 (xtests): Change dependencies to ....
55684 (xtests-special): ... additions to this variable.
55685 * resolv/Makefile (tests): Change dependencies to ....
55686 (tests-special): ... additions to this variable.
55687 (xtests): Change dependencies to ....
55688 (xtests-special): ... additions to this variable.
55689 * stdio-common/Makefile (tests): Change dependencies to ....
55690 (tests-special): ... additions to this variable.
55691 (do-tst-unbputc): Remove target.
55692 (do-tst-printf): Likewise.
55693 * stdlib/Makefile (tests): Change dependencies to ....
55694 (tests-special): ... additions to this variable.
55695 * string/Makefile (tests): Change dependencies to ....
55696 (tests-special): ... additions to this variable.
55697 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55698 (tests-special): ... additions to this variable.
55699
55700 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55701 whole file.
55702 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55703 whole file.
55704 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55705 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55706
55707 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55708 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55709 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55710 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55711 * conform/data/libgen.h-data [XPG3]: Likewise.
55712 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55713 * conform/data/ndbm.h-data [XPG3]: Likewise.
55714 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55715 * conform/data/netdb.h-data [XPG3]: Likewise.
55716 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55717 * conform/data/poll.h-data [XPG3]: Likewise.
55718 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55719 * conform/data/strings.h-data [XPG3]: Likewise.
55720 * conform/data/stropts.h-data [XPG3]: Likewise.
55721 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55722 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55723 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55724 Likewise.
55725 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55726 * conform/data/sys/time.h-data [XPG3]: Likewise.
55727 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55728 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55729 * conform/data/sys/un.h-data [XPG3]: Likewise.
55730 * conform/data/syslog.h-data [XPG3]: Likewise.
55731 * conform/data/ucontext.h-data [XPG3]: Likewise.
55732 * conform/data/utmpx.h-data [XPG3]: Likewise.
55733 * conform/data/varargs.h-data [UNIX98]: Enable file.
55734
55735 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55736
55737 * math/libm-test.inc (struct test_f_f_data): Move expected results
55738 into structure for each rounding mode.
55739 (struct test_ff_f_data): Likewise.
55740 (struct test_ff_f_data_nexttoward): Likewise.
55741 (struct test_fi_f_data): Likewise.
55742 (struct test_fl_f_data): Likewise.
55743 (struct test_if_f_data): Likewise.
55744 (struct test_fff_f_data): Likewise.
55745 (struct test_c_f_data): Likewise.
55746 (struct test_f_f1_data): Likewise.
55747 (struct test_fF_f1_data): Likewise.
55748 (struct test_ffI_f1_data): Likewise.
55749 (struct test_c_c_data): Likewise.
55750 (struct test_cc_c_data): Likewise.
55751 (struct test_f_i_data): Likewise.
55752 (struct test_ff_i_data): Likewise.
55753 (struct test_f_l_data): Likewise.
55754 (struct test_f_L_data): Likewise.
55755 (struct test_fFF_11_data): Likewise.
55756 (RM_): New macro.
55757 (RM_FE_DOWNWARD): Likewise.
55758 (RM_FE_TONEAREST): Likewise.
55759 (RM_FE_TOWARDZERO): Likewise.
55760 (RM_FE_UPWARD): Likewise.
55761 (RUN_TEST_LOOP_f_f): Update references to expected results.
55762 (RUN_TEST_LOOP_2_f): Likewise.
55763 (RUN_TEST_LOOP_fff_f): Likewise.
55764 (RUN_TEST_LOOP_c_f): Likewise.
55765 (RUN_TEST_LOOP_f_f1): Likewise.
55766 (RUN_TEST_LOOP_fF_f1): Likewise.
55767 (RUN_TEST_LOOP_fI_f1): Likewise.
55768 (RUN_TEST_LOOP_ffI_f1): Likewise.
55769 (RUN_TEST_LOOP_c_c): Likewise.
55770 (RUN_TEST_LOOP_cc_c): Likewise.
55771 (RUN_TEST_LOOP_f_i): Likewise.
55772 (RUN_TEST_LOOP_f_i_tg): Likewise.
55773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55774 (RUN_TEST_LOOP_f_b): Likewise.
55775 (RUN_TEST_LOOP_f_b_tg): Likewise.
55776 (RUN_TEST_LOOP_f_l): Likewise.
55777 (RUN_TEST_LOOP_f_L): Likewise.
55778 (RUN_TEST_LOOP_fFF_11): Likewise.
55779 * math/gen-libm-test.pl (parse_args): Output four copies of
55780 expected results for each test.
55781
55782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55783 (__ASSUME_UTIMES): Remove.
55784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55785 (__ASSUME_UTIMES): Likewise.
55786
55787 * math/gen-auto-libm-tests.c: Update comment on output format.
55788 (output_for_one_input_case): Generate before-rounding and
55789 after-rounding information as conditions on output flags not
55790 floating-point format.
55791 * math/auto-libm-test-out: Regenerated.
55792 * math/gen-libm-test.pl (cond_value): New function.
55793 (or_cond_value): Use cond_value.
55794 (generate_testfile): Handle conditional exceptions.
55795
55796 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55797
55798 * math/libm-test.inc (max_valid_error): New variable.
55799 (init_max_error): Take new argument specifying whether function
55800 results are exactly determined. Set max_valid_error and bound
55801 other variables for errors based on this argument.
55802 (set_max_error): Do not record results above max_valid_error.
55803 (check_float_internal): Only accept errors of up to 0.5ulps if
55804 also at most max_valid_error.
55805 (START): Take new argument EXACT and pass it to init_max_error.
55806 (acos_test): Update call to START.
55807 (acos_test_tonearest): Likewise.
55808 (acos_test_towardzero): Likewise.
55809 (acos_test_downward): Likewise.
55810 (acos_test_upward): Likewise.
55811 (acosh_test): Likewise.
55812 (asin_test): Likewise.
55813 (asin_test_tonearest): Likewise.
55814 (asin_test_towardzero): Likewise.
55815 (asin_test_downward): Likewise.
55816 (asin_test_upward): Likewise.
55817 (asinh_test): Likewise.
55818 (atan_test): Likewise.
55819 (atanh_test): Likewise.
55820 (atan2_test): Likewise.
55821 (cabs_test): Likewise.
55822 (cacos_test): Likewise.
55823 (cacosh_test): Likewise.
55824 (carg_test): Likewise.
55825 (casin_test): Likewise.
55826 (casinh_test): Likewise.
55827 (catan_test): Likewise.
55828 (catanh_test): Likewise.
55829 (cbrt_test): Likewise.
55830 (ccos_test): Likewise.
55831 (ccosh_test): Likewise.
55832 (ceil_test): Likewise.
55833 (cexp_test): Likewise.
55834 (cimag_test): Likewise.
55835 (clog_test): Likewise.
55836 (clog10_test): Likewise.
55837 (conj_test): Likewise.
55838 (copysign_test): Likewise.
55839 (cos_test): Likewise.
55840 (cos_test_tonearest): Likewise.
55841 (cos_test_towardzero): Likewise.
55842 (cos_test_downward): Likewise.
55843 (cos_test_upward): Likewise.
55844 (cosh_test): Likewise.
55845 (cosh_test_tonearest): Likewise.
55846 (cosh_test_towardzero): Likewise.
55847 (cosh_test_downward): Likewise.
55848 (cosh_test_upward): Likewise.
55849 (cpow_test): Likewise.
55850 (cproj_test): Likewise.
55851 (creal_test): Likewise.
55852 (csin_test): Likewise.
55853 (csinh_test): Likewise.
55854 (csqrt_test): Likewise.
55855 (ctan_test): Likewise.
55856 (ctan_test_tonearest): Likewise.
55857 (ctan_test_towardzero): Likewise.
55858 (ctan_test_downward): Likewise.
55859 (ctan_test_upward): Likewise.
55860 (ctanh_test): Likewise.
55861 (ctanh_test_tonearest): Likewise.
55862 (ctanh_test_towardzero): Likewise.
55863 (ctanh_test_downward): Likewise.
55864 (ctanh_test_upward): Likewise.
55865 (erf_test): Likewise.
55866 (erfc_test): Likewise.
55867 (exp_test): Likewise.
55868 (exp_test_tonearest): Likewise.
55869 (exp_test_towardzero): Likewise.
55870 (exp_test_downward): Likewise.
55871 (exp_test_upward): Likewise.
55872 (exp10_test): Likewise.
55873 (exp10_test_tonearest): Likewise.
55874 (exp10_test_towardzero): Likewise.
55875 (exp10_test_downward): Likewise.
55876 (exp10_test_upward): Likewise.
55877 (pow10_test): Likewise.
55878 (exp2_test): Likewise.
55879 (expm1_test): Likewise.
55880 (expm1_test_tonearest): Likewise.
55881 (expm1_test_towardzero): Likewise.
55882 (expm1_test_downward): Likewise.
55883 (expm1_test_upward): Likewise.
55884 (fabs_test): Likewise.
55885 (fdim_test): Likewise.
55886 (floor_test): Likewise.
55887 (fma_test): Likewise.
55888 (fma_test_towardzero): Likewise.
55889 (fma_test_downward): Likewise.
55890 (fma_test_upward): Likewise.
55891 (fmax_test): Likewise.
55892 (fmin_test): Likewise.
55893 (fmod_test): Likewise.
55894 (fpclassify_test): Likewise.
55895 (frexp_test): Likewise.
55896 (hypot_test): Likewise.
55897 (ilogb_test): Likewise.
55898 (isfinite_test): Likewise.
55899 (finite_test): Likewise.
55900 (isgreater_test): Likewise.
55901 (isgreaterequal_test): Likewise.
55902 (isinf_test): Likewise.
55903 (isless_test): Likewise.
55904 (islessequal_test): Likewise.
55905 (islessgreater_test): Likewise.
55906 (isnan_test): Likewise.
55907 (isnormal_test): Likewise.
55908 (issignaling_test): Likewise.
55909 (isunordered_test): Likewise.
55910 (j0_test): Likewise.
55911 (j1_test): Likewise.
55912 (jn_test): Likewise.
55913 (ldexp_test): Likewise.
55914 (lgamma_test): Likewise.
55915 (gamma_test): Likewise.
55916 (lrint_test): Likewise.
55917 (lrint_test_tonearest): Likewise.
55918 (lrint_test_towardzero): Likewise.
55919 (lrint_test_downward): Likewise.
55920 (lrint_test_upward): Likewise.
55921 (llrint_test): Likewise.
55922 (llrint_test_tonearest): Likewise.
55923 (llrint_test_towardzero): Likewise.
55924 (llrint_test_downward): Likewise.
55925 (llrint_test_upward): Likewise.
55926 (log_test): Likewise.
55927 (log10_test): Likewise.
55928 (log1p_test): Likewise.
55929 (log2_test): Likewise.
55930 (logb_test): Likewise.
55931 (logb_test_downward): Likewise.
55932 (lround_test): Likewise.
55933 (llround_test): Likewise.
55934 (modf_test): Likewise.
55935 (nearbyint_test): Likewise.
55936 (nextafter_test): Likewise.
55937 (nexttoward_test): Likewise.
55938 (pow_test): Likewise.
55939 (pow_test_tonearest): Likewise.
55940 (pow_test_towardzero): Likewise.
55941 (pow_test_downward): Likewise.
55942 (pow_test_upward): Likewise.
55943 (remainder_test): Likewise.
55944 (drem_test): Likewise.
55945 (remainder_test_tonearest): Likewise.
55946 (drem_test_tonearest): Likewise.
55947 (remainder_test_towardzero): Likewise.
55948 (drem_test_towardzero): Likewise.
55949 (remainder_test_downward): Likewise.
55950 (drem_test_downward): Likewise.
55951 (remainder_test_upward): Likewise.
55952 (drem_test_upward): Likewise.
55953 (remquo_test): Likewise.
55954 (rint_test): Likewise.
55955 (rint_test_tonearest): Likewise.
55956 (rint_test_towardzero): Likewise.
55957 (rint_test_downward): Likewise.
55958 (rint_test_upward): Likewise.
55959 (round_test): Likewise.
55960 (scalb_test): Likewise.
55961 (scalbn_test): Likewise.
55962 (scalbln_test): Likewise.
55963 (signbit_test): Likewise.
55964 (sin_test): Likewise.
55965 (sin_test_tonearest): Likewise.
55966 (sin_test_towardzero): Likewise.
55967 (sin_test_downward): Likewise.
55968 (sin_test_upward): Likewise.
55969 (sincos_test): Likewise.
55970 (sinh_test): Likewise.
55971 (sinh_test_tonearest): Likewise.
55972 (sinh_test_towardzero): Likewise.
55973 (sinh_test_downward): Likewise.
55974 (sinh_test_upward): Likewise.
55975 (sqrt_test): Likewise.
55976 (sqrt_test_tonearest): Likewise.
55977 (sqrt_test_towardzero): Likewise.
55978 (sqrt_test_downward): Likewise.
55979 (sqrt_test_upward): Likewise.
55980 (tan_test): Likewise.
55981 (tan_test_tonearest): Likewise.
55982 (tan_test_towardzero): Likewise.
55983 (tan_test_downward): Likewise.
55984 (tan_test_upward): Likewise.
55985 (tanh_test): Likewise.
55986 (tgamma_test): Likewise.
55987 (trunc_test): Likewise.
55988 (y0_test): Likewise.
55989 (y1_test): Likewise.
55990 (yn_test): Likewise.
55991 (significand_test): Likewise.
55992
55993 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55994 individual tests in comment.
55995 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55996 (prev_max_error): New variable.
55997 (prev_real_max_error): Likewise.
55998 (prev_imag_max_error): Likewise.
55999 (compare_ulp_data): Don't refer to test names in comment.
56000 (find_test_ulps): Remove function.
56001 (find_function_ulps): Likewise.
56002 (find_complex_function_ulps): Likewise.
56003 (init_max_error): Take function name as argument. Look up ulps
56004 for that function.
56005 (print_ulps): Remove function.
56006 (print_max_error): Use prev_max_error instead of calling
56007 find_function_ulps.
56008 (print_complex_max_error): Use prev_real_max_error and
56009 prev_imag_max_error instead of calling find_complex_function_ulps.
56010 (check_float_internal): Take max_ulp parameter instead of calling
56011 find_test_ulps. Don't call print_ulps.
56012 (check_float): Update call to check_float_internal.
56013 (check_complex): Update calls to check_float_internal.
56014 (START): Pass argument to init_max_error.
56015 * math/gen-libm-test.pl (%results): Don't include "kind"
56016 information.
56017 (parse_ulps): Don't handle ulps of individual tests.
56018 (print_ulps_file): Likewise.
56019 (output_ulps): Likewise.
56020 * math/README.libm-test: Update.
56021 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56022 individual tests.
56023 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56024 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56025 * sysdeps/arm/libm-test-ulps: Likewise.
56026 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56027 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56028 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56029 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56030 * sysdeps/microblaze/libm-test-ulps: Likewise.
56031 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56032 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56034 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56035 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56036 * sysdeps/sh/libm-test-ulps: Likewise.
56037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56038 * sysdeps/tile/libm-test-ulps: Likewise.
56039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56040
56041 2014-03-04 Joseph Myers <joseph@codesourcery.com>
56042
56043 * math/libm-test.inc (print_complex_max_error): Check separately
56044 whether real and imaginary errors are within allowed range and
56045 pass 0 to print_complex_function_ulps instead of value within
56046 allowed range.
56047
56048 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56049
56050 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56051 formatting.
56052 (get_handles_fopen): Likewise.
56053 (do_write_test): Likewise.
56054
56055 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56056
56057 * libio/fileops.c (do_ftell): Use cached offset when
56058 available.
56059 * libio/iofwide.c (do_ftell_wide): Likewise.
56060 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56061 _IO_file_attach.
56062 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56063
56064 [BZ #16532]
56065 * libio/libioP.h (get_file_offset): New function.
56066 * libio/fileops.c (get_file_offset): Likewise.
56067 (do_ftell): Likewise.
56068 (_IO_new_file_seekoff): Split out ftell logic.
56069 * libio/wfileops.c (do_ftell_wide): Likewise.
56070 (_IO_wfile_seekoff): Split out ftell logic.
56071 * libio/tst-ftell-active-handler.c: New test case.
56072 * libio/Makefile (tests): Add it.
56073
56074 2014-03-03 Roland McGrath <roland@hack.frob.com>
56075
56076 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56077 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56078
56079 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56080
56081 [BZ #16639]
56082 * nscd/connections.c (nscd_init): Call do_exit.
56083 (start_threads): Call do_exit and notify_parent.
56084 (begin_drop_privileges): Call do_exit.
56085 (finish_drop_privileges): Likewise.
56086 * nscd/selinux.c (preserve_capabilities): Likewise.
56087 (install_real_capabilities): Likewise.
56088 (nscd_selinux_enabled): Likewise.
56089 (avc_create_thread): Likewise.
56090 (avc_alloc_lock): Likewise.
56091 (nscd_avc_init): Likewise.
56092 * nscd/nscd.c (parent_fd): New static variable.
56093 (main): Create a pipe between parent and child processes.
56094 Skip closing parent_fd.
56095 (monitor_child): New function.
56096 (do_exit): Likewise.
56097 (notify_parent): Likewise.
56098 * nscd/nscd.h (notify_parent): Likewise.
56099 (do_exit): Likewise.
56100
56101 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56102
56103 * malloc/malloc.c (__libc_calloc): Revert last change.
56104
56105 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56106
56107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56108
56109 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56110
56111 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56113 implementation.
56114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56115 (__libc_ifunc_impl_list): Likewise.
56116 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56117 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56119 * string/strrchr.c: Define STRRCHR.
56120
56121 2014-02-28 Ondƙej Bílka <neleai@seznam.cz>
56122
56123 * benchtest/bench-strtok.c (simple_strtok): Delete.
56124 (strtok_string): Use as benchmark.
56125 * string/strtok (STRTOK): New macro.
56126
56127 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56128
56129 * manual/threads.texi: Add header and standard comments to all
56130 functions.
56131
56132 * elf/dl-lookup.c (check_match): New function.
56133 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56134 (do_lookup_x): Remove nested function check_match. Use non-nested
56135 function check_match.
56136
56137 2014-02-28 Roland McGrath <roland@hack.frob.com>
56138
56139 * csu/Makefile (generated, before-compile): Use += rather than =.
56140 * catgets/Makefile (generated, generated-dirs): Likewise.
56141 * debug/Makefile (generated): Likewise.
56142 * dlfcn/Makefile (generated): Likewise.
56143 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56144 * iconvdata/Makefile (before-compile, generated): Likewise.
56145 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56146 * libio/Makefile (generated): Likewise.
56147 * malloc/Makefile (generated): Likewise.
56148 * manual/Makefile (generated, generated-dirs): Likewise.
56149 * misc/Makefile (generated): Likewise.
56150 * posix/Makefile (generated): Likewise.
56151 * resolv/Makefile (generated): Likewise.
56152 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56153 * timezone/Makefile (generated, generated-dirs): Likewise.
56154
56155 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56156
56157 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56158
56159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56160 power8 implementation.
56161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56162 file: POWER8 llround ifunc implementation.
56163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56164 (__lllround): Add POWER8 implementation.
56165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56166 POWER8 llround implementation.
56167
56168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56169 power8 implementation.
56170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56171 file: POWER8 llrint ifunc implementation.
56172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56173 Add POWER8 implementation.
56174 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56175 POWER8 llrint implementation.
56176
56177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56178 power8 implementation.
56179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56180 file: POWER8 finite ifunc implementation.
56181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56182 Add POWER8 implementation.
56183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56184 Likewise.
56185 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56186 POWER8 finite implementation.
56187 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56188
56189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56190 power8 implementation.
56191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56192 file: POWER8 isinf ifunc implementation.
56193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56194 POWER8 implementation.
56195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56196 Likewise.
56197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56198 isinf implementation.
56199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56200
56201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56202 (INIT_ARCH): Add hwcap2 initialization.
56203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56204 power8 implementation.
56205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56206 file: POWER8 isnan ifunc implementation.
56207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56208 POWER8 implementation.
56209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56210 Likewise.
56211 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56212 isnan implementation.
56213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56214
56215 2014-02-27 Joey Ye <joey.ye@arm.com>
56216
56217 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56218 (_FP_NANFRAC_Q): Set to zero.
56219
56220 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56221
56222 [BZ #16623]
56223 * math/auto-libm-test-in: New test inputs.
56224 * math/auto-libm-test-out: Regenerate.
56225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56226 and DA.
56227 (__cos): Likewise.
56228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56229
56230 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56231
56232 * scripts/evaluate-test.sh: Take new argument indicating whether
56233 failure is expected.
56234 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56235 indicating whether failure is expected.
56236 * conform/Makefile (test-xfail-run-conformtest): New variable.
56237 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56238 level.
56239 * posix/Makefile (test-xfail-annexc): New variable.
56240 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56241
56242 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56243
56244 * argp/Makefile: Include Makeconfig immediately after defining
56245 subdir.
56246 * assert/Makefile: Likewise.
56247 * benchtests/Makefile: Likewise.
56248 * catgets/Makefile: Likewise.
56249 * conform/Makefile: Likewise.
56250 * crypt/Makefile: Likewise.
56251 * csu/Makefile: Likewise.
56252 (all): Remove target.
56253 * ctype/Makefile: Include Makeconfig immediately after defining
56254 subdir.
56255 * debug/Makefile: Likewise.
56256 * dirent/Makefile: Likewise.
56257 * dlfcn/Makefile: Likewise.
56258 * gmon/Makefile: Likewise.
56259 * gnulib/Makefile: Likewise.
56260 * grp/Makefile: Likewise.
56261 * gshadow/Makefile: Likewise.
56262 * hesiod/Makefile: Likewise.
56263 * hurd/Makefile: Likewise.
56264 (all): Remove target.
56265 * iconvdata/Makefile: Include Makeconfig immediately after
56266 defining subdir.
56267 * inet/Makefile: Likewise.
56268 * intl/Makefile: Likewise.
56269 * io/Makefile: Likewise.
56270 * libio/Makefile: Likewise.
56271 (all): Remove target.
56272 * locale/Makefile: Include Makeconfig immediately after defining
56273 subdir.
56274 * login/Makefile: Likewise.
56275 * mach/Makefile: Likewise.
56276 (all): Remove target.
56277 * malloc/Makefile: Include Makeconfig immediately after defining
56278 subdir.
56279 (all): Remove target.
56280 * manual/Makefile: Include Makeconfig immediately after defining
56281 subdir.
56282 * math/Makefile: Likewise.
56283 * misc/Makefile: Likewise.
56284 * nis/Makefile: Likewise.
56285 * nss/Makefile: Likewise.
56286 * po/Makefile: Likewise.
56287 (all): Remove target.
56288 * posix/Makefile: Include Makeconfig immediately after defining
56289 subdir.
56290 * pwd/Makefile: Likewise.
56291 * resolv/Makefile: Likewise.
56292 * resource/Makefile: Likewise.
56293 * rt/Makefile: Likewise.
56294 * setjmp/Makefile: Likewise.
56295 * shadow/Makefile: Likewise.
56296 * signal/Makefile: Likewise.
56297 * socket/Makefile: Likewise.
56298 * soft-fp/Makefile: Likewise.
56299 * stdio-common/Makefile: Likewise.
56300 * stdlib/Makefile: Likewise.
56301 * streams/Makefile: Likewise.
56302 * string/Makefile: Likewise.
56303 * sunrpc/Makefile: Likewise.
56304 (all): Remove target.
56305 * sysvipc/Makefile: Include Makeconfig immediately after defining
56306 subdir.
56307 * termios/Makefile: Likewise.
56308 * time/Makefile: Likewise.
56309 * timezone/Makefile: Likewise.
56310 (all): Remove target.
56311 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56312 subdir.
56313 * wctype/Makefile: Likewise.
56314
56315 2014-02-26 Steve Ellcey <sellcey@mips.com>
56316
56317 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56318 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56319 (libc_feholdexcept_setround_mips): Ditto.
56320 (libc_feholdsetround): New.
56321 (libc_feholdsetroundf): New.
56322 (libc_feholdsetroundl): New.
56323 (libc_feupdateenv_test_mips): New.
56324 (libc_feupdateenv_test): New.
56325 (libc_feupdateenv_testf): New.
56326 (libc_feupdateenv_testl): New.
56327 (libc_feresetround): New.
56328 (libc_feresetroundf): New.
56329 (libc_feresetroundl): New.
56330 (libc_fetestexcept_mips): New.
56331 (libc_fetestexcept): New.
56332 (libc_fetestexceptf): New.
56333 (libc_fetestexceptl): New.
56334 (HAVE_RM_CTX): New.
56335 (libc_feholdexcept_setround_mips_ctx): New.
56336 (libc_feholdexcept_setround_ctx): New.
56337 (libc_feholdexcept_setroundf_ctx): New.
56338 (libc_feholdexcept_setroundl_ctx): New.
56339 (libc_fesetenv_mips_ctx): New.
56340 (libc_fesetenv_ctx): New.
56341 (libc_fesetenv_ctxf): New.
56342 (libc_fesetenv_ctxl): New.
56343 (libc_feupdateenv_mips_ctx): New.
56344 (libc_feupdateenv_ctx): New.
56345 (libc_feupdateenvf_ctx): New.
56346 (libc_feupdateenvl_ctx): New.
56347 (libc_feholdsetround_mips_ctx): New.
56348 (libc_feholdsetround_ctx): New.
56349 (libc_feholdsetroundf_ctx): New.
56350 (libc_feholdsetroundl_ctx): New.
56351 (libc_feresetround_mips_ctx): New.
56352 (libc_feresetround_ctx): New.
56353 (libc_feresetroundf_ctx): New.
56354 (libc_feresetroundl_ctx): New.
56355
56356 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56357
56358 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56359
56360 * manual/ipc.texi: New file.
56361 * manual/Makefile (chapters): Add ipc.
56362 * manual/job.texi: Add "Inter-Process Communication" to next.
56363 * manual/process.texi: Add "Inter-Process Communication" to prev.
56364
56365 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56366
56367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56368
56369 2014-02-26 Ondƙej Bílka <neleai@seznam.cz>
56370
56371 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56372
56373 * manual/arith.texi: Fix spaces after sentences.
56374 * manual/charset.texi: Likewise.
56375 * manual/errno.texi: Likewise.
56376 * manual/install.texi: Likewise.
56377 * manual/llio.texi: Likewise.
56378 * manual/locale.texi: Likewise.
56379 * manual/maint.texi: Likewise.
56380 * manual/math.texi: Likewise.
56381 * manual/memory.texi: Likewise.
56382 * manual/message.texi: Likewise.
56383 * manual/probes.texi: Likewise.
56384 * manual/resource.texi: Likewise.
56385 * manual/signal.texi: Likewise.
56386 * manual/socket.texi: Likewise.
56387 * manual/stdio.texi: Likewise.
56388 * manual/string.texi: Likewise.
56389 * manual/time.texi: Likewise.
56390 * manual/users.texi: Likewise.
56391
56392 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56393
56394 [BZ #16632]
56395 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56396 _DEFAULT_SOURCE is defined.
56397
56398 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56399 Carlos O'Donell <carlos@redhat.com>
56400
56401 [BZ #16613]
56402 * elf/dl-tls.c (_dl_count_modids): New function.
56403 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56404 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56405 audit library and increment generation counter.
56406 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56407 * elf/tst-audit9.c: New file.
56408 * elf/tst-auditmod9a.c: New file.
56409 * elf/tst-auditmod9b.c: New file.
56410 * elf/Makefile: Add rules to build and run tst-audit9.
56411
56412 2014-02-25 Florian Weimer <fweimer@redhat.com>
56413
56414 [BZ #15347]
56415 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56416
56417 2014-02-25 Will Newton <will.newton@linaro.org>
56418
56419 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56420 (__longjmp): Restore sp and lr before restoring callee
56421 saved registers. Add longjmp and longjmp_target
56422 SystemTap probe point.
56423 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56424 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56425 Define to zero to match jmpbuf layout.
56426 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56427 (__sigsetjmp): Save sp and lr before saving callee
56428 saved registers. Add setjmp SystemTap probe point.
56429
56430 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56431
56432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56433
56434 2014-02-24 Andreas Schwab <schwab@suse.de>
56435
56436 [BZ #15804]
56437 * elf/pldd.c (wait_for_ptrace_stop): New function.
56438 (main): Call it after attaching.
56439
56440 2014-02-22 Roland McGrath <roland@hack.frob.com>
56441
56442 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56443 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56444 Versions files is now verboten.
56445 * hurd/Versions (libc: GLIBC_2.0):
56446 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56447 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56448 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56449 * mach/Versions: Likewise.
56450
56451 * csu/Versions: Remove unused %include.
56452 * resolv/Versions: Likewise.
56453
56454 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56455
56456 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56457 ($(objpfx)check-local-headers.out): Likewise.
56458 ($(objpfx)begin-end-check.out): Likewise.
56459 * Makerules (check-abi-%.out): Likewise.
56460 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56461 ($(objpfx)test2.cat): Likewise.
56462 ($(objpfx)de/libc.cat): Likewise.
56463 ($(objpfx)test-gencat.out): Likewise.
56464 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56465 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56466 ($(objpfx)noload-mem): Likewise.
56467 ($(objpfx)tst-pathopt.out): Likewise.
56468 ($(objpfx)tst-rtld-load-self.out): Likewise.
56469 ($(objpfx)tst-array1-cmp.out): Likewise.
56470 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56471 ($(objpfx)tst-array2-cmp.out): Likewise.
56472 ($(objpfx)tst-array3-cmp.out): Likewise.
56473 ($(objpfx)tst-array4-cmp.out): Likewise.
56474 ($(objpfx)tst-array5-cmp.out): Likewise.
56475 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56476 ($(objpfx)check-textrel.out): Likewise.
56477 ($(objpfx)check-execstack.out): Likewise.
56478 ($(objpfx)check-localplt.out): Likewise.
56479 ($(objpfx)order2-cmp.out): Likewise.
56480 ($(objpfx)tst-leaks1-mem): Likewise.
56481 ($(objpfx)tst-leaks1-static-mem): Likewise.
56482 ($(objpfx)tst-initorder-cmp.out): Likewise.
56483 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56484 ($(objpfx)tst-unused-dep.out): Likewise.
56485 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56486 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56487 * iconv/Makefile (test-iconvconfig): Likewise.
56488 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56489 ($(objpfx)iconv-test.out): Likewise.
56490 ($(objpfx)tst-tables.out): Likewise.
56491 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56492 ($(objpfx)tst-gettext.out): Likewise.
56493 ($(objpfx)tst-translit.out): Likewise.
56494 ($(objpfx)tst-gettext2.out): Likewise.
56495 ($(objpfx)tst-gettext4.out): Likewise.
56496 ($(objpfx)tst-gettext6.out): Likewise.
56497 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56498 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56499 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56500 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56501 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56502 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56503 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56504 ($(objpfx)wordexp-tst.out): Likewise.
56505 ($(objpfx)annexc.out): Likewise.
56506 ($(objpfx)tst-fnmatch-mem): Likewise.
56507 ($(objpfx)bug-regex2-mem): Likewise.
56508 ($(objpfx)bug-regex14-mem): Likewise.
56509 ($(objpfx)bug-regex21-mem): Likewise.
56510 ($(objpfx)bug-regex31-mem): Likewise.
56511 ($(objpfx)tst-vfork3-mem): Likewise.
56512 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56513 ($(objpfx)tst-pcre-mem): Likewise.
56514 ($(objpfx)tst-boost-mem): Likewise.
56515 ($(objpfx)tst-getconf.out): Likewise.
56516 ($(objpfx)bug-ga2-mem): Likewise.
56517 ($(objpfx)bug-glob2-mem): Likewise.
56518 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56519 ($(objpfx)mtrace-tst-leaks2): Likewise.
56520 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56521 ($(objpfx)tst-printf.out): Likewise.
56522 ($(objpfx)tst-setvbuf1.out): Likewise.
56523 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56524 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56525 ($(objpfx)tst-fmtmsg.out): Likewise.
56526 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56527 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56528
56529 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56530 * bits/sigaction.h [__USE_MISC]: Likewise.
56531 * bits/waitstatus.h: Update #endif comments.
56532 * ctype/ctype.h: Likewise.
56533 * dirent/dirent.h: Likewise.
56534 [__USE_MISC]: Remove redundant conditionals.
56535 * grp/grp.h: Update #endif comments.
56536 [__USE_GNU]: Remove redundant conditionals.
56537 [__USE_MISC]: Likewise.
56538 * inet/netinet/in.h [__USE_GNU]: Likewise.
56539 * io/sys/stat.h [__USE_MISC]: Likewise.
56540 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56541 * libio/bits/stdio.h: Update #endif comments.
56542 [__USE_MISC]: Remove redundant conditionals.
56543 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56544 * libio/stdio.h: Update #endif comments.
56545 [__USE_MISC]: Remove redundant conditionals.
56546 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56547 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56548 * math/math.h: Update #else and #endif comments.
56549 [__USE_MISC]: Remove redundant conditionals.
56550 * misc/sys/uio.h: Update #endif comments.
56551 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56552 * posix/glob.h [__USE_MISC]: Likewise.
56553 * posix/sys/types.h: Update #endif comments.
56554 [__USE_MISC]: Remove redundant conditionals.
56555 * posix/sys/wait.h: Update #endif comments.
56556 [__USE_MISC]: Remove redundant conditionals.
56557 * posix/unistd.h: Update #endif comments.
56558 [__USE_MISC]: Remove redundant conditionals.
56559 * pwd/pwd.h [__USE_GNU]: Likewise.
56560 [__USE_MISC]: Likewise.
56561 * resolv/netdb.h [__USE_GNU]: Likewise.
56562 * signal/signal.h: Update #endif comments.
56563 [__USE_MISC]: Remove redundant conditionals.
56564 * stdlib/stdlib.h: Update #else and #endif comments.
56565 [__USE_MISC]: Remove redundant conditionals.
56566 [__USE_GNU]: Likewise.
56567 * string/bits/string2.h [__USE_MISC]: Likewise.
56568 * string/string.h: Update #endif comments.
56569 [__USE_MISC]: Remove redundant conditionals.
56570 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56571 Likewise.
56572 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56573 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56574 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56575 Likewise.
56576 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56577 Likewise.
56578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56579 comments.
56580 [__USE_MISC]: Remove redundant conditionals.
56581 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56582 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56583 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56584 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56585 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56586 Likewise.
56587 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56588 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56589 Likewise.
56590 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56591 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56592 Likewise.
56593 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56594 Likewise.
56595 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56596 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56597 Likewise.
56598 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56599 Likewise.
56600 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56601 * sysdeps/x86/bits/string.h: Update #endif comments.
56602 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56603 conditionals.
56604 * time/sys/time.h: Update #endif comments.
56605 * time/time.h: Likewise.
56606 [__USE_MISC]: Remove redundant conditionals.
56607
56608 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56609
56610 [BZ #16600]
56611 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56612
56613 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56614
56615 * Versions.def (librt): Add GLIBC_2.17.
56616
56617 2014-02-21 Adam Conrad <adconrad@0c3.net>
56618
56619 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56620 synonym for _SYS_AUXV_H to allow direct inclusion.
56621 * sysdeps/sparc/bits/hwcap.h: Likewise.
56622 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56623 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56624 * sysdeps/sparc/sysdep.h: Likewise.
56625
56626 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56627
56628 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56629
56630 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56631
56632 * benchtests/bench-strrchr.c: Print length instead of position.
56633
56634 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56635
56636 [BZ #16611]
56637 * sysdeps/unix/sysv/linux/kernel-features.h
56638 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56639 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56640 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56641 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56642 Likewise.
56643 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56644 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56645 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56646 (__ASSUME_SENDMMSG): Define instead of using previous
56647 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56649 (__ASSUME_SENDMMSG_SYSCALL): Define.
56650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56651 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56652 Likewise.
56653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56654 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56655 Likewise.
56656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56658 Likewise.
56659 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56660 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56661 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56662 [__ASSUME_SENDMMSG]: Change conditionals to
56663 [__ASSUME_SENDMMSG_SOCKETCALL].
56664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56665 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56666 Define.
56667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56668 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56669 Likewise.
56670 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56671 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56672 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56673 [!__ASSUME_SENDMMSG]: Change conditional to
56674 [!__ASSUME_SENDMMSG_SOCKETCALL].
56675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56677 Define.
56678
56679 [BZ #16610]
56680 * sysdeps/unix/sysv/linux/kernel-features.h
56681 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56682 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56683 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56684 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56685 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56686 [__i386__ || __sparc__]
56687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56688 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56689 (__ASSUME_RECVMMSG): Define instead of using previous
56690 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56691 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56692 (__ASSUME_RECVMMSG_SYSCALL): Define.
56693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56695 Likewise.
56696 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56698 Likewise.
56699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56701 Likewise.
56702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56703 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56704 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56705 [__ASSUME_RECVMMSG]: Change condition to
56706 [__ASSUME_RECVMMSG_SOCKETCALL].
56707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56709 Define.
56710 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56713 Likewise.
56714 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56715 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56716 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56717 [!__ASSUME_RECVMMSG]: Change condition to
56718 [!__ASSUME_RECVMMSG_SOCKETCALL].
56719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56720 (__ASSUME_RECVMMSG_SYSCALL): Define.
56721
56722 [BZ #16609]
56723 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56724 __powerpc__ || __s390__ || __sh__ || __sparc__]
56725 (__ASSUME_SOCKETCALL): Define.
56726 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56727 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56728 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56729 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56730 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56731 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56732 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56733 (__ASSUME_ACCEPT4): Define instead of using previous
56734 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56735 __powerpc__ || __sparc__ || __s390__)] condition.
56736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56737 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56738 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56739 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56740 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56741 [!__ASSUME_ACCEPT4]: Change condition to
56742 [!__ASSUME_ACCEPT4_SOCKETCALL].
56743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56744 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56745 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56747 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56748 __ASSUME_ACCEPT4_SYSCALL.
56749 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56750 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56751 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56752 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56753 __ASSUME_ACCEPT4_SYSCALL.
56754 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56755 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56756 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56757 [__ASSUME_ACCEPT4]: Change condition to
56758 [__ASSUME_ACCEPT4_SOCKETCALL].
56759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56760 (__ASSUME_SOCKETCALL): Define.
56761 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56763 (__ASSUME_SOCKETCALL): Define.
56764 (__ASSUME_ACCEPT4): Remove.
56765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56766 Define.
56767 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56768 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56769 Likewise.
56770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56772
56773 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56774 macro.
56775 (HWCAP_ARM_LPAE): Likewise.
56776 (HWCAP_ARM_EVTSTRM): Likewise.
56777 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56778 Add vpfd32, lpae and evtstrm.
56779 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56780 Increase to 22.
56781
56782 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56783
56784 * math/auto-libm-test-in: Add tests of clog10.
56785 * math/auto-libm-test-out: Regenerated.
56786 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56787 * sysdeps/i386/fpu/libm-test-ulps: Update.
56788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56789
56790 2014-02-18 Andreas Schwab <schwab@suse.de>
56791
56792 [BZ #16574]
56793 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56794 Store non-zero if the second buffer was newly allocated.
56795 (send_dg): Likewise.
56796 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56797 to send_vc and send_dg.
56798 (res_nsend): Pass NULL for ansp2_malloced.
56799 * resolv/res_query.c (__libc_res_nquery): Add parameter
56800 answerp2_malloced and pass it down to __libc_res_nsend.
56801 (res_nquery): Pass additional NULL to __libc_res_nquery.
56802 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56803 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56804 second answer buffer if answerp2_malloced was set.
56805 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56806 (__libc_res_nquerydomain): Add parameter
56807 answerp2_malloced and pass it down to __libc_res_nquery.
56808 (res_nquerydomain): Pass additional NULL to
56809 __libc_res_nquerydomain.
56810 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56811 additional NULL to __libc_res_nsend and __libc_res_nquery.
56812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56813 additional NULL to __libc_res_nsearch.
56814 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56815 parameter of __libc_res_nsearch to check for separately allocated
56816 second buffer.
56817 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56818 __libc_res_nquery.
56819 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56820 additional NULL to __libc_res_nquery.
56821 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56822 __libc_res_nsearch.
56823 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56824 * include/resolv.h: Update prototypes of __libc_res_nquery,
56825 __libc_res_nsearch, __libc_res_nsend.
56826
56827 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56828
56829 * math/auto-libm-test-in: Add tests of fma.
56830 * math/auto-libm-test-out: Regenerated.
56831 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56832 (fma_towardzero_test_data): Likewise.
56833 (fma_downward_test_data): Likewise.
56834 (fma_upward_test_data): Likewise.
56835 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56836 mpc_mode.
56837 (rounding_modes): Add values for new field.
56838 (func_calc_method): Add value mpfr_fff_f.
56839 (func_calc_desc): Add mpfr_fff_f union field.
56840 (test_function): Add field exact_args.
56841 (FUNC): Add macro argument EXACT_ARGS.
56842 (FUNC_mpfr_f_f): Update call to FUNC.
56843 (FUNC_mpfr_f_f): Likewise.
56844 (FUNC_mpfr_ff_f): Likewise.
56845 (FUNC_mpfr_if_f): Likewise.
56846 (FUNC_mpc_c_f): Likewise.
56847 (FUNC_mpc_c_c): Likewise.
56848 (test_functions): Add fma. Update calls to FUNC.
56849 (handle_input_arg): Add argument exact_args.
56850 (add_test): Update call to handle_input_arg.
56851 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56852 (output_for_one_input_case): Update call to calc_generic_results.
56853 Recalculate exact zero results in each rounding mode.
56854
56855 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56856 non-negative before setting low bit.
56857 * math/auto-libm-test-in: Mark one asin test possibly having
56858 spurious underflow.
56859 * math/auto-libm-test-out: Regenerated.
56860 * sysdeps/i386/fpu/libm-test-ulps: Update.
56861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56862
56863 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56864
56865 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56866 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56867 ports/sysdeps/unix/sysv/linux/microblaze.
56868 * README: Add missing listing for microblaze*-*-linux-gnu.
56869
56870 2014-02-16 Ondƙej Bílka <neleai@seznam.cz>
56871
56872 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56873 duplicate code
56874
56875 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56876
56877 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56878 * sysdeps/unix/sysv/linux/ia64: Move directory from
56879 ports/sysdeps/unix/sysv/linux/ia64.
56880 * README: Update listing for ia64-*-linux-gnu.
56881
56882 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56883 Joseph Myers <joseph@codesourcery.com>
56884
56885 * Makeconfig (test-name): New variable.
56886 (evaluate-test): Likewise.
56887 * Makerules (do-test-clean): Remove .test-result files.
56888 (common-mostlyclean): Likewise.
56889 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56890 * scripts/evaluate-test.sh: New file.
56891
56892 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56893
56894 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56895 separate $(objpfx)tst-fopenloc-cmp.out and
56896 $(objpfx)tst-fopenloc-mem.out targets.
56897 (tests): Update dependencies.
56898 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56899 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56900 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56901 (tst-rxspencer-no-utf8-ARGS): New variable.
56902 (tst-rxspencer-no-utf8-ENV): Likewise.
56903 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56904 instead of $(objpfx)tst-rxspencer-mem.
56905 ($(objpfx)tst-rxspencer-mem): Change target to
56906 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56907 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56908 * posix/tst-rxspencer-no-utf8.c: New file.
56909
56910 * elf/Makefile ($(objpfx)order.out): Remove rule.
56911 [$(run-built-tests) = yes] (tests): Depend on
56912 $(objpfx)order-cmp.out.
56913 ($(objpfx)order-cmp.out): New rule.
56914 [$(run-built-tests) = yes] (tests): Depend on
56915 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56916 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56917 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56918 $(objpfx)tst-array5-static-cmp.out.
56919 ($(objpfx)tst-array1.out): Remove rule.
56920 ($(objpfx)tst-array1-cmp.out): New rule.
56921 ($(objpfx)tst-array1-static.out): Remove rule.
56922 ($(objpfx)tst-array1-static-cmp.out): New rule.
56923 ($(objpfx)tst-array2.out): Remove rule.
56924 ($(objpfx)tst-array2-cmp.out): New rule.
56925 ($(objpfx)tst-array3.out): Remove rule.
56926 ($(objpfx)tst-array3-cmp.out): New rule.
56927 ($(objpfx)tst-array4.out): Remove rule.
56928 ($(objpfx)tst-array4-cmp.out): New rule.
56929 ($(objpfx)tst-array5.out): Remove rule.
56930 ($(objpfx)tst-array5-cmp.out): New rule.
56931 ($(objpfx)tst-array5-static.out): Remove rule.
56932 ($(objpfx)tst-array5-static-cmp.out): New rule.
56933 [$(run-built-tests) = yes] (tests): Depend on
56934 $(objpfx)order2-cmp.out.
56935 ($(objpfx)order2.out): Remove rule.
56936 ($(objpfx)order2-cmp.out): New rule.
56937 ($(objpfx)tst-initorder.out): Remove rule.
56938 [$(run-built-tests) = yes] (tests): Depend on
56939 $(objpfx)tst-initorder-cmp.out.
56940 ($(objpfx)tst-initorder-cmp.out): New rule.
56941 ($(objpfx)tst-initorder2.out): Remove rule.
56942 [$(run-built-tests) = yes] (tests): Depend on
56943 $(objpfx)tst-initorder2-cmp.out.
56944 ($(objpfx)tst-initorder2-cmp.out): New rule.
56945 [$(run-built-tests) = yes] (tests): Depend on
56946 $(objpfx)tst-unused-dep-cmp.out.
56947 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56948 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56949 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56950 on $(objpfx)tst-setvbuf1-cmp.out.
56951 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56952 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56953 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56954 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56955 ($(objpfx)tst-svc.out): Remove rule.
56956 ($(objpfx)tst-svc-cmp.out): New rule.
56957
56958 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56959
56960 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56961 * ctype/ctype.h [__USE_MISC]: Likewise.
56962 * dirent/dirent.h [__USE_MISC]: Likewise.
56963 * grp/grp.h [__USE_MISC]: Likewise.
56964 * io/fcntl.h [__USE_MISC]: Likewise.
56965 * io/sys/stat.h [__USE_MISC]: Likewise.
56966 * libio/stdio.h [__USE_MISC]: Likewise.
56967 * posix/unistd.h [__USE_MISC]: Likewise.
56968 * pwd/pwd.h [__USE_MISC]: Likewise.
56969 * stdlib.h [__USE_MISC]: Likewise.
56970 * string/bits/string2.h [__USE_MISC]: Likewise.
56971 * string/string.h [__USE_MISC]: Likewise.
56972 * time/time.h [__USE_MISC]: Likewise.
56973
56974 2014-02-13 Andreas Schwab <schwab@suse.de>
56975
56976 [BZ #16574]
56977 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56978 second answer buffer if it was separately allocated.
56979
56980 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56981
56982 * sysdeps/mips/math-tests.h: Include <features.h>.
56983 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56984 (ROUNDING_TESTS_long_double): Do not define.
56985 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56986 (EXCEPTION_TESTS_long_double): Likewise.
56987 * sysdeps/mips/mips64/libm-test-ulps: Update.
56988
56989 * include/features.h (__USE_BSD): Remove macro definitions.
56990 (__USE_SVID): Likewise.
56991 (_BSD_SOURCE): Likewise.
56992 (_SVID_SOURCE): Likewise.
56993 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56994 from definition of _DEFAULT_SOURCE.
56995 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56996 [_DEFAULT_SOURCE].
56997 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56998 * bits/mman.h [__USE_BSD]: Likewise.
56999 * bits/termios.h [__USE_BSD]: Likewise.
57000 * bits/waitstatus.h [__USE_BSD]: Likewise.
57001 * ctype/ctype.h [__USE_SVID]: Likewise.
57002 * dirent/dirent.h [__USE_BSD]: Likewise.
57003 * grp/grp.h [__USE_SVID]: Likewise.
57004 [__USE_BSD]: Likewise.
57005 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57006 * io/fcntl.h [__USE_BSD]: Likewise.
57007 * io/ftw.h [__USE_BSD]: Likewise.
57008 * io/sys/stat.h [__USE_BSD]: Likewise.
57009 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57010 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57011 * libio/stdio.h [__USE_SVID]: Likewise.
57012 [__USE_BSD]: Likewise.
57013 * math/math.h [__USE_SVID]: Likewise.
57014 [__USE_BSD]: Likewise.
57015 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57016 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57017 * misc/search.h [__USE_SVID]: Likewise.
57018 * misc/sys/mman.h [__USE_BSD]: Likewise.
57019 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57020 * misc/sys/uio.h [__USE_BSD]: Likewise.
57021 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57022 * posix/glob.h [__USE_BSD]: Likewise.
57023 * posix/regex.h [__USE_BSD]: Likewise.
57024 * posix/sys/types.h [__USE_BSD]: Likewise.
57025 [__USE_SVID]: Likewise.
57026 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57027 * posix/sys/wait.h [__USE_BSD]: Likewise.
57028 [__USE_SVID]: Likewise.
57029 * posix/unistd.h [__USE_BSD]: Likewise.
57030 [__USE_SVID]: Likewise.
57031 * pwd/pwd.h [__USE_SVID]: Likewise.
57032 * resolv/netdb.h [__USE_BSD]: Likewise.
57033 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57034 * signal/signal.h [__USE_BSD]: Likewise.
57035 [__USE_SVID]: Likewise.
57036 * socket/sys/socket.h [__USE_BSD]: Likewise.
57037 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57038 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57039 [__USE_SVID]: Likewise.
57040 * string/bits/string2.h [__USE_BSD]: Likewise.
57041 [__USE_SVID]: Likewise.
57042 * string/bits/string3.h [__USE_BSD]: Likewise.
57043 * string/endian.h [__USE_BSD]: Likewise.
57044 * string/string.h [__USE_SVID]: Likewise.
57045 [__USE_BSD]: Likewise.
57046 * string/strings.h [__USE_BSD]: Likewise.
57047 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57048 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57050 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57051 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57052 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57053 Likewise.
57054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57055 Likewise.
57056 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57057 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57058 Likewise.
57059 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57060 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57061 Likewise.
57062 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57063 Likewise.
57064 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57065 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57067 Likewise.
57068 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57069 Likewise.
57070 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57071 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57072 * termios/termios.h [__USE_BSD]: Likewise.
57073 * time/sys/time.h [__USE_BSD]: Likewise.
57074 * time/time.h [__USE_BSD]: Likewise.
57075 [__USE_SVID]: Likewise.
57076
57077 * Makefile (subdir_targets): Remove subdir_lint.out.
57078
57079 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57080 (do-tst-printf): Likewise.
57081 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57082 $(objpfx)tst-printf.out.
57083
57084 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57085
57086 * Makerules (check-abi-%): Change target to
57087 $(objpfx)check-abi-%.out.
57088 (check-abi target): Update dependencies.
57089 (check-abi-pattern variable): Redirect output of diff to $@.
57090 (check-abi variable): Likewise.
57091 * elf/Makefile (check-abi): Update dependencies.
57092
57093 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57094 unused.
57095 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57096 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57097 subnormal range.
57098 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57099 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57100 value has largest subnormal exponent.
57101 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57102 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57103 * sysdeps/aarch64/soft-fp/sfp-machine.h
57104 (_FP_TININESS_AFTER_ROUNDING): New macro.
57105 * sysdeps/alpha/soft-fp/sfp-machine.h
57106 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57107 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57108 Likewise.
57109 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57110 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57111 * sysdeps/mips/soft-fp/sfp-machine.h
57112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57113 * sysdeps/powerpc/soft-fp/sfp-machine.h
57114 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57115 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57116 Likewise.
57117 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57118 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57120 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57121 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57122 Likewise.
57123
57124 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57125
57126 [BZ #16545]
57127 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57128 model 1.
57129
57130 2014-02-12 Richard Henderson <rth@redhat.com>
57131
57132 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57133 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57134 * sysdeps/unix/sysv/linux/alpha: Move directory from
57135 ports/sysdeps/unix/sysv/linux/alpha.
57136 * README: Update listing for alpha-*-linux-gnu.
57137
57138 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57139
57140 * include/features.h: Update comment documenting feature test
57141 macros.
57142 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57143 _DEFAULT_SOURCE.
57144 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57145 (_SVID_SOURCE): Likewise.
57146 (_DEFAULT_SOURCE): Update description of default features.
57147 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57148 with _GNU_SOURCE.
57149 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57150 (S_ISVTX): Likewise.
57151 * manual/math.texi (Mathematical Constants): Likewise.
57152 * manual/signal.texi (Interrupted Primitives): Likewise.
57153 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57154 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57155 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57156 Don't refer to _SVID_SOURCE in warning text.
57157
57158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57159
57160 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57161 already defined.
57162 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57163 * sysdeps/mips/dl-lookup.c: Remove.
57164 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57165
57166 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57167
57168 [BZ #16447]
57169 * math/auto-libm-test-in: Add testcase for expl.
57170 * math/auto-libm-test-out: Regenerate.
57171 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57172 calculation of unsafe.
57173 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57174
57175 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57176
57177 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57178 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57179 ports/sysdeps/unix/sysv/linux/aarch64.
57180 * README: Update listing for aarch64*-*-linux-gnu.
57181
57182 2014-02-11 Will Newton <will.newton@linaro.org>
57183
57184 * manual/probes.texi (Mathematical Function Probes): Use
57185 "triggered" instead of "hit".
57186
57187 * manual/probes.texi (Internal Probes): Add documentation
57188 of setjmp, longjmp and longjmp_target probes.
57189
57190 * include/stap-probe.h: Add comment about probe argument
57191 format.
57192
57193 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57194 definition. (tr_where, tr_freehook, tr_mallochook,
57195 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57196
57197 2014-02-11 David S. Miller <davem@davemloft.net>
57198
57199 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57200 processing int_tests.
57201
57202 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57203
57204 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57205 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57206 * sysdeps/unix/sysv/linux/mips: Move directory from
57207 ports/sysdeps/unix/sysv/linux/mips.
57208 * README: Update listing for mips-*-linux-gnu and
57209 mips64-*-linux-gnu.
57210
57211 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57212
57213 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57214 * sysdeps/unix/sysv/linux/m68k: Move directory from
57215 ports/sysdeps/unix/sysv/linux/m68k.
57216 * README: Update listing for m68k-*-linux-gnu.
57217
57218 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57219
57220 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57221 * sysdeps/unix/sysv/linux/generic: Move directory from
57222 ports/sysdeps/unix/sysv/linux/generic.
57223 * sysdeps/unix/sysv/linux/tile: Move directory from
57224 ports/sysdeps/unix/sysv/linux/tile.
57225 * README: Update listing for tile*-*-linux-gnu.
57226
57227 2014-02-10 Ondƙej Bílka <neleai@seznam.cz>
57228
57229 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57230 __builtin_expect.
57231 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57232 * catgets/open_catalog.c (__open_catalog): Likewise.
57233 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57234 * debug/confstr_chk.c: Likewise.
57235 * debug/fread_chk.c (__fread_chk): Likewise.
57236 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57237 * debug/getgroups_chk.c: Likewise.
57238 * debug/mbsnrtowcs_chk.c: Likewise.
57239 * debug/mbsrtowcs_chk.c: Likewise.
57240 * debug/mbstowcs_chk.c: Likewise.
57241 * debug/memcpy_chk.c: Likewise.
57242 * debug/memmove_chk.c: Likewise.
57243 * debug/mempcpy_chk.c: Likewise.
57244 * debug/memset_chk.c: Likewise.
57245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57246 * debug/strcat_chk.c (__strcat_chk): Likewise.
57247 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57248 * debug/strncat_chk.c (__strncat_chk): Likewise.
57249 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57250 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57251 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57252 * debug/wcpncpy_chk.c: Likewise.
57253 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57254 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57255 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57256 * debug/wcsncpy_chk.c: Likewise.
57257 * debug/wcsnrtombs_chk.c: Likewise.
57258 * debug/wcsrtombs_chk.c: Likewise.
57259 * debug/wcstombs_chk.c: Likewise.
57260 * debug/wmemcpy_chk.c: Likewise.
57261 * debug/wmemmove_chk.c: Likewise.
57262 * debug/wmempcpy_chk.c: Likewise.
57263 * debug/wmemset_chk.c: Likewise.
57264 * dirent/scandirat.c (SCANDIRAT): Likewise.
57265 * dlfcn/dladdr1.c (dladdr1): Likewise.
57266 * dlfcn/dladdr.c (dladdr): Likewise.
57267 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57268 * dlfcn/dlerror.c (__dlerror): Likewise.
57269 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57270 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57271 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57272 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57273 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57274 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57275 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57276 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57277 Likewise.
57278 * elf/dl-conflict.c: Likewise.
57279 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57280 * elf/dl-dst.h: Likewise.
57281 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57282 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57284 * elf/dl-init.c (call_init, _dl_init): Likewise.
57285 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57286 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57287 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57288 Likewise.
57289 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57290 Likewise.
57291 * elf/dl-minimal.c (__libc_memalign): Likewise.
57292 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57293 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57294 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57295 * elf/dl-sym.c (do_sym): Likewise.
57296 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57297 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57298 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57299 * elf/dl-writev.h (_dl_writev): Likewise.
57300 * elf/ldconfig.c (search_dir): Likewise.
57301 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57302 (dl_main): Likewise.
57303 * elf/setup-vdso.h (setup_vdso): Likewise.
57304 * grp/compat-initgroups.c (compat_call): Likewise.
57305 * grp/fgetgrent.c (fgetgrent): Likewise.
57306 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57307 * grp/putgrent.c (putgrent): Likewise.
57308 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57309 Likewise.
57310 * hurd/hurdinit.c: Likewise.
57311 * iconvdata/8bit-gap.c (struct): Likewise.
57312 * iconvdata/ansi_x3.110.c : Likewise.
57313 * iconvdata/big5.c : Likewise.
57314 * iconvdata/big5hkscs.c : Likewise.
57315 * iconvdata/cp1255.c: Likewise.
57316 * iconvdata/cp1258.c : Likewise.
57317 * iconvdata/cp932.c : Likewise.
57318 * iconvdata/euc-cn.c: Likewise.
57319 * iconvdata/euc-jisx0213.c : Likewise.
57320 * iconvdata/euc-jp.c: Likewise.
57321 * iconvdata/euc-jp-ms.c : Likewise.
57322 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57323 * iconvdata/gb18030.c : Likewise.
57324 * iconvdata/gbbig5.c (const): Likewise.
57325 * iconvdata/gbgbk.c: Likewise.
57326 * iconvdata/gbk.c : Likewise.
57327 * iconvdata/ibm1364.c : Likewise.
57328 * iconvdata/ibm930.c : Likewise.
57329 * iconvdata/ibm932.c: Likewise.
57330 * iconvdata/ibm933.c : Likewise.
57331 * iconvdata/ibm935.c : Likewise.
57332 * iconvdata/ibm937.c : Likewise.
57333 * iconvdata/ibm939.c : Likewise.
57334 * iconvdata/ibm943.c: Likewise.
57335 * iconvdata/iso_11548-1.c: Likewise.
57336 * iconvdata/iso-2022-cn.c : Likewise.
57337 * iconvdata/iso-2022-cn-ext.c : Likewise.
57338 * iconvdata/iso-2022-jp-3.c: Likewise.
57339 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57340 * iconvdata/iso-2022-kr.c : Likewise.
57341 * iconvdata/iso646.c (gconv_end): Likewise.
57342 * iconvdata/iso_6937-2.c : Likewise.
57343 * iconvdata/iso_6937.c : Likewise.
57344 * iconvdata/iso8859-1.c: Likewise.
57345 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57346 * iconvdata/shift_jisx0213.c : Likewise.
57347 * iconvdata/sjis.c : Likewise.
57348 * iconvdata/t.61.c : Likewise.
57349 * iconvdata/tcvn5712-1.c : Likewise.
57350 * iconvdata/tscii.c: Likewise.
57351 * iconvdata/uhc.c : Likewise.
57352 * iconvdata/unicode.c (gconv_end): Likewise.
57353 * iconvdata/utf-16.c (gconv_end): Likewise.
57354 * iconvdata/utf-32.c (gconv_end): Likewise.
57355 * iconvdata/utf-7.c (base64): Likewise.
57356 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57357 * iconv/gconv_close.c (__gconv_close): Likewise.
57358 * iconv/gconv_open.c (__gconv_open): Likewise.
57359 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57360 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57361 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57362 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57363 (ucs4le_internal_loop_single): Likewise.
57364 * iconv/iconv.c (iconv): Likewise.
57365 * iconv/iconv_close.c: Likewise.
57366 * iconv/loop.c (SINGLE): Likewise.
57367 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57368 * include/atomic.h: Likewise.
57369 * inet/inet6_option.c (option_alloc): Likewise.
57370 * intl/bindtextdom.c (set_binding_values): Likewise.
57371 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57372 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57373 * intl/localealias.c (read_alias_file): Likewise.
57374 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57375 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57376 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57377 * libio/fmemopen.c (fmemopen): Likewise.
57378 * libio/iofgets.c (_IO_fgets): Likewise.
57379 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57380 * libio/iofgetws.c (fgetws): Likewise.
57381 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57382 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57383 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57384 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57385 * locale/findlocale.c (_nl_find_locale): Likewise.
57386 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57387 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57388 Likewise.
57389 * locale/setlocale.c (setlocale): Likewise.
57390 * login/programs/pt_chown.c (main): Likewise.
57391 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57392 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57393 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57394 (mmap, mmap64, mremap, munmap): Likewise.
57395 * math/e_exp2l.c: Likewise.
57396 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57397 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57398 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57399 * math/s_catan.c (__catan): Likewise.
57400 * math/s_catanf.c (__catanf): Likewise.
57401 * math/s_catanh.c (__catanh): Likewise.
57402 * math/s_catanhf.c (__catanhf): Likewise.
57403 * math/s_catanhl.c (__catanhl): Likewise.
57404 * math/s_catanl.c (__catanl): Likewise.
57405 * math/s_ccosh.c (__ccosh): Likewise.
57406 * math/s_ccoshf.c (__ccoshf): Likewise.
57407 * math/s_ccoshl.c (__ccoshl): Likewise.
57408 * math/s_cexp.c (__cexp): Likewise.
57409 * math/s_cexpf.c (__cexpf): Likewise.
57410 * math/s_cexpl.c (__cexpl): Likewise.
57411 * math/s_clog10.c (__clog10): Likewise.
57412 * math/s_clog10f.c (__clog10f): Likewise.
57413 * math/s_clog10l.c (__clog10l): Likewise.
57414 * math/s_clog.c (__clog): Likewise.
57415 * math/s_clogf.c (__clogf): Likewise.
57416 * math/s_clogl.c (__clogl): Likewise.
57417 * math/s_csin.c (__csin): Likewise.
57418 * math/s_csinf.c (__csinf): Likewise.
57419 * math/s_csinh.c (__csinh): Likewise.
57420 * math/s_csinhf.c (__csinhf): Likewise.
57421 * math/s_csinhl.c (__csinhl): Likewise.
57422 * math/s_csinl.c (__csinl): Likewise.
57423 * math/s_csqrt.c (__csqrt): Likewise.
57424 * math/s_csqrtf.c (__csqrtf): Likewise.
57425 * math/s_csqrtl.c (__csqrtl): Likewise.
57426 * math/s_ctan.c (__ctan): Likewise.
57427 * math/s_ctanf.c (__ctanf): Likewise.
57428 * math/s_ctanh.c (__ctanh): Likewise.
57429 * math/s_ctanhf.c (__ctanhf): Likewise.
57430 * math/s_ctanhl.c (__ctanhl): Likewise.
57431 * math/s_ctanl.c (__ctanl): Likewise.
57432 * math/w_pow.c: Likewise.
57433 * math/w_powf.c: Likewise.
57434 * math/w_powl.c: Likewise.
57435 * math/w_scalb.c (sysv_scalb): Likewise.
57436 * math/w_scalbf.c (sysv_scalbf): Likewise.
57437 * math/w_scalbl.c (sysv_scalbl): Likewise.
57438 * misc/error.c (error_tail): Likewise.
57439 * misc/pselect.c (__pselect): Likewise.
57440 * nis/nis_callback.c (__nis_create_callback): Likewise.
57441 * nis/nis_call.c (__nisfind_server): Likewise.
57442 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57443 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57444 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57445 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57446 * nis/nis_lookup.c (nis_lookup): Likewise.
57447 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57448 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57449 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57450 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57451 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57452 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57453 * nis/nss_compat/compat-initgroups.c (add_group)
57454 (internal_getgrent_r): Likewise.
57455 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57456 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57457 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57458 (internal_getspnam_r): Likewise.
57459 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57460 (_nss_nis_getaliasbyname_r): Likewise.
57461 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57462 (_nss_nis_getntohost_r): Likewise.
57463 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57464 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57465 (_nss_nis_getgrgid_r): Likewise.
57466 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57467 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57468 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57469 (_nss_nis_gethostbyname4_r): Likewise.
57470 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57471 (initgroups_netid): Likewise.
57472 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57473 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57474 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57475 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57476 (_nss_nis_getprotobynumber_r): Likewise.
57477 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57478 (_nss_nis_getsecretkey): Likewise.
57479 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57480 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57481 (_nss_nis_getpwuid_r): Likewise.
57482 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57483 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57484 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57485 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57486 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57487 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57488 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57489 Likewise.
57490 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57491 (_nss_nisplus_getntohost_r): Likewise.
57492 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57493 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57494 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57495 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57496 Likewise.
57497 * nis/nss_nisplus/nisplus-initgroups.c
57498 (_nss_nisplus_initgroups_dyn): Likewise.
57499 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57500 (_nss_nisplus_getnetbyaddr_r): Likewise.
57501 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57502 (_nss_nisplus_getprotobynumber_r): Likewise.
57503 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57504 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57505 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57506 Likewise.
57507 * nis/nss_nisplus/nisplus-service.c
57508 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57509 (_nss_nisplus_getservbyport_r): Likewise.
57510 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57511 (_nss_nisplus_getspnam_r): Likewise.
57512 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57513 Likewise.
57514 * nscd/aicache.c (addhstaiX): Likewise.
57515 * nscd/cache.c (cache_search, prune_cache): Likewise.
57516 * nscd/connections.c (register_traced_file, send_ro_fd)
57517 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57518 (main_loop_epoll): Likewise.
57519 * nscd/grpcache.c (addgrbyX): Likewise.
57520 * nscd/hstcache.c (addhstbyX): Likewise.
57521 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57522 * nscd/mem.c (gc, mempool_alloc): Likewise.
57523 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57524 (addinnetgrX): Likewise.
57525 * nscd/nscd-client.h (__nscd_acquire_maplock)
57526 (__nscd_drop_map_ref): Likewise.
57527 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57528 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57529 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57530 Likewise.
57531 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57533 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57534 (__nscd_get_map_ref): Likewise.
57535 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57536 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57537 Likewise.
57538 * nscd/pwdcache.c (addpwbyX): Likewise.
57539 * nscd/selinux.c (preserve_capabilities): Likewise.
57540 * nscd/servicescache.c (addservbyX): Likewise.
57541 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57542 * posix/fnmatch.c (fnmatch): Likewise.
57543 * posix/getopt.c (_getopt_internal_r): Likewise.
57544 * posix/glob.c (glob, glob_in_dir): Likewise.
57545 * posix/wordexp.c (exec_comm_child): Likewise.
57546 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57547 (getanswer_r, gaih_getanswer_slice): Likewise.
57548 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57549 * resolv/res_init.c: Likewise.
57550 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57551 * resolv/res_query.c (__libc_res_nquery): Likewise.
57552 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57553 Likewise.
57554 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57555 * stdio-common/perror.c (perror): Likewise.
57556 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57557 * stdio-common/tmpnam.c (tmpnam): Likewise.
57558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57559 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57560 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57561 Likewise.
57562 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57563 * stdlib/putenv.c (putenv): Likewise.
57564 * stdlib/setenv.c (__add_to_environ): Likewise.
57565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57566 * stdlib/strtol_l.c (INTERNAL): Likewise.
57567 * string/memmem.c (memmem): Likewise.
57568 * string/strerror.c (strerror): Likewise.
57569 * string/strnlen.c (__strnlen): Likewise.
57570 * string/test-memmem.c (simple_memmem): Likewise.
57571 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57572 * sunrpc/pm_getport.c (__get_socket): Likewise.
57573 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57574 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57575 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57576 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57577 Likewise.
57578 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57581 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57582 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57583 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57584 Likewise.
57585 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57586 Likewise.
57587 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57588 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57590 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57591 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57594 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57595 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57596 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57597 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57598 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57599 Likewise.
57600 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57601 Likewise.
57602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57603 Likewise.
57604 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57607 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57608 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57609 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57610 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57617 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57619 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57620 Likewise.
57621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57622 Likewise.
57623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57624 Likewise.
57625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57626 Likewise.
57627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57629 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57630 Likewise.
57631 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57632 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57633 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57634 * sysdeps/posix/sleep.c: Likewise.
57635 * sysdeps/posix/tempname.c: Likewise.
57636 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57637 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57638 Likewise.
57639 * sysdeps/powerpc/powerpc32/dl-machine.h
57640 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57643 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57644 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57645 Likewise.
57646 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57647 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57648 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57650 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57651 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57652 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57653 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57654 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57657 (elf_machine_lazy_rel): Likewise.
57658 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57660 (elf_machine_lazy_rel): Likewise.
57661 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57662 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57663 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57664 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57665 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57666 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57669 Likewise.
57670 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57671 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57672 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57673 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57674 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57675 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57676 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57677 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57678 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57679 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57680 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57681 Likewise.
57682 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57683 (__posix_fallocate64_l64): Likewise.
57684 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57685 (posix_fallocate): Likewise.
57686 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57687 Likewise.
57688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57689 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57690 (getifaddrs_internal): Likewise.
57691 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57692 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57693 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57694 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57695 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57696 (__posix_fallocate64_l64): Likewise.
57697 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57698 Likewise.
57699 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57700 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57701 (__get_clockfreq): Likewise.
57702 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57703 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57704 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57707 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57708 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57709 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57710 Likewise.
57711 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57712 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57713 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57715 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57716 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57717 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57718 Likewise.
57719 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57720 (posix_fallocate): Likewise.
57721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57722 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57723 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57724 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57725 (elf_machine_rela, elf_machine_rela_relative)
57726 (elf_machine_lazy_rel): Likewise.
57727 * time/asctime.c (asctime_internal): Likewise.
57728 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57729 * time/tzset.c (__tzset_parse_tz): Likewise.
57730 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57731 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57732 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57733 * wcsmbs/wcsmbsload.h: Likewise.
57734
57735 [BZ #15894]
57736 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57737
57738 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57739 (arena_get2): Remove THREAD_STATS conditionals.
57740 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57741 (__malloc_stats, int): Likewise.
57742
57743 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57744
57745 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57746 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57747
57748 * manual/setjmp.texi: Fix typos/grammar errors.
57749
57750 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57751 Only return early when n is <= 0. Delete unused return statement.
57752
57753 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57754 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57755 * debug/tst-longjmp_chk3.c: New file.
57756
57757 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57758 (test_main): Replace code with set_fortify_handler call.
57759 * debug/test-strcpy_chk.c: Likewise.
57760 * debug/tst-chk1.c: Likewise.
57761 * debug/tst-longjmp_chk.c: Likewise.
57762 * test-skeleton.c: Include fcntl.h & paths.h
57763 (set_fortify_handler): Define.
57764
57765 * debug/tst-longjmp_chk.c: Add header comment and include
57766 ../test-skeleton.c.
57767 (do_test): Mark static.
57768 (TEST_FUNCTION): Define.
57769
57770 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57771 (IP_PMTUDISC_INTERFACE): Likewise.
57772 (IP_MULTICAST_IF): Likewise.
57773 (IP_MULTICAST_TTL): Likewise.
57774 (IP_MULTICAST_LOOP): Likewise.
57775 (IP_ADD_MEMBERSHIP): Likewise.
57776 (IP_DROP_MEMBERSHIP): Likewise.
57777 (IP_UNBLOCK_SOURCE): Likewise.
57778 (IP_BLOCK_SOURCE): Likewise.
57779 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57780 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57781 (IP_MSFILTER): Likewise.
57782 (MCAST_JOIN_GROUP): Likewise.
57783 (MCAST_BLOCK_SOURCE): Likewise.
57784 (MCAST_UNBLOCK_SOURCE): Likewise.
57785 (MCAST_LEAVE_GROUP): Likewise.
57786 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57787 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57788 (MCAST_MSFILTER): Likewise.
57789 (IP_MULTICAST_ALL): Likewise.
57790 (IP_UNICAST_IF): Likewise.
57791
57792 * timezone/Makefile: Delete $(have-ksh) check.
57793 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57794 * timezone/tzselect.ksh: Add +x mode bits.
57795
57796 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57797 (ANON_INODE_FS_MAGIC): Likewise.
57798 (BDEVFS_MAGIC): Likewise.
57799 (BINFMTFS_MAGIC): Likewise.
57800 (BTRFS_TEST_MAGIC): Likewise.
57801 (CRAMFS_MAGIC_WEND): Likewise.
57802 (DEBUGFS_MAGIC): Likewise.
57803 (ECRYPTFS_SUPER_MAGIC): Likewise.
57804 (EXT3_SUPER_MAGIC): Likewise.
57805 (EXT4_SUPER_MAGIC): Likewise.
57806 (FUTEXFS_SUPER_MAGIC): Likewise.
57807 (HOSTFS_SUPER_MAGIC): Likewise.
57808 (HUGETLBFS_MAGIC): Likewise.
57809 (MINIX3_SUPER_MAGIC): Likewise.
57810 (MTD_INODE_FS_MAGIC): Likewise.
57811 (NILFS_SUPER_MAGIC): Likewise.
57812 (OPENPROM_SUPER_MAGIC): Likewise.
57813 (PIPEFS_MAGIC): Likewise.
57814 (PSTOREFS_MAGIC): Likewise.
57815 (QNX6_SUPER_MAGIC): Likewise.
57816 (RAMFS_MAGIC): Likewise.
57817 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57818 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57819 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57820 (SECURITYFS_MAGIC): Likewise.
57821 (SELINUX_MAGIC): Likewise.
57822 (SMACK_MAGIC): Likewise.
57823 (SOCKFS_MAGIC): Likewise.
57824 (SQUASHFS_MAGIC): Likewise.
57825 (STACK_END_MAGIC): Likewise.
57826 (TMPFS_MAGIC): Likewise.
57827 (USBDEVICE_SUPER_MAGIC): Likewise.
57828 (V9FS_MAGIC): Likewise.
57829 (XENFS_SUPER_MAGIC): Likewise.
57830 (CRAMFS_MAGIC): Fix typo in comment.
57831 (EXT2_SUPER_MAGIC): Update comment.
57832 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57833
57834 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57835
57836 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57837 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57838 * sysdeps/unix/sysv/linux/arm: Move directory from
57839 ports/sysdeps/unix/sysv/linux/arm.
57840 * README: Update listing for arm-*-linux-gnueabi.
57841
57842 * README: Remove mention of am33.
57843
57844 2014-02-07 Roland McGrath <roland@hack.frob.com>
57845
57846 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57847 than the comma operator, to avoid "rhs of comma has no effect"
57848 compiler warnings.
57849 (__sigfillset, __sigandset, __sigorset): Likewise.
57850 * include/signal.h (__sigemptyset): Likewise.
57851 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57852
57853 2014-02-07 Allan McRae <allan@archlinux.org>
57854
57855 * version.h (RELEASE): Set to "development".
57856 (VERSION): Set to "2.19.90"
57857 * NEWS: Add 2.20 section.
57858
57859 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57860
57861 [BZ #16529]
57862 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57863
57864 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57865
57866 * manual/contrib.texi: Update entry for Carlos O'Donell,
57867 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57868
57869 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57870
57871 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57872
57873 * sysdeps/unix/sysv/linux/kernel-features.h
57874 [__LINUX_KERNEL_VERSION >= 0x020621]
57875 (__ASSUME_PROC_PID_TASK_COMM): Define.
57876
57877 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57878
57879 [BZ #16398]
57880 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57881 conversion when destination buffer does not have enough space.
57882 * libio/tst-ftell-partial-wide.c: New test case.
57883 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57884
57885 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57886 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57887 Leonard and Allan McRae.
57888
57889 2014-02-04 David S. Miller <davem@davemloft.net>
57890
57891 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57892 32-bit.
57893
57894 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57895
57896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57897 New file
57898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57899 New file
57900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57901 New file.
57902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57903 New file.
57904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57905 New file.
57906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57907 New file.
57908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57909 New file.
57910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57911 New file.
57912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57913 New file.
57914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57915 New file.
57916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57917 New file.
57918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57919 New file.
57920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57921 New file.
57922
57923 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57924
57925 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57926 * shlib-versions: Likewise.
57927
57928 2014-02-04 Roland McGrath <roland@hack.frob.com>
57929 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57930
57931 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57932 (abilist-pattern): New variable, set to %-le.abilist.
57933
57934 * Makerules (abilist-pattern): New variable.
57935 (vpath): Use $(abilist-pattern) in place of %.abilist.
57936 (check-abi-% pattern rule): Likewise.
57937 (check-abi, update-abi): Likewise.
57938
57939 2014-02-04 Eric Wong <normalperson@yhbt.net>
57940
57941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57942
57943 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57944
57945 * manual/startup.texi: Add next, previous, and top entries for
57946 the `Program Arguments' and `Environment Variables' nodes.
57947
57948 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57949
57950 * manual/macros.texi: Add comments before MTASC-safety macros.
57951
57952 * manual/users.texi: Document MTASC-safety properties.
57953
57954 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57955 (pthread_getspecific, pthread_setspecific): Format with
57956 @deftypefun, and add @safety note.
57957 * manual/signal.texi: Move comments that analyze the above
57958 functions to their home place.
57959
57960 2014-02-03 Allan McRae <allan@archlinux.org>
57961
57962 * po/sl.po: Update Slovenian translation from translation project.
57963
57964 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57965
57966 * manual/time.texi (timegm): Add missing blank after @c.
57967 Reported by Joseph Myers <joseph@codesourcery.com>.
57968
57969 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57970
57971 * manual/check-safety.sh: New.
57972 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57973
57974 * manual/terminal.texi: Document MTASC-safety properties.
57975
57976 * manual/filesys.texi: Document MTASC-safety properties.
57977
57978 * manual/errno.texi: Document MTASC-safety properties.
57979
57980 * manual/intro.texi: Document safety identifiers and
57981 conditionals.
57982
57983 * manual/string.texi (wcstok): Fix prototype.
57984 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57985
57986 * manual/time.texi: Document MTASC-safety properties.
57987
57988 * manual/string.texi: Document MTASC-safety properties.
57989
57990 * manual/threads.texi: Document MTASC-safety properties.
57991
57992 * manual/stdio.texi: Document MTASC-safety properties.
57993
57994 * manual/syslog.texi: Document MTASC-safety properties.
57995
57996 * manual/sysinfo.texi: Document MTASC-safety properties.
57997
57998 * manual/startup.texi: Document MTASC-safety properties.
57999
58000 * manual/socket.texi: Document MTASC-safety properties.
58001
58002 * manual/signal.texi: Document MTASC-safety properties.
58003
58004 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
58005
58006 * manual/setjmp.texi: Document MTASC-safety properties.
58007
58008 * manual/search.texi: Document MTASC-safety properties.
58009
58010 * manual/resource.texi: Document MTASC-safety properties.
58011
58012 * manual/process.texi: Document MTASC-safety properties.
58013
58014 * manual/platform.texi: Document MTASC-safety properties.
58015
58016 * manual/pipe.texi: Document MTASC-safety properties.
58017
58018 * manual/pattern.texi: Document MTASC-safety properties.
58019
58020 * manual/message.texi: Document MTASC-safety properties.
58021
58022 [BZ #12751]
58023 * manual/memory.texi: Document MTASC-safety properties.
58024
58025 * manual/math.texi: Document MTASC-safety properties.
58026
58027 * manual/locale.texi: Document MTASC-safety properties.
58028
58029 * manual/llio.texi: Document MTASC-safety properties.
58030
58031 * manual/libdl.texi: New.
58032
58033 * manual/lang.texi: Document MTASC-safety properties.
58034
58035 * manual/job.texi: Document MTASC-safety properties.
58036
58037 * manual/getopt.texi: Document MTASC-safety properties.
58038
58039 * manual/ctype.texi: Document MTASC-safety properties.
58040
58041 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58042
58043 [BZ #16046]
58044 * csu/libc-tls.c (static_map): Remove variable.
58045 (__libc_setup_tls): Use main executable's link map for TLS data.
58046 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58047 casing for LM_ID_BASE and GL(dl_nns).
58048 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58049 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58050 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58051 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58052 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58053 member.
58054 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58055 l_phnum members.
58056
58057 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
58058
58059 * manual/debug.texi: Document MTASC-safety properties.
58060
58061 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58062
58063 [BZ #16510]
58064 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58065 of __x86_64__ when disabling x87 inline functions.
58066
58067 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
58068
58069 * manual/charset.texi: Document MTASC-safety properties.
58070
58071 * manual/crypt.texi: Document MTASC-safety properties.
58072
58073 * manual/conf.texi: Document MTASC-safety properties.
58074
58075 * manual/arith.texi: Document MTASC-safety properties.
58076
58077 * manual/argp.texi: Document MTASC-safety properties.
58078
58079 * manual/macros.texi: Introduce macros to document multi
58080 thread, asynchronous signal and asynchronous cancellation
58081 safety properties.
58082 * manual/intro.texi: Introduce the properties themselves.
58083
58084 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58085
58086 * sysdeps/sh/sh4/Makefile: New file.
58087
58088 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58089
58090 * math/gen-libm-test.pl ($srcdir): New variable.
58091 ($auto_input): Use it.
58092
58093 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58094
58095 [BZ #16506]
58096 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58097 access beyond array bounds when parsing netgroups file.
58098
58099 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58100 the old buffer before realloc.
58101
58102 2014-01-27 Allan McRae <allan@archlinux.org>
58103
58104 * po/fr.po: Update French translation from translation project.
58105
58106 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58107
58108 * sysdeps/sh/libm-test-ulps: Regenerate.
58109
58110 2014-01-24 David S. Miller <davem@davemloft.net>
58111
58112 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58113
58114 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58115
58116 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58117 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58118
58119 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58120
58121 [BZ #16474]
58122 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58123 string pointers after reallocation.
58124
58125 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58126
58127 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58128 __SH4A__ instead of __SH_FPU_ANY__.
58129
58130 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58131
58132 * sysdeps/sh/fpu_control.h: New file.
58133 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58134 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58135 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58136 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58137 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58138 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58139 * sysdeps/sh/sys/ucontext.h: Remove.
58140 * sysdeps/sh/sys: Remove directory.
58141
58142 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58143
58144 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58145 s390/sys/ucontext.h.
58146 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58147 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58148
58149 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58150
58151 [BZ #15605]
58152 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58153
58154 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58155
58156 [BZ #16431]
58157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58158 Adjust the vDSO correctly for internal calls.
58159 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58160
58161 2014-01-20 Allan McRae <allan@archlinux.org>
58162
58163 * po/ca.po: Update Catalan translation from translation project.
58164
58165 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58166
58167 * sysdeps/s390/sotruss-lib.c: New file.
58168
58169 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58170
58171 [BZ #16430]
58172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58173 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58174 local calls issues by not having a PLT stub required for IFUNC calls.
58175 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58176
58177 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58178
58179 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58180 * math/test-fpucw-static.c: Likewise.
58181
58182 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58183
58184 [BZ #16453]
58185 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58186
58187 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58188
58189 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58190 implementation for powerpc.
58191
58192 2014-01-15 Ondƙej Bílka <neleai@seznam.cz>
58193
58194 [BZ #14782]
58195 * sysdeps/posix/system.c (__libc_system): Do not enable
58196 asynchronous cancellation.
58197
58198 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58199
58200 [BZ #16427]
58201 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58202 handling only for numbers special also in the IEEE case.
58203
58204 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58205
58206 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58207
58208 2014-01-11 Allan McRae <allan@archlinux.org>
58209
58210 * po/bg.po: Update Bulgarian translation from translation project.
58211
58212 * po/de.po: Update German translation from translation project.
58213
58214 2014-01-10 Roland McGrath <roland@hack.frob.com>
58215
58216 * sysdeps/generic/gcc-compat.h: New file.
58217
58218 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58219
58220 * benchtests/asin-inputs: Correct slow inputs.
58221 * benchtests/acos-inputs: Likewise.
58222
58223 2014-01-10 Allan McRae <allan@archlinux.org>
58224
58225 * po:sv.po: Update Swedish translation from translation project.
58226
58227 * po/vi.po: Update Vietnamese translation from translation project.
58228
58229 * po/eo.po: Update Esperanto translation from translation project.
58230
58231 * po/cs.po: Update Czech translation from translation project.
58232
58233 * po/nl.po: Update Dutch translation from translation project.
58234
58235 * po/pl.po: Update Polish translation from translation project.
58236
58237 * po/ru.po: Update Russian translation from translation project.
58238
58239 * po/uk.po: Update Ukrainian translation from translation project.
58240
58241 2014-01-08 Brooks Moses <bmoses@google.com>
58242
58243 * elf/dl-load.c: Fix comment typo.
58244
58245 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58246
58247 * po/header.pot: Rename to...
58248 * po/pot.header: ... this.
58249 * po/Makefile: Use pot.header.
58250
58251 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58252 Maxim Kuvyrkov <maxim@kugelworks.com>
58253
58254 [BZ #16394]
58255 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58256 SRC and DEST against LEN.
58257
58258 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58259
58260 [BZ #16414]
58261 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58262 implementation.
58263 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58264
58265 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58266
58267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58268
58269 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58270
58271 [BZ #16408]
58272 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58273 for large positive arguments.
58274
58275 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58276
58277 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58278
58279 * math/auto-libm-test-in: Mark various tests with
58280 xfail-rounding:ldbl-128ibm.
58281 * math/auto-libm-test-out: Regenerated.
58282
58283 [BZ #16407]
58284 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58285 Increase overflow threshold.
58286
58287 2014-01-07 Ondƙej Bílka <neleai@seznam.cz>
58288
58289 [BZ #14286]
58290 * stdio-common/vfprintf.c: Check for integer overflow.
58291
58292 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58293
58294 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58295 the first argument and return value of __tls_get_addr_internal.
58296
58297 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58298
58299 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58300 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58301
58302 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58303
58304 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58305 * sysdeps/s390/rtld-global-offsets.sym: New file.
58306 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58307 GLIBC_2.19 symbol.
58308 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58309 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58310 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58311 ... this.
58312 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58313 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58314 ... this.
58315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58316 Regenerate.
58317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58318 Regenerate.
58319 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58320 halfs of GPRs for high_gprs contexts.
58321 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58322 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58323 field.
58324 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58325 uc_flags field.
58326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58327 64 bit versions:
58328 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58329 for high GPRs (uc_high_gprs) and for future extensions
58330 (__reserved).
58331 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58332 for future extensions (__reserved).
58333 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58334 64 bit versions:
58335 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58336 SC_HIGHGPRS offset definition.
58337 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58338 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58339
58340 * Versions.def: Add GLIBC_2.19 for libpthread.
58341 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58342 siglongjmp for libpthread with GLIBC_2.19 symver.
58343 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58344 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58345 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58346 * sysdeps/s390/__longjmp.c: New file.
58347 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58348 * sysdeps/s390/longjmp.c: New file.
58349 * sysdeps/s390/setjmp.S: New file.
58350 * sysdeps/s390/sigjmp.S: New file.
58351 * sysdeps/s390/v1-longjmp.c: New file.
58352 * sysdeps/s390/v1-setjmp.h: New file.
58353 * sysdeps/s390/v1-sigjmp.c: New file.
58354 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58355 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58356 GLIBC_2.19 version.
58357 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58358 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58359 versioned symbols for ____longjmp_chk.
58360 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58361 Likewise.
58362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58363 Regenerate.
58364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58365 Regenerate.
58366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58367 Regenerate.
58368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58369 Regenerate.
58370 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58371 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58372 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58373 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58374 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58375 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58376 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58377 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58378 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58379 * sysdeps/s390/rtld-__longjmp.c: New file.
58380 * sysdeps/s390/rtld-setjmp.S: New file.
58381
58382 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58383
58384 [BZ #16400]
58385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58386 Return -__logl (x) for small positive arguments without evaluating
58387 a polynomial.
58388
58389 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58390
58391 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58392 Rename to ...
58393 (__ptrace_peeksiginfo_args): ... this.
58394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58397
58398 2014-01-06 Allan McRae <allan@archlinux.org>
58399
58400 * inet/netinet/in.h: Fix typo in comment.
58401
58402 2014-01-05 Andreas Jaeger <aj@suse.de>
58403
58404 * sysdeps/i386/fpu/libm-test-ulps: Update.
58405
58406 2014-01-05 Allan McRae <allan@archlinux.org>
58407
58408 * po/libc.pot: Regenerated.
58409
58410 * malloc/memusagestat.c: Fix gettext call formatting.
58411
58412 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58413
58414 * nscd/nscd.c: Improve usage() output.
58415
58416 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58417
58418 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58419 * sysdeps/unix/sysv/linux/configure: Regenerated.
58420 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58421 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58422
58423 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58424
58425 [BZ #16390]
58426 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58427 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58428
58429 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58430
58431 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58432 extra tokens at end of #undef directive.
58433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58434 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58435 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58436
58437 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58438
58439 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58440
58441 * math/auto-libm-test-in: Mark various tests with
58442 xfail-rounding:ldbl-128ibm.
58443 * math/auto-libm-test-out: Regenerated.
58444
58445 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58446
58447 [BZ #16386]
58448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58449 numbers with subnormal high part when calculating exponent.
58450
58451 [BZ #16385]
58452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58453 fabs.
58454
58455 [BZ #16384]
58456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58457 M_LN2l.
58458 (__ieee754_acoshl): Use __log1pl not __log1p.
58459
58460 2013-01-02 Ondƙej Bílka <neleai@seznam.cz>
58461
58462 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58463 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58464 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58465 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58466 (reused_arena, arena_get2): Convert to GNU style.
58467 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58468 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58469 (memalign_check, __malloc_set_state): Likewise.
58470 * malloc/mallocbug.c (main): Likewise.
58471 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58472 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58473 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58474 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58475 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58476 (__posix_memalign, malloc_info): Likewise.
58477 * malloc/malloc.h: Likewise.
58478 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58479 (mallochook, memalignhook, reallochook, mabort): Likewise.
58480 * malloc/mcheck.h: Likewise.
58481 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58482 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58483 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58484 * malloc/morecore.c (__default_morecore): Likewise.
58485 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58486 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58487 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58488 (print_and_abort): Likewise.
58489 * malloc/obstack.h: Likewise.
58490 * malloc/set-freeres.c (__libc_freeres): Likewise.
58491 * malloc/tst-mallocstate.c (main): Likewise.
58492 * malloc/tst-mtrace.c (main): Likewise.
58493 * malloc/tst-realloc.c (do_test): Likewise.
58494
58495 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58496
58497 [BZ #16366]
58498 * nscd/netgroupcache.c (do_notfound): New function.
58499 (addgetnetgrentX): Use it.
58500
58501 [BZ # 16365]
58502 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58503 NSS_STATUS_NOTFOUND.
58504
58505 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58506
58507 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58509
58510 2014-01-01 Allan McRae <allan@archlinux.org>
58511
58512 * scripts/update-copyrights: Update configure input file suffix.
58513
58514 * NEWS: Update copyright year.
58515 * catgets/gencat.c: Likewise.
58516 * csu/version.c: Likewise.
58517 * debug/catchsegv.sh: Likewise.
58518 * debug/pcprofiledump.c: Likewise.
58519 * debug/xtrace.sh: Likewise.
58520 * elf/ldconfig.c: Likewise.
58521 * elf/ldd.bash.in: Likewise.
58522 * elf/pldd.c: Likewise.
58523 * elf/sotruss.ksh: Likewise.
58524 * elf/sprof.c: Likewise.
58525 * iconv/iconv_prog.c: Likewise.
58526 * iconv/iconvconfig.c: Likewise.
58527 * locale/programs/locale.c: Likewise.
58528 * locale/programs/localedef.c: Likewise.
58529 * login/programs/pt_chown.c: Likewise.
58530 * malloc/memusage.sh: Likewise.
58531 * malloc/memusagestat.c: Likewise.
58532 * malloc/mtrace.pl: Likewise.
58533 * manual/libc.texinfo: Likewise.
58534 * nscd/nscd.c: Likewise.
58535 * nss/getent.c: Likewise.
58536 * nss/makedb.c: Likewise.
58537 * posix/getconf.c: Likewise.
58538 * scripts/test-installation.pl: Likewise.
58539
58540 * All files with FSF copyright notices: Update copyright dates
58541 using scripts/update-copyrights.
58542 * intl/plural.c: Regenerated.
58543 * locale/programs/charmap-kw.h: Likewise.
58544 * locale/programs/locfile-kw.h: Likewise.
58545
58546 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58547
58548 * sysdeps/unix/sysv/linux/configure: Regenerated.
58549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58550 the linux/fanotify.h header.
58551 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58552 HAVE_LINUX_FANOTIFY_H is defined.
58553
58554 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58555
58556 * benchtests/cos-inputs: New inputs.
58557 * benchtests/sin-inputs: Likewise.
58558
58559 * benchtests/atan-inputs: New inputs. Fix name of multiple
58560 precision fallback inputs.
58561
58562 * benchtests/atanh-inputs: New inputs.
58563 * benchtests/tanh-inputs: Likewise.
58564
58565 * benchtests/acosh-inputs: New inputs.
58566 * benchtests/asinh-inputs: Likewise.
58567
58568 * benchtests/cosh-inputs: New inputs.
58569 * benchtests/sinh-inputs: Likewise.
58570
58571 * benchtests/acos-inputs: Add more inputs.
58572 * benchtests/asin-inputs: Likewise.
58573
58574 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58575
58576 [BZ #16375]
58577 * manual/arith.texi: Fix spelling.
58578 * manual/charset.texi: Likewise.
58579 * manual/errno.texi: Likewise.
58580 * manual/filesys.texi: Likewise.
58581 * manual/lang.texi: Likewise.
58582 * manual/llio.texi: Likewise.
58583 * manual/locale.texi: Likewise.
58584 * manual/message.texi: Likewise.
58585 * manual/resource.texi: Likewise.
58586 * manual/search.texi: Likewise.
58587 * manual/setjmp.texi: Likewise.
58588 * manual/stdio.texi: Likewise.
58589 * manual/string.texi: Likewise.
58590 * manual/sysinfo.texi: Likewise.
58591 * manual/time.texi: Likewise.
58592
58593 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58594
58595 * po/sl.po: New file.
58596
58597 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58598
58599 * .gitignore: Add core/.gdbinit/.gdb_history.
58600
58601 2013-12-27 Allan McRae <allan@archlinux.org>
58602
58603 [BZ #16369]
58604 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58605 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58606
58607 2013-12-24 Brooks Moses <bmoses@google.com>
58608
58609 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58610 all compilers that claim C++98 compliance, not just GCC.
58611 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58612 Likewise.
58613
58614 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58615
58616 * NEWS: Restore accidentally deleted bug-fix entries.
58617
58618 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58619 Ondƙej Bílka <neleai@seznam.cz>
58620
58621 [BZ #15073]
58622 * malloc/malloc.c (_int_free): Perform sanity check only if we
58623 have_lock.
58624
58625 2013-12-23 Ondƙej Bílka <neleai@seznam.cz>
58626
58627 [BZ #12986]
58628 * manual/stdio.texi (String Input Conversions): Clarify that character
58629 classes are not supported.
58630
58631 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58632
58633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58634
58635 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58636
58637 [BZ #16337]
58638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58639 Calculate results for small negative arguments directly rather
58640 than using reflection formula with special underflow handling.
58641
58642 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58643 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58644 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58645 (fchflags): Likewise.
58646 (revoke): Likewise.
58647 (setlogin): Likewise.
58648 (sigaltstack): Likewise.
58649 (wait4): Likewise.
58650 (sigblock): Remove.
58651 (sigsetmask): Likewise.
58652 (wait3): Likewise.
58653 (waitpid): Likewise.
58654 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58655 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58656 file.
58657 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58658 * sysdeps/unix/bsd/Makefile: ... here.
58659 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58660 * sysdeps/unix/bsd/Versions: ... here.
58661 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58662 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58663 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58664 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58665 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58666 * sysdeps/unix/bsd/sigblock.c: ... here.
58667 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58668 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58669 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58670 * sysdeps/unix/bsd/sigvec.c: ... here.
58671 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58672 * sysdeps/unix/bsd/tcdrain.c: ... here.
58673 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58674 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58675 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58676 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58677 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58678 * sysdeps/unix/bsd/wait.c: ... here.
58679 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58680 * sysdeps/unix/bsd/wait3.c: ... here.
58681 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58682 * sysdeps/unix/bsd/waitpid.c: ... here.
58683
58684 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58685
58686 [BZ #16356]
58687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58688 round-to-nearest for [!USE_AS_EXPM1L].
58689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58690 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58691 more tests of exp and exp10. Expect some exp10 tests to miss
58692 exceptions or fail in directed rounding modes.
58693 * math/auto-libm-test-out: Regenerated.
58694 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58695 (exp10_test_tonearest): New function.
58696 (exp10_towardzero_test_data): New array.
58697 (exp10_test_towardzero): New function.
58698 (exp10_downward_test_data): New array.
58699 (exp10_test_downward): New function.
58700 (exp10_upward_test_data): New array.
58701 (exp10_test_upward): New function.
58702 (main): Call the new functions.
58703 * sysdeps/i386/fpu/libm-test-ulps: Update.
58704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58705
58706 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58707
58708 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58709 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58710 * math/auto-libm-test-out: Regenerated.
58711 * math/libm-test.inc (acosh_test_data): Add more tests.
58712 (atanh_test_data): Likewise.
58713 (ceil_test_data): Likewise.
58714 (copysign_test_data): Likewise.
58715 * sysdeps/i386/fpu/libm-test-ulps: Update.
58716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58717
58718 * timezone/checktab.awk: Update from tzcode 2013i.
58719 * timezone/private.h: Likewise.
58720 * timezone/scheck.c: Likewise.
58721 * timezone/tzfile.h: Likewise.
58722 * timezone/tzselect.ksh: Likewise.
58723 * timezone/zdump.c: Likewise.
58724 * timezone/zic.c: Likewise.
58725
58726 * math/auto-libm-test-in: Add tests of cpow.
58727 * math/auto-libm-test-out: Regenerated.
58728 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58730 mpc_cc_c.
58731 (func_calc_desc): Add mpc_cc_c union field.
58732 (test_functions): Add cpow.
58733 (special_fill_2pi): New function.
58734 (special_real_inputs): Add 2pi.
58735 (calc_generic_results): Handle mpc_cc_c.
58736 * sysdeps/i386/fpu/libm-test-ulps: Update.
58737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58738
58739 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58740 csqrt, ctan and ctanh.
58741 * math/auto-libm-test-out: Regenerated.
58742 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58743 (TEST_COND_x86): Likewise.
58744 (ccos_test_data): Use AUTO_TESTS_c_c.
58745 (ccosh_test_data): Likewise.
58746 (cexp_test_data): Likewise.
58747 (clog_test_data): Likewise.
58748 (csqrt_test_data): Likewise.
58749 (ctan_test_data): Likewise.
58750 (ctan_tonearest_test_data): Likewise.
58751 (ctan_towardzero_test_data): Likewise.
58752 (ctan_downward_test_data): Likewise.
58753 (ctan_upward_test_data): Likewise.
58754 (ctanh_test_data): Likewise.
58755 (ctanh_tonearest_test_data): Likewise.
58756 (ctanh_towardzero_test_data): Likewise.
58757 (ctanh_downward_test_data): Likewise.
58758 (ctanh_upward_test_data): Likewise.
58759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58760 mpc_c_c.
58761 (func_calc_desc): Add mpc_c_c union field.
58762 (FUNC_mpc_c_c): New macro.
58763 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58764 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58765 ctanh.
58766 (special_fill_min_subnorm_p120): New function.
58767 (special_real_inputs): Add min_subnorm_p120.
58768 (calc_generic_results): Handle mpc_c_c.
58769 * sysdeps/i386/fpu/libm-test-ulps: Update.
58770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58771
58772 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58773
58774 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58775 (do_sin_slow): New functions.
58776 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58777 (cslow2, csloww1, csloww2): Use the new functions.
58778
58779 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58780 Use M to change sign of result instead of X. Assume X is
58781 positive.
58782 (csloww1): Likewise.
58783 (__sin): Adjust.
58784 (__cos): Adjust.
58785
58786 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58787 arguments A and DA.
58788 (__sin): Adjust.
58789 (__cos): Likewise.
58790
58791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58792 (__cos): Likewise.
58793 (sloww1): Don't adjust sign of DX.
58794 (csloww1): Likewise.
58795 (sloww2): Use X directly and don't adjust sign of DX.
58796 (csloww2): Likewise.
58797
58798 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58799
58800 * math/auto-libm-test-in: Add tests of cabs and carg.
58801 * math/auto-libm-test-out: Regenerated.
58802 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58803 (carg_test_data): Likewise.
58804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58805 mpc_c_f.
58806 (func_calc_desc): Add mpc_c_f union field.
58807 (test_functions): Add cabs and carg.
58808 (calc_generic_results): Handle mpc_c_f.
58809
58810 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58811 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58812 as a macro and a compat symbol.
58813 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58814 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58816 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58817 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58819 not use .hidden.
58820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58821 Likewise.
58822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58823 Likewise.
58824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58825 Likewise.
58826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58827 Likewise.
58828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58829 Likewise.
58830 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58831 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58832 from GLIBC_2.3.2.
58833
58834 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58835
58836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58837
58838 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58839
58840 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58841 trailing whitespace removed.
58842 * scripts/config.guess: Update to version 2013-11-29.
58843 * scripts/config.sub: Update to version 2013-10-01.
58844
58845 * math/auto-libm-test-in: Add tests of sincos.
58846 * math/auto-libm-test-out: Regenerated.
58847 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58849 mpfr_f_11.
58850 (func_calc_desc): Add mpfr_f_11 union field.
58851 (test_functions): Add sincos.
58852 (calc_generic_results): Handle mpfr_f_11.
58853 * sysdeps/i386/fpu/libm-test-ulps: Update.
58854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58855
58856 2013-12-19 Andreas Schwab <schwab@suse.de>
58857
58858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58859 CALL_MCOUNT.
58860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58862 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58863
58864 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58865
58866 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58867 * sysdeps/i386/fpu/libm-test-ulps: Update.
58868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58869
58870 [BZ #16293]
58871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58872 round-to-nearest mode when using frndint.
58873 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58874 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58876 Likewise.
58877 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58878 sinh test to fail.
58879 * math/auto-libm-test-out: Regenerated.
58880 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58881 (TEST_COND_x86): Likewise.
58882 (expm1_tonearest_test_data): New array.
58883 (expm1_test_tonearest): New function.
58884 (expm1_towardzero_test_data): New array.
58885 (expm1_test_towardzero): New function.
58886 (expm1_downward_test_data): New array.
58887 (expm1_test_downward): New function.
58888 (expm1_upward_test_data): New array.
58889 (expm1_test_upward): New function.
58890 (main): Run the new test functions.
58891 * sysdeps/i386/fpu/libm-test-ulps: Update.
58892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58893
58894 * include/features.h: Update comment documenting feature test
58895 macros. Mention _DEFAULT_SOURCE in comment.
58896 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58897 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58898 _BSD_SOURCE and _SVID_SOURCE.
58899 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58900 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58901 !_SVID_SOURCE]: Likewise.
58902 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58903 (__USE_POSIX_IMPLICITLY): Define.
58904 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58905 (_POSIX_SOURCE): Undefine and redefine.
58906 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58907 (_POSIX_C_SOURCE): Likewise.
58908 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58909 (Feature Test Macros): Update documentation of default features.
58910
58911 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58912
58913 * benchtests/Makefile: Add bench-strtok.
58914 * benchtests/bench-strtok.c: New file: strtok benchtest.
58915
58916 2013-12-19 Allan McRae <allan@archlinux.org>
58917
58918 * manual/install.texi: Suppress menu for plain text output.
58919 * INSTALL: Regenerated.
58920
58921 2013-12-18 Brooks Moses <bmoses@google.com>
58922
58923 [BZ #15846]
58924 * misc/getauxval.c: Include errno.h.
58925 (__getauxval): Set errno to ENOENT if the requested type is not
58926 found.
58927 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58928 don't declare with __attribute_const__.
58929 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58930 * manual/startup.texi: Document that getauxval sets errno.
58931
58932 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58933
58934 * math/auto-libm-test-in: Add tests of jn and yn.
58935 * math/auto-libm-test-out: Regenerated.
58936 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58937 (yn_test_data): Likewise.
58938 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58939 mpfr_if_f.
58940 (func_calc_desc): Add mpfr_if_f union field.
58941 (FUNC_mpfr_if_f): New macro.
58942 (test_functions): Add jn and yn.
58943 (calc_generic_results): Assert type of second input for
58944 mpfr_ff_f. Handle mpfr_if_f.
58945 (output_for_one_input_case): Disable all checking for arguments
58946 fitting floating-point types in case of an integer argument.
58947 * sysdeps/i386/fpu/libm-test-ulps: Update.
58948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58949
58950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58951 Don't expect fegetround reference in libm.so.
58952
58953 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58954
58955 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58956 $(config-cflags-nofma).
58957
58958 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58959
58960 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58961 * math/auto-libm-test-out: Regenerated.
58962
58963 [BZ #16338]
58964 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58965 to determine exponent and adjust argument to have exponent of -1.
58966 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58967 log2.
58968 * math/auto-libm-test-out: Regenerated.
58969 * sysdeps/i386/fpu/libm-test-ulps: Update.
58970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58971
58972 2013-12-18 Ondƙej Bílka <neleai@seznam.cz>
58973
58974 * manual/probes.texi: Remove cases when per-thread arenas are
58975 disabled.
58976
58977 2013-12-18 Andreas Schwab <schwab@suse.de>
58978
58979 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58980 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58981 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58983 * sysdeps/i386/i686/multiarch/Makefile: Update.
58984 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58985
58986 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58987
58988 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58989 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58990
58991 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58992
58993 [BZ #15968]
58994 Support TZ transition times < 00:00:00.
58995 This is needed for version-3 tz-format files; it supports time
58996 stamps past 2037 for America/Godthab (the only entry in the tz
58997 database for which this change is relevant).
58998 * manual/time.texi (TZ Variable): Document transition times
58999 from -167:59:59 through -00:00:01.
59000 * time/tzset.c (tz_rule): Time of day is now signed.
59001 (__tzset_parse_tz): Parse negative time of day.
59002
59003 Document TZ transition times >= 25:00:00.
59004 * manual/time.texi (TZ Variable): Document transition times from
59005 25:00:00 through 167:59:59. These are already supported, and this
59006 support will help with version-3 tz-format files.
59007
59008 * manual/time.texi (TZ Variable): Modernize North America example
59009 to reflect current (i.e., 2007-and-later) daylight saving rules.
59010
59011 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59012
59013 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59014
59015 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59016 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59019 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59020 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59021 * sysdeps/unix/bsd/clock.c: Likewise.
59022 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59023 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59024 * sysdeps/unix/bsd/init-posix.c: Likewise.
59025 * sysdeps/unix/bsd/poll.c: Likewise.
59026 * sysdeps/unix/bsd/ptsname.c: Likewise.
59027 * sysdeps/unix/bsd/seekdir.c: Likewise.
59028 * sysdeps/unix/bsd/setegid.c: Likewise.
59029 * sysdeps/unix/bsd/seteuid.c: Likewise.
59030 * sysdeps/unix/bsd/setgid.c: Likewise.
59031 * sysdeps/unix/bsd/setrgid.c: Likewise.
59032 * sysdeps/unix/bsd/setruid.c: Likewise.
59033 * sysdeps/unix/bsd/setsid.c: Likewise.
59034 * sysdeps/unix/bsd/setuid.c: Likewise.
59035 * sysdeps/unix/bsd/sigaction.c: Likewise.
59036 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59037 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59038 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59039 * sysdeps/unix/bsd/telldir.c: Likewise.
59040 * sysdeps/unix/bsd/times.c: Likewise.
59041 * sysdeps/unix/bsd/usleep.c: Likewise.
59042
59043 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59044 ($(objpfx)libbsd-compat.a): Remove rule.
59045
59046 * include/features.h (__FAVOR_BSD): Do not define.
59047 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59048 features conflicting with POSIX.
59049 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59050 (_BSD_SOURCE): Remove description of not being a subset of other
59051 feature test macros.
59052 * manual/job.texi (getpgrp): Do not document BSD version.
59053 (getpgid): Do not document by reference to BSD getpgrp.
59054 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59055 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59056 * signal/signal.h [__FAVOR_BSD]: Likewise.
59057 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59058 instead of making contents conditional on [__FAVOR_BSD].
59059 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59060
59061 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59062
59063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59064
59065 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59066
59067 [BZ #16314]
59068 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59069 values below 2**-450, not 2**-500.
59070 * math/auto-libm-test-in: Don't allow spurious underflow from
59071 hypot.
59072 * math/auto-libm-test-out: Regenerated.
59073
59074 [BZ #16316]
59075 [BZ #16330]
59076 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59077 values of ha and hb and sort them after adjusting subnormal
59078 arguments.
59079 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59080 Likewise.
59081 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59082 values of ea and eb and sort them after adjusting subnormal
59083 arguments.
59084 * math/auto-libm-test-in: Do not expect some hypot tests of
59085 subnormals to fail. Add more hypot tests.
59086 * math/auto-libm-test-out: Regenerated.
59087
59088 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59089
59090 [BZ #13304]
59091 * sysdeps/sh/s_fma.c: New file.
59092 * sysdeps/sh/s_fmaf.c: New file.
59093 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59094 version.
59095 * sysdeps/sh/Implies: Add sh/soft-fp.
59096
59097 2013-12-16 Roland McGrath <roland@hack.frob.com>
59098
59099 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59100 level of indirection to members `objname', `errstring', `malloced'.
59101 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59102 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59103 it as the __longjmp argument (just pass 1 instead).
59104 (_dl_catch_error): Initialize C with argument pointers and address of
59105 volatile local ERRCODE rather than copying values out of C at return.
59106
59107 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59108
59109 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59110 * math/auto-libm-test-out: Regenerated.
59111 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59112 (hypot_test_data): Likewise.
59113 (pow_test_data): Likewise.
59114 (pow_tonearest_test_data): Likewise.
59115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59116 mpfr_ff_f.
59117 (func_calc_desc): Add mpfr_ff_f union field.
59118 (FUNC_mpfr_ff_f): New macro.
59119 (test_functions): Add atan2, hypot and pow.
59120 (special_fill_min): New function.
59121 (special_fill_minus_min): Likewise.
59122 (special_fill_min_subnorm): Likewise.
59123 (special_fill_minus_min_subnorm): Likewise.
59124 (special_real_inputs): Add min, -min, min_subnorm and
59125 -min_subnorm.
59126 (calc_generic_results): Handle mpfr_ff_f.
59127 * sysdeps/i386/fpu/libm-test-ulps: Update.
59128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59129
59130 2013-12-16 Will Newton <will.newton@linaro.org>
59131
59132 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59133 (Aligned Memory Blocks): Add documentation for aligned_alloc
59134 and suggest it as an alternative to posix_memalign.
59135 (Hooks for Malloc): Document __memalign_hook is also called
59136 for aligned_alloc. (Summary of Malloc): Add summary for
59137 aligned alloc. Document __memalign_hook is also called
59138 for aligned_alloc.
59139
59140 2013-12-16 Will Newton <will.newton@linaro.org>
59141
59142 * manual/memory.texi (Malloc Examples): Clarify default
59143 alignment documentation. Suggest posix_memalign rather
59144 than memalign or valloc.
59145 (Aligned Memory Blocks): Remove suggestion to use memalign
59146 or valloc. Remove obsolete comment about BSD.
59147 Document memalign errno values and mark the function obsolete.
59148 Document posix_memalign returned error codes. Mark valloc
59149 as obsolete. (Hooks for Malloc): __memalign_hook is also
59150 called for posix_memalign and valloc.
59151 (Summary of Malloc): Add posix_memalign to function summary.
59152 __memalign_hook is also called for posix_memalign and valloc.
59153
59154 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59155
59156 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59157 TAYLOR_SIN.
59158 (__sin): Adjust.
59159 (__cos): Likewise.
59160 (sloww): Use mynumber union. Expand ternary operator into
59161 if-else statements.
59162 (cslow): use mynumber union.
59163
59164 2013-12-16 Allan McRae <allan@archlinux.org>
59165
59166 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59167 * configure: Regenerated.
59168
59169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59170
59171 [BZ #14120]
59172 * configure.ac: Added --enable-maintainer-mode. Check for
59173 autoconf when enabled.
59174 * configure: Regenerated.
59175
59176 * nscd/nscd.service: New file.
59177 * nscd/nscd.tmpfiles: New file.
59178
59179 2013-12-14 Ondƙej Bílka <neleai@seznam.cz>
59180
59181 [BZ #12100]
59182 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59183 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59184 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59185 (strstr): Add __strstr_sse2_unaligned ifunc.
59186 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59187 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59188 (strcasestr): Remove __strcasestr_sse42 ifunc.
59189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59192
59193 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59194
59195 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59196 * sysdeps/sh/bits/fenv.h: ... here.
59197 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59198
59199 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59200
59201 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59202
59203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59204 hypotf multiarch implementations.
59205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59208 multiarch hypot for PPC64.
59209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59212 multiarch hypotf for PPC64.
59213
59214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59215 modff multiarch implementations.
59216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59219 multiarch modf for PPC64.
59220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59223 multiarch modff for PPC64.
59224
59225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59226 and logl multiarch implementations.
59227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59230 multiarch logb for PPC64.
59231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59234 multiarch logb for PPC64.
59235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59238 multiarch logb for PPC64.
59239
59240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59241 isinff multiarch implementation.
59242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59243 file.
59244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59246 multiarch isinf for PPC64.
59247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59248 file.
59249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59250 multiarch isinff for PPC64.
59251
59252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59253 finitef multiarch implementation.
59254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59255 file.
59256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59258 multiarch finite for PPC64.
59259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59260 file.
59261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59262 multiarch finitef for PPC64.
59263
59264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59265 lrint multiarch implementation.
59266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59267 file.
59268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59270 multiarch llrint for PPC64.
59271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59272 multiarch lrint for PPC64.
59273
59274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59275 copysignf multiarch implementation.
59276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59277 file.
59278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59279 file.
59280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59281 multiarch copysign for PPC64.
59282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59283 multiarch copysignf for PPC64.
59284
59285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59286 multiarch implementation.
59287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59288 file.
59289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59290 file.
59291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59292 file.
59293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59294 file.
59295 multiarch llround for PPC64.
59296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59297 multiarch trunc for PPC64.
59298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59299 multiarch truncf for PPC64.
59300
59301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59302 multiarch implementation.
59303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59304 file.
59305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59306 file.
59307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59308 file.
59309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59310 file.
59311 multiarch llround for PPC64.
59312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59313 multiarch round for PPC64.
59314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59315 multiarch roundf for PPC64.
59316
59317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59318 multiarch implementation.
59319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59320 file.
59321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59322 file.
59323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59324 file.
59325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59326 file.
59327 multiarch llround for PPC64.
59328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59329 multiarch floor for PPC64.
59330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59331 multiarch floorf for PPC64.
59332
59333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59334 multiarch implementation.
59335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59336 file.
59337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59338 file.
59339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59340 file.
59341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59342 file.
59343 multiarch llround for PPC64.
59344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59345 multiarch ceil for PPC64.
59346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59347 multiarch ceilf for PPC64.
59348
59349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59350 multiarch implementation.
59351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59352 file.
59353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59354 file.
59355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59356 file.
59357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59358 multiarch llround for PPC64.
59359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59360 multiarch lround for PPC64.
59361
59362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59363 multiarch implementation.
59364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59367 file.
59368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59371 multiarch isnan for PPC64.
59372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59373 multiarch isnanf for PPC64.
59374
59375 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59376 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59377 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59378 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59379 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59381
59382 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59383 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59386
59387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59388 multiarch implementations.
59389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59390 (__libc_ifunc_impl_list): Likewise.
59391 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59392 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59394 multiarch stpcpy for PPC64.
59395
59396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59397 multiarch implementations.
59398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59399 (__libc_ifunc_impl_list): Likewise.
59400 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59401 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59402 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59403 multiarch strcpy for PPC64.
59404
59405 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59406 redefine function name.
59407 (_wordcopy_fwd_dest_aligned): Likewise.
59408 (_wordcopy_bwd_aligned): Likewise.
59409 (_wordcopy_bwd_dest_aligned): Likewise.
59410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59411 multiarch implementations.
59412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59413 (__libc_ifunc_impl_list): Likewise.
59414 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59415 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59418 multiarch wcscpy for PPC64.
59419
59420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59421 multiarch implementations.
59422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59423 (__libc_ifunc_impl_list): Likewise.
59424 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59428 multiarch wcscpy for PPC64.
59429
59430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59431 multiarch implementations.
59432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59433 (__libc_ifunc_impl_list): Likewise.
59434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59435 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59436 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59438 multiarch wcsrchr for PPC64.
59439
59440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59441 multiarch implementations.
59442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59443 (__libc_ifunc_impl_list): Likewise.
59444 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59445 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59446 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59448 multiarch wcschr for PPC64.
59449
59450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59451 multiarch implementations.
59452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59453 (__libc_ifunc_impl_list): Likewise.
59454 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59457 multiarch strchrnul for PPC64.
59458
59459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59460 implementations.
59461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59462 (__libc_ifunc_impl_list): Likewise.
59463 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59464 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59465 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59466 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59467 strchr for PPC64.
59468
59469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59470 implementations.
59471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59472 (__libc_ifunc_impl_list): Likewise.
59473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59476 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59477 strncmp for PPC64.
59478
59479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59480 multiarch implementations.
59481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59482 (__libc_ifunc_impl_list): Likewise.
59483 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59484 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59485 strncasecmp for PPC64.
59486 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59487 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59488 multiarch strncasecmp_l for PPC64.
59489
59490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59491 multiarch implementations.
59492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59493 (__libc_ifunc_impl_list): Likewise.
59494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59496 multiarch strcasecmp for PPC64.
59497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59498 file.
59499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59500 multiarch strcasecmp_l for PPC64.
59501
59502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59503 implementations.
59504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59505 (__libc_ifunc_impl_list): Likewise.
59506 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59508 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59509 strnlen for PPC64.
59510
59511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59512 implementations.
59513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59514 (__libc_ifunc_impl_list): Likewise.
59515 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59516 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59517 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59518 strlen for PPC64.
59519
59520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59521 implementations.
59522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59523 (__libc_ifunc_impl_list): Likewise.
59524 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59525 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59526 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59527 rawmemrchr for PPC64.
59528
59529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59530 implementation.
59531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59532 (__libc_ifunc_impl_list): Likewise.
59533 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59535 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59536 memrchr for PPC64.
59537
59538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59539 implementation.
59540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59541 (__libc_ifunc_impl_list): Likewise.
59542 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59543 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59544 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59545 memchr for PPC64.
59546
59547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59548 implementation.
59549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59550 (__libc_ifunc_impl_list): Likewise.
59551 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59552 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59554 mempcpy for PPC64.
59555
59556 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59557 avoid cretion of __bzero symbol.
59558 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59559 Likewise.
59560 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59561 Likewise.
59562 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59563 Likewise.
59564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59565 multiarch implementations.
59566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59567 (__libc_ifunc_impl_list): Likewise.
59568 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59571 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59572 bzero for PPC32.
59573 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59574 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59575 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59576 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59577 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59578 memset for PPC64.
59579 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59580
59581 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59583 implementations.
59584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59585 (__libc_ifunc_impl_list): Likewise.
59586 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59587 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59589 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59590 memcmp for PPC64.
59591
59592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59593 multiarch for POWER/PPC64.
59594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59595 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59602 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59603 memcpy for PPC64.
59604
59605 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59606 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59607 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59608 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59609 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59610 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59611 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59612 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59613 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59614 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59615 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59616 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59617 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59618 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59619 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59627
59628 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59629
59630 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59631
59632 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59633
59634 * benchtests/Makefile (bench): Add exp2 and log2.
59635 (LDLIBS-bench-exp2): Add -lm.
59636 (LDLIBS-bench-log2): Likewise.
59637 * benchtests/exp2-inputs: New inputs file.
59638 * benchtests/log2-inputs: New inputs file.
59639 * benchtests/log-inputs: Add new inputs.
59640 * benchtests/tan-inputs: Likewise.
59641
59642 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59643
59644 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59645 definition...
59646 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59647 (csloww2): ... from here.
59648
59649 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59650 instead of structures.
59651 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59652 (POLYNOMIAL): Likewise.
59653 (TAYLOR_SLOW): Likewise.
59654 (__sin): Likewise.
59655 (__cos): Likewise.
59656 (slow1): Likewise.
59657 (slow2): Likewise.
59658 (sloww): Likewise.
59659 (sloww1); Likewise.
59660 (sloww2): Likewise.
59661 (bsloww1): Likewise.
59662 (bsloww2): Likewise.
59663 (cslow2): Likewise.
59664 (csloww): Likewise.
59665 (csloww1): Likewise.
59666 (csloww2): Likewise.
59667
59668 2013-12-10 Ondƙej Bílka <neleai@seznam.cz>
59669
59670 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59671 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59672 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59673 * malloc/hooks.c (realloc_check): Likewise.
59674
59675 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59676 * malloc/arena.c: Remove PER_THREAD conditional.
59677 [!PER_THREAD]: Remove code.
59678 (ptmalloc_unlock_all2): Likewise.
59679 (ptmalloc_init): Likewise.
59680 (_int_new_arena): Likewise.
59681 (arena_get2): Likewise.
59682 * malloc/hooks.c (__malloc_get_state): Likewise.
59683 (__malloc_set_state): Likewise.
59684 * malloc/malloc.c: Likewise.
59685 (struct malloc_state): Likewise.
59686 (struct malloc_par): Likewise.
59687 (__libc_realloc): Likewise.
59688 (__libc_mallopt): Likewise.
59689
59690 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59691
59692 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59693
59694 2013-12-09 Ondƙej Bílka <neleai@seznam.cz>
59695
59696 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59697 macro to a function. Check for zero perturb_byte.
59698 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59699
59700 * malloc/malloc.c: (force_reg): Remove.
59701 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59702 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59703 force_reg by atomic_forced_read.
59704 * malloc/arena.c (ptmalloc_init): Likewise.
59705 * malloc/hooks.c (top_check): Likewise.
59706
59707 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59708
59709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59710
59711 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59712
59713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59714
59715 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59716
59717 * math/auto-libm-test-in: Add tests of lgamma.
59718 * math/auto-libm-test-out: Regenerated.
59719 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59720 (M_LOG_2_SQRT_PIl): Likewise.
59721 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59722 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59723 mpfr_f_f1.
59724 (func_calc_desc): Add mpfr_f_f1 union field.
59725 (ARGS1): New macro.
59726 (ARGS2): Likewise.
59727 (ARGS3): Likewise.
59728 (ARGS4): Likewise.
59729 (RET1): Likewise.
59730 (RET2): Likewise.
59731 (CALC): Likewise.
59732 (FUNC): Likewise.
59733 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59734 (test_functions): Add lgamma.
59735 (calc_generic_results): Handle mpfr_f_f1.
59736 * sysdeps/i386/fpu/libm-test-ulps: Update.
59737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59738
59739 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59740
59741 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59742 __mpn_add_n for PowerPC64/POWER7.
59743 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59744 __mpn_sub_n for PowerPC64/POWER7.
59745
59746 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59747 __mpn_addmul_1 for PowerPC64.
59748 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59749 __mpn_submul_1 for PowerPC64.
59750 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59751 for PowerPC64.
59752 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59753 for PowerPC64.
59754
59755 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59756
59757 [BZ #15089]
59758 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59759
59760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59761
59762 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59763
59764 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59765 add multiarch folders.
59766 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59767 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59768 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59769 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59770 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59771 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59772 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59773 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59774 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59775 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59776 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59783
59784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59785 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59787 New file.
59788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59789 New file.
59790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59791 multiarch __ieee754_hypot for PowerPC32.
59792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59793 New file.
59794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59795 New file.
59796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59797 multiarch __ieee754_hypotf for PowerPC32.
59798
59799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59800 long_double_symbol only if __logbl is defined.
59801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59802 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59804 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59806 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59808 path for implementation.
59809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59812 logb, and logbl multiarch implementations for PowerPC32.
59813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59814 file.
59815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59816 file.
59817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59818 multiarch logb for PowerPC32.
59819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59820 file.
59821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59822 file.
59823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59824 multiarch logbf for PowerPC32.
59825 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59827 file.
59828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59829 multiarch logbl implementation for PowerPC32.
59830
59831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59832 and modff multiarch implementations.
59833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59834 New file.
59835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59836 New file.
59837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59838 multiarch modf for PowerPC32.
59839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59840 New file.
59841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59842 New file.
59843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59844 multiarch modff for PowerPC32.
59845
59846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59847 and lrintf multiarch implementations.
59848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59849 New file.
59850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59851 New file.
59852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59853 multiarch lrint for PowerPC32.
59854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59855 file: multiarch lrintf for PowerPC32.
59856
59857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59858 and lroundf multiarch implementations.
59859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59860 New file.
59861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59862 New file.
59863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59864 New file.
59865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59866 multiarch lround for PowerPC32.
59867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59868 file: multiarch lroundf for PowerPC32.
59869
59870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59871 copysign and copysignf multiarch implementations.
59872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59873 New file.
59874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59875 New file.
59876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59877 file: multiarch copysign for PowerPC32.
59878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59879 file: multiarch copysignf for PowerPC32.
59880
59881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59882 and truncf multiarch implementations.
59883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59884 New file.
59885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59886 file.
59887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59888 multiarch trunc for PowerPC32.
59889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59890 New file.
59891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59892 New file.
59893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59894 multiarch truncf for PowerPC32.
59895
59896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59897 and roundf multiarch implementations.
59898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59899 New file.
59900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59901 file.
59902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59903 multiarch round for PowerPC32.
59904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59905 New file.
59906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59907 New file.
59908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59909 multiarch roundf for PowerPC32.
59910
59911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59912 and floorf multiarch implementations.
59913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59914 New file.
59915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59916 file.
59917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59918 multiarch floor for PowerPC32.
59919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59920 New file.
59921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59922 New file.
59923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59924 multiarch floorf for PowerPC32.
59925
59926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59927 and ceilf multiarch implementations.
59928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59929 New file.
59930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59931 file.
59932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59933 multiarch ceil for PowerPC32.
59934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59935 New file.
59936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59937 file.
59938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59939 multiarch ceilf for PowerPC32.
59940
59941 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59942 is defined.
59943 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59944 FINITEF is defined.
59945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59946 and finitef multiarch implementations.
59947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59948 New file.
59949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59950 file.
59951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59952 multiarch finite for PowerPC32.
59953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59954 New file.
59955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59956 file: multiarch finitef for PowerPC32.
59957
59958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59959 and isinff multiarch implementations.
59960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59961 file.
59962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59963 file.
59964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59965 multiarch isinf for PowerPC32.
59966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59967 New file.
59968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59969 multiarch isinff for PowerPC32.
59970
59971 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59972 alias when __isnan is defined.
59973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59974 and isnanf multiarch implementations.
59975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59976 file.
59977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59978 file.
59979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59980 file.
59981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59982 file.
59983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59984 multiarch isnan for PowerPC32.
59985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59986 New file.
59987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59988 New file.
59989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59990 multiarch isnanf for PowerPC32.
59991
59992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59993 and sqrtf multiarch implementations.
59994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59995 file.
59996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59997 file.
59998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59999 multiarch sqrt for PowerPC32.
60000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60001 file.
60002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60003 file.
60004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60005 multiarch sqrtf for PowerPC32.
60006
60007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60008 and llroundf multiarch implementations.
60009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60010 New file.
60011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60012 New file.
60013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60014 New file.
60015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60016 file: multiarch llround for PowerPC32.
60017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60018 file: multiarch llroundf for PowerPC32.
60019
60020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60021 multiarch PowerPC32 fpu implementations.
60022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60023 New file.
60024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60025 New file.
60026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60027 multiarch llrint for PowerPC32.
60028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60029 New file.
60030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60031 New file.
60032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60033 file.
60034
60035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60036
60037 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60038 file.
60039 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60040 file.
60041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60042 file.
60043 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60044 multiarch wordcopy for PPC32.
60045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60046 wordcopy objects.
60047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60048 (__libc_ifunc_impl_list): Likewise.
60049 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60050 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60052 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60053 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60054 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60055
60056 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60058 file.
60059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60060 file.
60061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60062 file.
60063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60064 multiarch wcscpy for PPC32.
60065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60066 multiarch objects.
60067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60068 (__libc_ifunc_impl_list): Likewise.
60069 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60070 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60071 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60072 sysdeps/powerpc/power6/wcscpy.c.
60073
60074 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60076 file.
60077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60078 file.
60079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60080 file.
60081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60082 multiarch wcsrchr for PPC32.
60083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60084 multiarch objects.
60085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60086 (__libc_ifunc_impl_list): Likewise.
60087 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60088 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60089 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60090 sysdeps/powerpc/power6/wcsrchr.c.
60091
60092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60093 file.
60094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60095 file.
60096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60098 multiarch wcschr for PPc32.
60099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60100 multiarch objects.
60101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60102 (__libc_ifunc_impl_list): Likewise.
60103 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60104 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60105 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60106 sysdeps/powerpc/power6/wcschr.c.
60107
60108 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60109 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60110 file.
60111 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60112 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60113 file: multiarch strchr for PPC32.
60114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60115 multiarch objects.
60116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60117 (__libc_ifunc_impl_list): Likewise.
60118
60119 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60120 name.
60121 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60122 file.
60123 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60124 file.
60125 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60126 multiarch strchrnul for PPC32.
60127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60128 multiarch objects.
60129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60130 (__libc_ifunc_impl_list): Likewise.
60131
60132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60133 file.
60134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60135 multiarch strncasecmp for PPC32.
60136 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60137 file.
60138 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60139 multiarch strncasecmp_l for PPC32.
60140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60141 strncasecmp multiarch objects.
60142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60143 (__libc_ifunc_impl_list): Likewise.
60144
60145 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60146 file.
60147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60148 multiarch strncasecmp for PPC32.
60149 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60150 New file.
60151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60152 multiarch strcasecmp_l for PPC32.
60153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60154 multiarch objects.
60155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60156 (__libc_ifunc_impl_list): Likewise.
60157
60158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60159 file.
60160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60161 file.
60162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60163 multiarch strncmp for PPC32.
60164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60165 multiarch objects.
60166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60167 (__libc_ifunc_impl_list): Likewise.
60168
60169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60170 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60171 file.
60172 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60175 multiarch objects.
60176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60177 (__libc_ifunc_impl_list): Likewise.
60178
60179 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60180 file.
60181 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60182 file.
60183 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60185 multiarch objects.
60186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60187 (__libc_ifunc_impl_list): Likewise.
60188
60189 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60190 file.
60191 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60192 file.
60193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60194 multiarch rawmemchr for PPC32.
60195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60196 multiarch objects.
60197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60198 (__libc_ifunc_impl_list): Likewise.
60199
60200 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60201 file.
60202 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60203 file.
60204 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60205 file: memrchr multiarch for PPC32.
60206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60207 multiarch objects.
60208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60209 (__libc_ifunc_impl_list): Likewise.
60210
60211 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60212 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60213 file.
60214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60216 multiarch memchr for PPC32.
60217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60218 multiarch objects.
60219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60220 (__libc_ifunc_impl_list): Likewise.
60221
60222 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60223 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60224 file.
60225 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60226 file.
60227 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60228 file: multiarch mempcpy for PPC32.
60229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60230 multiarch objects.
60231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60232 (__libc_ifunc_impl_list): Likewise.
60233
60234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60238 multiarch bzero for PPC32.
60239 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60240 file.
60241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60242 file.
60243 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60244 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60245 file: multiarch memset for PPC32.
60246 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60248 memset multiarch objects.
60249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60250 (__libc_ifunc_impl_list): Likewise.
60251
60252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60253 file.
60254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60256 memcmp for PPC32.
60257 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60259 multiarch objects.
60260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60261 (__libc_ifunc_impl_list): Likewise.
60262
60263 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60266 file.
60267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60268 file.
60269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60270 file.
60271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60272 multiarch memcpy for PPC32.
60273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60274 multiarch objects.
60275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60276 (__libc_ifunc_impl_list): Likewise.
60277
60278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60279 support multiarch for POWER/PPC32.
60280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60281 Likewise.
60282 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60284 Implies file to make multiarch folder appers before the fpu and
60285 default folder for power4 configuration.
60286
60287 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60288
60289 * scripts/bench.pl: Append volatile keyword to type.
60290
60291 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60292
60293 * sysdeps/sh/sotruss-lib.c: New file.
60294 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60295
60296 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60297
60298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60299
60300 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60301
60302 [BZ #6810]
60303 * math/w_tgamma.c: Include <errno.h>.
60304 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60305 * math/w_tgammaf.c: Include <errno.h>.
60306 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60307 * math/w_tgammal.c: Include <errno.h>.
60308 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60309 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60310 underflow. Add more tgamma tests.
60311 * math/auto-libm-test-out: Regenerated.
60312 * sysdeps/i386/fpu/libm-test-ulps: Update.
60313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60314
60315 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60316 sin, sinh, tan, tanh, tgamma, y0 and y1.
60317 * math/auto-libm-test-out: Regenerated.
60318 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60319 (TEST_COND_x86): Likewise.
60320 (M_E2l): Remove macro.
60321 (M_E3l): Likewise.
60322 (M_2_SQRT_PIl): Likewise.
60323 (M_SQRT_PIl): Likewise.
60324 (M_1_DIV_El): Likewise.
60325 (log_test_data): Use AUTO_TESTS_f_f.
60326 (log10_test_data): Likewise.
60327 (log1p_test_data): Likewise.
60328 (log2_test_data): Likewise.
60329 (sin_test_data): Likewise.
60330 (sin_tonearest_test_data): Likewise.
60331 (sin_towardzero_test_data): Likewise.
60332 (sin_downward_test_data): Likewise.
60333 (sin_upward_test_data): Likewise.
60334 (sinh_test_data): Likewise.
60335 (sinh_tonearest_test_data): Likewise.
60336 (sinh_towardzero_test_data): Likewise.
60337 (sinh_downward_test_data): Likewise.
60338 (sinh_upward_test_data): Likewise.
60339 (tan_test_data): Likewise.
60340 (tan_tonearest_test_data): Likewise.
60341 (tan_towardzero_test_data): Likewise.
60342 (tan_downward_test_data): Likewise.
60343 (tan_upward_test_data): Likewise.
60344 (tanh_test_data): Likewise.
60345 (tgamma_test_data): Likewise.
60346 (y0_test_data): Likewise.
60347 (y1_test_data): Likewise.
60348 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60349 (special_real_inputs): Add pi/4.
60350 * sysdeps/i386/fpu/libm-test-ulps: Update.
60351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60352
60353 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60354
60355 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60356 "longjmp_target" static probes.
60357 (__longjmp): Rename to __longjmp_symbol.
60358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60359 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60360 on which longjmp to generate.
60361 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60362 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60363 probe.
60364 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60365 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60366 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60367 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60368 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60369 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60371 __longjmp_symbol based on which __longjmp to generate.
60372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60373 probe.
60374 (setjmp): Rename to setjmp_symbol.
60375 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60376 (_setjmp): Rename to _setjmp_symbol.
60377 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60378 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60379 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60380 which setjmp to generate.
60381 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60382 "longjmp_target" static probes.
60383
60384 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60385
60386 * benchtests/README: Add note about output arguments.
60387 * benchtests/bench-sincos.c: Remove file.
60388 * benchtests/sincos-inputs: New file.
60389 * scripts/bench.pl: Identify output arguments and define
60390 static variables for them.
60391
60392 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60393
60394 [BZ #15941]
60395 * Makefile (INSTALL): Add install-plain.texi as the primary
60396 dependency.
60397 * manual/install-plain.texi: New file.
60398 * manual/install.texi: Include node directive only for
60399 non-plaintext output.
60400
60401 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60402
60403 * stdlib/longlong.h: Update from GCC.
60404
60405 [BZ #6807]
60406 [BZ #15901]
60407 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60408 * math/w_j0f.c (y0f): Likewise.
60409 * math/w_j0l.c (__y0l): Likewise.
60410 * math/w_j1.c (y1): Likewise.
60411 * math/w_j1f.c (y1f): Likewise.
60412 * math/w_j1l.c (__y1l): Likewise.
60413 * math/w_jn.c (yn): Likewise.
60414 * math/w_jnf.c (ynf): Likewise.
60415 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60416 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60417 value for Bessel function domain errors outside _SVID_ mode.
60418 Adjust sign of return value for yn (negative integer, 0).
60419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60420 by zero in return for negative x and set sign appropriately for
60421 negative n.
60422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60424 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60425 expectations in error cases.
60426 (y1_test_data): Likewise.
60427 (yn_test_data): Likewise.
60428 * sysdeps/i386/fpu/libm-test-ulps: Update.
60429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60430
60431 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60432
60433 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60434 "64" to "64-v1". Add "64-v2".
60435 (abi-64-options): Rename to ...
60436 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60437 (abi-64-condition): Rename to ...
60438 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60439 (abi-64-ld-soname): Rename to ...
60440 (abi-64-v1-ld-soname): ... this.
60441 (abi-64-v2-options): Define.
60442 (abi-64-v2-condition): Likewise.
60443 (abi-64-v2-ld-soname): Likewise.
60444 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60445 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60449
60450 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60451 Alan Modra <amodra@gmail.com>
60452
60453 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60454 New versions for use with the ELFv2 ABI.
60455 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60456 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60457 declaration.
60458 (struct La_ppc64v2_retval): Likewise.
60459 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60460 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60461 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60462 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60463 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60465 Do not save or restore CR.
60466 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60467 (_dl_profile_resolve): Do no save or restore CR. Support extended
60468 return values for ELFv2 ABI. Fix location of FPR return registers.
60469 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60470 updated values for _CALL_ELF == 2.
60471 (La_regs, La_retval, int_retval): Likewise.
60472
60473 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60474
60475 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60476 (FRAME_MIN_SIZE_PARM): Likewise.
60477 (FRAME_BACKCHAIN): Likewise.
60478 (FRAME_CR_SAVE): Likewise.
60479 (FRAME_LR_SAVE): Likewise.
60480 (FRAME_TOC_SAVE): Likewise.
60481 (FRAME_PARM_SAVE): Likewise.
60482 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60483 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60484 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60485 (call_mcount_parm_offset): New macro.
60486 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60487 (PROF): Use symbolic stack frame offsets.
60488 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60490 Redefine in terms of FRAME_MIN_SIZE.
60491 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60492 (_dl_profile_resolve): Likewise. Update comment.
60493 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60494 symbols stack frame offsets.
60495 (__sigsetjmp): Likewise.
60496 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60497 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60498 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60499 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60500
60501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60502 (FRAME_BACKCHAIN): Remove.
60503 (FRAME_CR_SAVE): Likewise.
60504 (FRAME_LR_SAVE): Likewise.
60505 (FRAME_COMPILER_DW): Likewise.
60506 (FRAME_LINKER_DW): Likewise.
60507 (FRAME_TOC_SAVE): Likewise.
60508 (FRAME_PARM_SAVE): Likewise.
60509 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60510 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60511 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60513 (CHECK_SP): Use symbolic stack frame offsets.
60514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60515 zone" instead of caller's parameter save area for temp storage.
60516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60517 Likewise. Also, use symbolic stack frame offsets.
60518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60519 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60520 our own stack frame instead of the caller's.
60521 (__socket): Use symbolic stack frame offsets.
60522
60523 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60524 Alan Modra <amodra@gmail.com>
60525
60526 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60527 Define.
60528 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60529 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60530 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60531 New function.
60532 (elf_machine_fixup_plt): Call it.
60533 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60534 reloc arguments.
60535 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60537 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60538 r2 before calling target.
60539
60540 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60541 Alan Modra <amodra@gmail.com>
60542
60543 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60544 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60545 versions of macros to support ELFv2 ABI.
60546 (LOCALENTRY): New macro.
60547 (ENTRY, EALIGN): Use it.
60548 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60549 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60550 fall through into ENTRY entry point.
60551 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60552 Only define if _CALL_ELF != 2.
60553
60554 (elf_machine_matches_host): Verify ABI version matches.
60555 (RTLD_START): Use LOCALENTRY.
60556 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60557 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60558 (PLT_ENTRY_WORDS): New macro.
60559 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60560 (elf_machine_runtime_setup): Support ELFv2 ABI.
60561 (elf_machine_fixup_plt): Likewise.
60562 (elf_machine_plt_conflict): Likewise.
60563 (resolve_ifunc): Likewise.
60564 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60566 Likewise.
60567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60568 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60570 (makecontext): Support ELFv2 ABI.
60571 * elf/elf.h (EF_PPC64_ABI): Define.
60572
60573 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60574
60575 * sysdeps/powerpc/powerpc64/sysdep.h
60576 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60577 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60578 (ENTRY) [ASSEMBLER]: ... but instead here ...
60579 (EALIGN) [ASSEMBLER]: ... and here.
60580 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60581 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60582 (ENTRY_2) [!ASSEMBLER]: Use it.
60583 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60584 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60586 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60587 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60589 Use PPC64_LOAD_FUNCPTR.
60590
60591 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60592
60593 2013-12-04 Alan Modra <amodra@gmail.com>
60594
60595 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60596 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60597 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60598 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60599
60600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60601 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60602 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60603 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60604 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60605 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60606
60607 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60608
60609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60610 (__makecontext): Fix incorrect CFI when backtracing out of
60611 context created via makecontext.
60612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60613 (__setcontext): Fix incorrect CFI during switch to new context.
60614 (__novec_setcontext): Likewise.
60615
60616 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60617
60618 [BZ #4772]
60619 * time/strptime_l.c (__strptime_internal): Allow modifiers
60620 in strptime.
60621 * time/tst-strptime.c (day_tests): Add testcase.
60622
60623 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60624
60625 * scripts/bench.pl: Skip over blank lines.
60626
60627 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60628
60629 [BZ #926]
60630 * manual/time.texi (Calendar Time): Clarify what timezone functions
60631 use.
60632
60633 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60634
60635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60636
60637 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60638
60639 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60640 implementation.
60641 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60642 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60643 * debug/memset_chk.c (__memset_chk): Likewise.
60644 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60645 * debug/strncpy_chk.c: Likewise.
60646
60647 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60648
60649 [BZ #15268]
60650 [BZ #15425]
60651 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60652 (__ieee754_exp): For possibly underflowing results, check size of
60653 result and force underflow exception if required.
60654 * math/auto-libm-test-in: Add more tests of exp.
60655 * math/auto-libm-test-out: Regenerated.
60656 * sysdeps/i386/fpu/libm-test-ulps: Update.
60657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60658
60659 [BZ #16283]
60660 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60661 * math/w_exp2f.c (__exp2f): Likewise.
60662 * math/w_exp2l.c (__exp2l): Likewise.
60663 * math/auto-libm-test-in: Do not allow missing errno on exp2
60664 underflow.
60665 * math/auto-libm-test-out: Regenerated.
60666
60667 2013-12-03 Ondƙej Bílka <neleai@seznam.cz>
60668
60669 [BZ #16274]
60670 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60671 handle filename validation.
60672 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60673 (do_open): Delete.
60674
60675 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60676
60677 [BZ #6786]
60678 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60679 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60680 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60681 <float.h>.
60682 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60684 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60686 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60688 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60689 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60690 Add more erfc tests.
60691 * math/auto-libm-test-out: Regenerated.
60692 * sysdeps/i386/fpu/libm-test-ulps: Update.
60693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60694
60695 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60696 exp2, expm1, j0 and j1.
60697 * math/auto-libm-test-out: Regenerated.
60698 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60699 (erfc_test_data): Likewise.
60700 (exp_test_data): Likewise.
60701 (exp_tonearest_test_data): Likewise.
60702 (exp_towardzero_test_data): Likewise.
60703 (exp_downward_test_data): Likewise.
60704 (exp_upward_test_data): Likewise.
60705 (exp10_test_data): Likewise.
60706 (exp2_test_data): Likewise.
60707 (expm1_test_data): Likewise.
60708 (j0_test_data): Likewise.
60709 (j1_test_data): Likewise.
60710 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60711 (input_flag_type): Add flag_xfail_rounding.
60712 (input_flags): Add xfail-rounding.
60713 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60714 (output_for_one_input_case): Handle flag_xfail_rounding.
60715 * sysdeps/i386/fpu/libm-test-ulps: Update.
60716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60717
60718 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60719
60720 [BZ #16289]
60721 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60722 division by 0.
60723
60724 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60725
60726 [BZ #16195]
60727 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60728 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60729 (STAP_PROBE0): New macro.
60730 (STAP_PROBE1): Likewise.
60731 (STAP_PROBE2): Likewise.
60732 (STAP_PROBE3): Likewise.
60733 (STAP_PROBE4): Likewise.
60734
60735 2013-12-02 Ondƙej Bílka <neleai@seznam.cz>
60736
60737 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60738
60739 2013-12-02 Steve Ellcey <sellcey@mips.com>
60740
60741 * benchtests/Makefile (bench): Add sqrt.
60742 (LDLIBS-bench-sqrt): New.
60743 * benchtests/sqrt-input: New.
60744
60745 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60746
60747 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60748 (GAIH_EAI): Likewise.
60749 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60750 (gaih_inet): Likewise.
60751 (getaddrinfo): Don't use GAIH_EAI.
60752
60753 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60754 (struct gaih): Remove definition.
60755
60756 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60757
60758 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60759 Use HERRNOP directly.
60760
60761 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60762
60763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60764
60765 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60766
60767 * math/gen-auto-libm-tests.c (test_functions): Add more
60768 single-argument functions.
60769 (special_fill_pi_2): New function.
60770 (special_fill_minus_pi_2): Likewise.
60771 (special_fill_pi_6): Likewise.
60772 (special_fill_minus_pi_6): Likewise.
60773 (special_fill_pi_3): Likewise.
60774 (special_fill_2pi_3): Likewise.
60775 (special_fill_e): Likewise.
60776 (special_fill_1_e): Likewise.
60777 (special_fill_e_minus_1): Likewise.
60778 (special_real_inputs): Add more special inputs.
60779 (output_for_one_input_case): Do not require ERANGE on underflow to
60780 zero if round-to-nearest result does not underflow to zero, unless
60781 exact results required.
60782 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60783 atan, atanh, cbrt, cos and cosh.
60784 * math/auto-libm-test-out: Regenerated.
60785 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60786 (acos_tonearest_test_data): Likewise.
60787 (acos_towardzero_test_data): Likewise.
60788 (acos_downward_test_data): Likewise.
60789 (acos_upward_test_data): Likewise.
60790 (acosh_test_data): Likewise.
60791 (asin_test_data): Likewise.
60792 (asin_tonearest_test_data): Likewise.
60793 (asin_towardzero_test_data): Likewise.
60794 (asin_upward_test_data): Likewise.
60795 (asinh_test_data): Likewise.
60796 (atan_test_data): Likewise.
60797 (atanh_test_data): Likewise.
60798 (cbrt_test_data): Likewise.
60799 (cos_test_data): Likewise.
60800 (cos_tonearest_test_data): Likewise.
60801 (cos_towardzero_test_data): Likewise.
60802 (cos_downward_test_data): Likewise.
60803 (cos_upward_test_data): Likewise.
60804 (cosh_test_data): Likewise.
60805 (cosh_tonearest_test_data): Likewise.
60806 (cosh_towardzero_test_data): Likewise.
60807 (cosh_downward_test_data): Likewise.
60808 (cosh_upward_test_data): Likewise.
60809 * sysdeps/i386/fpu/libm-test-ulps: Update.
60810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60811
60812 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60813
60814 [BZ #6787]
60815 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60816 * math/w_exp10f.c (__exp10f): Likewise.
60817 * math/w_exp10l.c (__exp10l): Likewise.
60818 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60819 errno settings in existing tests.
60820
60821 [BZ #14032]
60822 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60823 precision control set to double precision.
60824 * sysdeps/i386/fpu/w_sqrt.c: New file.
60825 * math/auto-libm-test-in: Add more tests.
60826 * math/auto-libm-test-out: Update.
60827
60828 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60829 (sqrt_test_tonearest): New function.
60830 (sqrt_towardzero_test_data): New variable.
60831 (sqrt_test_towardzero): New function.
60832 (sqrt_downward_test_data): New variable.
60833 (sqrt_test_downward): New function.
60834 (sqrt_upward_test_data): New variable.
60835 (sqrt_test_upward): New function.
60836 (main): Call the new functions.
60837
60838 * math/gen-auto-libm-tests.c: New file.
60839 * math/auto-libm-test-in: Likewise.
60840 * math/auto-libm-test-out: New generated file.
60841 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60842 variables.
60843 (%beautify): Add generated representations of zero.
60844 (top level): Set $auto_input and call parse_auto_input.
60845 (beautify): Remove trailing "f" from hex float constants.
60846 (parse_args): Handle XFAIL_TEST.
60847 (convert_condition): New function.
60848 (or_value): Likewise.
60849 (or_cond_value): Likewise.
60850 (generate_testfile): Handle AUTO_TESTS_* lines.
60851 (parse_auto_input): New function.
60852 * math/libm-test.inc (XFAIL_TEST): New macro.
60853 (ERRNO_UNCHANGED): Update value.
60854 (ERRNO_EDOM): Likewise.
60855 (ERRNO_ERANGE): Likewise.
60856 (IGNORE_RESULT): Likewise.
60857 (TEST_COND_flt_32): New macro.
60858 (TEST_COND_dbl_64): Likewise.
60859 (TEST_COND_ldbl_96_intel): Likewise.
60860 (TEST_COND_ldbl_96_m68k): Likewise.
60861 (TEST_COND_ldbl_128): Likewise.
60862 (TEST_COND_ldbl_128ibm): Likewise.
60863 (TEST_COND_long32): Likewise.
60864 (TEST_COND_long64): Likewise.
60865 (TEST_COND_before_rounding): Likewise.
60866 (TEST_COND_after_rounding): Likewise.
60867 (enable_test): Handle XFAIL_TEST flag.
60868 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60869 with finite results.
60870 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60871 auto-libm-test-out.
60872
60873 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60874 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60875
60876 [BZ #16214]
60877 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60878 __tls_get_addr_internal instead of __tls_get_offset in order to
60879 avoid GOT pointer dependency. Make rtld export
60880 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60881 __tls_get_addr since we are a __tls_get_offset platform.
60882 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60883 GOT pointer being set up before.
60884 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60885
60886 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60887
60888 * manual/math.texi (Errors in Math Functions): Document accuracy
60889 goals.
60890
60891 [BZ #15004]
60892 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60893 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60894 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60896 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60897 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60898 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60899 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60902 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60904 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60906 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60907 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60908
60909 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60910 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60911 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60912 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60913 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60914 Likewise.
60915 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60916 Likewise.
60917 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60918 Likewise.
60919 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60920 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60921 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60922 atomic-feupdateenv and flt-rounds.
60923 * sysdeps/powerpc/nofpu/Versions (libc): Add
60924 __atomic_feholdexcept, __atomic_feclearexcept,
60925 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60926 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60927 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60928 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60929 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60930 here.
60931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60932 Update.
60933
60934 * manual/arith.texi (FP Exceptions): Document that exceptions may
60935 not be raised when matherr is used.
60936 (Math Error Reporting): Document overflow in directed rounding
60937 modes. Document that errno may not be set when finite values are
60938 returned on overflow. Document intent to set errno on underflow
60939 only for underflow to zero.
60940
60941 [BZ #16271]
60942 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60943 round-to-nearest then adjust result for other rounding modes.
60944 * include/fenv.h (fegetround): Use libm_hidden_proto.
60945 * math/fegetround.c (fegetround): Use libm_hidden_def.
60946 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60947 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60948 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60949 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60950 Likewise.
60951 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60953 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60954 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60955
60956 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60957
60958 [BZ #16077]
60959 * nss/Versions (libnss_files): Add
60960 _nss_files_gethostbyname3_r.
60961 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60962 New function.
60963 (HOST_DB_LOOKUP): Remove macro.
60964 (_nss_files_gethostbyname_r): Implement function without the
60965 HOST_DB_LOOKUP macro.
60966 (_nss_files_gethostbyname2_r): Likewise.
60967
60968 2013-11-28 Ondƙej Bílka <neleai@seznam.cz>
60969
60970 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60971
60972 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60973
60974 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60975 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60976 warning.
60977
60978 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60979
60980 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60981 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60982 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60983 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60984 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60985 __fe_nomask_env_priv and attribute_hidden.
60986 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60987 (libc_feupdateenv_test_ppc): Likewise.
60988 (libc_feresetround_ppc): Likewise.
60989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60990 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60991 compat_symbol macro.
60992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60993 (__fe_nomask_env): Likewise.
60994 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60995
60996 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
60997
60998 * string/Makefile: Remove ifunc tests.
60999 * string/test-string.h: Define TEST_IFUNC.
61000 * string/test-bcopy-ifunc.c: Remove.
61001 * string/test-bzero-ifunc.c: Likewise.
61002 * string/test-memccpy-ifunc.c: Likewise.
61003 * string/test-memchr-ifunc.c: Likewise.
61004 * string/test-memcmp-ifunc.c: Likewise.
61005 * string/test-memcpy-ifunc.c: Likewise.
61006 * string/test-memmem-ifunc.c: Likewise.
61007 * string/test-memmove-ifunc.c: Likewise.
61008 * string/test-mempcpy-ifunc.c: Likewise.
61009 * string/test-memrchr-ifunc.c: Likewise.
61010 * string/test-memset-ifunc.c: Likewise.
61011 * string/test-rawmemchr-ifunc.c: Likewise.
61012 * string/test-stpcpy-ifunc.c: Likewise.
61013 * string/test-stpncpy-ifunc.c: Likewise.
61014 * string/test-strcasecmp-ifunc.c: Likewise.
61015 * string/test-strcasestr-ifunc.c: Likewise.
61016 * string/test-strcat-ifunc.c: Likewise.
61017 * string/test-strchr-ifunc.c: Likewise.
61018 * string/test-strchrnul-ifunc.c: Likewise.
61019 * string/test-strcmp-ifunc.c: Likewise.
61020 * string/test-strcpy-ifunc.c: Likewise.
61021 * string/test-strcspn-ifunc.c: Likewise.
61022 * string/test-strlen-ifunc.c: Likewise.
61023 * string/test-strncasecmp-ifunc.c: Likewise.
61024 * string/test-strncat-ifunc.c: Likewise.
61025 * string/test-strncmp-ifunc.c: Likewise.
61026 * string/test-strncpy-ifunc.c: Likewise.
61027 * string/test-strnlen-ifunc.c: Likewise.
61028 * string/test-strpbrk-ifunc.c: Likewise.
61029 * string/test-strrchr-ifunc.c: Likewise.
61030 * string/test-strspn-ifunc.c: Likewise.
61031 * string/test-strstr-ifunc.c: Likewise.
61032
61033 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61034
61035 * benchtests/Makefile: Remove ifunc tests.
61036 * benchtests/bench-string.h: Define TEST_IFUNC.
61037 * benchtests/bench-bcopy-ifunc.c: Remove.
61038 * benchtests/bench-bzero-ifunc.c: Likewise.
61039 * benchtests/bench-memccpy-ifunc.c: Likewise.
61040 * benchtests/bench-memchr-ifunc.c: Likewise.
61041 * benchtests/bench-memcmp-ifunc.c: Likewise.
61042 * benchtests/bench-memcpy-ifunc.c: Likewise.
61043 * benchtests/bench-memmem-ifunc.c: Likewise.
61044 * benchtests/bench-memmove-ifunc.c: Likewise.
61045 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61046 * benchtests/bench-memrchr-ifunc.c: Likewise.
61047 * benchtests/bench-memset-ifunc.c: Likewise.
61048 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61049 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61050 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61051 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61052 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61053 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61054 * benchtests/bench-strcat-ifunc.c: Likewise.
61055 * benchtests/bench-strchr-ifunc.c: Likewise.
61056 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61057 * benchtests/bench-strcmp-ifunc.c: Likewise.
61058 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61059 * benchtests/bench-strcpy-ifunc.c: Likewise.
61060 * benchtests/bench-strcspn-ifunc.c: Likewise.
61061 * benchtests/bench-strlen-ifunc.c: Likewise.
61062 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61063 * benchtests/bench-strncat-ifunc.c: Likewise.
61064 * benchtests/bench-strncmp-ifunc.c: Likewise.
61065 * benchtests/bench-strncpy-ifunc.c: Likewise.
61066 * benchtests/bench-strnlen-ifunc.c: Likewise.
61067 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61068 * benchtests/bench-strrchr-ifunc.c: Likewise.
61069 * benchtests/bench-strsep-ifunc.c: Likewise.
61070 * benchtests/bench-strspn-ifunc.c: Likewise.
61071 * benchtests/bench-strstr-ifunc.c: Likewise.
61072
61073 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61074
61075 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61076
61077 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61078
61079 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61080 * rt/aio.h: Likewise.
61081 * sysdeps/gnu/bits/utmp.h: Likewise.
61082 * sysdeps/gnu/bits/utmpx.h: Likewise.
61083 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61084 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61085 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61086 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61087 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61088 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61089 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61090 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61091 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61092 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61093 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61094 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61095 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61097 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61098 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61099 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61100 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61101 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61102 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61103 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61104 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61105 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61106 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61107 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61109 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61110 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61111 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61112 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61113 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61114 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61115 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61116 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61117 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61118 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61119 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61120 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61121 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61122 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61123 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61124 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61125
61126 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61127
61128 [BZ #16245]
61129 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61130 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61131
61132 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61133
61134 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61135 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61136 Likewise.
61137
61138 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61139
61140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61141 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61142 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61143 (__fesetround): Remove define.
61144 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61145 rounding and exceptions handling.
61146 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61147 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61148 (__fe_nomask_env): Likewise.
61149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61150 __fegetround instead of fegetround.
61151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61152 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61153
61154 2013-11-21 Roland McGrath <roland@hack.frob.com>
61155
61156 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61157 it's there.
61158
61159 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61160
61161 2013-11-21 Meador Inge <meadori@codesourcery.com>
61162
61163 [BZ #11157]
61164 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61165 (encrypt_r): Likewise.
61166 * malloc/obstack.h (obstack_free): Likewise.
61167 * posix/unistd.h (encrypt): Likewise.
61168
61169 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61170
61171 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61172 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61173 DL_CALL_DT_FINI() that call the functions directly.
61174 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61175 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61176 * elf/dl-fini.c: Likewise.
61177
61178 2013-11-20 Ondƙej Bílka <neleai@seznam.cz>
61179
61180 * malloc/hooks.c (memalign_check): Add alignment rounding.
61181 * malloc/malloc.c (_mid_memalign): New function.
61182 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61183 Implement by calling _mid_memalign.
61184 * manual/probes.texi (Memory Allocation Probes): Remove
61185 memory_valloc_retry and memory_pvalloc_retry.
61186
61187 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61188
61189 * locale/programs/locarchive.c (open_archive): Add const
61190 qualifier to ARCHIVEFNAME and copy default fname to
61191 DEFAULT_FNAME.
61192
61193 [BZ #15601]
61194 * libio/tst-widetext.input: Rename Oriya to Odia.
61195 * locale/iso-639.def: Likewise.
61196
61197 * manual/probes.texi (Mathematical Function Probes): Add
61198 documentation for sin, cos, asin and acos probes.
61199 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61200 (__sin32): Add slowasin probe.
61201 (__cos32): Add slowacos probe.
61202 (__mpsin): Add slowsin probe.
61203 (__mpcos): Add slowcos probe.
61204
61205 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61206
61207 [BZ #15483]
61208 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61209 thread-local __sim_exceptions_thread and global
61210 __sim_exceptions_global.
61211 (__sim_disabled_exceptions): Change to thread-local
61212 __sim_disabled_exceptions_thread and global
61213 __sim_disabled_exceptions_global.
61214 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61215 and global __sim_round_mode_global.
61216 (__simulate_exceptions): Use thread-local floating-point state and
61217 set global state from it as needed.
61218 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61219 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61220 __sim_round_mode_thread.
61221 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61222 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61223 and global __sim_exceptions_global.
61224 (__sim_disabled_exceptions): Change to thread-local
61225 __sim_disabled_exceptions_thread and global
61226 __sim_disabled_exceptions_global.
61227 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61228 and global __sim_round_mode_global.
61229 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61230 (SIM_SET_GLOBAL): Likewise.
61231 * sysdeps/powerpc/soft-fp/sfp-machine.h
61232 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61233 __sim_round_mode_thread.
61234 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61235 __sim_disabled_exceptions_thread.
61236 (__sim_exceptions): Change to __sim_exceptions_thread.
61237 (__sim_disabled_exceptions): Change to
61238 __sim_disabled_exceptions_thread.
61239 (__sim_round_mode): Change to __sim_round_mode_thread.
61240 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61241 thread-local floating-point state and set global state from it as
61242 needed.
61243 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61244 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61245 (__sim_disabled_exceptions): Remove extern declaration.
61246 (feenableexcept): Use thread-local floating-point state and set
61247 global state from it as needed.
61248 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61249 extern declaration.
61250 (__sim_disabled_exceptions): Likewise.
61251 (__sim_round_mode): Likewise.
61252 (__fegetenv): Use thread-local floating-point state.
61253 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61254 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61255 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61256 floating-point state and set global state from it as needed.
61257 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61258 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61259 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61260 Likewise.
61261 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61262 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61263 Likewise.
61264 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61265 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61266 Use __sim_round_mode_thread.
61267 * math/test-fenv-tls.c: New file.
61268 * math/Makefile (tests): Add test-fenv-tls.
61269 ($(objpfx)test-fenv-tls): Depend on
61270 $(common-objpfx)nptl/libpthread.so.
61271
61272 2013-11-19 Andreas Schwab <schwab@suse.de>
61273
61274 * locale/programs/locale.c (show_info): Decode wordarray elements.
61275 * locale/categories.def (LC_MONETARY): Add element for
61276 _NL_MONETARY_CRNCYSTR.
61277 * locale/C-monetary.c (conversion_rate): New variable.
61278 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61279 element.
61280
61281 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61282
61283 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61284 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61285
61286 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61287
61288 * elf/Makefile (tst-auxv): New test.
61289 * elf/tst-auxv.c: New
61290 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61291
61292 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61293
61294 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61295 (hidden_proto): Caller changed.
61296 (hidden_tls_proto): New macro.
61297 (libc_hidden_tls_proto): Likewise.
61298 (rtld_hidden_tls_proto): Likewise.
61299 (libm_hidden_tls_proto): Likewise.
61300 (libresolv_hidden_tls_proto): Likewise.
61301 (librt_hidden_tls_proto): Likewise.
61302 (libdl_hidden_tls_proto): Likewise.
61303 (libnss_files_hidden_tls_proto): Likewise.
61304 (libnsl_hidden_tls_proto): Likewise.
61305 (libnss_nisplus_hidden_tls_proto): Likewise.
61306 (libutil_hidden_tls_proto): Likewise.
61307
61308 2013-11-18 Ondƙej Bílka <neleai@seznam.cz>
61309
61310 [BZ #10253]
61311 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61312 (decompose_rpath): Defer expansion to fillin_rpath.
61313 (_dl_init_paths): Pass linkmap to fillin_rpath.
61314
61315 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61316
61317 * benchtests/Makefile: Add strsep.
61318 * benchtests/bench-strsep.c: New file: strsep benchtest.
61319 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61320
61321 2013-11-18 Andreas Schwab <schwab@suse.de>
61322
61323 * locale/programs/locale.c (show_info) [case byte]: Check for
61324 '\377' instead of '\177'.
61325 * locale/C-monetary.c (not_available): Always use "\377".
61326 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61327 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61328 detect unavailable sign_posn locale elements.
61329 * locale/localeconv.c (__localeconv): For grouping and
61330 mon_grouping handle "\177" and "\377" like no grouping.
61331 (INT_ELEM): New macro. Use it to set all numeric members.
61332 * locale/programs/ld-monetary.c (monetary_read)
61333 <tok_mon_grouping>: Normalize single -1 to the empty string.
61334 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61335 Likewise.
61336
61337 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61338
61339 [BZ #16055]
61340 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61341 when we match (nil).
61342 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61343
61344 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61345
61346 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61347 (NO_TEST_INLINE): Update value.
61348 (ERRNO_UNCHANGED): Likewise.
61349 (ERRNO_EDOM): Likewise.
61350 (ERRNO_ERANGE): Likewise.
61351 (IGNORE_RESULT): Likewise.
61352 (check_float_internal): Check signs of NaN results if
61353 TEST_NAN_SIGN used.
61354 (check_complex): Pass TEST_NAN_SIGN flag through to second
61355 check_float_internal call.
61356 (copysign_test_data): Add tests with quiet NaNs as second
61357 argument. Use TEST_NAN_SIGN.
61358 (fabs_test_data): Add test of negative quiet NaN argument. Use
61359 TEST_NAN_SIGN.
61360 (signbit_test_data): Add tests of quiet NaN argument.
61361 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61362
61363 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61364 $ignore_result.
61365 (parse_args): Handle function results specified as IGNORE.
61366 * math/libm-test.inc (IGNORE_RESULT): New macro.
61367 (check_float_internal): Do not check numerical result if flag
61368 IGNORE_RESULT set.
61369 (check_complex): Pass through IGNORE_RESULT to second
61370 check_float_internal call.
61371 (check_int): Do not check numerical result if flag IGNORE_RESULT
61372 set.
61373 (check_long): Likewise.
61374 (check_bool): Likewise.
61375 (check_longlong): Likewise.
61376 (lrint_test_data): Add tests of infinite and NaN arguments.
61377 (lrint_tonearest_test_data): Likewise.
61378 (lrint_towardzero_test_data): Likewise.
61379 (lrint_downward_test_data): Likewise.
61380 (lrint_upward_test_data): Likewise.
61381 (llrint_test_data): Likewise.
61382 (llrint_tonearest_test_data): Likewise.
61383 (llrint_towardzero_test_data): Likewise.
61384 (llrint_downward_test_data): Likewise.
61385 (llrint_upward_test_data): Likewise.
61386 (lround_test_data): Likewise.
61387 (llround_test_data): Likewise.
61388
61389 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61390 (ERRNO_UNCHANGED): Update value.
61391 (ERRNO_EDOM): Likewise.
61392 (ERRNO_ERANGE): Likewise.
61393 (NO_TEST_INLINE_FLOAT): New macro.
61394 (NO_TEST_INLINE_DOUBLE): Likewise.
61395 (enable_test): New function.
61396 (RUN_TEST_f_f): Check enable_test before running test.
61397 (RUN_TEST_2_f): Likewise.
61398 (RUN_TEST_fff_f): Likewise.
61399 (RUN_TEST_c_f): Likewise.
61400 (RUN_TEST_f_f1): Likewise.
61401 (RUN_TEST_fF_f1): Likewise.
61402 (RUN_TEST_fI_f1): Likewise.
61403 (RUN_TEST_ffI_f1): Likewise.
61404 (RUN_TEST_c_c): Likewise.
61405 (RUN_TEST_cc_c): Likewise.
61406 (RUN_TEST_f_i): Likewise.
61407 (RUN_TEST_f_i_tg): Likewise.
61408 (RUN_TEST_ff_i_tg): Likewise.
61409 (RUN_TEST_f_b): Likewise.
61410 (RUN_TEST_f_b_tg): Likewise.
61411 (RUN_TEST_f_l): Likewise.
61412 (RUN_TEST_f_L): Likewise.
61413 (RUN_TEST_fFF_11): Likewise.
61414 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61415 conditionals.
61416 (cosh_test_data): Likewise.
61417 (exp_test_data): Likewise.
61418 (expm1_test_data): Likewise.
61419 (hypot_test_data): Likewise.
61420 (pow_test_data): Likewise.
61421 (sinh_test_data): Likewise.
61422 (tanh_test_data): Likewise.
61423 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61424 flags argument.
61425
61426 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61427 tests with quiet NaN input and output.
61428 (acosh_test_data): Likewise.
61429 (asin_test_data): Likewise.
61430 (asinh_test_data): Likewise.
61431 (atan_test_data): Likewise.
61432 (atanh_test_data): Likewise.
61433 (atan2_test_data): Likewise.
61434 (cbrt_test_data): Likewise.
61435 (cos_test_data): Likewise.
61436 (cosh_test_data): Likewise.
61437 (erf_test_data): Likewise.
61438 (erfc_test_data): Likewise.
61439 (exp_test_data): Likewise.
61440 (exp10_test_data): Likewise.
61441 (exp2_test_data): Likewise.
61442 (expm1_test_data): Likewise.
61443 (hypot_test_data): Likewise.
61444 (j0_test_data): Likewise.
61445 (j1_test_data): Likewise.
61446 (jn_test_data): Likewise.
61447 (lgamma_test_data): Likewise.
61448 (log_test_data): Likewise.
61449 (log10_test_data): Likewise.
61450 (log1p_test_data): Likewise.
61451 (log2_test_data): Likewise.
61452 (pow_test_data): Likewise.
61453 (scalb_test_data): Likewise.
61454 (sin_test_data): Likewise.
61455 (sincos_test_data): Likewise.
61456 (sinh_test_data): Likewise.
61457 (tan_test_data): Likewise.
61458 (tanh_test_data): Likewise.
61459 (tgamma_test_data): Likewise.
61460 (y0_test_data): Likewise.
61461 (y1_test_data): Likewise.
61462 (yn_test_data): Likewise.
61463
61464 [BZ #16167]
61465 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61466 argument being NaN and avoid computations with second argument in
61467 that case.
61468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61469 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61470 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61471
61472 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61473
61474 * locale/iso-639.def: Add Chitwani Tharu (the).
61475
61476 2013-11-14 Andreas Schwab <schwab@suse.de>
61477
61478 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61479 word instead of empty string.
61480
61481 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61482
61483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61484 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61486 (__fe_nomask_env): Likewise.
61487
61488 2013-11-13 Steve Ellcey <sellcey@mips.com>
61489
61490 * benchtests/bench-timing.h: Include time.h.
61491
61492 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61493
61494 [BZ #15997]
61495 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61496 to 3.4.0 for x32.
61497 * sysdeps/unix/sysv/linux/configure: Regenerated.
61498
61499 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61500
61501 [BZ #16151]
61502 * stdlib/strtod_l.c (round_and_return): Do not consider
61503 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61504 exponent one less than half the least subnormal exponent.
61505 * stdlib/test-strtod-round-data: Add more tests.
61506 * stdlib/tst-strtod-round.c (tests): Regenerated.
61507
61508 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61509
61510 [BZ #14143]
61511 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61512 (__fe_mask_env): Likewise.
61513 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61514 libm_hidden_proto and add function prototype.
61515 (__fe_mask_env): Add function prototype.
61516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61517 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61519 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61521 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61522
61523 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61524
61525 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61526 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61527
61528 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61529
61530 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61531 of htab_find_slot().
61532
61533 2013-11-11 David S. Miller <davem@davemloft.net>
61534
61535 [BZ #16150]
61536 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61537 symbol in the non-vis3 case in static builds.
61538 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61539 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61540 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61541 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61542
61543 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61544
61545 [BZ #387]
61546 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61547 it is empty.
61548
61549 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61550
61551 * benchtests/Makefile: Add bench-strtod.
61552 * benchtests/bench-strtod.c: New file: strtod benchtest
61553
61554 2013-11-11 Andreas Schwab <schwab@suse.de>
61555
61556 [BZ #16153]
61557 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61558 terminating NUL in key length.
61559
61560 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61561
61562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61563 Add artificial ODP entry for vDSO symbol for PPC64.
61564 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61565 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61566
61567 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61568
61569 [BZ #15374]
61570 * nss/getent.c (services_keys): Recognize services starting with digit.
61571
61572 2013-11-06 David S. Miller <davem@davemloft.net>
61573
61574 [BZ #15985]
61575 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61576 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61577
61578 2013-11-06 Will Newton <will.newton@linaro.org>
61579
61580 * manual/memory.texi (Malloc Examples): Remove register
61581 keyword from examples.
61582
61583 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61584
61585 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61586
61587 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61588
61589 [BZ #6981]
61590 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61591 depending on [__GCC_IEC_559 > 0].
61592 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61593 depending on [__GCC_IEC_559_COMPLEX > 0].
61594
61595 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61596
61597 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61598 to iso-639.def.
61599
61600 2013-11-03 Ondƙej Bílka <neleai@seznam.cz>
61601
61602 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61603
61604 2013-11-01 Ondƙej Bílka <neleai@seznam.cz>
61605
61606 [BZ #16112]
61607 * malloc/malloc (malloc_info): Do not handle first bin as
61608 special case.
61609
61610 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61611
61612 * locale/iso-639.def: Add Central Nahuatl (nhn).
61613
61614 2013-11-01 Bruno Haible <bruno@clisp.org>
61615
61616 [BZ #7003]
61617 * manual/math.texi (BSD Random): Specify range upper bound as
61618 in POSIX.
61619
61620 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61621
61622 * locale/iso-639.def: Add Meadow Mari (mhr).
61623
61624 2013-10-31 Ondƙej Bílka <neleai@seznam.cz>
61625
61626 [BZ #14752], [BZ #15763]
61627 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61628 Validate name.
61629 * rt/tst_shm.c: Add test for escaping directory.
61630
61631 2013-10-31 Andreas Schwab <schwab@suse.de>
61632
61633 [BZ #15917]
61634 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61635 followed by 'x' as part of digit sequence.
61636 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61637
61638 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61639
61640 [BZ #16037]
61641 * configure.ac: allow GNU Make 4.0 and greater.
61642 * configure: Regenerated.
61643
61644 2013-10-30 Will Newton <will.newton@linaro.org>
61645
61646 [BZ #16038]
61647 * malloc/hooks.c (memalign_check): Limit alignment to the
61648 maximum representable power of two.
61649 * malloc/malloc.c (__libc_memalign): Likewise.
61650 * malloc/tst-memalign.c (do_test): Add test for very
61651 large alignment values.
61652 * malloc/tst-posix_memalign.c (do_test): Likewise.
61653
61654 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61655
61656 [BZ #11087]
61657 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61658 (munmap_chunk): Likewise.
61659 (mremap_chunk): Likewise.
61660
61661 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61662
61663 [BZ #15799]
61664 * stdlib/div.c (div): Remove obsolete code.
61665 * stdlib/ldiv.c (ldiv): Likewise.
61666 * stdlib/lldiv.c (lldiv): Likewise.
61667
61668 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61669
61670 [BZ #16071]
61671 * nss/nss_files/files-XXX.c (get_contents_ret): New
61672 enumerator.
61673 (get_contents): New function.
61674 (internal_getent): Use it. Expand size of LINEBUFLEN.
61675
61676 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61677
61678 * configure.in: Moved to ...
61679 * configure.ac: ... here. Change reference to configure.in
61680 to configure.ac.
61681 * sysdeps/arm/preconfigure.ac: ... here.
61682 configure.in to configure.ac.
61683 * sysdeps/gnu/configure.in: Moved to ...
61684 * sysdeps/gnu/configure.ac: ... here.
61685 * sysdeps/i386/configure.in: Moved to ...
61686 * sysdeps/i386/configure.ac: ... here.
61687 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61688 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61689 * sysdeps/mach/configure.in: Moved to ...
61690 * sysdeps/mach/configure.ac: ... here.
61691 * sysdeps/mach/hurd/configure.in: Moved to ...
61692 * sysdeps/mach/hurd/configure.ac: ... here.
61693 * sysdeps/powerpc/configure.in: Moved to ...
61694 * sysdeps/powerpc/configure.ac: ... here.
61695 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61696 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61697 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61698 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61699 * sysdeps/s390/s390-32/configure.in: Moved to ...
61700 * sysdeps/s390/s390-32/configure.ac: ... here.
61701 * sysdeps/s390/s390-64/configure.in: Moved to ...
61702 * sysdeps/s390/s390-64/configure.ac: ... here.
61703 * sysdeps/sh/configure.in: Moved to ...
61704 * sysdeps/sh/configure.ac: ... here.
61705 * sysdeps/sparc/configure.in: Moved to ...
61706 * sysdeps/sparc/configure.ac: ... here.
61707 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61708 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61709 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61710 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61711 * sysdeps/x86_64/configure.in: Moved to ...
61712 * sysdeps/x86_64/configure.ac: ... here.
61713 * sysdeps/x86_64/preconfigure.in: Moved to ...
61714 * sysdeps/x86_64/preconfigure.ac: ... here.
61715 * aclocal.m4: Change reference to configure.in to configure.ac.
61716 * config.h.in: Likewise.
61717 * manual/install.texi: Likewise.
61718 * manual/maint.texi: Likewise.
61719 * Makefile: Likewise.
61720 * malloc/Makefile: Likewise.
61721 * nscd/Makefile: Likewise.
61722 * Makeconfig: Change reference to configure.in and
61723 preconfigure.in to configure.ac and preconfigure.ac
61724 respectively.
61725 * INSTALL: Regenerated.
61726 * configure: Likewise.
61727 * sysdeps/gnu/configure: Likewise.
61728 * sysdeps/i386/configure: Likewise.
61729 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61730 * sysdeps/mach/configure: Likewise.
61731 * sysdeps/mach/hurd/configure: Likewise.
61732 * sysdeps/powerpc/configure: Likewise.
61733 * sysdeps/powerpc/powerpc32/configure: Likewise.
61734 * sysdeps/powerpc/powerpc64/configure: Likewise.
61735 * sysdeps/s390/s390-32/configure: Likewise.
61736 * sysdeps/s390/s390-64/configure: Likewise.
61737 * sysdeps/sh/configure: Likewise.
61738 * sysdeps/sparc/configure: Likewise.
61739 * sysdeps/unix/sysv/linux/configure: Likewise.
61740 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61741 * sysdeps/x86_64/configure: Likewise.
61742 * sysdeps/x86_64/preconfigure: Likewise.
61743
61744 2013-10-29 Andreas Schwab <schwab@suse.de>
61745
61746 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61747
61748 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61749
61750 * benchtests/pow-inputs: Add new inputs.
61751
61752 * benchtests/exp-inputs: Add new inputs.
61753
61754 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61755 conditional check for return value.
61756 (__cos32): Likewise.
61757
61758 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61759
61760 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61761 to provide a boost for large inputs with word alignment.
61762 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61763 implementation based on optimized PPC64 strcpy.
61764 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61765 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61766 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61767 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61768
61769 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61770
61771 [BZ #2801]
61772 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61773
61774 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61775
61776 [BZ #14876]
61777 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61778 * time/tst-strptime.c (day_tests): Add testcase.
61779
61780 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61781
61782 [BZ #14029]
61783 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61784
61785 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61786
61787 [BZ #16074]
61788 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61789 MAP_FAILED on error.
61790
61791 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61792
61793 [BZ #16072]
61794 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61795 heap for large requests.
61796
61797 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61798
61799 [BZ #9954]
61800 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61801 result if the result has no associated interface.
61802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61803 interface for all 127.X.Y.Z addresses.
61804
61805 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61806
61807 * locale/iso-639.def: Add Ligurian (lij)
61808
61809 2013-10-21 Ondƙej Bílka <neleai@seznam.cz>
61810
61811 [BZ #15825]
61812 * sunrpc/rpc_main.c: Document rpcgen -5.
61813
61814 2013-10-19 Michael Stahl <mstahl@redhat.com>
61815
61816 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61817
61818 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61819
61820 [BZ #10278]
61821 * posix/glob.c: Match only directories when trailing slash is present.
61822 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61823 (main): Add testcase.
61824
61825 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61826
61827 [BZ #15670]
61828 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61829
61830 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61831
61832 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61833 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61834 AUTH_DES and cindex for FIPS 140-2.
61835 (DES Encryption): Add cindex FIPS 46-3.
61836
61837 * locale/locarchive.h (struct locarhandle): Add fname.
61838 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61839 if an optional argument was specified to --list-archive,
61840 otherwise NULL.
61841 * locale/programs/locarchive.c (show_archive_content): Take new
61842 argument fname and pass it via ah.fname to open_archive.
61843 * locale/programs/localedef.h: Update decl.
61844 (open_archive): If AH->fname is non-null, open that file
61845 rather than the default file name, and don't ignore ENOENT.
61846 (create_archive): Set AH.fname to NULL.
61847 (delete_locales_from_archive): Likewise.
61848 (add_locales_to_archive): Likewise.
61849 * locale/programs/locfile.c (write_all_categories): Likewise.
61850
61851 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61852 Aldy Hernandez <aldyh@redhat.com>
61853
61854 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61855 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61856 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61857 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61858 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61859 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61862 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61863 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61864 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61865 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61866 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61867 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61868 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61869 Likewise.
61870 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61871 Likewise.
61872 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61873 Likewise.
61874 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61875 Likewise.
61876 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61877 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61878 Likewise.
61879 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61880 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61881 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61882 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61883 Likewise.
61884 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61885 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61886 * sysdeps/powerpc/preconfigure: Likewise.
61887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61888 Likewise.
61889 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61890 Replace contents of file by #include of <fenv_libc.h>.
61891 * sysdeps/powerpc/soft-fp/sfp-machine.h
61892 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61893 and <sys/prctl.h>.
61894 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61907 Allow copysignl PLT reference to be missing.
61908
61909 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61910 Joseph Myers <joseph@codesourcery.com
61911
61912 [BZ #15948]
61913 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61914 single character.
61915 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61916
61917 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61918
61919 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61920 * elf/tst-tls1.c: Likewise.
61921 * elf/tst-tls10.h: Likewise.
61922 * elf/tst-tls14.c: Likewise.
61923 * elf/tst-tls2.c: Likewise.
61924 * elf/tst-tls3.c: Likewise.
61925 * elf/tst-tls4.c: Likewise.
61926 * elf/tst-tls5.c: Likewise.
61927 * elf/tst-tls6.c: Likewise.
61928 * elf/tst-tls7.c: Likewise.
61929 * elf/tst-tls8.c: Likewise.
61930 * elf/tst-tls9.c: Likewise.
61931 * elf/tst-tlsmod1.c: Likewise.
61932 * elf/tst-tlsmod13.c: Likewise.
61933 * elf/tst-tlsmod13a.c: Likewise.
61934 * elf/tst-tlsmod14a.c: Likewise.
61935 * elf/tst-tlsmod16a.c: Likewise.
61936 * elf/tst-tlsmod16b.c: Likewise.
61937 * elf/tst-tlsmod2.c: Likewise.
61938 * elf/tst-tlsmod3.c: Likewise.
61939 * elf/tst-tlsmod4.c: Likewise.
61940 * elf/tst-tlsmod5.c: Likewise.
61941 * elf/tst-tlsmod6.c: Likewise.
61942
61943 2013-10-18 Ondƙej Bílka <neleai@seznam.cz>
61944
61945 [BZ #12486]
61946 * malloc/malloc.c: remove checks for statistics.
61947
61948 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
61949
61950 [BZ #15277]
61951 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61952 * inet/tst-network.c: Add testcase.
61953
61954 2013-10-17 Andreas Schwab <schwab@suse.de>
61955
61956 [BZ #15218]
61957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61958 to determine canonical name.
61959
61960 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
61961
61962 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61963 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61965 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61967 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61968 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61969 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61970 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61972 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61973 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61974 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61975 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61976 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61977 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61981 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61985 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61986 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61987 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61988 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61989 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61991 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61992 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61994 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61995 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61996 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61997 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61998 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61999 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62000 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62002 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62003 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62004 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62006 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62009 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62010 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62012 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62020
62021 2013-10-17 Joseph Myers <joseph@codesourcery.com>
62022
62023 [BZ #16041]
62024 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62025 make result into a quiet NaN.
62026
62027 2013-10-16 Joseph Myers <joseph@codesourcery.com>
62028
62029 * soft-fp/adddf3.c: Fix horizontal whitespace.
62030 * soft-fp/addsf3.c: Likewise.
62031 * soft-fp/addtf3.c: Likewise.
62032 * soft-fp/divdf3.c: Likewise.
62033 * soft-fp/divsf3.c: Likewise.
62034 * soft-fp/divtf3.c: Likewise.
62035 * soft-fp/double.h: Likewise.
62036 * soft-fp/eqdf2.c: Likewise.
62037 * soft-fp/eqsf2.c: Likewise.
62038 * soft-fp/eqtf2.c: Likewise.
62039 * soft-fp/extenddftf2.c: Likewise.
62040 * soft-fp/extended.h: Likewise.
62041 * soft-fp/extendsfdf2.c: Likewise.
62042 * soft-fp/extendsftf2.c: Likewise.
62043 * soft-fp/extendxftf2.c: Likewise.
62044 * soft-fp/fixdfdi.c: Likewise.
62045 * soft-fp/fixdfsi.c: Likewise.
62046 * soft-fp/fixdfti.c: Likewise.
62047 * soft-fp/fixsfdi.c: Likewise.
62048 * soft-fp/fixsfsi.c: Likewise.
62049 * soft-fp/fixsfti.c: Likewise.
62050 * soft-fp/fixtfdi.c: Likewise.
62051 * soft-fp/fixtfsi.c: Likewise.
62052 * soft-fp/fixtfti.c: Likewise.
62053 * soft-fp/fixunsdfdi.c: Likewise.
62054 * soft-fp/fixunsdfsi.c: Likewise.
62055 * soft-fp/fixunsdfti.c: Likewise.
62056 * soft-fp/fixunssfdi.c: Likewise.
62057 * soft-fp/fixunssfsi.c: Likewise.
62058 * soft-fp/fixunssfti.c: Likewise.
62059 * soft-fp/fixunstfdi.c: Likewise.
62060 * soft-fp/fixunstfsi.c: Likewise.
62061 * soft-fp/fixunstfti.c: Likewise.
62062 * soft-fp/floatdidf.c: Likewise.
62063 * soft-fp/floatdisf.c: Likewise.
62064 * soft-fp/floatditf.c: Likewise.
62065 * soft-fp/floatsidf.c: Likewise.
62066 * soft-fp/floatsisf.c: Likewise.
62067 * soft-fp/floatsitf.c: Likewise.
62068 * soft-fp/floattidf.c: Likewise.
62069 * soft-fp/floattisf.c: Likewise.
62070 * soft-fp/floattitf.c: Likewise.
62071 * soft-fp/floatundidf.c: Likewise.
62072 * soft-fp/floatundisf.c: Likewise.
62073 * soft-fp/floatunditf.c: Likewise.
62074 * soft-fp/floatunsidf.c: Likewise.
62075 * soft-fp/floatunsisf.c: Likewise.
62076 * soft-fp/floatunsitf.c: Likewise.
62077 * soft-fp/floatuntidf.c: Likewise.
62078 * soft-fp/floatuntisf.c: Likewise.
62079 * soft-fp/floatuntitf.c: Likewise.
62080 * soft-fp/fmadf4.c: Likewise.
62081 * soft-fp/fmasf4.c: Likewise.
62082 * soft-fp/fmatf4.c: Likewise.
62083 * soft-fp/gedf2.c: Likewise.
62084 * soft-fp/gesf2.c: Likewise.
62085 * soft-fp/getf2.c: Likewise.
62086 * soft-fp/ledf2.c: Likewise.
62087 * soft-fp/lesf2.c: Likewise.
62088 * soft-fp/letf2.c: Likewise.
62089 * soft-fp/muldf3.c: Likewise.
62090 * soft-fp/mulsf3.c: Likewise.
62091 * soft-fp/multf3.c: Likewise.
62092 * soft-fp/negdf2.c: Likewise.
62093 * soft-fp/negsf2.c: Likewise.
62094 * soft-fp/negtf2.c: Likewise.
62095 * soft-fp/op-1.h: Likewise.
62096 * soft-fp/op-2.h: Likewise.
62097 * soft-fp/op-4.h: Likewise.
62098 * soft-fp/op-8.h: Likewise.
62099 * soft-fp/op-common.h: Likewise.
62100 * soft-fp/quad.h: Likewise.
62101 * soft-fp/single.h: Likewise.
62102 * soft-fp/soft-fp.h: Likewise.
62103 * soft-fp/sqrtdf2.c: Likewise.
62104 * soft-fp/sqrtsf2.c: Likewise.
62105 * soft-fp/sqrttf2.c: Likewise.
62106 * soft-fp/subdf3.c: Likewise.
62107 * soft-fp/subsf3.c: Likewise.
62108 * soft-fp/subtf3.c: Likewise.
62109 * soft-fp/truncdfsf2.c: Likewise.
62110 * soft-fp/trunctfdf2.c: Likewise.
62111 * soft-fp/trunctfsf2.c: Likewise.
62112 * soft-fp/trunctfxf2.c: Likewise.
62113 * soft-fp/unorddf2.c: Likewise.
62114 * soft-fp/unordsf2.c: Likewise.
62115 * soft-fp/unordtf2.c: Likewise.
62116
62117 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62118
62119 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62120 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62121
62122 2013-10-15 Ondƙej Bílka <neleai@seznam.cz>
62123
62124 * elf/dl-libc.c: Clear initfini list after freeing.
62125
62126 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62127
62128 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62129 * soft-fp/addsf3.c: Likewise.
62130 * soft-fp/addtf3.c: Likewise.
62131 * soft-fp/divdf3.c: Likewise.
62132 * soft-fp/divsf3.c: Likewise.
62133 * soft-fp/divtf3.c: Likewise.
62134 * soft-fp/double.h: Likewise.
62135 * soft-fp/eqdf2.c: Likewise.
62136 * soft-fp/eqsf2.c: Likewise.
62137 * soft-fp/eqtf2.c: Likewise.
62138 * soft-fp/extenddftf2.c: Likewise.
62139 * soft-fp/extended.h: Likewise.
62140 * soft-fp/extendsfdf2.c: Likewise.
62141 * soft-fp/extendsftf2.c: Likewise.
62142 * soft-fp/extendxftf2.c: Likewise.
62143 * soft-fp/fixdfdi.c: Likewise.
62144 * soft-fp/fixdfsi.c: Likewise.
62145 * soft-fp/fixdfti.c: Likewise.
62146 * soft-fp/fixsfdi.c: Likewise.
62147 * soft-fp/fixsfsi.c: Likewise.
62148 * soft-fp/fixsfti.c: Likewise.
62149 * soft-fp/fixtfdi.c: Likewise.
62150 * soft-fp/fixtfsi.c: Likewise.
62151 * soft-fp/fixtfti.c: Likewise.
62152 * soft-fp/fixunsdfdi.c: Likewise.
62153 * soft-fp/fixunsdfsi.c: Likewise.
62154 * soft-fp/fixunsdfti.c: Likewise.
62155 * soft-fp/fixunssfdi.c: Likewise.
62156 * soft-fp/fixunssfsi.c: Likewise.
62157 * soft-fp/fixunssfti.c: Likewise.
62158 * soft-fp/fixunstfdi.c: Likewise.
62159 * soft-fp/fixunstfsi.c: Likewise.
62160 * soft-fp/fixunstfti.c: Likewise.
62161 * soft-fp/floatdidf.c: Likewise.
62162 * soft-fp/floatdisf.c: Likewise.
62163 * soft-fp/floatditf.c: Likewise.
62164 * soft-fp/floatsidf.c: Likewise.
62165 * soft-fp/floatsisf.c: Likewise.
62166 * soft-fp/floatsitf.c: Likewise.
62167 * soft-fp/floattidf.c: Likewise.
62168 * soft-fp/floattisf.c: Likewise.
62169 * soft-fp/floattitf.c: Likewise.
62170 * soft-fp/floatundidf.c: Likewise.
62171 * soft-fp/floatundisf.c: Likewise.
62172 * soft-fp/floatunsidf.c: Likewise.
62173 * soft-fp/floatunsisf.c: Likewise.
62174 * soft-fp/floatuntidf.c: Likewise.
62175 * soft-fp/floatuntisf.c: Likewise.
62176 * soft-fp/floatuntitf.c: Likewise.
62177 * soft-fp/fmadf4.c: Likewise.
62178 * soft-fp/fmasf4.c: Likewise.
62179 * soft-fp/fmatf4.c: Likewise.
62180 * soft-fp/gedf2.c: Likewise.
62181 * soft-fp/gesf2.c: Likewise.
62182 * soft-fp/getf2.c: Likewise.
62183 * soft-fp/ledf2.c: Likewise.
62184 * soft-fp/lesf2.c: Likewise.
62185 * soft-fp/letf2.c: Likewise.
62186 * soft-fp/muldf3.c: Likewise.
62187 * soft-fp/mulsf3.c: Likewise.
62188 * soft-fp/multf3.c: Likewise.
62189 * soft-fp/negdf2.c: Likewise.
62190 * soft-fp/negsf2.c: Likewise.
62191 * soft-fp/negtf2.c: Likewise.
62192 * soft-fp/op-1.h: Likewise.
62193 * soft-fp/op-2.h: Likewise.
62194 * soft-fp/op-4.h: Likewise.
62195 * soft-fp/op-8.h: Likewise.
62196 * soft-fp/op-common.h: Likewise.
62197 * soft-fp/quad.h: Likewise.
62198 * soft-fp/single.h: Likewise.
62199 * soft-fp/soft-fp.h: Likewise.
62200 * soft-fp/sqrtdf2.c: Likewise.
62201 * soft-fp/sqrtsf2.c: Likewise.
62202 * soft-fp/sqrttf2.c: Likewise.
62203 * soft-fp/subdf3.c: Likewise.
62204 * soft-fp/subsf3.c: Likewise.
62205 * soft-fp/subtf3.c: Likewise.
62206 * soft-fp/truncdfsf2.c: Likewise.
62207 * soft-fp/trunctfdf2.c: Likewise.
62208 * soft-fp/trunctfsf2.c: Likewise.
62209 * soft-fp/trunctfxf2.c: Likewise.
62210 * soft-fp/unorddf2.c: Likewise.
62211 * soft-fp/unordsf2.c: Likewise.
62212 * soft-fp/unordtf2.c: Likewise.
62213
62214 2013-10-14 Ondƙej Bílka <neleai@seznam.cz>
62215
62216 [BZ #15672]
62217 * misc/error.c (error_tail): Fix possible buffer overflow.
62218
62219 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62220
62221 [BZ #13028]
62222 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62223 address.
62224
62225 2013-10-14 P. J. McDermott <pj@pehjota.net>
62226
62227 [BZ #832]
62228 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62229 testing pipefail option.
62230
62231 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62232
62233 * soft-fp/double.h: Indent preprocessor directives inside #if.
62234 * soft-fp/extended.h: Likewise.
62235 * soft-fp/op-2.h: Likewise.
62236 * soft-fp/op-4.h: Likewise.
62237 * soft-fp/op-common.h: Likewise.
62238 * soft-fp/quad.h: Likewise.
62239 * soft-fp/single.h: Likewise.
62240 * soft-fp/soft-fp.h: Likewise.
62241
62242 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62243
62244 * iconv/iconv_prog.c: Fix typos.
62245 * stdio-common/psiginfo-data.h: Likewise.
62246
62247 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62248
62249 [BZ #15764]
62250 * locale/setlocale.c: Fix typo.
62251
62252 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62253
62254 [BZ #16036]
62255 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62256 signaling NaN arguments.
62257 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62258 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62259
62260 [BZ #14910]
62261 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62262 unordered operands.
62263 * soft-fp/gesf2.c (__gesf2): Likewise.
62264 * soft-fp/getf2.c (__getf2): Likewise.
62265 * soft-fp/ledf2.c (__ledf2): Likewise.
62266 * soft-fp/lesf2.c (__lesf2): Likewise.
62267 * soft-fp/letf2.c (__letf2): Likewise.
62268
62269 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62270 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62271 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62272 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62273 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62274 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62275 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62276 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62277 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62278 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62279 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62280 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62281 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62282 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62283 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62284 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62285 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62286 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62287 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62288 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62289 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62290 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62291 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62292 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62293 * soft-fp/floattidf.c (__floattidf): Likewise.
62294 * soft-fp/floattisf.c (__floattisf): Likewise.
62295 * soft-fp/floattitf.c (__floattitf): Likewise.
62296 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62297 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62298 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62299 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62300 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62301 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62302 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62303 * soft-fp/gesf2.c (__gesf2): Likewise.
62304 * soft-fp/getf2.c (__getf2): Likewise.
62305 * soft-fp/ledf2.c (__ledf2): Likewise.
62306 * soft-fp/lesf2.c (__lesf2): Likewise.
62307 * soft-fp/letf2.c (__letf2): Likewise.
62308
62309 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62310 Undefine and redefine.
62311 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62312 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62313 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62314 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62315 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62316 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62317 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62318 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62319 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62320 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62321 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62322 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62323 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62324 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62325 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62326
62327 [BZ #16032]
62328 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62329 without decrementing exponent if mantissa >= that for the
62330 denominator, not >.
62331 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62332 denominator, not >. Decrement exponent in < case instead of
62333 incrementing in >= case.
62334 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62335 without decrementing exponent if mantissa >= that for the
62336 denominator, not >.
62337
62338 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62339 computing saturated result for unsigned overflow.
62340
62341 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62342 Jeff Law <law@redhat.com>
62343
62344 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62345 (atan2Mp): Add systemtap probe marker.
62346 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62347 (__ieee754_log): Add systemtap probe marker.
62348 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62349 (atanMp): Add systemtap probe marker.
62350 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62351 (tanMp): Add systemtap probe marker.
62352 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62353 (__slowexp): Add systemtap probe marker.
62354 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62355 (__slowpow): Add systemtap probe marker.
62356 * manual/probes.texi: Document probes.
62357
62358 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62359
62360 [BZ #15362]
62361 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62362 written.
62363 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62364 written.
62365 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62366 written to buffer but not flushed.
62367 * libio/iofwrite_u.c: Likewise.
62368 * libio/iopadn.c: Return bytes returned even if EOF was
62369 encountered.
62370 * libio/iowpadn.c: Likewise.
62371 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62372 if _IO_padn does not write the whole buffer.
62373 [!COMPILE_WPRINTF] (PAD): Likewise.
62374
62375 2013-10-10 David S. Miller <davem@davemloft.net>
62376
62377 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62378 directory block.
62379
62380 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62381
62382 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62383 instead of FSF address.
62384 * soft-fp/fixdfti.c: Likewise.
62385 * soft-fp/fixsfti.c: Likewise.
62386 * soft-fp/fixtfti.c: Likewise.
62387 * soft-fp/fixunsdfti.c: Likewise.
62388 * soft-fp/fixunssfti.c: Likewise.
62389 * soft-fp/fixunstfti.c: Likewise.
62390 * soft-fp/floattidf.c: Likewise.
62391 * soft-fp/floattisf.c: Likewise.
62392 * soft-fp/floattitf.c: Likewise.
62393 * soft-fp/floatuntidf.c: Likewise.
62394 * soft-fp/floatuntisf.c: Likewise.
62395 * soft-fp/floatuntitf.c: Likewise.
62396 * soft-fp/trunctfxf2.c: Likewise.
62397
62398 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62399 * soft-fp/fixdfti.c: Likewise.
62400 * soft-fp/fixsfti.c: Likewise.
62401 * soft-fp/fixtfti.c: Likewise.
62402 * soft-fp/fixunsdfti.c: Likewise.
62403 * soft-fp/fixunssfti.c: Likewise.
62404 * soft-fp/fixunstfti.c: Likewise.
62405 * soft-fp/floattidf.c: Likewise.
62406 * soft-fp/floattisf.c: Likewise.
62407 * soft-fp/floattitf.c: Likewise.
62408 * soft-fp/floatuntidf.c: Likewise.
62409 * soft-fp/floatuntisf.c: Likewise.
62410 * soft-fp/floatuntitf.c: Likewise.
62411 * soft-fp/trunctfxf2.c: Likewise.
62412
62413 2013-10-10 David S. Miller <davem@davemloft.net>
62414
62415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62416
62417 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62418
62419 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62420 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62421 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62422 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62423 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62424 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62425 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62426
62427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62428 for NaNs before doing comparisons on argument.
62429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62430 Likewise.
62431
62432 2013-10-10 Will Newton <will.newton@linaro.org>
62433
62434 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62435 passed to _int_memalign does not overflow.
62436
62437 2013-10-10 Torvald Riegel <triegel@redhat.com>
62438
62439 * scripts/bench.pl: Add include-sources directive.
62440 * benchtests/README: Update documentation.
62441
62442 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62443
62444 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62445 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62446 instead of FP_INIT_ROUNDMODE.
62447 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62448 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62449
62450 [BZ #16034]
62451 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62452 copy class of input value.
62453 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62454 not handle exceptions.
62455 * soft-fp/negsf2.c (__negsf2): Likewise.
62456 * soft-fp/negtf2.c (__negtf2): Likewise.
62457 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62458
62459 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62460
62461 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62462 semicolon. From Linux kernel.
62463
62464 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62465
62466 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62467
62468 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62469
62470 [BZ #156]
62471 * manual/socket.texi: Added statement about buffer
62472 for gethostbyname2_r.
62473
62474 2013-10-08 Ondƙej Bílka <neleai@seznam.cz>
62475
62476 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62477 Use .p2align directive instead, throughout.
62478 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62479 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62480 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62482 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62483 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62484 * sysdeps/x86_64/strchr.S: Likewise.
62485 * sysdeps/x86_64/strrchr.S: Likewise.
62486
62487 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62488
62489 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62490
62491 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62492
62493 * sysdeps/generic/math_private.h (__mpsin1): Remove
62494 declaration.
62495 (__mpcos1): Likewise.
62496 (__mpsin): New argument __range_reduce.
62497 (__mpcos): Likewise.
62498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62499 (slow): Use __mpsin and __mpcos.
62500 (slow1): Likewise.
62501 (slow2): Likewise.
62502 (sloww): Likewise.
62503 (sloww1): Likewise.
62504 (sloww2): Likewise.
62505 (bsloww): Likewise.
62506 (bsloww1): Likewise.
62507 (bsloww2): Likewise.
62508 (cslow2): Likewise.
62509 (csloww): Likewise.
62510 (csloww1): Likewise.
62511 (csloww2): Likewise.
62512 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62513 range_reduce. Merge in __mpsin1.
62514 (__mpcos): Likewise.
62515 (__mpsin1): Remove.
62516 (__mpcos1): Likewise.
62517
62518 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62519
62520 * locale/loadlocale.c (_nl_intern_locale_data): Use
62521 LOCFILE_ALIGNED_P.
62522 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62523 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62524 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62525 obstack data is appropriately aligned.
62526 (obstack_int32_grow_fast): Likewise.
62527 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62528 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62529 (add_locale_uint32_array): Likewise.
62530
62531 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62532
62533 * benchtests/Makefile: Remove ARGLIST and RET variables.
62534 ($(objpfx)bench-%.c): Pass only function name to the script.
62535 * benchtests/README: Update documentation.
62536 * benchtests/acos-inputs: Add new directives.
62537 * benchtests/acosh-inputs: Likewise.
62538 * benchtests/asin-inputs: Likewise.
62539 * benchtests/asinh-inputs: Likewise.
62540 * benchtests/atan-inputs: Likewise.
62541 * benchtests/atanh-inputs: Likewise.
62542 * benchtests/cos-inputs: Likewise.
62543 * benchtests/cosh-inputs: Likewise.
62544 * benchtests/exp-inputs: Likewise.
62545 * benchtests/log-inputs: Likewise.
62546 * benchtests/pow-inputs: Likewise.
62547 * benchtests/rint-inputs: Likewise.
62548 * benchtests/sin-inputs: Likewise.
62549 * benchtests/sinh-inputs: Likewise.
62550 * benchtests/tan-inputs: Likewise.
62551 * benchtests/tanh-inputs: Likewise.
62552 * scripts/bench.pl: Add support for new directives.
62553
62554 2013-10-07 Alan Modra <amodra@gmail.com>
62555
62556 * README: Fix careless merge.
62557
62558 2013-10-05 Alan Modra <amodra@gmail.com>
62559
62560 * NEWS: Mention powerpc64le support and bugs fixed.
62561 * README: Both big-endian and little-endian powerpc64 supported.
62562
62563 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62564
62565 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62566 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62567 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62568 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62569
62570 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62571
62572 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62573 match prototype.
62574
62575 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62576
62577 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62578 Move -mhard-float appending from
62579 ports/sysdeps/powerpc/powerpc32/Makefile.
62580 [$(with-fp) = yes] (ASFLAGS): Likewise.
62581 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62582 * sysdeps/powerpc/nofpu: Move directory from
62583 ports/sysdeps/powerpc/nofpu.
62584 * sysdeps/powerpc/soft-fp: Move directory from
62585 ports/sysdeps/powerpc/soft-fp.
62586 * sysdeps/powerpc/powerpc32/405: Move directory from
62587 ports/sysdeps/powerpc/powerpc32/405.
62588 * sysdeps/powerpc/powerpc32/440: Move directory from
62589 ports/sysdeps/powerpc/powerpc32/440.
62590 * sysdeps/powerpc/powerpc32/464: Move directory from
62591 ports/sysdeps/powerpc/powerpc32/464.
62592 * sysdeps/powerpc/powerpc32/476: Move directory from
62593 ports/sysdeps/powerpc/powerpc32/476.
62594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62595 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62597 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62599 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62601 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62603 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62604 * README: Update for powerpc-*-linux-gnu software floating point
62605 support in libc.
62606
62607 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62608 case to powerpc/powerpc32*.
62609 * sysdeps/unix/sysv/linux/configure: Regenerated.
62610
62611 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62612 (_FPU_MASK_OM): Define as 0x04.
62613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62615 0x00c10080.
62616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62617 0x0000003c.
62618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62619
62620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62621 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62622 getcontext_e500.
62623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62624 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62625 setcontext_e500.
62626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62627 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62628 and setcontext_e500.
62629
62630 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62631
62632 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62633
62634 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62635
62636 * manual/threads.texi (Default Thread Attributes): Fix typo.
62637
62638 2013-10-04 Will Newton <will.newton@linaro.org>
62639
62640 * malloc/Makefile: Add tst-memalign.
62641 * malloc/tst-memalign.c: New file.
62642
62643 * malloc/tst-posix_memalign.c: Add comments.
62644 (do_test): Add comments and call free on all potentially
62645 allocated pointers. Add space after cast.
62646
62647 * malloc/tst-pvalloc.c: Add comments.
62648 (do_test): Add comments and call free on all potentially
62649 allocated pointers. Remove duplicate check for NULL pointer.
62650 Add space after cast.
62651
62652 * malloc/tst-valloc.c: Add comments.
62653 (do_test): Add comments and call free on all potentially
62654 allocated pointers. Remove duplicate check for NULL pointer.
62655 Add space after cast.
62656
62657 2013-10-04 Alan Modra <amodra@gmail.com>
62658
62659 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62660 Use stdint types in rather than __attribute__((mode())).
62661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62662
62663 2013-10-04 Alan Modra <amodra@gmail.com>
62664
62665 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62666 Correct handling of unaligned relocs for little-endian.
62667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62668
62669 2013-10-04 Alan Modra <amodra@gmail.com>
62670
62671 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62672 * configure: Regenerate.
62673 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62674 * shlib-versions: Likewise.
62675
62676 2013-10-04 Alan Modra <amodra@gmail.com>
62677
62678 * string/tester.c (test_memrchr): Increment reported test cycle.
62679
62680 2013-10-04 Alan Modra <amodra@gmail.com>
62681
62682 * string/test-memcpy.c (do_one_test): When reporting errors, print
62683 string address and don't overrun end of string.
62684
62685 2013-10-04 Alan Modra <amodra@gmail.com>
62686
62687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62688 insrdi. Make better use of reg selection to speed exit slightly.
62689 Schedule entry path a little better. Remove useless "are we done"
62690 checks on entry to main loop. Handle wrapping around zero address.
62691 Correct main loop count. Handle single left-over word from main
62692 loop inline rather than by using loop_small. Remove extra word
62693 case in loop_small caused by wrong loop count. Add little-endian
62694 support.
62695 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62697 cache hint.
62698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62700 support. Avoid rlwimi.
62701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62702
62703 2013-10-04 Alan Modra <amodra@gmail.com>
62704
62705 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62706 insrdi. Formatting.
62707 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62708 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62709 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62710 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62711 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62712 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62713
62714 2013-10-04 Alan Modra <amodra@gmail.com>
62715
62716 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62718 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62719 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62720 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62721 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62725 use of regs. Use power7 mtocrf. Tidy function tails.
62726
62727 2013-10-04 Alan Modra <amodra@gmail.com>
62728
62729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62730 Formatting. Consistently use rXXX register defines or rN defines.
62731 Use early exit labels that avoid restoring unused non-volatile regs.
62732 Make cr field use more consistent with rWORDn compares. Rename
62733 regs used as shift registers for unaligned loop, using rN defines
62734 for short lifetime/multiple use regs.
62735 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62736 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62737 addi 1,1,64 to pop stack frame. Simplify return value code.
62738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62739
62740 2013-10-04 Alan Modra <amodra@gmail.com>
62741
62742 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62743 support. Correct typos, formatting. Optimize tail. Use insrdi
62744 rather than rlwimi.
62745 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62746 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62747 little-endian support. Correct typos.
62748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62749 rather than rlwimi.
62750 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62751 in loop and entry code to keep "and." results.
62752 (strchr): Add little-endian support. Comment. Move cntlzd
62753 earlier in tail.
62754 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62755
62756 2013-10-04 Alan Modra <amodra@gmail.com>
62757
62758 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62759 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62760 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62761 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62762
62763 2013-10-04 Alan Modra <amodra@gmail.com>
62764
62765 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62766 (rTMP): Define as r11.
62767 (strcmp): Add little-endian support. Optimise tail.
62768 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62769 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62770 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62771 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62774 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62775
62776 2013-10-04 Alan Modra <amodra@gmail.com>
62777
62778 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62779 little-endian support. Remove unnecessary "are we done" tests.
62780 Handle "s" wrapping around zero and extremely large "size".
62781 Correct main loop count. Handle single left-over word from main
62782 loop inline rather than by using small_loop. Correct comments.
62783 Delete "zero" tail, use "end_max" instead.
62784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62785
62786 2013-10-04 Alan Modra <amodra@gmail.com>
62787
62788 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62789 support. Don't branch over align.
62790 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62791 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62792 support. Rearrange tmp reg use to suit. Comment.
62793 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62794
62795 2013-10-04 Alan Modra <amodra@gmail.com>
62796
62797 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62798
62799 2013-10-04 Alan Modra <amodra@gmail.com>
62800
62801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62802 conditional form of branch and link when obtaining pc.
62803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62804
62805 2013-10-04 Alan Modra <amodra@gmail.com>
62806
62807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62808 HIWORD/LOWORD.
62809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62811
62812 2013-10-04 Alan Modra <amodra@gmail.com>
62813
62814 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62815 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62816 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62818 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62819 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62820 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62821 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62822 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62823 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62824
62825 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62826 Alistair Popple <alistair@ozlabs.au.ibm.com>
62827 Alan Modra <amodra@gmail.com>
62828
62829 [BZ #15723]
62830 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62831 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62832 _dl_hwcap access for little-endian.
62833 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62834 destroy vmx regs when saving unaligned.
62835 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62836 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62837 destroy vmx regs when saving unaligned.
62838
62839 2013-10-04 Alan Modra <amodra@gmail.com>
62840
62841 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62842 Don't use a union to pack hi/low value.
62843
62844 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62845
62846 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62847 for little-endian.
62848 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62850 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62851 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62852 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62853
62854 2013-10-04 Alan Modra <amodra@gmail.com>
62855
62856 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62857 constants to usual value for .cst8 section, and remove redundant
62858 high address load.
62859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62860 constant for 0x1p52. Load little-endian words of double from
62861 correct stack offsets.
62862
62863 2013-10-04 Alan Modra <amodra@gmail.com>
62864
62865 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62867 words of double from correct stack offsets.
62868 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62869 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62870 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62875 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62876 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62877 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62880 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62881 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62883 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62884 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62885
62886 2013-10-04 Alan Modra <amodra@gmail.com>
62887
62888 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62889 64-bit int/double union.
62890 (_FPU_SETCW): Likewise.
62891 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62892 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62893
62894 2013-10-04 Alan Modra <amodra@gmail.com>
62895
62896 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62897 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62898
62899 2013-10-04 Alan Modra <amodra@gmail.com>
62900
62901 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62902 use vector int constants.
62903 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62904
62905 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62906
62907 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62908 array with long long.
62909 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62910 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62911 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62912 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62913 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62914 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62915 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62916 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62917 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62918 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62919 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62920 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62921 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62922
62923 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62924
62925 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62926 (__signbit): Likewise. Correct for little-endian.
62927 (__signbitl): Call __signbit.
62928 (lrint): Correct for little-endian.
62929 (lrintf): Call lrint.
62930
62931 2013-10-04 Alan Modra <amodra@gmail.com>
62932
62933 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62934 union 32-bit int array member with 64-bit int array.
62935 (t515, tm256): Double rather than long double.
62936 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62937
62938 2013-10-04 Alan Modra <amodra@gmail.com>
62939
62940 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62941 Delete.
62942 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62944 version of math_ldbl.h.
62945
62946 2013-10-04 Alan Modra <amodra@gmail.com>
62947
62948 [BZ #15734], [BZ #15735]
62949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62950 all uses of ieee875 long double macros and unions. Simplify test
62951 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62952 ldbl_extract_mantissa value for ix,iy exponents. Properly
62953 normalize after ldbl_extract_mantissa, and don't add hidden bit
62954 already handled. Don't treat low word of ieee854 mantissa like
62955 low word of IBM long double and mask off bit when testing for
62956 zero.
62957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62958 all uses of ieee875 long double macros and unions. Simplify tests
62959 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62960 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62961 two1022, instead use their values. Recognise that tests for large
62962 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62964 Rewrite all uses of ieee875 long double macros and unions. Simplify
62965 test for 0.0L and nan. Correct negation.
62966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62967 ieee875 long double macros and unions. Correct output for large
62968 magnitude x. Correct absolute value calculation.
62969 (__erfcl): Likewise.
62970 * math/libm-test.inc: Add tests for errors discovered in IBM long
62971 double versions of fmodl, remainderl, erfl and erfcl.
62972
62973 2013-10-04 Alan Modra <amodra@gmail.com>
62974
62975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62976 all uses of ieee854 long double macros and unions. Simplify tests
62977 for long doubles that are fully specified by the high double.
62978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62979 Likewise.
62980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62981 Remove dead code too.
62982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62983 (__ieee754_ynl): Likewise.
62984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62985 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62987 Remove dead code too.
62988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62989 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62990 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62991 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62992 Simplify.
62993 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62994 Simplify.
62995 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62998 Comment on variable precision.
62999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63000 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63001 Likewise.
63002 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63003 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63004 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63005 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63006 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63007
63008 2013-10-04 Alan Modra <amodra@gmail.com>
63009
63010 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63012 all uses of ieee854 long double macros and unions.
63013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63018 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63019 Likewise.
63020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63021 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63022 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63026 Simplify sign and nan test too.
63027 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63028 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63029 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63030 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63031 Likewise.
63032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63033 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63034 Likewise.
63035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63036 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63037 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63038 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63039 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63041
63042 2013-10-04 Alan Modra <amodra@gmail.com>
63043
63044 * stdio-common/printf_size.c (__printf_size): Don't use
63045 union ieee854_long_double in fpnum union.
63046 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63047 signbit macro to retrieve sign from long double.
63048 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63049 retrieve sign from long double.
63050 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63051 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63054 * math/test-misc.c (main): Don't use union ieee854_long_double.
63055
63056 2013-10-04 Alan Modra <amodra@gmail.com>
63057
63058 [BZ #15680]
63059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63060 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63061 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63062 calculation. Remove unnecessary test for denormal exponent.
63063 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63064 Correct handling of denormals. Avoid undefined shift behaviour.
63065 Correct normalisation of low mantissa when low double is denormal.
63066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63067 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63068 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63069 Correct normalisation of low mantissa. Test for overflow of high
63070 mantissa and normalise.
63071 (ldbl_nearbyint): Use more readable constant for two52.
63072 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63073 (__mpn_construct_long_double): Fix test for overflow of high
63074 mantissa and correct normalisation. Avoid undefined shift.
63075
63076 2013-10-04 Alan Modra <amodra@gmail.com>
63077
63078 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63079 (union ibm_extended_long_double): Define as an array of ieee754_double.
63080 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63082 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63085 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63089 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63091
63092 2013-10-03 Joseph Myers <joseph@codesourcery.com>
63093
63094 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63095 page size instead of calling getpagesize.
63096
63097 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63098 (LOCFILE_ALIGN_MASK): Likewise.
63099 (LOCFILE_ALIGN_UP): Likewise.
63100 (LOCFILE_ALIGNED_P): Likewise.
63101 * locale/programs/ld-collate.c (collate_output): Use the new
63102 macros instead of __alignof__ (int32_t).
63103 * locale/weight.h (findidx): Likewise.
63104
63105 2013-10-03 Ondƙej Bílka <neleai@seznam.cz>
63106
63107 [BZ #431]
63108 * manual/string.texi: Fix strncat and wcsncat.
63109
63110 2013-10-03 Brooks Moses <bmoses@google.com>
63111
63112 [BZ #15915]
63113 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63114 * Makerules: ...here, and adjust associated comments.
63115
63116 2013-10-02 Will Newton <will.newton@linaro.org>
63117
63118 * malloc/Makefile: Add tst-pvalloc.
63119 * malloc/tst-pvalloc.c: New file.
63120
63121 2013-10-02 Will Newton <will.newton@linaro.org>
63122
63123 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63124 improve test coverage.
63125
63126 2013-10-02 Will Newton <will.newton@linaro.org>
63127
63128 * malloc/Makefile: Add tst-posix_memalign.
63129 * malloc/tst-posix_memalign.c: New file.
63130
63131 2013-10-01 Eric Blake <eblake@redhat.com>
63132
63133 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63134 Use __THROWNL rather than __THROW on static functions.
63135
63136 2013-09-30 Petr Machata <pmachata@redhat.com>
63137
63138 * elf/elf.h (R_AARCH64_ABS16): New macro.
63139 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63140 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63141 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63142 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63143 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63144 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63145 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63146 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63147 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63148 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63149 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63150 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63151 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63152 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63153 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63154 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63155 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63156 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63157 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63158 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63159 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63160 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63161 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63162 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63163 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63164 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63165 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63166 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63167 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63168 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63169 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63170 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63171 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63172 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63173 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63174 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63175 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63176 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63177 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63178 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63179 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63180 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63181 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63182 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63183 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63184 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63185 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63186 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63187 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63188 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63189 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63190 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63191 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63192 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63193 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63194 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63195 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63196 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63197 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63198 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63199 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63200 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63201 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63202 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63203 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63204 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63205 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63206 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63207 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63208 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63209 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63210 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63211 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63212 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63213 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63214 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63215 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63216 (R_AARCH64_TLSDESC_LDR): Likewise.
63217 (R_AARCH64_TLSDESC_ADD): Likewise.
63218 (R_AARCH64_TLSDESC_CALL): Likewise.
63219
63220 2013-09-30 Andreas Schwab <schwab@suse.de>
63221
63222 [BZ #15048]
63223 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63224 the nss database lookup.
63225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63227
63228 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63229
63230 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63231
63232 2013-09-28 P. J. McDermott <pj@pehjota.net>
63233
63234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63235 ${Bash-specific parameter/pattern/string} parameter expansion.
63236 * sysdeps/unix/make-syscalls.sh: Likewise.
63237
63238 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63239
63240 * sysdeps/sh/stackguard-macros.h: New file.
63241
63242 2013-09-26 Ondƙej Bílka <neleai@seznam.cz>
63243
63244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63246 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63247 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63248 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63249 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63250
63251 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63252
63253 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63254 Fix thread ID register.
63255
63256 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63257
63258 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63259 [POSIX || UNIX98]: Require rather than permitting all symbols from
63260 <time.h>.
63261 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63262 element of struct sched_param.
63263 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63264 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63265 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63266 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63267 constant.
63268
63269 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63270
63271 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63272 argument calculation.
63273
63274 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63275
63276 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63277 Expect macro.
63278 [POSIX] (pthread_attr_t): Do not require type.
63279 [POSIX] (pthread_cond_t): Likewise.
63280 [POSIX] (pthread_condattr_t): Likewise.
63281 [POSIX] (pthread_key_t): Likewise.
63282 [POSIX] (pthread_mutex_t): Likewise.
63283 [POSIX] (pthread_mutexattr_t): Likewise.
63284 [POSIX] (pthread_once_t): Likewise.
63285 [POSIX] (pthread_t): Likewise.
63286 [POSIX-based standards] (pthread_atfork): Expect function.
63287
63288 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63289 Richard Sandiford <richard@codesourcery.com>
63290
63291 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63292 (swap_endianness_p): New extern variable.
63293 (set_big_endian): New inline function.
63294 (maybe_swap_uint32): Likewise.
63295 (maybe_swap_uint32_array): Likewise.
63296 (maybe_swap_uint32_obstack): Likewise.
63297 * locale/programs/locfile.c: Include <stdbool.h>.
63298 (swap_endianness_p): New variable.
63299 (add_locale_uint32): Call maybe_swap_uint32.
63300 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63301 (write_locale_data): Call maybe_swap_uint32_array.
63302 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63303 maybe_swap_uint32.
63304 (obstack_int32_grow_fast): Likewise.
63305 (output_weightwc): Call maybe_swap_uint32_obstack.
63306 (collate_output): Likewise.
63307 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63308 (OPT_LITTLE_ENDIAN): Likewise.
63309 (options): Add --little-endian and --big-endian options.
63310 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63311 * locale/programs/locarchive.c: Include "locfile.h".
63312 (GET): New macro.
63313 (SET): Likewise.
63314 (INC): Likewise.
63315 (create_archive): Use the new macros to access fields of
63316 structures directly mapped from or written to locale archives.
63317 (oldlocrecentcmp): Likewise.
63318 (enlarge_archive): Likewise.
63319 (insert_name): Likewise.
63320 (add_alias): Likewise.
63321 (add_locale): Likewise.
63322 (delete_locales_from_archive): Likewise.
63323 (show_archive_content): Likewise.
63324 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63325 locale data.
63326
63327 2013-09-24 Roland McGrath <roland@hack.frob.com>
63328
63329 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63330 http://www.gnu.org/doc/freemanuals.texi.
63331 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63332
63333 2013-09-24 Will Newton <will.newton@linaro.org>
63334
63335 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63336 macro.
63337
63338 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63339
63340 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63341 unsigned char.
63342
63343 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63344
63345 * manual/threads.texi (POSIX Threads): Fix a typo.
63346
63347 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63348
63349 [BZ #14547]
63350 * string/tst-strcoll-overflow.c: New test case.
63351 * string/Makefile (xtests): Add tst-strcoll-overflow.
63352 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63353 cache if string sizes may cause integer overflow.
63354
63355 [BZ #14547]
63356 * string/strcoll_l.c (coll_seq): New members rule, idx,
63357 save_idx and back_us.
63358 (get_next_seq_nocache): New function.
63359 (do_compare_nocache): New function.
63360 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63361 when malloc fails.
63362
63363 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63364
63365 [BZ #15754]
63366 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63367 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63368 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63369
63370 [BZ #15754]
63371 * elf/Makefile (tests): Add tst-ptrguard1.
63372 (tests-static): Add tst-ptrguard1-static.
63373 (tst-ptrguard1-ARGS): Define.
63374 (tst-ptrguard1-static-ARGS): Define.
63375 * elf/tst-ptrguard1.c: New file.
63376 * elf/tst-ptrguard1-static.c: New file.
63377 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63378 * sysdeps/i386/stackguard-macros.h: Likewise.
63379 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63380 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63381 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63382 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63383 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63384 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63385
63386 2013-09-23 Hector Marco <hecmargi@upv.es>
63387 Ismael Ripoll <iripoll@disca.upv.es>
63388 Carlos O'Donell <carlos@redhat.com>
63389
63390 [BZ #15754]
63391 * sysdeps/generic/stackguard-macros.h: Define
63392 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63393 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63394 Define __pointer_chk_guard_local.
63395 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63396 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63397
63398 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63399
63400 [BZ #15859]
63401 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63402
63403 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63404
63405 * include/string.h (__ffs): Declare as hidden.
63406 * string/ffs.c (__ffs): Define as hidden.
63407 * sysdeps/i386/ffs.c (__ffs): Likewise.
63408 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63409 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63410 * sysdeps/s390/ffs.c (__ffs): Likewise.
63411 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63412
63413 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63414
63415 * NEWS: Mention malloc probes.
63416
63417 * malloc/arena.c (new_heap): New memory_heap_new probe.
63418 (grow_heap): New memory_heap_more probe.
63419 (shrink_heap): New memory_heap_less probe.
63420 (heap_trim): New memory_heap_free probe.
63421 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63422 (systrim): New memory_sbrk_less probe.
63423 * manual/probes.texi: Document them.
63424
63425 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63426 * manual/probes.texi: Document it.
63427
63428 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63429 (__libc_realloc): Add memory_realloc_retry probe.
63430 (__libc_memalign): Add memory_memalign_retry probe.
63431 (__libc_valloc): Add memory_valloc_retry probe.
63432 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63433 (__libc_calloc): Add memory_calloc_retry probe.
63434 * manual/probes.texi: Document them.
63435
63436 * malloc/arena.c (get_free_list): Add probe
63437 memory_arena_reuse_free_list.
63438 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63439 and memory_arena_reuse.
63440 (arena_get2) [!PER_THREAD]: Likewise.
63441 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63442 memory_arena_reuse_realloc.
63443 * manual/probes.texi: Document them.
63444
63445 * malloc/malloc.c (__libc_free): Add
63446 memory_mallopt_free_dyn_thresholds probe.
63447 (__libc_mallopt): Add multiple memory_mallopt probes.
63448 * manual/probes.texi: Document them.
63449
63450 * malloc/malloc.c: Include stap-probe.h.
63451 (__libc_mallopt): Add memory_mallopt probe.
63452 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63453 * manual/probes.texi: New.
63454 * manual/Makefile (chapters): Add probes.
63455 * manual/threads.texi: Set next node.
63456
63457 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63458
63459 [BZ #15963, #13985]
63460 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63461 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63462 Add `Chinese' to `nan' entry name.
63463
63464 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63465
63466 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63467 (POLYNOMIAL): Likewise.
63468 (TAYLOR_SINCOS): Likewise.
63469 (TAYLOR_SLOW): Likewise.
63470 (__sin): Use TAYLOR_SINCOS.
63471 (__cos): Likewise.
63472 (slow): Use TAYLOR_SLOW.
63473 (sloww): Likewise.
63474 (bsloww): Likewise.
63475 (csloww): Likewise.
63476
63477 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63478
63479 * stdlib/strtod_l.c: Fix buffer overrun.
63480
63481 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63482
63483 * benchtests/Makefile (bench): Add sincos.
63484 * benchtests/bench-sincos.c: New file.
63485
63486 * math/libm-test.inc (cos_test_data): New test inputs.
63487 (sin_test_data): Likewise.
63488
63489 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63490 macro.
63491 (__sin): Use it.
63492 (__cos): Likewise.
63493 (slow1): Likewise.
63494 (slow2): Likewise.
63495 (sloww1): Likewise.
63496 (sloww2): Likewise.
63497 (bsloww1): Likewise.
63498 (bsloww2): Likewise.
63499 (cslow2): Likewise.
63500 (csloww1): Likewise.
63501 (csloww2): Likewise.
63502
63503 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63504 function.
63505 (__sin): Use it.
63506 (__cos): Likewise.
63507
63508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63509 gotos.
63510 (__cos): Likewise.
63511
63512 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63513
63514 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63515 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63516 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63517 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63518 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63519 * elf/cache.c (print_entry): Handle the new cache flags.
63520
63521 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63522 Aldy Hernandez <aldyh@redhat.com>
63523
63524 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63525 Change condition to [_SOFT_FLOAT].
63526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63538 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63541 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63542 declaration.
63543
63544 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63545
63546 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63547 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63548 (__longjmp): Use LOAD_GP to load saved GPRs.
63549 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63550 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63551 (__sigsetjmp): Use SAVE_GP to save GPRs.
63552
63553 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63554 Do not append -msoft-float.
63555 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63556
63557 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63558
63559 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63560
63561 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63562
63563 [BZ #15966]
63564 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63565 (_FPU_GETCW): Use initial "__" on variable and field names but not
63566 on macro parameter name.
63567 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63568 parentheses around reference to macro parameter.
63569
63570 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63571
63572 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63573 prototype.
63574 (ctype_startup): Use uint32_t in cast and sizeof for
63575 ctype->charnames.
63576
63577 2013-09-11 Jia Liu <proljc@gmail.com>
63578
63579 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63580 __daddr_t_defined.
63581 [__FreeBSD__]: Likewise.
63582
63583 2013-09-11 Ondƙej Bílka <neleai@seznam.cz>
63584
63585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63586 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63587 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63588 (strchr): Remove __strchr_sse42 ifunc selection.
63589 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63590 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63591
63592 2013-09-11 Will Newton <will.newton@linaro.org>
63593
63594 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63595 parameter to RES. Remove hardcoded 1000 value.
63596 * benchtests/bench-skeleton.c (main): Pass RES parameter
63597 to TIMING_INIT and multiply result by 1000.
63598
63599 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63600
63601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63602
63603 2013-09-11 Andreas Schwab <schwab@suse.de>
63604
63605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63606 if not defined.
63607 (O_TMPFILE) [__USE_GNU]: Define.
63608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63609 Define.
63610
63611 2013-09-11 Will Newton <will.newton@linaro.org>
63612
63613 [BZ #15857]
63614 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63615 does not overflow.
63616
63617 2013-09-11 Will Newton <will.newton@linaro.org>
63618
63619 [BZ #15856]
63620 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63621 does not overflow.
63622
63623 2013-09-11 Will Newton <will.newton@linaro.org>
63624
63625 [BZ #15855]
63626 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63627 does not overflow.
63628
63629 2013-09-10 Ondƙej Bílka <neleai@seznam.cz>
63630
63631 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63633 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63634 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63636
63637 2013-09-10 Allan McRae <allan@archlinux.org>
63638
63639 [BZ #15748]
63640 * manual/arith.texi (Parsing of Floats): Clarify
63641 cross-reference.
63642
63643 [BZ #15849]
63644 * manual/install.texi (Running make install): Mention
63645 --enable-pt-chown.
63646 * INSTALL: Regenerated.
63647
63648 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63649
63650 * csu/init-first.c (_init): Remove the !SHARED condition around
63651 FPU control word initialization.
63652 * elf/dl-support.c (_dl_fpu_control): New variable.
63653 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63654 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63655 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63656 * math/test-fpucw-static.c: New file.
63657 * math/test-fpucw-ieee.c: New file.
63658 * math/test-fpucw-ieee-static.c: New file.
63659 * math/Makefile (tests): Add `test-fpucw-ieee' and
63660 `$(tests-static)'.
63661 (tests-static): New variable.
63662 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63663 dependency to...
63664 [($(build-shared),yes)]
63665 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63666 ... this.
63667 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63668 New dependency.
63669
63670 2013-09-09 Allan McRae <allan@archlinux.org>
63671
63672 [BZ #15939]
63673 * manual/string.texi (Collation Functions): Fix typo in
63674 strcoll example.
63675 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63676
63677 [BZ #15893]
63678 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63679
63680 [BZ #15892]
63681 * libio/memstream.c (open_memstream): Fix memory leak.
63682 * libio/wmemstream.c (open_wmemstream): Likewise.
63683
63684 [BZ #15895]
63685 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63686
63687 2013-09-09 Will Newton <will.newton@linaro.org>
63688
63689 * malloc/Makefile: Add tst-realloc to tests.
63690 * malloc/tst-realloc.c: New file.
63691
63692 2013-09-09 Allan McRae <allan@archlinux.org>
63693
63694 [BZ #15844]
63695 * COPYING: Update from GNU website to fix FSF address.
63696 * COPYING.LIB: Likewise.
63697
63698 2013-09-06 David S. Miller <davem@davemloft.net>
63699
63700 * po/zh_TW.po: Update Chinese (traditional) translation from
63701 translation project.
63702
63703 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63704 Joseph Myers <joseph@codesourcery.com>
63705
63706 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63707 "localeinfo.h".
63708 (obstack_chunk_alloc): New macro.
63709 (obstack_chunk_free): Likewise.
63710 (record_offset): New function.
63711 (init_locale_data): Likewise.
63712 (align_locale_data): Likewise.
63713 (add_locale_empty): Likewise.
63714 (add_locale_raw_data): Likewise.
63715 (add_locale_raw_obstack): Likewise.
63716 (add_locale_string): Likewise.
63717 (add_locale_wstring): Likewise.
63718 (add_locale_uint32): Likewise.
63719 (add_locale_uint32_array): Likewise.
63720 (add_locale_char): Likewise.
63721 (start_locale_structure): Likewise.
63722 (end_locale_structure): Likewise.
63723 (start_locale_prelude): Likewise.
63724 (end_locale_prelude): Likewise.
63725 (write_locale_data): Take locale_file structure rather than an
63726 iovec.
63727 * locale/programs/locfile.h: Include "obstack.h".
63728 (struct locale_file): Change to store locale file contents instead
63729 of header.
63730 (init_locale_data): New prototype.
63731 (align_locale_data): Likewise.
63732 (add_locale_empty): Likewise.
63733 (add_locale_raw_data): Likewise.
63734 (add_locale_raw_obstack): Likewise.
63735 (add_locale_string): Likewise.
63736 (add_locale_wstring): Likewise.
63737 (add_locale_uint32): Likewise.
63738 (add_locale_uint32_array): Likewise.
63739 (add_locale_char): Likewise.
63740 (start_locale_structure): Likewise.
63741 (end_locale_structure): Likewise.
63742 (start_locale_prelude): Likewise.
63743 (end_locale_prelude): Likewise.
63744 (write_locale_data): Update prototype.
63745 * locale/programs/3level.h (struct TABLE): Remove result field.
63746 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63747 Use new locale_file interface.
63748 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63749 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63750 * locale/programs/ld-address.c (address_output): Use new
63751 locale_file interface.
63752 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63753 NO_ADD_LOCALE.
63754 (collate_finish): Don't call collseq_table_finalize.
63755 (collate_output): Use new locale_file interface.
63756 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63757 in file.
63758 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63759 (TABLE): Move defines earlier in file.
63760 (ELEMENT): Likewise.
63761 (DEFAULT): Likewise.
63762 (wctrans_table_add): Move macro and inline function earlier in
63763 file.
63764 (struct wctype_table): Move type earlier in file.
63765 (add_locale_wctype_table): New static prototype.
63766 (struct locale_ctype_t): Use logical types instead of struct iovec
63767 pointers for members.
63768 (ctype_output): Use new locale_file interface.
63769 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63770 new locale_file interface.
63771 (allocate_arrays): Update for use of new locale_file interface.
63772 * locale/programs/ld-identification.c (identification_output): Use
63773 new locale_file interface.
63774 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63775 * locale/programs/ld-messages.c (messages_output): Likewise.
63776 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63777 * locale/programs/ld-name.c (name_output): Likewise.
63778 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63779 * locale/programs/ld-paper.c (paper_output): Likewise.
63780 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63781 * locale/programs/ld-time.c (time_output): Likewise.
63782
63783 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63784
63785 * benchtests/Makefile: Add memrchr benchmark.
63786 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63787 benchmark as memrchr.
63788 * benchtests/bench-memrchr-ifunc.c: New file.
63789 * benchtests/bench-memrchr.c: New file.
63790
63791 2013-09-06 Will Newton <will.newton@linaro.org>
63792
63793 * benchtests/Makefile (string-bench): Add memcpy.
63794
63795 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63796 Cong Wang <amwang@redhat.com>
63797
63798 [BZ #15850]
63799 * sysdeps/unix/sysv/linux/bits/in.h
63800 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63801 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63802 before __USE_KERNEL_IPV6_DEFS uses.
63803 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63804 IPPROTO_BEETPH.
63805 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63806 sockaddr_in6, or ipv6_mreq.
63807
63808 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63809
63810 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63811 memory access for final bytes in some large inputs.
63812 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63813
63814 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63815
63816 * string/test-memrchr.c: New file.
63817 * string/test-memrchr-ifunc.c: New file.
63818 * string/Makefile: Add new memrchr testcase.
63819
63820 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63821
63822 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63823 fanotify_init returns EPERM.
63824
63825 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63826
63827 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63828 errors.
63829 (top level): Treat second token from macro or constant entries for
63830 allowed headers as allowed.
63831 * include/complex.h: Condition internal declarations on
63832 [!_ISOMAC].
63833 * include/fenv.h: Condition include of <stdbool.h> and internal
63834 declarations on [!_ISOMAC].
63835
63836 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63837
63838 [BZ #15923]
63839 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63840
63841 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63842
63843 * configure.in (--enable-versioning): Remove configure option.
63844 (libc_cv_asm_symver_directive): Remove configure test.
63845 (libc_cv_ld_version_script_option): Likewise.
63846 (VERSIONING): Remove variable and AC_SUBST.
63847 (DO_VERSIONING): Remove AC_DEFINE.
63848 * configure: Regenerated.
63849 * config.h.in (DO_VERSIONING): Remove macro.
63850 * Makerules [$(versioning) = yes]: Change conditionals to
63851 [$(build-shared) = yes].
63852 * config.make.in (versioning): Remove variable.
63853 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63854 [$(build-shared) = yes].
63855 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63856 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63857 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63858 [$(build-shared) = yes].
63859 * extra-lib.mk [$(versioning) = yes]: Likewise.
63860 * hurd/Makefile [$(versioning) = yes]: Likewise.
63861 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63862 [SHARED].
63863 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63864 [SHARED].
63865 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63866 [SHARED && !NO_HIDDEN].
63867 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63868 [SHARED].
63869 [SHARED && DO_VERSIONING]: Likewise..
63870 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63871 [$(build-shared) = yes].
63872 * manual/install.texi (--disable-versioning): Remove
63873 documentation.
63874 * INSTALL: Regenerated.
63875 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63876 to [SHARED].
63877 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63878 [$(build-shared) = yes].
63879 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63880 * sysdeps/i386/i686/multiarch/strstr-c.c
63881 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63882 [SHARED && !NO_HIDDEN].
63883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63884 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63885 * sysdeps/powerpc/powerpc32/dl-machine.c
63886 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63887 * sysdeps/powerpc/powerpc32/sysdep.h
63888 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63889 to [SHARED && PIC && !NO_HIDDEN].
63890 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63891 conditional to [SHARED].
63892
63893 2013-09-04 Will Newton <will.newton@linaro.org>
63894
63895 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63896 * benchtests/bench-string.h: Include bench-timing.h instead
63897 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63898 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63899 call to HP_TIMING_DIFF_INIT.
63900 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63901 instead of hp-timing.h macros.
63902 * benchtests/bench-memchr.c: Likewise.
63903 * benchtests/bench-memcmp.c: Likewise.
63904 * benchtests/bench-memcpy.c: Likewise.
63905 * benchtests/bench-memmem.c: Likewise.
63906 * benchtests/bench-memmove.c: Likewise.
63907 * benchtests/bench-memset.c: Likewise.
63908 * benchtests/bench-rawmemchr.c: Likewise.
63909 * benchtests/bench-strcasecmp.c: Likewise.
63910 * benchtests/bench-strcasestr.c: Likewise.
63911 * benchtests/bench-strcat.c: Likewise.
63912 * benchtests/bench-strchr.c: Likewise.
63913 * benchtests/bench-strcmp.c: Likewise.
63914 * benchtests/bench-strcpy.c: Likewise.
63915 * benchtests/bench-strcpy_chk.c: Likewise.
63916 * benchtests/bench-strlen.c: Likewise.
63917 * benchtests/bench-strncasecmp.c: Likewise.
63918 * benchtests/bench-strncat.c: Likewise.
63919 * benchtests/bench-strncmp.c: Likewise.
63920 * benchtests/bench-strncpy.c: Likewise.
63921 * benchtests/bench-strnlen.c: Likewise.
63922 * benchtests/bench-strpbrk.c: Likewise.
63923 * benchtests/bench-strrchr.c: Likewise.
63924 * benchtests/bench-strspn.c: Likewise.
63925 * benchtests/bench-strstr.c: Likewise.
63926
63927 2013-09-04 Will Newton <will.newton@linaro.org>
63928
63929 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63930
63931 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63932
63933 [BZ #15427]
63934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63935 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63936 * math/libm-test.inc (lgamma_test_data): Add more tests.
63937 * sysdeps/i386/fpu/libm-test-ulps: Update.
63938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63939
63940 2013-09-03 Ondƙej Bílka <neleai@seznam.cz>
63941
63942 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63944 Add ifunc.
63945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63946 Add strcmp-sse2-unaligned
63947 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63948
63949 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63950
63951 * Versions.def (libc): Add GLIBC_2.19.
63952
63953 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63954
63955 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63956 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63957
63958 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63959
63960 [BZ #14155]
63961 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63962 intermediate calculations in recurrence.
63963 (__ieee754_ynf): Likewise.
63964 * math/libm-test.inc (jn_test_data): Do not allow spurious
63965 underflow exception. Add more tests.
63966 (yn_test_data): Add more tests.
63967 * sysdeps/i386/fpu/libm-test-ulps: Update.
63968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63969
63970 2013-09-02 Ondƙej Bílka <neleai@seznam.cz>
63971
63972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63973
63974 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
63975
63976 * csu/init-first.c: Fix then/than typos.
63977 * locale/programs/ld-collate.c: Likewise.
63978 * locale/programs/linereader.h: Likewise.
63979 * manual/charset.texi: Likewise.
63980 * manual/filesys.texi: Likewise.
63981 * manual/stdio.texi: Likewise.
63982 * manual/string.texi: Likewise.
63983 * stdlib/fmtmsg.c: Likewise.
63984 * sysdeps/i386/stpncpy.S: Likewise.
63985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63986 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63987 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63988 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63989
63990 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
63991
63992 * elf/dl-open.c: Fix typos.
63993 * iconvdata/gbbig5.c: Likewise.
63994 * iconvdata/iso-2022-jp.c: Likewise.
63995 * iconv/gconv_int.h: Likewise.
63996 * iconv/loop.c: Likewise.
63997 * nis/rpcsvc/nis.h: Likewise.
63998 * resolv/ns_name.c: Likewise.
63999 * stdio-common/vfscanf.c: Likewise.
64000 * streams/stropts.h: Likewise.
64001 * sunrpc/rpc_thread.c: Likewise.
64002 * sysdeps/i386/strpbrk.S: Likewise.
64003 * sysdeps/ieee754/k_standard.c: Likewise.
64004 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64006 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64007 * sysdeps/mach/hurd/profil.c: Likewise.
64008 * sysdeps/s390/dl-procinfo.h: Likewise.
64009 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64011 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64012 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64014
64015 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64016
64017 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64019
64020 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64021
64022 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64023 aix specific files.
64024 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64025 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64027 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64028 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64029 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64030 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64031 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64032
64033 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64034 Roland McGrath <roland@hack.frob.com>
64035
64036 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64037 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64038
64039 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
64040
64041 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64042 __executable_start symbol instead of _start.
64043
64044 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64045
64046 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64047 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64048 Move macros to...
64049 * sysdeps/gnu/ldsodefs.h: ... this new file.
64050
64051 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64052 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64053 instead of ELFOSABI_LINUX.
64054
64055 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64056 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64057 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64058 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64059 Likewise.
64060 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64061 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64062 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64063 Likewise.
64064 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64065 (ibm_extended_long_double): Add ieee_nan member.
64066 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64067 (do_test): New function.
64068
64069 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64070 TEST_TRUNC.
64071 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64072 functions, renamed from truncdfsf_test, trunctfsf_test,
64073 trunctfdf_test.
64074 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64075 functions.
64076 (do_test): Run all these.
64077
64078 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64079
64080 * argp/argp-help.c: Fix typos.
64081 * argp/argp-parse.c: Likewise.
64082 * debug/backtracesyms.c: Likewise.
64083 * elf/elf.h: Likewise.
64084 * malloc/malloc.c: Likewise.
64085 * nis/nis_print.c: Likewise.
64086 * resolv/res_comp.c: Likewise.
64087 * stdlib/stdlib.h: Likewise.
64088 * sunrpc/clnt_tcp.c: Likewise.
64089 * sunrpc/clnt_udp.c: Likewise.
64090 * sunrpc/clnt_unix.c: Likewise.
64091 * sysdeps/unix/bsd/ptsname.c: Likewise.
64092 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64095 Likewise.
64096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64097 Likewise.
64098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64099 Likewise.
64100 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64101
64102 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64103
64104 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64106
64107 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64108
64109 [BZ #15897]
64110 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64111 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64112 ($(objpfx)bug-dl-leaf): New rule.
64113 ($(objpfx)bug-dl-leaf.so): Likewise.
64114 ($(objpfx)bug-dl-leaf.out): Likewise.
64115 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64116 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64117 * dlfcn/bug-dl-leaf.c: New test.
64118 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64119 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64120 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64121 (dlclose): Likewise.
64122 (dlmopen): Likewise.
64123
64124 2013-08-27 Roland McGrath <roland@hack.frob.com>
64125
64126 * include/netdb.h [!_ISOMAC]:
64127 Don't include <tls.h>.
64128 (h_errno, __libc_h_errno): Move declaration and macros out of
64129 [_LIBC_REENTRANT].
64130
64131 * include/resolv.h [_RESOLV_H_]:
64132 Don't include <tls.h>.
64133 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64134 * resolv/res_libc.c: Don't include <tls.h>.
64135 (_res): Use __attribute__ ((nocommon)) in place of
64136 __attribute__ ((section (".bss"))).
64137
64138 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64139 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64140
64141 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64142
64143 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64144 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64145
64146 * resolv/res_mkquery.c: Include <sys/time.h>.
64147
64148 * inet/ifreq.c: Moved to ...
64149 * sysdeps/unix/ifreq.c: ... here.
64150 * inet/ifreq.c: New file, true stub version.
64151
64152 * socket/sa_len.c: New file.
64153 * socket/Makefile (aux): Add it.
64154 * sysdeps/unix/sysv/linux/Makefile
64155 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64156 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64157 and #include <socket/sa_len.c>.
64158 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64159 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64160
64161 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64162 * bits/socket.h: ... here.
64163
64164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64165 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64166 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64167
64168 2013-08-27 Andreas Schwab <schwab@suse.de>
64169
64170 [BZ #15736]
64171 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64172 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64173 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64174 * string/test-strcasecmp.c (test_main): Run tests in several
64175 locales.
64176 * string/test-strncasecmp.c (test_main): Likewise.
64177
64178 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64179 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64180 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64182 (__strncasecmp_ssse3) [PIC]: Likewise.
64183
64184 2013-08-26 Roland McGrath <roland@hack.frob.com>
64185
64186 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64187
64188 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64189 instead of explicitly declaring xdecrypt.
64190 * nis/nss_nis/nis-publickey.c: Likewise.
64191
64192 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64193
64194 [BZ #15890]
64195 * nscd/aicache.c: Include res_hconf.h.
64196 (addhstaiX): Initialize res_hconf.
64197
64198 2013-08-26 Andreas Schwab <schwab@suse.de>
64199
64200 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64201 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64202
64203 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64204
64205 * nscd/aicache.c (addhstaiX): Fix indentation.
64206
64207 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64208
64209 * configure.ac: Quote $build_pt_chown test.
64210 * configure: Regenerated.
64211
64212 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64213
64214 [BZ #15532]
64215 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64216 * math/s_cexpf.c (__cexpf): Likewise.
64217 * math/s_cexpl.c (__cexpl): Likewise.
64218 * math/libm-test.inc (cexp_test_data): Correct expected return
64219 value for NaN + i0. Add another test.
64220
64221 2013-08-22 David S. Miller <davem@davemloft.net>
64222
64223 * po/ca.po: Update Catalan translation from translation project.
64224 * po/uk.po: Add Ukrainian translations from translation project.
64225
64226 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64227
64228 [BZ #15797]
64229 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64230 is infinite, not alongside NaN test.
64231 * math/s_fdimf.c (__fdimf): Likewise.
64232 * math/s_fdiml.c (__fdiml): Likewise.
64233 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64234 errno is unchanged.
64235
64236 2013-08-21 Ondƙej Bílka <neleai@seznam.cz>
64237
64238 * argp/argp-help.c: Fix typos.
64239 * crypt/speeds.c: Likewise.
64240 * csu/check_fds.c: Likewise.
64241 * elf/dl-load.c: Likewise.
64242 * elf/dl-open.c: Likewise.
64243 * elf/reldep3.c: Likewise.
64244 * elf/reldep.c: Likewise.
64245 * elf/sprof.c: Likewise.
64246 * iconv/iconv_charmap.c: Likewise.
64247 * iconv/skeleton.c: Likewise.
64248 * iconv/strtab.c: Likewise.
64249 * io/lockf64.c: Likewise.
64250 * libio/libioP.h: Likewise.
64251 * resolv/gai_notify.c: Likewise.
64252 * resolv/ns_name.c: Likewise.
64253 * resolv/ns_samedomain.c: Likewise.
64254 * resolv/res_send.c: Likewise.
64255 * stdlib/random.c: Likewise.
64256 * sunrpc/rpc/xdr.h: Likewise.
64257 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64259 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64260 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64265 * sysdeps/mach/hurd/check_fds.c: Likewise.
64266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64267 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64270 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64271 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64272 * sysdeps/pthread/aio_notify.c: Likewise.
64273 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64274 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64277 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64278
64279 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64280
64281 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64282 version if bit_Slow_SSE4_2 is set.
64283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64284 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64285
64286 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64287
64288 [BZ #15867]
64289 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64290 trampoline stack frame information.
64291 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64292 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64293 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64294 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64295 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64296 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64297 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64298 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64299 sa_flags value.
64300 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64301 interrupting a syscall and set with option SA_SIGINFO.
64302
64303 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64304
64305 [BZ #15531]
64306 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64307 argument is infinite.
64308 * math/s_cprojf.c (__cprojf): Likewise.
64309 * math/s_cprojl.c (__cprojl): Likewise.
64310 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64311 * math/libm-test.inc (cproj_test_data): Add more tests.
64312
64313 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64314
64315 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64316 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64317 size. Use __ffs to determine corresponding shift.
64318
64319 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64320 Roland McGrath <roland@hack.frob.com>
64321
64322 * Makefile (INSTALL): Remove trailing blank lines from output of
64323 makeinfo.
64324
64325 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64326
64327 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64328 Align 32 bit compat elf_greg to 8 bytes.
64329
64330 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64331
64332 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64333
64334 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64335
64336 * string/strcoll_l.c (coll_seq): New structure.
64337 (get_next_seq_cached): New function.
64338 (get_next_seq): New function.
64339 (do_compare): New function.
64340 (STRCOLL): Use GNU style definition. Simplify implementation
64341 by using get_next_seq, get_next_seq_cached and do_compare.
64342
64343 2013-08-16 Florian Weimer <fweimer@redhat.com>
64344
64345 [BZ #14699]
64346 CVE-2013-4237
64347 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64348 member.
64349 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64350 member.
64351 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64352 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64353 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64354 conditional.
64355 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64356 GETDENTS_64BIT_ALIGNED.
64357 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64358 * manual/filesys.texi (Reading/Closing Directory): Document
64359 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64360 strongly.
64361 * manual/conf.texi (Limits for Files): Add portability note to
64362 NAME_MAX, PATH_MAX.
64363 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64364
64365 2013-08-13 Andreas Schwab <schwab@suse.de>
64366
64367 [BZ #15749]
64368 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64369 of fabs.
64370 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64371 LDBL_MAX_EXP >= 16384]: Add tests for it.
64372
64373 2013-08-12 David S. Miller <davem@davemloft.net>
64374
64375 * version.h (RELEASE): Set to "development".
64376 (VERSION): Set to "2.18.90".
64377 * NEWS: Add 2.19 section.
64378
64379 2013-08-03 David S. Miller <davem@davemloft.net>
64380
64381 * po/ko.po: Update Korean translation from translation project.
64382
64383 2013-08-01 David S. Miller <davem@davemloft.net>
64384
64385 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64386 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64387 Bilka.
64388
64389 2013-07-30 David S. Miller <davem@davemloft.net>
64390
64391 * po/fr.po: Update French translation from translation project.
64392
64393 2013-07-28 David S. Miller <davem@davemloft.net>
64394
64395 * po/cs.po: Update Czech translation from translation project.
64396
64397 * po/sv.po: Update Swedish translation from translation project.
64398
64399 2013-07-27 David S. Miller <davem@davemloft.net>
64400
64401 * po/eo.po: Update Esperanto translation from translation project.
64402
64403 * po/vi.po: Update Vietnamese translation from translation project.
64404
64405 * po/de.po: Update German translation from translation project.
64406
64407 2013-07-26 David S. Miller <davem@davemloft.net>
64408
64409 * po/bg.po: Update Bulgarian translation from translation project.
64410
64411 * po/nl.po: Update Dutch translation from translation project.
64412 * po/pl.po: Update Polish translation from translation project.
64413 * po/ru.po: Update Russian translation from translation project.
64414
64415 2013-07-24 David S. Miller <davem@davemloft.net>
64416
64417 * po/libc.pot: Update.
64418
64419 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64420
64421 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64422 variable page size.
64423 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64424 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64425 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64426
64427 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64428
64429 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64430
64431 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64432 Andreas Schwab <schwab@suse.de>
64433 Roland McGrath <roland@hack.frob.com>
64434 Joseph Myers <joseph@codesourcery.com>
64435 Carlos O'Donell <carlos@redhat.com>
64436
64437 [BZ #15755]
64438 * config.h.in: Define HAVE_PT_CHOWN.
64439 * config.make.in (build-pt-chown): New variable.
64440 * configure.in (--enable-pt_chown): New configure option.
64441 * configure: Regenerate.
64442 * login/Makefile: Include Makeconfig. Build pt_chown only if
64443 build-pt-chown is enabled.
64444 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64445 pt_chown to fix pty ownership.
64446 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64447 CLOSE_ALL_FDS.
64448 * manual/install.texi (Configuring and compiling): Mention
64449 --enable-pt_chown. Add @findex for grantpt.
64450 * INSTALL: Regenerate.
64451
64452 2013-07-20 David S. Miller <davem@davemloft.net>
64453
64454 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64455 difference between 32-bit and 64-bit.
64456
64457 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64458
64459 [BZ #15711]
64460 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64461 Avoid system header dependency with -ffreestanding.
64462 ($(objpfx)bits/syscall%d): Likewise.
64463
64464 2013-07-13 David S. Miller <davem@davemloft.net>
64465
64466 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64467 underflows from atanl/atan2l due to bug 15319.
64468 (casinh_test_data): Likewise.
64469
64470 2013-07-07 David S. Miller <davem@davemloft.net>
64471
64472 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64473
64474 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64475
64476 * sysdeps/i386/fpu/libm-test-ulps: Update.
64477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64478
64479 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64480
64481 * configure.in (--enable-lock-elision): Fix message text.
64482 * INSTALL: Regenerate.
64483 * configure: Regenerate.
64484
64485 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64486
64487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64488
64489 2013-07-03 Andreas Jaeger <aj@suse.de>
64490
64491 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64492 define.
64493 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64494 (ptrace_peeksiginfo_args): Add.
64495 (__ptrace_peeksiginfo_flags): Add.
64496 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64499
64500 2013-07-03 Allan McRae <allan@archlinux.org>
64501
64502 * sysdeps/i386/fpu/libm-test-ulps: Update.
64503
64504 2013-07-02 David S. Miller <davem@davemloft.net>
64505
64506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64507
64508 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64509
64510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64511
64512 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64513
64514 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64516
64517 2013-07-02 Andi Kleen <ak@linux.intel.com>
64518
64519 * config.h.in (ENABLE_LOCK_ELISION): Add.
64520 * configure.in (--enable-lock-elision): Add option.
64521 * manual/install.texi: Document --enable lock elision.
64522 * configure: Regenerate
64523 * INSTALL: Regenerate.
64524
64525 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64526
64527 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64528 SSE4.2 strcasecmp for libc.a.
64529 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64530
64531 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64532
64533 [BZ #13304]
64534 * soft-fp/op-common.h (_FP_FMA): New macro.
64535 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64536 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64537 (_FP_MUL_MEAT_1_imm): ... here.
64538 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64539 (_FP_MUL_MEAT_1_wide): ... here.
64540 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64541 (_FP_MUL_MEAT_1_hard): ... here.
64542 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64543 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64544 (_FP_MUL_MEAT_2_wide): ... here.
64545 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64546 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64547 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64548 (_FP_MUL_MEAT_2_gmp): ... here.
64549 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64550 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64551 (_FP_MUL_MEAT_4_wide): ... here.
64552 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64553 (_FP_MUL_MEAT_4_gmp): ... here.
64554 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64555 (_FP_WFRACBITS_DW_S): Likewise.
64556 (_FP_WFRACXBITS_DW_S): Likewise.
64557 (_FP_HIGHBIT_DW_S): Likewise.
64558 (FP_FMA_S): Likewise.
64559 (_FP_FRAC_HIGH_DW_S): Likewise.
64560 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64561 (_FP_WFRACBITS_DW_D): Likewise.
64562 (_FP_WFRACXBITS_DW_D): Likewise.
64563 (_FP_HIGHBIT_DW_D): Likewise.
64564 (FP_FMA_D): Likewise.
64565 (_FP_FRAC_HIGH_DW_D): Likewise.
64566 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64567 (_FP_WFRACBITS_DW_E): Likewise.
64568 (_FP_WFRACXBITS_DW_E): Likewise.
64569 (_FP_HIGHBIT_DW_E): Likewise.
64570 (FP_FMA_E): Likewise.
64571 (_FP_FRAC_HIGH_DW_E): Likewise.
64572 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64573 (_FP_WFRACBITS_DW_Q): Likewise.
64574 (_FP_WFRACXBITS_DW_Q): Likewise.
64575 (_FP_HIGHBIT_DW_Q): Likewise.
64576 (FP_FMA_Q): Likewise.
64577 (_FP_FRAC_HIGH_DW_Q): Likewise.
64578 * soft-fp/fmasf4.c: New file.
64579 * soft-fp/fmadf4.c: Likewise.
64580 * soft-fp/fmatf4.c: Likewise.
64581
64582 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64583
64584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64585 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64586 Silvermont.
64587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64588 macro.
64589 (index_Slow_SSE4_2): Likewise.
64590 (index_Prefer_PMINUB_for_stringop): Likewise.
64591 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64592 bit_Slow_SSE4_2 is set.
64593 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64594 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64595
64596 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64597
64598 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64599 rtld_global._dl_hwcap2.
64600 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64601 POWER8.
64602 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64603 POWER8 feature descriptions defined in _dl_hwcap2.
64604 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64605 string handling for POWER8 feature bits.
64606 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64607 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64608 _dl_powerpc_cap_flags.
64609 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64610 * sysdeps/powerpc/rtld-global-offsets.sym
64611 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64612 _dl_hwcap2 in the rtld_global_ro structure.
64613
64614 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64615
64616 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64617 hardware capabilities in support of AT_HWCAP2.
64618 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64619 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64620 GLRO(dl_hwcap2).
64621 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64622 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64623 explicitly the unknown a_type display mechanism is used.
64624 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64625 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64626 struct member.
64627 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64628 to macro prototype for AT_HWCAP2 support.
64629 * sysdeps/i386/dl-procinfo.h: Likewise.
64630 * sysdeps/s390/dl-procinfo.h: Likewise.
64631 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64632 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64633 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64634 return -1 for unknown a_type display fallback.
64635 * sysdeps/sparc/dl-procinfo.h: Likewise.
64636 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64637 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64638
64639 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64640
64641 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64642 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64643
64644 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64645
64646 [BZ #12492]
64647 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64648 mprotect making __stack_prot writable.
64649
64650 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64651 Joseph Myers <joseph@codesourcery.com>
64652
64653 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64654 as being properly aligned.
64655
64656 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64657
64658 * dlfcn/modstatic5.c: New file.
64659 * dlfcn/tststatic5.c: New file.
64660 * dlfcn/Makefile (tests): Add tststatic5.
64661 (tests-static): Likewise.
64662 (modules-names): Add modstatic5.
64663 (tststatic5-ENV): New variable.
64664 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64665
64666 [BZ #15022]
64667 * elf/dl-support.c (_dl_main_map): New variable.
64668 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64669 (_dl_nns, _dl_load_adds): Set to 1.
64670 (_dl_initial_searchlist): Refer to _dl_main_map.
64671 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64672 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64673 call to _dl_get_origin.
64674 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64675 around call_map.
64676 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64677 * dlfcn/modstatic3.c: New file.
64678 * dlfcn/tststatic3.c: New file.
64679 * dlfcn/tststatic4.c: New file.
64680 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64681 (tests-static): Likewise.
64682 (modules-names): Add modstatic3.
64683 (tststatic3-ENV, tststatic4-ENV): New variables.
64684 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64685 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64686
64687 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64688
64689 * configure.in (CC): Require GCC version 4.4 or later.
64690 * configure: Regenerated.
64691 * manual/install.texi (Tools for Compilation): Update GCC version
64692 requirement.
64693 * INSTALL: Regenerated.
64694
64695 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64696
64697 [BZ #15674]
64698 * string/test-memcmp.c (check2): New.
64699 (main): Call check2.
64700
64701 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64702
64703 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64704
64705 [BZ #15022]
64706 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64707 over to...
64708 (dl_open_worker) [!SHARED]: ... here.
64709
64710 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64711
64712 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64713
64714 2013-06-25 Richard Henderson <rth@redhat.com>
64715
64716 * locale/programs/locarchive.c: Include <libc-internal.h>
64717
64718 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64719
64720 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64721 trailing whitespace removed.
64722
64723 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64724
64725 [BZ #10283]
64726 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64727 * locale/programs/locarchive.c: Include libc-mmap.h.
64728 (prepare_address_space): Take two new outputs (the mmap base and len).
64729 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64730 values.
64731 (create_archive): Declare new mmap base and len values for
64732 prepare_address_space, and store the result in ah.
64733 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64734 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64735 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64736 Declare new mmap base and len values for
64737 prepare_address_space, and store the result in new_ah.
64738 (open_archive): Declare new mmap base and len values for
64739 prepare_address_space, and store the result in ah.
64740 (close_archive): If ah->mmap_base is not NULL, use that and
64741 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64742 * sysdeps/generic/libc-mmap.h: New file.
64743
64744 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64745
64746 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64747 (ALIGN_UP): Likewise.
64748 (PTR_ALIGN_DOWN): Likewise.
64749 (PTR_ALIGN_UP): Likewise.
64750
64751 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64752
64753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64754 entry mapped to PPC_PLATFORM_POWER8.
64755 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64756 POWER8.
64757 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64758 (_dl_string_platform): Add case for exporting platform position for
64759 POWER8.
64760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64761 search path to sysdeps/powerpc/powerpc32/power8 directory.
64762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64763 search path to sysdeps/powerpc/powerpc64/power8 directory.
64764 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64765 power7 directories.
64766 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64767 power7 directories.
64768
64769 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64770
64771 * INSTALL: Regenerate.
64772
64773 * nscd/connections.c (nscd_init): Fix comment.
64774
64775 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64776
64777 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64778
64779 [BZ #15667]
64780 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64781 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64782
64783 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64784
64785 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64786 DL_DST_REQ_STATIC.
64787 (DL_DST_REQ_STATIC): Remove macro.
64788
64789 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64790
64791 [BZ #7006]
64792 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64793 with a shift of 0 bits.
64794
64795 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64796
64797 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64798 $(tststatic-ENV).
64799
64800 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64801
64802 [BZ #15655]
64803 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64804
64805 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64806
64807 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64808 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64809 accepts -fno-tree-loop-distribute-patterns.
64810 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64811 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64812 recursive call.
64813 * string/memset.c (memset): Likewise.
64814 * string/test-memmove.c (simple_memmove): Disable loop transformation
64815 to library calls.
64816 * string/test-memset.c (simple_memset): Likewise.
64817 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64818 * benchtests/bench-memset.c (simple_memset): Likewise.
64819 * configure: Regenerated.
64820
64821 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64822
64823 * math/test-misc.c (main): Ignore fesetround failure when failures
64824 of subsequent rounding tests would be ignored.
64825
64826 [BZ #15654]
64827 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64828 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64829 * math/fegetenv.c (__fegetenv): Return 0.
64830 * math/fegetexcept.c (fegetexcept): Return 0.
64831 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64832 FE_TONEAREST.
64833 * math/feholdexcpt.c (feholdexcept): Return 0.
64834 * math/fesetenv.c (__fesetenv): Return 0.
64835 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64836 argument FE_TONEAREST.
64837 * math/feupdateenv.c (__feupdateenv): Return 0.
64838 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64839
64840 2013-06-18 Roland McGrath <roland@hack.frob.com>
64841
64842 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64843 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64844 ($(objpfx)rtld-%.os rules): Use them.
64845
64846 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64847
64848 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64849 fields.
64850
64851 2013-06-17 Roland McGrath <roland@hack.frob.com>
64852
64853 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64854 length of target pattern, then descending length of dependency pattern.
64855 * configure.in (AWK): Require gawk 3.1.2 or newer.
64856 * manual/install.texi (Tools for Compilation): Say that we do.
64857 * configure: Regenerated.
64858
64859 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64860 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64861 * scripts/sysd-rules.awk: ... this new script.
64862 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64863 than a glob-style pattern.
64864
64865 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64866
64867 * math/test-misc.c (main): Do not treat incorrectly rounded
64868 conversions as failure unless ROUNDING_TESTS passes.
64869
64870 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64871
64872 [BZ #15631]
64873 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64874 restore exception state around main square root computation, then
64875 check for inexactness explicitly.
64876
64877 * math/libm-test.inc (fma_test_data): Add another test.
64878
64879 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64880
64881 * manual/threads.texi (Non-POSIX Extensions): New document
64882 node. Document pthread_getattr_default_np and
64883 pthread_setattr_default_np.
64884
64885 * Versions.def (libpthread): Add GLIBC_2.18.
64886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64888 Likewise.
64889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64890 Likewise.
64891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64892 Likewise.
64893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64894 Likewise.
64895 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64896 Likewise.
64897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64898 Likewise.
64899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64900 Likewise.
64901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64902 Likewise.
64903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64904 Likewise.
64905
64906 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64907
64908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64909 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64910
64911 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64912 H.J. Lu <hjl.tools@gmail.com>
64913
64914 [BZ #15627]
64915 * sysdeps/x86_64/rtld-memset.c: Remove file.
64916 * sysdeps/x86_64/rtld-memset.S: New file.
64917
64918 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64919
64920 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64921 (test_in_one_mode): Take arguments for whether the rounding mode
64922 is supported for each floating-point type.
64923 (do_test): Pass new arguments to test_in_one_mode using
64924 ROUNDING_TESTS.
64925
64926 2013-06-13 Roland McGrath <roland@hack.frob.com>
64927
64928 * posix/tst-waitid.c (do_test): Distinguish different instances of
64929 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64930 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64931 before entering the kernel for waitpid.
64932
64933 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64934
64935 * NEWS: Fix note on clock function precision. Text by Roland
64936 McGrath.
64937
64938 2013-06-13 Roland McGrath <roland@hack.frob.com>
64939
64940 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64941 it into place only when and if the sanity check passes.
64942
64943 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64944
64945 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64946 output for whether conversion result is exact. Take argument
64947 indicating whether type is IBM long double.
64948 (round_for_all): Change need_exact field to ibm_ld.
64949 * stdlib/tst-strtod-round.c (struct exactness): New type.
64950 (struct test): Change bool ld_ok field to struct exactness exact.
64951 (TEST): Update all definitions for change to field.
64952 (tests): Regenerate array contents.
64953 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64954 field value. Check for IBM long double here.
64955 (do_test): Update calls to test_in_one_mode.
64956
64957 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64958
64959 [BZ #12515]
64960 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64961 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64962
64963 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64964
64965 [BZ #15605]
64966 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64967 generated by the compiler on loop optimizations.
64968 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64969 general definitions.
64970
64971 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64972
64973 * math/bug-nextafter.c: Include <math-tests.h>.
64974 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64975 the relevant type.
64976 * math/bug-nexttoward.c: Include <math-tests.h>.
64977 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64978 the relevant type.
64979 * math/test-misc.c: Include <math-tests.h>.
64980 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64981 the relevant type.
64982
64983 2013-06-12 Andreas Jaeger <aj@suse.de>
64984
64985 * po/ia.po: Update Interlingua translation from translation
64986 project.
64987
64988 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64989
64990 * include/fenv.h: Include stdbool.h.
64991 (struct rm_ctx): New structure.
64992 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64993 Define macro.
64994 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64995 (SET_RESTORE_ROUNDF): Likewise.
64996 (SET_RESTORE_ROUNDL): Likewise.
64997 (SET_RESTORE_ROUND_NOEX): Likewise.
64998 (SET_RESTORE_ROUND_NOEXF): Likewise.
64999 (SET_RESTORE_ROUND_NOEXL): Likewise.
65000 (SET_RESTORE_ROUND_53BIT): Likewise.
65001 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65002 (libc_feresetround_noexf_ctx): Likewise.
65003 (libc_feresetround_noexl_ctx): Likewise.
65004 (libc_feholdsetround_53bit_ctx): Likewise.
65005 (libc_feresetround_53bit_ctx): Likewise.
65006 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65007 (libc_feholdexcept_setround_sse_ctx): New function.
65008 (libc_fesetenv_sse_ctx): Likewise.
65009 (libc_feupdateenv_sse_ctx): Likewise.
65010 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65011 (libc_feholdexcept_setround_387_ctx): Likewise.
65012 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65013 (libc_feholdsetround_387_prec_ctx): Likewise.
65014 (libc_feholdsetround_387_ctx): Likewise.
65015 (libc_feholdsetround_387_53bit_ctx): Likewise.
65016 (libc_feholdsetround_sse_ctx): Likewise.
65017 (libc_feresetround_sse_ctx): Likewise.
65018 (libc_feresetround_387_ctx): Likewise.
65019 (libc_feupdateenv_387_ctx): Likewise.
65020 (libc_feholdexcept_setroundf_ctx): Define macro.
65021 (libc_fesetenvf_ctx): Likewise.
65022 (libc_feupdateenvf_ctx): Likewise.
65023 (libc_feholdsetroundf_ctx): Likewise.
65024 (libc_feresetroundf_ctx): Likewise.
65025 (libc_feholdexcept_setround_ctx): Likewise.
65026 (libc_fesetenv_ctx): Likewise.
65027 (libc_feupdateenv_ctx): Likewise.
65028 (libc_feholdsetround_ctx): Likewise.
65029 (libc_feresetround_ctx): Likewise.
65030 (libc_feholdexcept_setroundl_ctx): Likewise.
65031 (libc_feupdateenvl_ctx): Likewise.
65032 (libc_feholdsetroundl_ctx): Likewise.
65033 (libc_feresetroundl_ctx): Likewise.
65034 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65035 (libc_feresetround_53bit_ctx): Likewise.
65036
65037 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65038
65039 * locale/iso-639.def: Convert to UTF-8.
65040
65041 2013-06-11 Joseph Myers <joseph@codesourcery.com>
65042
65043 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65044 (EXCEPTION_TESTS_double): Likewise.
65045 (EXCEPTION_TESTS_long_double): Likewise.
65046 (EXCEPTION_TESTS): Likewise.
65047 * math/libm-test.inc (test_exceptions): Only test exceptions if
65048 EXCEPTION_TESTS (FLOAT).
65049
65050 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65051
65052 * benchtests/Makefile (string-bench): Add strcpy_chk and
65053 stpcpy_chk.
65054 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65055 * benchtests/bench-stpcpy_chk.c: New file.
65056 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65057 * benchtests/bench-strcpy_chk.c: New file.
65058 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65059 code.
65060 (do_test): Likewise.
65061
65062 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65063
65064 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65065 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65066 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65067 with tabs where appropriate.
65068 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65069 dl-procinfo.h.
65070 [PPC_PLATFORM_PPC440]: Likewise.
65071 [PPC_PLATFORM_PPC464]: Likewise.
65072 [PPC_PLATFORM_PPC476]: Likewise.
65073 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65074 ppc464, and ppc476 platform strings merging from ports/
65075 dl-procinfo.h.
65076
65077 2013-06-11 Andreas Schwab <schwab@suse.de>
65078
65079 [BZ #14991]
65080 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65081 (from_ucs4_idx): Regenerate.
65082 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65083 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65084 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65085 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65086 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65087 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65088 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65089 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65090 from FROM_LOOP and TO_LOOP specific macros.
65091 (BODY): Handle combining characters.
65092 * iconvdata/BIG5HKSCS.irreversible: Update.
65093 * iconvdata/BIG5HKSCS.precomposed: New file.
65094 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65095 characters.
65096 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65097
65098 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65099
65100 * include/sys/time.h: Fix indentation and add copyright header.
65101
65102 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65103 (do_test): Likewise.
65104 * string/test-memchr.c (do_one_test): Likewise.
65105 (do_test): Likewise.
65106 * string/test-memcmp.c (do_one_test): Likewise.
65107 (do_test): Likewise.
65108 * string/test-memcpy.c (do_one_test): Likewise.
65109 (do_test): Likewise.
65110 * string/test-memmem.c (do_one_test): Likewise.
65111 (do_test): Likewise.
65112 (do_random_tests): Likewise.
65113 * string/test-memmove.c (do_one_test): Likewise.
65114 (do_test): Likewise.
65115 * string/test-memset.c (do_one_test): Likewise.
65116 (do_test): Likewise.
65117 * string/test-rawmemchr.c (do_one_test): Likewise.
65118 (do_test): Likewise.
65119 * string/test-strcasecmp.c (do_one_test): Likewise.
65120 (do_test): Likewise.
65121 * string/test-strcasestr.c (do_one_test): Likewise.
65122 (do_test): Likewise.
65123 * string/test-strcat.c (do_one_test): Likewise.
65124 (do_test): Likewise.
65125 * string/test-strchr.c (do_one_test): Likewise.
65126 (do_test): Likewise.
65127 * string/test-strcmp.c (do_one_test): Likewise.
65128 (do_test): Likewise.
65129 * string/test-strcpy.c (do_one_test): Likewise.
65130 (do_test): Likewise.
65131 * string/test-string.h: Likewise.
65132 (test_init): Likewise.
65133 * string/test-strlen.c (do_one_test): Likewise.
65134 (do_test): Likewise.
65135 * string/test-strncasecmp.c (do_one_test): Likewise.
65136 (do_test): Likewise.
65137 * string/test-strncat.c (do_one_test): Likewise.
65138 (do_test): Likewise.
65139 * string/test-strncmp.c (do_one_test): Likewise.
65140 (do_test_limit): Likewise.
65141 (do_test): Likewise.
65142 * string/test-strncpy.c (do_one_test): Likewise.
65143 (do_test): Likewise.
65144 * string/test-strnlen.c (do_one_test): Likewise.
65145 (do_test): Likewise.
65146 * string/test-strpbrk.c (do_one_test): Likewise.
65147 (do_test): Likewise.
65148 * string/test-strrchr.c (do_one_test): Likewise.
65149 (do_test): Likewise.
65150 * string/test-strspn.c (do_one_test): Likewise.
65151 (do_test): Likewise.
65152 * string/test-strstr.c (do_one_test): Likewise.
65153 (do_test): Likewise.
65154
65155 * benchtests/Makefile (string-bench): Add string benchmarks.
65156 * benchtests/bench-bcopy-ifunc.c: New file.
65157 * benchtests/bench-bcopy.c: New file.
65158 * benchtests/bench-bzero-ifunc.c: New file.
65159 * benchtests/bench-bzero.c: New file.
65160 * benchtests/bench-memccpy-ifunc.c: New file.
65161 * benchtests/bench-memccpy.c: New file.
65162 * benchtests/bench-memchr-ifunc.c: New file.
65163 * benchtests/bench-memchr.c: New file.
65164 * benchtests/bench-memcmp-ifunc.c: New file.
65165 * benchtests/bench-memcmp.c: New file.
65166 * benchtests/bench-memmem-ifunc.c: New file.
65167 * benchtests/bench-memmem.c: New file.
65168 * benchtests/bench-memmove-ifunc.c: New file.
65169 * benchtests/bench-memmove.c: New file.
65170 * benchtests/bench-mempcpy-ifunc.c: New file.
65171 * benchtests/bench-mempcpy.c: New file.
65172 * benchtests/bench-memset-ifunc.c: New file.
65173 * benchtests/bench-memset.c: New file.
65174 * benchtests/bench-rawmemchr-ifunc.c: New file.
65175 * benchtests/bench-rawmemchr.c: New file.
65176 * benchtests/bench-stpcpy-ifunc.c: New file.
65177 * benchtests/bench-stpcpy.c: New file.
65178 * benchtests/bench-stpncpy-ifunc.c: New file.
65179 * benchtests/bench-stpncpy.c: New file.
65180 * benchtests/bench-strcasecmp-ifunc.c: New file.
65181 * benchtests/bench-strcasecmp.c: New file.
65182 * benchtests/bench-strcasestr-ifunc.c: New file.
65183 * benchtests/bench-strcasestr.c: New file.
65184 * benchtests/bench-strcat-ifunc.c: New file.
65185 * benchtests/bench-strcat.c: New file.
65186 * benchtests/bench-strchr-ifunc.c: New file.
65187 * benchtests/bench-strchr.c: New file.
65188 * benchtests/bench-strchrnul-ifunc.c: New file.
65189 * benchtests/bench-strchrnul.c: New file.
65190 * benchtests/bench-strcmp-ifunc.c: New file.
65191 * benchtests/bench-strcmp.c: New file.
65192 * benchtests/bench-strcpy-ifunc.c: New file.
65193 * benchtests/bench-strcpy.c: New file.
65194 * benchtests/bench-strcspn-ifunc.c: New file.
65195 * benchtests/bench-strcspn.c: New file.
65196 * benchtests/bench-strlen-ifunc.c: New file.
65197 * benchtests/bench-strlen.c: New file.
65198 * benchtests/bench-strncasecmp-ifunc.c: New file.
65199 * benchtests/bench-strncasecmp.c: New file.
65200 * benchtests/bench-strncat-ifunc.c: New file.
65201 * benchtests/bench-strncat.c: New file.
65202 * benchtests/bench-strncmp-ifunc.c: New file.
65203 * benchtests/bench-strncmp.c: New file.
65204 * benchtests/bench-strncpy-ifunc.c: New file.
65205 * benchtests/bench-strncpy.c: New file.
65206 * benchtests/bench-strnlen-ifunc.c: New file.
65207 * benchtests/bench-strnlen.c: New file.
65208 * benchtests/bench-strpbrk-ifunc.c: New file.
65209 * benchtests/bench-strpbrk.c: New file.
65210 * benchtests/bench-strrchr-ifunc.c: New file.
65211 * benchtests/bench-strrchr.c: New file.
65212 * benchtests/bench-strspn-ifunc.c: New file.
65213 * benchtests/bench-strspn.c: New file.
65214 * benchtests/bench-strstr-ifunc.c: New file.
65215 * benchtests/bench-strstr.c: New file.
65216
65217 * benchtests/Makefile: Disable parallel execution of targets.
65218 (string-bench): Add memcpy.
65219 (benchset): New variable to store a list of benchmark sets.
65220 (bench-func): Renamed from bench.
65221 (bench-set): New target.
65222 (bench): Depend on bench-func and bench-set.
65223 * benchtests/README: Add section on benchmark sets.
65224 * benchtests/bench-memcpy-ifunc.c: New file.
65225 * benchtests/bench-memcpy.c: New file.
65226 * benchtests/bench-string.h: New file.
65227
65228 2013-06-11 Andreas Schwab <schwab@suse.de>
65229
65230 [BZ #15577]
65231 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65232 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65233 values in the triple.
65234 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65235 terminator in the group key.
65236
65237 2013-06-11 Andreas Jaeger <aj@suse.de>
65238
65239 * po/zh_TW.po: Update Chinese (traditional) translation from
65240 translation project.
65241
65242 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65243
65244 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65245 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65246 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65248 (clock_getcpuclockid): Likewise.
65249 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65250 Add weak_alias and libc_hidden_def.
65251 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65252 * rt/clock_gettime.c (clock_gettime): Rename to
65253 __clock_gettime. Add weak_alias and libc_hidden_def.
65254 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65255 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65256 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65257 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65258 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65259 Likewise.
65260 * rt/clock_settime.c (clock_settime): Rename to
65261 __clock_settime. Add weak_alias and libc_hidden_def.
65262 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65263
65264 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65265
65266 * mach/err_boot.sub: Remove trailing whitespace.
65267 * mach/err_ipc.sub: Likewise.
65268 * mach/err_mach.sub: Likewise.
65269
65270 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65271 (ROUNDING_TESTS_double): Likewise.
65272 (ROUNDING_TESTS_long_double): Likewise.
65273 (ROUNDING_TESTS): Likewise.
65274 * math/libm-test.inc: Include <math-tests.h>.
65275 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65276 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65277 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65278 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65279
65280 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65281
65282 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65283 of assigning.
65284
65285 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65286
65287 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65288 otherwise empty TRANS lines.
65289 * sysdeps/gnu/errlist.c: Regenerated.
65290
65291 * catgets/gencat.c (error_print): Use (void) in function
65292 definition.
65293 * crypt/crypt_util.c (__init_des): Likewise.
65294 * crypt/speeds.c (Stop): Likewise.
65295 (main): Likewise.
65296 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65297 * inet/ruserpass.c (token): Likewise.
65298 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65299 * intl/localealias.c (extend_alias_table): Likewise.
65300 * intl/plural-exp.c (init_germanic_plural): Likewise.
65301 * libio/fcloseall.c (__fcloseall): Likewise.
65302 * libio/genops.c (_IO_flush_all): Likewise.
65303 (_IO_flush_all_linebuffered): Likewise.
65304 (_IO_cleanup): Likewise.
65305 (_IO_iter_begin): Likewise.
65306 (_IO_iter_end): Likewise.
65307 (_IO_list_lock): Likewise.
65308 (_IO_list_unlock): Likewise.
65309 (_IO_list_resetlock): Likewise.
65310 * libio/getchar.c (getchar): Likewise.
65311 * libio/getchar_u.c (getchar_unlocked): Likewise.
65312 * libio/getwchar.c (getwchar): Likewise.
65313 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65314 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65315 * login/getpt.c (__getpt): Likewise.
65316 * login/tst-utmp.c (main): Likewise.
65317 * malloc/hooks.c (__malloc_check_init): Likewise.
65318 * malloc/malloc.c (__malloc_stats): Likewise.
65319 * malloc/mtrace.c (tr_break): Likewise.
65320 (mtrace): Likewise.
65321 (muntrace): Likewise.
65322 * misc/fstab.c (endfsent): Likewise.
65323 * misc/getclktck.c (__getclktck): Likewise.
65324 * misc/getdtsz.c (__getdtablesize): Likewise.
65325 * misc/gethostid.c (gethostid): Likewise.
65326 * misc/getpagesize.c (__getpagesize): Likewise.
65327 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65328 (__get_nprocs): Likewise.
65329 (__get_phys_pages): Likewise.
65330 (__get_avphys_pages): Likewise.
65331 * misc/getttyent.c (getttyent): Likewise.
65332 (setttyent): Likewise.
65333 (endttyent): Likewise.
65334 * misc/getusershell.c (getusershell): Likewise.
65335 (endusershell): Likewise.
65336 (setusershell): Likewise.
65337 (initshells): Likewise.
65338 * misc/hsearch.c (__hdestroy): Likewise.
65339 * misc/sync.c (sync): Likewise.
65340 * misc/syslog.c (closelog_internal): Likewise.
65341 (closelog): Likewise.
65342 * misc/ttyslot.c (ttyslot): Likewise.
65343 * misc/vhangup.c (vhangup): Likewise.
65344 * posix/fork.c (__fork): Likewise.
65345 * posix/getegid.c (__getegid): Likewise.
65346 * posix/geteuid.c (__geteuid): Likewise.
65347 * posix/getgid.c (__getgid): Likewise.
65348 * posix/getpid.c (__getpid): Likewise.
65349 * posix/getppid.c (__getppid): Likewise.
65350 * posix/getuid.c (__getuid): Likewise.
65351 * posix/pause.c (pause): Likewise.
65352 * posix/setpgrp.c (setpgrp): Likewise.
65353 * posix/setsid.c (__setsid): Likewise.
65354 * posix/test-vfork.c (noop): Likewise.
65355 * resolv/gethnamaddr.c (_endhtent): Likewise.
65356 (_gethtent): Likewise.
65357 (ht_endhostent): Likewise.
65358 (gethostent): Likewise.
65359 (dns_service): Likewise.
65360 * stdlib/drand48.c (drand48): Likewise.
65361 * stdlib/lrand48.c (lrand48): Likewise.
65362 * stdlib/mrand48.c (mrand48): Likewise.
65363 * stdlib/rand.c (rand): Likewise.
65364 * stdlib/random.c (__random): Likewise.
65365 * stdlib/setenv.c (clearenv): Likewise.
65366 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65367 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65368 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65369 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65370 (__get_nprocs): Likewise.
65371 (__get_phys_pages): Likewise.
65372 (__get_avphys_pages): Likewise.
65373 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65374 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65375 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65376 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65377 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65378 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65379 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65380 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65381 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65382 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65383 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65384 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65385 * sysdeps/posix/clock.c (clock): Likewise.
65386 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65387 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65388 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65389 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65390 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65392 (__get_nprocs_conf): Likewise.
65393 (__get_phys_pages): Likewise.
65394 (__get_avphys_pages): Likewise.
65395 * time/clock.c (clock): Likewise.
65396 * time/tzset.c (__tzname_max): Likewise.
65397
65398 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65399
65400 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65401 (__bswap_32): Do not use "register".
65402 * crypt/crypt.c (_ufc_doit_r): Likewise.
65403 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65404 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65405 * gmon/gmon.c (__monstartup): Likewise.
65406 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65407 * hurd/hurdmalloc.c (more_memory): Likewise.
65408 (malloc): Likewise.
65409 (free): Likewise.
65410 (realloc): Likewise.
65411 (malloc_fork_prepare): Likewise.
65412 (malloc_fork_parent): Likewise.
65413 (malloc_fork_child): Likewise.
65414 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65415 (_svcauth_des): Likewise.
65416 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65417 * inet/inet_net.c (inet_network): Likewise.
65418 * inet/inet_netof.c (inet_netof): Likewise.
65419 * inet/rcmd.c (__validuser2_sa): Likewise.
65420 * io/fts.c (fts_open): Likewise.
65421 (fts_load): Likewise.
65422 (fts_close): Likewise.
65423 (fts_read): Likewise.
65424 (fts_children): Likewise.
65425 (fts_build): Likewise.
65426 (fts_stat): Likewise.
65427 (fts_sort): Likewise.
65428 (fts_alloc): Likewise.
65429 (fts_lfree): Likewise.
65430 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65431 (_IO_file_xsgetn): Likewise.
65432 (_IO_file_xsgetn_mmap): Likewise.
65433 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65434 (_IO_cookie_write): Likewise.
65435 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65436 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65437 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65438 * malloc/obstack.c (_obstack_begin): Likewise.
65439 (_obstack_begin_1): Likewise.
65440 (_obstack_newchunk): Likewise.
65441 (_obstack_allocated_p): Likewise.
65442 (obstack_free): Likewise.
65443 (_obstack_memory_used): Likewise.
65444 * misc/getttyent.c (getttynam): Likewise.
65445 (getttyent): Likewise.
65446 (skip): Likewise.
65447 (value): Likewise.
65448 * misc/getusershell.c (initshells): Likewise.
65449 * misc/syslog.c (__vsyslog_chk): Likewise.
65450 * misc/ttyslot.c (ttyslot): Likewise.
65451 * nis/nis_hash.c (__nis_hash): Likewise.
65452 * posix/fnmatch_loop.c (FCT): Likewise.
65453 * posix/getconf.c (print_all): Likewise.
65454 (main): Likewise.
65455 * posix/getopt.c (exchange): Likewise.
65456 * posix/glob.c (globfree): Likewise.
65457 (prefix_array): Likewise.
65458 (__glob_pattern_type): Likewise.
65459 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65460 (NS_GET32): Likewise.
65461 (NS_PUT16): Likewise.
65462 (NS_PUT32): Likewise.
65463 * resolv/gethnamaddr.c (getanswer): Likewise.
65464 (gethostbyname2): Likewise.
65465 (gethostbyaddr): Likewise.
65466 (_gethtent): Likewise.
65467 (_gethtbyname2): Likewise.
65468 (_gethtbyaddr): Likewise.
65469 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65470 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65471 * resolv/res_init.c (__res_vinit): Likewise.
65472 (net_mask): Likewise.
65473 * resolv/res_mkquery.c (outchar): Likewise.
65474 (PRINT): Likewise.
65475 * stdio-common/printf_fp.c (outchar): Likewise.
65476 (PRINT): Likewise.
65477 * stdio-common/printf_fphex.c (outchar): Likewise.
65478 (PRINT): Likewise.
65479 * stdio-common/printf_size.c (outchar): Likewise.
65480 (PRINT): Likewise.
65481 * stdio-common/test_rdwr.c (main): Likewise.
65482 * stdio-common/tfformat.c (matches): Likewise.
65483 * stdio-common/vfprintf.c (outchar): Likewise.
65484 (printf_unknown): Likewise.
65485 (buffered_vfprintf): Likewise.
65486 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65487 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65488 (ReadFile): Likewise.
65489 * stdlib/qsort.c (SWAP): Likewise.
65490 (_quicksort): Likewise.
65491 * stdlib/setenv.c (__add_to_environ): Likewise.
65492 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65493 * stdlib/strtol_l.c (__strtol_l): Likewise.
65494 * stdlib/tst-strtod.c (main): Likewise.
65495 * stdlib/tst-strtol.c (main): Likewise.
65496 * stdlib/tst-strtoll.c (main): Likewise.
65497 * string/bits/string2.h (__strcmp_cc): Likewise.
65498 (__strcmp_cg): Likewise.
65499 (__strcspn_c1): Likewise.
65500 (__strcspn_c2): Likewise.
65501 (__strcspn_c3): Likewise.
65502 (__strspn_c1): Likewise.
65503 (__strspn_c2): Likewise.
65504 (__strspn_c3): Likewise.
65505 (__strsep_1c): Likewise.
65506 (__strsep_2c): Likewise.
65507 (__strsep_3c): Likewise.
65508 * string/memccpy.c (__memccpy): Likewise.
65509 * string/stpcpy.c (__stpcpy): Likewise.
65510 * string/strcmp.c (strcmp): Likewise.
65511 * string/strrchr.c (strrchr): Likewise.
65512 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65513 Likewise.
65514 * sysdeps/mach/hurd/getcwd.c
65515 (_hurd_canonicalize_directory_name_internal): Likewise.
65516 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65517 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65518 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65519 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65520 Likewise, in both definitions.
65521 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65522 definitions.
65523 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65524 64] (__bswap_64): Likewise.
65525 * time/test_time.c (main): Likewise.
65526 * time/tzfile.c (__tzfile_read): Likewise.
65527 (__tzfile_compute): Likewise.
65528 * time/tzset.c (__tzset_parse_tz): Likewise.
65529 (tzset_internal): Likewise.
65530 (compute_change): Likewise.
65531 * wcsmbs/wcscat.c (__wcscat): Likewise.
65532 * wcsmbs/wcschr.c (wcschr): Likewise.
65533 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65534 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65535 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65536 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65537 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65538 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65539 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65540 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65541 * wcsmbs/wmemset.c (wmemset): Likewise.
65542
65543 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65544
65545 * scripts/config.guess: Update to version 2013-05-16.
65546 * scripts/config.sub: Update to version 2013-04-24.
65547 * scripts/install-sh: Update to version 2011-11-20.07.
65548 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65549 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65550
65551 2013-06-06 Ondƙej Bílka <neleai@seznam.cz>
65552
65553 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65554 * elf/sln.c: Likewise.
65555 * hurd/hurd/ioctl.h: Likewise.
65556 * hurd/hurdmalloc.c: Likewise.
65557 * hurd/xattr.c: Likewise.
65558 * include/shlib-compat.h: Likewise.
65559 * inet/ruserpass.c: Likewise.
65560 * libio/iofgets_u.c: Likewise.
65561 * libio/iofgetws_u.c: Likewise.
65562 * locale/programs/ld-identification.c: Likewise.
65563 * locale/programs/ld-time.c: Likewise.
65564 * mach/msg-destroy.c: Likewise.
65565 * nss/nss_files/files-netgrp.c: Likewise.
65566 * resolv/res_data.c: Likewise.
65567 * soft-fp/op-1.h: Likewise.
65568 * soft-fp/op-2.h: Likewise.
65569 * soft-fp/op-4.h: Likewise.
65570 * soft-fp/op-common.h: Likewise.
65571 * stdio-common/printf_fphex.c: Likewise.
65572 * stdlib/strtod_l.c: Likewise.
65573 * sunrpc/rpc/clnt.h: Likewise.
65574 * sysdeps/generic/framestate.c: Likewise.
65575 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65576 * sysdeps/i386/bsd-setjmp.S: Likewise.
65577 * sysdeps/i386/__longjmp.S: Likewise.
65578 * sysdeps/i386/setjmp.S: Likewise.
65579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65582 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65588 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65589 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65590 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65591 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65592 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65593 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65595 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65596 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65597 * sysdeps/ieee754/support.c: Likewise.
65598 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65599 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65600 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65601 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65602 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65603 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65604 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65605 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65606 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65607 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65609 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65610 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65611 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65612 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65613 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65614 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65616
65617 2013-06-05 Ondƙej Bílka <neleai@seznam.cz>
65618
65619 * posix/transbug.c: Remove executable mode.
65620
65621 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65622
65623 * crypt/speeds.c: Remove trailing whitespace.
65624 * dlfcn/default.c: Likewise.
65625 * elf/ifuncdep2.c: Likewise.
65626 * elf/ifuncmain1.c: Likewise.
65627 * elf/ifuncmain1vis.c: Likewise.
65628 * elf/testobj.h: Likewise.
65629 * elf/tst-stackguard1.c: Likewise.
65630 * gmon/sys/gmon.h: Likewise.
65631 * hurd/hurdmsg.c: Likewise.
65632 * hurd/new-fd.c: Likewise.
65633 * hurd/ports-get.c: Likewise.
65634 * iconvdata/ibm1008_420.c: Likewise.
65635 * inet/tst-getni1.c: Likewise.
65636 * inet/tst-getni2.c: Likewise.
65637 * libio/ioungetc.c: Likewise.
65638 * libio/wfiledoalloc.c: Likewise.
65639 * manual/libm-err-tab.pl: Likewise.
65640 * math/w_dremf.c: Likewise.
65641 * misc/ftruncate.c: Likewise.
65642 * posix/bug-glob2.c: Likewise.
65643 * posix/tst-pcre.c: Likewise.
65644 * posix/wait4.c: Likewise.
65645 * resolv/README: Likewise.
65646 * resolv/res_debug.h: Likewise.
65647 * resolv/tst-inet_ntop.c: Likewise.
65648 * setjmp/bug269-setjmp.c: Likewise.
65649 * soft-fp/extended.h: Likewise.
65650 * soft-fp/op-1.h: Likewise.
65651 * soft-fp/op-2.h: Likewise.
65652 * soft-fp/op-4.h: Likewise.
65653 * soft-fp/op-8.h: Likewise.
65654 * soft-fp/testit.c: Likewise.
65655 * stdio-common/bug16.c: Likewise.
65656 * stdlib/random.c: Likewise.
65657 * sunrpc/rpcsvc/rquota.x: Likewise.
65658 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65659 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65661 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65662 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65663 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65664 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65668 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65673 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65674 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65680 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65682 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65687 * sysdeps/ieee754/s_lib_version.c: Likewise.
65688 * sysdeps/mach/hurd/check_fds.c: Likewise.
65689 * sysdeps/mach/hurd/getsockname.c: Likewise.
65690 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65691 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65692 * sysdeps/powerpc/bits/link.h: Likewise.
65693 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65694 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65695 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65696 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65697 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65698 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65699 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65700 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65701 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65702 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65703 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65704 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65705 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65706 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65707 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65708 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65709 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65714 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65716 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65717 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65722 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65723 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65726 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65727 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65728 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65729 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65730 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65731 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65732 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65733 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65734 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65735 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65736 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65737 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65738 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65739 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65740 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65741 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65742 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65745 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65746 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65747 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65748 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65749 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65751 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65753 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65755 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65757 * sysdeps/powerpc/sysdep.h: Likewise.
65758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65759 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65760 * sysdeps/sh/dl-trampoline.S: Likewise.
65761 * sysdeps/sh/memset.S: Likewise.
65762 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65763 * sysdeps/sh/strlen.S: Likewise.
65764 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65765 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65766 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65767 * sysdeps/sparc/sparc32/rem.S: Likewise.
65768 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65769 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65770 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65771 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65772 * sysdeps/sparc/sparc32/urem.S: Likewise.
65773 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65775 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65776 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65777 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65778 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65779 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65780 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65781 * sysdeps/unix/bsd/times.c: Likewise.
65782 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65783 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65787 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65788 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65789 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65790 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65791 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65792 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65793 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65794 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65795 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65796 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65797 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65798 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65799 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65800 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65801 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65802 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65803 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65804 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65805 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65806 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65807 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65808 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65809 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65810 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65811 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65812 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65813 * sysdeps/x86_64/strcspn.S: Likewise.
65814
65815 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65816
65817 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65818 generated file. Regenerate properly from gen-translit.pl.
65819 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65820 locale/C-translit.h.
65821
65822 2013-06-05 Andreas Schwab <schwab@suse.de>
65823
65824 [BZ #15100]
65825 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65826 week as 6 instead of -1.
65827 * time/tst-strptime.c (day_tests): Add test case.
65828
65829 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65830
65831 * sysdeps/generic/math_private.h
65832 (libc_feholdexcept_setround_53bit): Replace with
65833 libc_feholdsetround_53bit.
65834 (libc_feupdateenv_53bit): Replace with
65835 libc_feresetround_53bit.
65836 (SET_RESTORE_ROUND_53BIT): Adjust.
65837
65838 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65839
65840 * string/test-strchrnul.c: Add copyright header.
65841
65842 * posix/tst-getaddrinfo4.c: Increase test timeout.
65843
65844 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65845
65846 [BZ #15536]
65847 * math/libm-test.inc (MAX_EXP): Remove
65848 (MIN_EXP): Define.
65849 (ulp): Use MIN_EXP - MANT_DIG.
65850 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65851
65852 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65853
65854 * po/be.po: Revert last change.
65855 * po/zh_CN.po: Likewise.
65856 * po/header.pot: Likewise.
65857
65858 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65859
65860 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65861 link-libc-deps to empty as target-specific variable.
65862 * Makerules (link-libc-args): New variable.
65863 (libc-for-link): Likewise.
65864 (link-libc-deps): Likewise.
65865 (lib%.so): Depend on $(link-libc-deps). Link with
65866 $(link-libc-args).
65867 (build-module): Link with $(link-libc-args).
65868 (build-module-asneeded): Likewise.
65869 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65870 list of objects.
65871 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65872 target-specific variable.
65873 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65874 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65875 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65876 libc.
65877 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65878 libc and ld.so.
65879 ($(objpfx)libpcprofile.so): Likewise.
65880 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65881 libc_nonshared.a.
65882 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65883 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65884 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65885 $(link-libc-deps).
65886 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65887 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65888 * login/Makefile ($(objpfx)libutil.so): Likewise.
65889 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65890 * math/Makefile ($(objpfx)libm.so): Likewise.
65891 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65892 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65893 variable instead of depending directly on libc.
65894 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65895 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65896 $(link-libc-deps).
65897 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65898 libc.
65899 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65900 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65901 ($(objpfx)libanl.so): Likewise.
65902 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65903 ld.so.
65904 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65905 $(link-libc-deps).
65906 * sysdeps/i386/fpu/Makefile: Remove file.
65907 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65908 ($(objpfx)libm.so): Remove dependency on ld.so.
65909
65910 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65911
65912 [BZ # 15553]
65913 * nis/yp_xdr.c (XDRMAXNAME): Define.
65914 (XDRMAXRECORD): Define.
65915 (xdr_domainname): Use XDRMAXNAME.
65916 (xdr_mapname): Likewise.
65917 (xdr_peername): Likewise.
65918 (xdr_keydat): Use XDRMAXRECORD.
65919 (xdr_valdat): Likewise.
65920
65921 2013-05-30 Jeff Law <law@redhat.com>
65922
65923 [BZ #14256]
65924 * manual/errno.texi (ESTALE): Update to account for more than
65925 just NFS file systems.
65926 * sysdeps/gnu/errlist.c: Regenerated.
65927
65928 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65929
65930 [BZ #15465]
65931 * elf/Makefile (tests): Add tst-null-argv.
65932 (modules-names): Add tst-null-argv-lib.
65933 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65934 (tst-null-argv-ENV): Set environment for tst-null-argv.
65935 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65936 (RTLD_PROGNAME): New macro.
65937 * elf/tst-null-argv.c: New test case.
65938 * elf/tst-null-argv-lib.c: Library for test case.
65939 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65940 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65941 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65942 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65943 * elf/dl-init.c (call_init): Likewise.
65944 (_dl_init): Likewise.
65945 * elf/dl-load.c (print_search_path): Likewise.
65946 (_dl_map_object): Likewise.
65947 * elf/dl-lookup.c (do_lookup_x): Likewise.
65948 (add_dependency): Likewise.
65949 (_dl_lookup_symbol_x): Likewise.
65950 (_dl_debug_bindings): Likewise.
65951 * elf/dl-open.c (_dl_show_scope): Likewise.
65952 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65953 * elf/dl-version.c (match_symbol): Likewise.
65954 (_dl_check_map_versions): Likewise.
65955 * elf/rtld.c (dl_main): Likewise.
65956 (print_unresolved): Use RTLD_PROGNAME.
65957 (print_missing_version): Likewise.
65958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65959 (elf_machine_rela): Likewise.
65960 * sysdeps/powerpc/powerpc32/dl-machine.c
65961 (__process_machine_rela): Likewise.
65962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65963 Likewise.
65964 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65965 Likewise.
65966 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65967 Likewise.
65968 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65969 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65970 Likewise.
65971 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65972 Likewise.
65973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65974
65975 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65976
65977 * po/be.po: Add descriptive title.
65978 * po/zh_CN.po: Likewise.
65979 * po/header.pot: Likewise.
65980
65981 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65982
65983 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65984 error message.
65985 (enlarge_archive): Likewise.
65986
65987 2013-05-28 Ben North <ben@redfrontdoor.org>
65988
65989 * manual/arith.texi (frexp): It is the magnitude of the return
65990 value which lies in [0.5, 1), not the return value itself.
65991
65992 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65993
65994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65995
65996 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65997
65998 * stdio-common/bug26.c (main): Correct fscanf template.
65999
66000 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66001 declare _dl_skip_args.
66002
66003 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66004 Don't declare.
66005
66006 * manual/platform.texi: Add missing @end deftypefun.
66007
66008 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66009
66010 [BZ #15529]
66011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66012 bit of mantissa of 2^16382.
66013 * math/libm-test.inc (hypot_test_data): Add more tests.
66014
66015 * math/libm-test.inc: Add drem and pow10 to list of tested
66016 functions.
66017 (pow10_test): New function.
66018 (drem_test): Likewise.
66019 (drem_test_tonearest): Likewise.
66020 (drem_test_towardzero): Likewise.
66021 (drem_test_downward): Likewise.
66022 (drem_test_upward): Likewise.
66023 (main): Call the new functions.
66024
66025 * math/libm-test.inc (finite_test_data): Remove.
66026 (finite_test): Run tests from isfinite_test_data.
66027 (gamma_test_data): Remove.
66028 (gamma_test): Run tests from lgamma_test_data.
66029 * sysdeps/i386/fpu/libm-test-ulps: Update.
66030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66031
66032 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66033
66034 * manual/platform.texi: Add PowerPC PPR function set documentation.
66035 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66036 implementation.
66037
66038 2013-05-24 Carlos O'Donell <carlos@redhat.com>
66039
66040 * math/libm-test.inc (MAX_EXP): Define.
66041 (ULPDIFF): Define.
66042 (ulp): New function.
66043 (check_float_internal): Use ULPDIFF.
66044 (cpow_test): Disable failing test.
66045 (check_ulp): Test ulp() implementation.
66046 (main): Call check_ulp before starting tests.
66047
66048 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66049
66050 * math/gen-libm-test.pl (generate_testfile): Do not handle
66051 START_DATA and END_DATA.
66052 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66053 END_DATA.
66054 (acos_tonearest_test_data): Likewise.
66055 (acos_towardzero_test_data): Likewise.
66056 (acos_downward_test_data): Likewise.
66057 (acos_upward_test_data): Likewise.
66058 (acosh_test_data): Likewise.
66059 (asin_test_data): Likewise.
66060 (asin_tonearest_test_data): Likewise.
66061 (asin_towardzero_test_data): Likewise.
66062 (asin_downward_test_data): Likewise.
66063 (asin_upward_test_data): Likewise.
66064 (asinh_test_data): Likewise.
66065 (atan_test_data): Likewise.
66066 (atanh_test_data): Likewise.
66067 (atan2_test_data): Likewise.
66068 (cabs_test_data): Likewise.
66069 (cacos_test_data): Likewise.
66070 (cacosh_test_data): Likewise.
66071 (carg_test_data): Likewise.
66072 (casin_test_data): Likewise.
66073 (casinh_test_data): Likewise.
66074 (catan_test_data): Likewise.
66075 (catanh_test_data): Likewise.
66076 (cbrt_test_data): Likewise.
66077 (ccos_test_data): Likewise.
66078 (ccosh_test_data): Likewise.
66079 (ceil_test_data): Likewise.
66080 (cexp_test_data): Likewise.
66081 (cimag_test_data): Likewise.
66082 (clog_test_data): Likewise.
66083 (clog10_test_data): Likewise.
66084 (conj_test_data): Likewise.
66085 (copysign_test_data): Likewise.
66086 (cos_test_data): Likewise.
66087 (cos_tonearest_test_data): Likewise.
66088 (cos_towardzero_test_data): Likewise.
66089 (cos_downward_test_data): Likewise.
66090 (cos_upward_test_data): Likewise.
66091 (cosh_test_data): Likewise.
66092 (cosh_tonearest_test_data): Likewise.
66093 (cosh_towardzero_test_data): Likewise.
66094 (cosh_downward_test_data): Likewise.
66095 (cosh_upward_test_data): Likewise.
66096 (cpow_test_data): Likewise.
66097 (cproj_test_data): Likewise.
66098 (creal_test_data): Likewise.
66099 (csin_test_data): Likewise.
66100 (csinh_test_data): Likewise.
66101 (csqrt_test_data): Likewise.
66102 (ctan_test_data): Likewise.
66103 (ctan_tonearest_test_data): Likewise.
66104 (ctan_towardzero_test_data): Likewise.
66105 (ctan_downward_test_data): Likewise.
66106 (ctan_upward_test_data): Likewise.
66107 (ctanh_test_data): Likewise.
66108 (ctanh_tonearest_test_data): Likewise.
66109 (ctanh_towardzero_test_data): Likewise.
66110 (ctanh_downward_test_data): Likewise.
66111 (ctanh_upward_test_data): Likewise.
66112 (erf_test_data): Likewise.
66113 (erfc_test_data): Likewise.
66114 (exp_test_data): Likewise.
66115 (exp_tonearest_test_data): Likewise.
66116 (exp_towardzero_test_data): Likewise.
66117 (exp_downward_test_data): Likewise.
66118 (exp_upward_test_data): Likewise.
66119 (exp10_test_data): Likewise.
66120 (exp2_test_data): Likewise.
66121 (expm1_test_data): Likewise.
66122 (fabs_test_data): Likewise.
66123 (fdim_test_data): Likewise.
66124 (finite_test_data): Likewise.
66125 (floor_test_data): Likewise.
66126 (fma_test_data): Likewise.
66127 (fma_towardzero_test_data): Likewise.
66128 (fma_downward_test_data): Likewise.
66129 (fma_upward_test_data): Likewise.
66130 (fmax_test_data): Likewise.
66131 (fmin_test_data): Likewise.
66132 (fmod_test_data): Likewise.
66133 (fpclassify_test_data): Likewise.
66134 (frexp_test_data): Likewise.
66135 (gamma_test_data): Likewise.
66136 (hypot_test_data): Likewise.
66137 (ilogb_test_data): Likewise.
66138 (isfinite_test_data): Likewise.
66139 (isgreater_test_data): Likewise.
66140 (isgreaterequal_test_data): Likewise.
66141 (isinf_test_data): Likewise.
66142 (isless_test_data): Likewise.
66143 (islessequal_test_data): Likewise.
66144 (islessgreater_test_data): Likewise.
66145 (isnan_test_data): Likewise.
66146 (isnormal_test_data): Likewise.
66147 (issignaling_test_data): Likewise.
66148 (isunordered_test_data): Likewise.
66149 (j0_test_data): Likewise.
66150 (j1_test_data): Likewise.
66151 (jn_test_data): Likewise.
66152 (ldexp_test_data): Likewise.
66153 (lgamma_test_data): Likewise.
66154 (lrint_test_data): Likewise.
66155 (lrint_tonearest_test_data): Likewise.
66156 (lrint_towardzero_test_data): Likewise.
66157 (lrint_downward_test_data): Likewise.
66158 (lrint_upward_test_data): Likewise.
66159 (llrint_test_data): Likewise.
66160 (llrint_tonearest_test_data): Likewise.
66161 (llrint_towardzero_test_data): Likewise.
66162 (llrint_downward_test_data): Likewise.
66163 (llrint_upward_test_data): Likewise.
66164 (log_test_data): Likewise.
66165 (log10_test_data): Likewise.
66166 (log1p_test_data): Likewise.
66167 (log2_test_data): Likewise.
66168 (logb_test_data): Likewise.
66169 (logb_downward_test_data): Likewise.
66170 (lround_test_data): Likewise.
66171 (llround_test_data): Likewise.
66172 (modf_test_data): Likewise.
66173 (nearbyint_test_data): Likewise.
66174 (nextafter_test_data): Likewise.
66175 (nexttoward_test_data): Likewise.
66176 (pow_test_data): Likewise.
66177 (pow_tonearest_test_data): Likewise.
66178 (pow_towardzero_test_data): Likewise.
66179 (pow_downward_test_data): Likewise.
66180 (pow_upward_test_data): Likewise.
66181 (remainder_test_data): Likewise.
66182 (remainder_tonearest_test_data): Likewise.
66183 (remainder_towardzero_test_data): Likewise.
66184 (remainder_downward_test_data): Likewise.
66185 (remainder_upward_test_data): Likewise.
66186 (remquo_test_data): Likewise.
66187 (rint_test_data): Likewise.
66188 (rint_tonearest_test_data): Likewise.
66189 (rint_towardzero_test_data): Likewise.
66190 (rint_downward_test_data): Likewise.
66191 (rint_upward_test_data): Likewise.
66192 (round_test_data): Likewise.
66193 (scalb_test_data): Likewise.
66194 (scalbn_test_data): Likewise.
66195 (scalbln_test_data): Likewise.
66196 (signbit_test_data): Likewise.
66197 (sin_test_data): Likewise.
66198 (sin_tonearest_test_data): Likewise.
66199 (sin_towardzero_test_data): Likewise.
66200 (sin_downward_test_data): Likewise.
66201 (sin_upward_test_data): Likewise.
66202 (sincos_test_data): Likewise.
66203 (sinh_test_data): Likewise.
66204 (sinh_tonearest_test_data): Likewise.
66205 (sinh_towardzero_test_data): Likewise.
66206 (sinh_downward_test_data): Likewise.
66207 (sinh_upward_test_data): Likewise.
66208 (sqrt_test_data): Likewise.
66209 (tan_test_data): Likewise.
66210 (tan_tonearest_test_data): Likewise.
66211 (tan_towardzero_test_data): Likewise.
66212 (tan_downward_test_data): Likewise.
66213 (tan_upward_test_data): Likewise.
66214 (tanh_test_data): Likewise.
66215 (tgamma_test_data): Likewise.
66216 (trunc_test_data): Likewise.
66217 (y0_test_data): Likewise.
66218 (y1_test_data): Likewise.
66219 (yn_test_data): Likewise.
66220 (significand_test_data): Likewise.
66221
66222 * math/gen-libm-test.pl (@functions): Remove variable.
66223 (generate_testfile): Don't handle START and END lines.
66224 * math/libm-test.inc (START): New macro.
66225 (END): Likewise.
66226 (END_COMPLEX): Likewise.
66227 (acos_test): Use END macro without arguments.
66228 (acos_test_tonearest): Likewise.
66229 (acos_test_towardzero): Likewise.
66230 (acos_test_downward): Likewise.
66231 (acos_test_upward): Likewise.
66232 (acosh_test): Likewise.
66233 (asin_test): Likewise.
66234 (asin_test_tonearest): Likewise.
66235 (asin_test_towardzero): Likewise.
66236 (asin_test_downward): Likewise.
66237 (asin_test_upward): Likewise.
66238 (asinh_test): Likewise.
66239 (atan_test): Likewise.
66240 (atanh_test): Likewise.
66241 (atan2_test): Likewise.
66242 (cabs_test): Likewise.
66243 (cacos_test): Use END_COMPLEX macro without arguments.
66244 (cacosh_test): Likewise.
66245 (carg_test): Use END macro without arguments.
66246 (casin_test): Use END_COMPLEX macro without arguments.
66247 (casinh_test): Likewise.
66248 (catan_test): Likewise.
66249 (catanh_test): Likewise.
66250 (cbrt_test): Use END macro without arguments.
66251 (ccos_test): Use END_COMPLEX macro without arguments.
66252 (ccosh_test): Likewise.
66253 (ceil_test): Use END macro without arguments.
66254 (cexp_test): Use END_COMPLEX macro without arguments.
66255 (cimag_test): Use END macro without arguments.
66256 (clog_test): Use END_COMPLEX macro without arguments.
66257 (clog10_test): Likewise.
66258 (conj_test): Likewise.
66259 (copysign_test): Use END macro without arguments.
66260 (cos_test): Likewise.
66261 (cos_test_tonearest): Likewise.
66262 (cos_test_towardzero): Likewise.
66263 (cos_test_downward): Likewise.
66264 (cos_test_upward): Likewise.
66265 (cosh_test): Likewise.
66266 (cosh_test_tonearest): Likewise.
66267 (cosh_test_towardzero): Likewise.
66268 (cosh_test_downward): Likewise.
66269 (cosh_test_upward): Likewise.
66270 (cpow_test): Use END_COMPLEX macro without arguments.
66271 (cproj_test): Likewise.
66272 (creal_test): Use END macro without arguments.
66273 (csin_test): Use END_COMPLEX macro without arguments.
66274 (csinh_test): Likewise.
66275 (csqrt_test): Likewise.
66276 (ctan_test): Likewise.
66277 (ctan_test_tonearest): Likewise.
66278 (ctan_test_towardzero): Likewise.
66279 (ctan_test_downward): Likewise.
66280 (ctan_test_upward): Likewise.
66281 (ctanh_test): Likewise.
66282 (ctanh_test_tonearest): Likewise.
66283 (ctanh_test_towardzero): Likewise.
66284 (ctanh_test_downward): Likewise.
66285 (ctanh_test_upward): Likewise.
66286 (erf_test): Use END macro without arguments.
66287 (erfc_test): Likewise.
66288 (exp_test): Likewise.
66289 (exp_test_tonearest): Likewise.
66290 (exp_test_towardzero): Likewise.
66291 (exp_test_downward): Likewise.
66292 (exp_test_upward): Likewise.
66293 (exp10_test): Likewise.
66294 (exp2_test): Likewise.
66295 (expm1_test): Likewise.
66296 (fabs_test): Likewise.
66297 (fdim_test): Likewise.
66298 (finite_test): Likewise.
66299 (floor_test): Likewise.
66300 (fma_test): Likewise.
66301 (fma_test_towardzero): Likewise.
66302 (fma_test_downward): Likewise.
66303 (fma_test_upward): Likewise.
66304 (fmax_test): Likewise.
66305 (fmin_test): Likewise.
66306 (fmod_test): Likewise.
66307 (fpclassify_test): Likewise.
66308 (frexp_test): Likewise.
66309 (gamma_test): Likewise.
66310 (hypot_test): Likewise.
66311 (ilogb_test): Likewise.
66312 (isfinite_test): Likewise.
66313 (isgreater_test): Likewise.
66314 (isgreaterequal_test): Likewise.
66315 (isinf_test): Likewise.
66316 (isless_test): Likewise.
66317 (islessequal_test): Likewise.
66318 (islessgreater_test): Likewise.
66319 (isnan_test): Likewise.
66320 (isnormal_test): Likewise.
66321 (issignaling_test): Likewise.
66322 (isunordered_test): Likewise.
66323 (j0_test): Likewise.
66324 (j1_test): Likewise.
66325 (jn_test): Likewise.
66326 (ldexp_test): Likewise.
66327 (lgamma_test): Likewise.
66328 (lrint_test): Likewise.
66329 (lrint_test_tonearest): Likewise.
66330 (lrint_test_towardzero): Likewise.
66331 (lrint_test_downward): Likewise.
66332 (lrint_test_upward): Likewise.
66333 (llrint_test): Likewise.
66334 (llrint_test_tonearest): Likewise.
66335 (llrint_test_towardzero): Likewise.
66336 (llrint_test_downward): Likewise.
66337 (llrint_test_upward): Likewise.
66338 (log_test): Likewise.
66339 (log10_test): Likewise.
66340 (log1p_test): Likewise.
66341 (log2_test): Likewise.
66342 (logb_test): Likewise.
66343 (logb_test_downward): Likewise.
66344 (lround_test): Likewise.
66345 (llround_test): Likewise.
66346 (modf_test): Likewise.
66347 (nearbyint_test): Likewise.
66348 (nextafter_test): Likewise.
66349 (nexttoward_test): Likewise.
66350 (pow_test): Likewise.
66351 (pow_test_tonearest): Likewise.
66352 (pow_test_towardzero): Likewise.
66353 (pow_test_downward): Likewise.
66354 (pow_test_upward): Likewise.
66355 (remainder_test): Likewise.
66356 (remainder_test_tonearest): Likewise.
66357 (remainder_test_towardzero): Likewise.
66358 (remainder_test_downward): Likewise.
66359 (remainder_test_upward): Likewise.
66360 (remquo_test): Likewise.
66361 (rint_test): Likewise.
66362 (rint_test_tonearest): Likewise.
66363 (rint_test_towardzero): Likewise.
66364 (rint_test_downward): Likewise.
66365 (rint_test_upward): Likewise.
66366 (round_test): Likewise.
66367 (scalb_test): Likewise.
66368 (scalbn_test): Likewise.
66369 (scalbln_test): Likewise.
66370 (signbit_test): Likewise.
66371 (sin_test): Likewise.
66372 (sin_test_tonearest): Likewise.
66373 (sin_test_towardzero): Likewise.
66374 (sin_test_downward): Likewise.
66375 (sin_test_upward): Likewise.
66376 (sincos_test): Likewise.
66377 (sinh_test): Likewise.
66378 (sinh_test_tonearest): Likewise.
66379 (sinh_test_towardzero): Likewise.
66380 (sinh_test_downward): Likewise.
66381 (sinh_test_upward): Likewise.
66382 (sqrt_test): Likewise.
66383 (tan_test): Likewise.
66384 (tan_test_tonearest): Likewise.
66385 (tan_test_towardzero): Likewise.
66386 (tan_test_downward): Likewise.
66387 (tan_test_upward): Likewise.
66388 (tanh_test): Likewise.
66389 (tgamma_test): Likewise.
66390 (trunc_test): Likewise.
66391 (y0_test): Likewise.
66392 (y1_test): Likewise.
66393 (yn_test): Likewise.
66394 (significand_test): Likewise.
66395
66396 2013-05-24 Ondƙej Bílka <neleai@seznam.cz>
66397
66398 [BZ #15381]
66399 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66400
66401 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66402
66403 [BZ #14894]
66404 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66405 __ppc_mdoio and __ppc_mdoom.
66406 * manual/platform.texi: Document new functions __ppc_yield,
66407 __ppc_mdoio and __ppc_mdoom.
66408
66409 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66410
66411 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66412 (main): Mention "tls" pseudo-hwcap is legacy.
66413 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66414
66415 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66416
66417 * math/gen-libm-test.pl (parse_args): Output only string of
66418 arguments as text for test name, not full call or descriptions of
66419 tests for extra outputs.
66420 (generate_testfile): Do not pass function name to parse_args.
66421 Generate this_func variable from START.
66422 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66423 field to arg_str.
66424 (struct test_ff_f_data): Likewise.
66425 (test_ff_f_data_nexttoward): Likewise.
66426 (struct test_fi_f_data): Likewise.
66427 (struct test_fl_f_data): Likewise.
66428 (struct test_if_f_data): Likewise.
66429 (struct test_fff_f_data): Likewise.
66430 (struct test_c_f_data): Likewise.
66431 (struct test_f_f1_data): Likewise. Remove field extra_name.
66432 (struct test_fF_f1_data): Likewise.
66433 (struct test_ffI_f1_data): Likewise.
66434 (struct test_c_c_data): Rename test_name field to arg_str.
66435 (struct test_cc_c_data): Likewise.
66436 (struct test_f_i_data): Likewise.
66437 (struct test_ff_i_data): Likewise.
66438 (struct test_f_l_data): Likewise.
66439 (struct test_f_L_data): Likewise.
66440 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66441 and extra2_name.
66442 (COMMON_TEST_SETUP): New macro.
66443 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66444 (COMMON_TEST_CLEANUP): Likewise.
66445 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66446 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66447 macros.
66448 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66449 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66450 macros.
66451 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66452 (RUN_TEST_fff_f): Take argument string. Call new setup and
66453 cleanup macros.
66454 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66455 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66456 macros.
66457 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66458 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66459 macros.
66460 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66461 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66462 cleanup macros.
66463 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66464 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66465 cleanup macros.
66466 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66467 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66468 cleanup macros.
66469 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66470 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66471 macros.
66472 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66473 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66474 macros.
66475 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66476 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66477 macros.
66478 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66479 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66480 cleanup macros.
66481 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66482 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66483 cleanup macros.
66484 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66485 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66486 macros.
66487 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66488 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66489 cleanup macros.
66490 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66491 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66492 macros.
66493 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66494 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66495 macros.
66496 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66497 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66498 cleanup macros.
66499 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66500
66501 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66502
66503 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66504 to _sifields.sigfault.
66505 (si_addr_lsb): Define new macro.
66506 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66508 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66509
66510 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66511
66512 [BZ #15441]
66513 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66514 returns -1.
66515 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66516 null return -1.
66517 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66518 loading the domain.
66519
66520 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66521
66522 * math/gen-libm-test.pl (parse_args): Do not include expected
66523 result in test name.
66524 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66527 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66530
66531 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66532
66533 * benchtests/Makefile: Sort function entries.
66534
66535 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66536 tanh, asinh, acosh, atanh.
66537 * benchtests/acos-inputs: New file.
66538 * benchtests/acosh-inputs: New file.
66539 * benchtests/asin-inputs: New file.
66540 * benchtests/asinh-inputs: New file.
66541 * benchtests/atanh-inputs: New file.
66542 * benchtests/cosh-inputs: New file.
66543 * benchtests/log-inputs: New file.
66544 * benchtests/sinh-inputs: New file.
66545 * benchtests/tanh-inputs: New file.
66546
66547 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66548
66549 [BZ #15339]
66550 * posix/tst-getaddrinfo4.c: New test.
66551 * posix/Makefile (tests): Add it.
66552
66553 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66554
66555 [BZ #15339]
66556 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66557 when no services were used.
66558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66559 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66560
66561 2013-05-21 Andreas Schwab <schwab@suse.de>
66562
66563 [BZ #15014]
66564 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66565 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66566 successful.
66567 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66568 redundant variable declarations and reallocation of buffer when
66569 parsing as IPv6 address. Always set NSS status when called from
66570 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66571 buffer too small. Correct computation of needed size.
66572 * nss/Makefile (tests): Add test-digits-dots.
66573 * nss/test-digits-dots.c: New test.
66574
66575 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66576
66577 * benchtests/Makefile: Remove instructions for adding
66578 benchmark tests.
66579 * benchtests/README: New file to explain how to execute and
66580 enhance the benchmark tests.
66581
66582 2013-05-21 Andreas Schwab <schwab@suse.de>
66583
66584 [BZ #15493]
66585 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66586 * setjmp/tst-sigsetjmp.c: New test.
66587
66588 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66589
66590 * sysdeps/x86_64/memset.S (memset): New implementation.
66591 (__bzero): Likewise.
66592 (__memset_tail): New function.
66593
66594 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66595
66596 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66597 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66598 __memcpy_sse2_unaligned ifunc selection.
66599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66600 Add memcpy-sse2-unaligned.S.
66601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66602 Add: __memcpy_sse2_unaligned.
66603
66604 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66605
66606 [BZ #15490]
66607 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66608 math_force_eval before restoring floating-point envrionment.
66609 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66611 Likewise.
66612 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66613 <math_private.h>.
66614 (__nearbyintl): Use math_force_eval before restoring
66615 floating-point environment.
66616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66617
66618 * math/gen-libm-test.pl (special_functions): Remove.
66619 (parse_args): Don't handle TEST_extra. Handle functions with no
66620 return value.
66621 * math/libm-test.inc (struct test_sincos_data): Replace with
66622 struct test_fFF_11_data.
66623 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66624 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66625 (sincos_test_data): Change element type to struct
66626 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66627 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66628 RUN_TEST_LOOP_sincos.
66629 * math/README.libm-test: Don't mention special handling of
66630 individual functions.
66631 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66633 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66634 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66635 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66637
66638 * math/gen-libm-test.pl (get_variable): Remove function.
66639 (parse_args): Don't show pointer parameters to call in test
66640 names. Use "extra output N" in test names for extra outputs
66641 rather than naming variables.
66642
66643 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66644
66645 [BZ #15488]
66646 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66647 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66648 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66649 double tests.
66650 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66651 disable.
66652 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66653 check_long_double.
66654
66655 * math/gen-libm-test.pl (@tests): Remove variable.
66656 ($count): Likewise.
66657 (new_test): Remove function.
66658 (show_exceptions): New function.
66659 (special_functions): Use show_exceptions instead of new_test.
66660 (parse_args): Likewise.
66661 (generate_testfile): Pass only function name in generated call to
66662 print_max_error or print_complex_max_error.
66663 (get_ulps): Do not handle complex tests specially.
66664 (output_test): Rename to ...
66665 (get_all_ulps_for_test): ... this. Return a string rather than
66666 printing to a file. Require ulps to be present.
66667 (output_ulps): Generate arrays rather than #defines.
66668 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66669 (struct ulp_data): New type.
66670 (BUILD_COMPLEX_ULP): Remove macro.
66671 (compare_ulp_data): New function.
66672 (find_ulps): Likewise.
66673 (find_test_ulps): Likewise.
66674 (find_function_ulps): Likewise.
66675 (find_complex_function_ulps): Likewise.
66676 (print_max_error): Determine allowed ulps using
66677 find_function_ulps.
66678 (print_complex_max_error): Determine allowed ulps using
66679 find_complex_function_ulps.
66680 (check_float_internal): Determine max ulps using find_test_ulps.
66681 (check_float): Do not take max_ulp parameter. Update call to
66682 check_float_internal.
66683 (check_complex): Likewise.
66684 (check_int): Do not take max_ulp parameter.
66685 (check_long): Likewise.
66686 (check_bool): Likewise.
66687 (check_longlong): Likewise.
66688 (struct test_f_f_data): Remove max_ulp field.
66689 (struct test_ff_f_data): Likewise.
66690 (struct test_ff_f_data_nexttoward): Likewise.
66691 (struct test_fi_f_data): Likewise.
66692 (struct test_fl_f_data): Likewise.
66693 (struct test_if_f_data): Likewise.
66694 (struct test_fff_f_data): Likewise.
66695 (struct test_c_f_data): Likewise.
66696 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66697 (struct test_fF_f1_data): Likewise.
66698 (struct test_ffI_f1_data): Likewise.
66699 (struct test_c_c_data): Remove max_ulp field.
66700 (struct test_cc_c_data): Likewise.
66701 (struct test_f_i_data): Likewise.
66702 (struct test_ff_i_data): Likewise.
66703 (struct test_f_l_data): Likewise.
66704 (struct test_f_L_data): Likewise.
66705 (struct test_sincos_data): Likewise.
66706 (RUN_TEST_f_f): Do not handle ulps.
66707 (RUN_TEST_LOOP_f_f): Likewise.
66708 (RUN_TEST_2_f): Likewise.
66709 (RUN_TEST_LOOP_2_f): Likewise.
66710 (RUN_TEST_fff_f): Likewise.
66711 (RUN_TEST_LOOP_fff_f): Likewise.
66712 (RUN_TEST_c_f): Likewise.
66713 (RUN_TEST_LOOP_c_f): Likewise.
66714 (RUN_TEST_f_f1): Likewise.
66715 (RUN_TEST_LOOP_f_f1): Likewise.
66716 (RUN_TEST_fF_f1): Likewise.
66717 (RUN_TEST_LOOP_fF_f1): Likewise.
66718 (RUN_TEST_fI_f1): Likewise.
66719 (RUN_TEST_LOOP_fI_f1): Likewise.
66720 (RUN_TEST_ffI_f1): Likewise.
66721 (RUN_TEST_LOOP_ffI_f1): Likewise.
66722 (RUN_TEST_c_c): Likewise.
66723 (RUN_TEST_LOOP_c_c): Likewise.
66724 (RUN_TEST_cc_c): Likewise.
66725 (RUN_TEST_LOOP_cc_c): Likewise.
66726 (RUN_TEST_f_i): Likewise.
66727 (RUN_TEST_LOOP_f_i): Likewise.
66728 (RUN_TEST_f_i_tg): Likewise.
66729 (RUN_TEST_LOOP_f_i_tg): Likewise.
66730 (RUN_TEST_ff_i_tg): Likewise.
66731 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66732 (RUN_TEST_f_b): Likewise.
66733 (RUN_TEST_LOOP_f_b): Likewise.
66734 (RUN_TEST_f_b_tg): Likewise.
66735 (RUN_TEST_LOOP_f_b_tg): Likewise.
66736 (RUN_TEST_f_l): Likewise.
66737 (RUN_TEST_LOOP_f_l): Likewise.
66738 (RUN_TEST_f_L): Likewise.
66739 (RUN_TEST_LOOP_f_L): Likewise.
66740 (RUN_TEST_sincos): Likewise.
66741 (RUN_TEST_LOOP_sincos): Likewise.
66742
66743 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66744
66745 [BZ #15480]
66746 [BZ #15485]
66747 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66748 main case of finite arguments, set rounding mode to FE_TONEAREST
66749 and discard exceptions.
66750 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66751 exceptions.
66752 (remainder_tonearest_test_data): New variable.
66753 (remainder_test_tonearest): New function.
66754 (remainder_towardzero_test_data): New variable.
66755 (remainder_test_towardzero): New function.
66756 (remainder_downward_test_data): New variable.
66757 (remainder_test_downward): New function.
66758 (remainder_upward_test_data): New variable.
66759 (remainder_test_upward): New function.
66760 (main): Call the new test functions.
66761
66762 * math/libm-test.inc (struct test_f_f1_data): Remove field
66763 extra_init.
66764 (struct test_fF_f1_data): Likewise.
66765 (struct test_ffI_f1_data): Likewise.
66766 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66767 based on value of EXTRA_EXPECTED.
66768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66769 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66770 EXTRA_VAR based on value of EXTRA_EXPECTED.
66771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66772 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66773 EXTRA_VAR based on value of EXTRA_EXPECTED.
66774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66775 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66776 EXTRA_VAR based on value of EXTRA_EXPECTED.
66777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66778 * math/gen-libm-test.pl (parse_args): Don't output initializers
66779 for extra output values.
66780
66781 * math/libm-test.inc (check_int): Expect result to be exactly
66782 equal to expected value and do not handle ulps.
66783 (check_long): Likewise.
66784 (check_longlong): Likewise.
66785
66786 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66787 exceptions.
66788 (cimag_test_data): Likewise.
66789 (conj_test_data): Likewise.
66790 (copysign_test_data): Likewise.
66791 (cproj_test_data): Likewise.
66792 (creal_test_data): Likewise.
66793 (fabs_test_data): Likewise.
66794 (fdim_test_data): Likewise.
66795 (finite_test_data): Likewise.
66796 (floor_test_data): Likewise.
66797 (fmax_test_data): Likewise.
66798 (fmin_test_data): Likewise.
66799 (fmod_test_data): Likewise.
66800 (fpclassify_test_data): Likewise.
66801 (frexp_test_data): Likewise.
66802 (ilogb_test_data): Likewise.
66803 (isfinite_test_data): Likewise.
66804 (isgreater_test_data): Likewise.
66805 (isgreaterequal_test_data): Likewise.
66806 (isinf_test_data): Likewise.
66807 (isless_test_data): Likewise.
66808 (islessequal_test_data): Likewise.
66809 (islessgreater_test_data): Likewise.
66810 (isnan_test_data): Likewise.
66811 (isnormal_test_data): Likewise.
66812 (issignaling_test_data): Likewise.
66813 (isunordered_test_data): Likewise.
66814 (ldexp_test_data): Likewise.
66815 (lrint_test_data): Likewise.
66816 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66817 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66818 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66819 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66820 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66821 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66822 test input.
66823 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66824 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66825 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66826 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66827 that test input.
66828 (lrint_downward_test_data): Test for "inexact" exceptions.
66829 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66830 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66831 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66832 test input.
66833 (lrint_upward_test_data): Test for "inexact" exceptions.
66834 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66835 test input.
66836 (llrint_test_data): Test for "inexact" exceptions.
66837 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66838 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66839 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66840 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66841 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66842 (llrint_downward_test_data): Test for "inexact" exceptions.
66843 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66844 (llrint_upward_test_data): Test for "inexact" exceptions.
66845 (logb_test_data): Likewise.
66846 (logb_downward_test_data): Likewise.
66847 (nextafter_test_data): Likewise.
66848 (nexttoward_test_data): Likewise.
66849 (remainder_test_data): Likewise.
66850 (remquo_test_data): Likewise.
66851 (scalbn_test_data): Likewise.
66852 (scalbln_test_data): Likewise.
66853 (signbit_test_data): Likewise.
66854 (sqrt_test_data): Likewise.
66855 (significand_test_data): Likewise.
66856
66857 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66858
66859 [BZ #15424]
66860 * benchtests/bench-modf.c (struct args): Mark arg0 as
66861 volatile.
66862 * scripts/bench.pl: Mark members of struct args as volatile.
66863
66864 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66865
66866 [BZ # 15497]
66867 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66868 negative infinity on POWER6 or lower.
66869 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66870
66871 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66872
66873 [BZ #15442]
66874 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66875 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66876 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66877 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66878 (_FP_SETQNAN): New macro.
66879 (_FP_SETQNAN_SEMIRAW): Likewise.
66880 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66881 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66882 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66883 (FP_EXTEND): Use _FP_FRAC_SNANP.
66884 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66885 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66886 into account.
66887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66888 New macro.
66889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66890 Likewise.
66891
66892 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66893
66894 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66895 with DIVIDE_BY_ZERO_EXCEPTION.
66896 (gamma_test_data): Likewise.
66897 (lgamma_test_data): Likewise.
66898 (log_test_data): Likewise.
66899 (log10_test_data): Likewise.
66900 (log2_test_data): Likewise.
66901 (tgamma_test_data): Likewise.
66902
66903 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66904 (acos_test_tonearest): Likewise.
66905 (acos_test_towardzero): Likewise.
66906 (acos_test_downward): Likewise.
66907 (acos_test_upward): Likewise.
66908 (acosh_test): Likewise.
66909 (asin_test): Likewise.
66910 (asin_test_tonearest): Likewise.
66911 (asin_test_towardzero): Likewise.
66912 (asin_test_downward): Likewise.
66913 (asin_test_upward): Likewise.
66914 (asinh_test): Likewise.
66915 (atan_test): Likewise.
66916 (atanh_test): Likewise.
66917 (atan2_test): Likewise.
66918 (cabs_test): Likewise.
66919 (cacos_test): Likewise.
66920 (cacosh_test): Likewise.
66921 (casin_test): Likewise.
66922 (casinh_test): Likewise.
66923 (catan_test): Likewise.
66924 (catanh_test): Likewise.
66925 (cbrt_test): Likewise.
66926 (ccos_test): Likewise.
66927 (ccosh_test): Likewise.
66928 (cexp_test): Likewise.
66929 (clog_test): Likewise.
66930 (clog10_test): Likewise.
66931 (cos_test): Likewise.
66932 (cos_test_tonearest): Likewise.
66933 (cos_test_towardzero): Likewise.
66934 (cos_test_downward): Likewise.
66935 (cos_test_upward): Likewise.
66936 (cosh_test): Likewise.
66937 (cosh_test_tonearest): Likewise.
66938 (cosh_test_towardzero): Likewise.
66939 (cosh_test_downward): Likewise.
66940 (cosh_test_upward): Likewise.
66941 (cpow_test): Likewise.
66942 (csin_test): Likewise.
66943 (csinh_test): Likewise.
66944 (csqrt_test): Likewise.
66945 (ctan_test): Likewise.
66946 (ctan_test_tonearest): Likewise.
66947 (ctan_test_towardzero): Likewise.
66948 (ctan_test_downward): Likewise.
66949 (ctan_test_upward): Likewise.
66950 (ctanh_test): Likewise.
66951 (ctanh_test_tonearest): Likewise.
66952 (ctanh_test_towardzero): Likewise.
66953 (ctanh_test_downward): Likewise.
66954 (ctanh_test_upward): Likewise.
66955 (erf_test): Likewise.
66956 (erfc_test): Likewise.
66957 (exp_test): Likewise.
66958 (exp_test_tonearest): Likewise.
66959 (exp_test_towardzero): Likewise.
66960 (exp_test_downward): Likewise.
66961 (exp_test_upward): Likewise.
66962 (exp10_test): Likewise.
66963 (exp2_test): Likewise.
66964 (expm1_test): Likewise.
66965 (fmod_test): Likewise.
66966 (gamma_test): Likewise.
66967 (hypot_test): Likewise.
66968 (j0_test): Likewise.
66969 (j1_test): Likewise.
66970 (jn_test): Likewise.
66971 (lgamma_test): Likewise.
66972 (log_test): Likewise.
66973 (log10_test): Likewise.
66974 (log1p_test): Likewise.
66975 (log2_test): Likewise.
66976 (logb_test_downward): Likewise.
66977 (pow_test): Likewise.
66978 (pow_test_tonearest): Likewise.
66979 (pow_test_towardzero): Likewise.
66980 (pow_test_downward): Likewise.
66981 (pow_test_upward): Likewise.
66982 (remainder_test): Likewise.
66983 (remquo_test): Likewise.
66984 (sin_test): Likewise.
66985 (sin_test_tonearest): Likewise.
66986 (sin_test_towardzero): Likewise.
66987 (sin_test_downward): Likewise.
66988 (sin_test_upward): Likewise.
66989 (sincos_test): Likewise.
66990 (sinh_test): Likewise.
66991 (sinh_test_tonearest): Likewise.
66992 (sinh_test_towardzero): Likewise.
66993 (sinh_test_downward): Likewise.
66994 (sinh_test_upward): Likewise.
66995 (sqrt_test): Likewise.
66996 (tan_test): Likewise.
66997 (tan_test_tonearest): Likewise.
66998 (tan_test_towardzero): Likewise.
66999 (tan_test_downward): Likewise.
67000 (tan_test_upward): Likewise.
67001 (tanh_test): Likewise.
67002 (tgamma_test): Likewise.
67003 (y0_test): Likewise.
67004 (y1_test): Likewise.
67005 (yn_test): Likewise.
67006
67007 * math/gen-libm-test.pl (adjust_arg): Remove function.
67008 (special_function): Remove argument $in_func. Only handle
67009 generating output for tables of tests, not inside functions.
67010 (parse_args): Likewise.
67011 (generate_testfile): Remove variable $in_func. Update call to
67012 parse_args.
67013 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67014 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67015 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67016 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67017 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67018 (MAX_VALUE_INIT): Rename macro to max_value.
67019 (MIN_VALUE_INIT): Rename macro to min_value.
67020 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67021 (plus_zero): Remove variable.
67022 (minus_zero): Likewise.
67023 (plus_infty): Likewise.
67024 (minus_infty): Likewise.
67025 (qnan_value): Likewise.
67026 (max_value): Likewise.
67027 (min_value): Likewise.
67028 (min_subnorm_value): Likewise.
67029
67030 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67031
67032 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67033 uint64_t or uint32_t usage.
67034 * crypt/sha256-block.c: Likewise.
67035 * crypt/sha256-crypt.c: Likewise.
67036 * crypt/sha256.c: Likewise.
67037 * crypt/sha512-block.c: Likewise.
67038 * crypt/sha512-crypt.c: Likewise.
67039 * crypt/sha512.c: Likewise.
67040 * debug/backtrace-tst.c: Likewise.
67041 * debug/pcprofiledump.c: Likewise.
67042 * elf/cache.c: Likewise.
67043 * elf/dl-cache.c: Likewise.
67044 * elf/dl-misc.c: Likewise.
67045 * elf/dl-profile.c: Likewise.
67046 * elf/dl-support.c: Likewise.
67047 * elf/ldconfig.c: Likewise.
67048 * elf/sprof.c: Likewise.
67049 * iconv/dummy-repertoire.c: Likewise.
67050 * iconv/iconv_charmap.c: Likewise.
67051 * iconv/skeleton.c: Likewise.
67052 * iconvdata/8bit-generic.c: Likewise.
67053 * iconvdata/cp737.h: Likewise.
67054 * iconvdata/cp775.h: Likewise.
67055 * iconvdata/ibm1008.h: Likewise.
67056 * iconvdata/ibm1025.h: Likewise.
67057 * iconvdata/ibm1046.h: Likewise.
67058 * iconvdata/ibm1097.h: Likewise.
67059 * iconvdata/ibm1112.h: Likewise.
67060 * iconvdata/ibm1122.h: Likewise.
67061 * iconvdata/ibm1123.h: Likewise.
67062 * iconvdata/ibm1124.h: Likewise.
67063 * iconvdata/ibm1129.h: Likewise.
67064 * iconvdata/ibm1130.h: Likewise.
67065 * iconvdata/ibm1132.h: Likewise.
67066 * iconvdata/ibm1133.h: Likewise.
67067 * iconvdata/ibm1137.h: Likewise.
67068 * iconvdata/ibm1140.h: Likewise.
67069 * iconvdata/ibm1141.h: Likewise.
67070 * iconvdata/ibm1142.h: Likewise.
67071 * iconvdata/ibm1143.h: Likewise.
67072 * iconvdata/ibm1144.h: Likewise.
67073 * iconvdata/ibm1145.h: Likewise.
67074 * iconvdata/ibm1146.h: Likewise.
67075 * iconvdata/ibm1147.h: Likewise.
67076 * iconvdata/ibm1148.h: Likewise.
67077 * iconvdata/ibm1149.h: Likewise.
67078 * iconvdata/ibm1153.h: Likewise.
67079 * iconvdata/ibm1154.h: Likewise.
67080 * iconvdata/ibm1155.h: Likewise.
67081 * iconvdata/ibm1156.h: Likewise.
67082 * iconvdata/ibm1157.h: Likewise.
67083 * iconvdata/ibm1158.h: Likewise.
67084 * iconvdata/ibm1160.h: Likewise.
67085 * iconvdata/ibm1161.h: Likewise.
67086 * iconvdata/ibm1162.h: Likewise.
67087 * iconvdata/ibm1163.h: Likewise.
67088 * iconvdata/ibm1164.h: Likewise.
67089 * iconvdata/ibm1166.h: Likewise.
67090 * iconvdata/ibm1167.h: Likewise.
67091 * iconvdata/ibm12712.h: Likewise.
67092 * iconvdata/ibm1390.h: Likewise.
67093 * iconvdata/ibm1399.h: Likewise.
67094 * iconvdata/ibm16804.h: Likewise.
67095 * iconvdata/ibm4517.h: Likewise.
67096 * iconvdata/ibm4899.h: Likewise.
67097 * iconvdata/ibm4909.h: Likewise.
67098 * iconvdata/ibm4971.h: Likewise.
67099 * iconvdata/ibm5347.h: Likewise.
67100 * iconvdata/ibm803.h: Likewise.
67101 * iconvdata/ibm856.h: Likewise.
67102 * iconvdata/ibm901.h: Likewise.
67103 * iconvdata/ibm902.h: Likewise.
67104 * iconvdata/ibm9030.h: Likewise.
67105 * iconvdata/ibm9066.h: Likewise.
67106 * iconvdata/ibm921.h: Likewise.
67107 * iconvdata/ibm922.h: Likewise.
67108 * iconvdata/ibm9448.h: Likewise.
67109 * iconvdata/isiri-3342.h: Likewise.
67110 * iconvdata/jis0201.h: Likewise.
67111 * include/link.h: Likewise.
67112 * include/netdb.h: Likewise.
67113 * inet/check_native.c: Likewise.
67114 * inet/check_pf.c: Likewise.
67115 * inet/getipv4sourcefilter.c: Likewise.
67116 * inet/getnameinfo.c: Likewise.
67117 * inet/getsourcefilter.c: Likewise.
67118 * inet/htonl.c: Likewise.
67119 * inet/setipv4sourcefilter.c: Likewise.
67120 * inet/setsourcefilter.c: Likewise.
67121 * inet/test-inet6_opt.c: Likewise.
67122 * inet/tst-network.c: Likewise.
67123 * locale/C-collate.c: Likewise.
67124 * locale/C-ctype.c: Likewise.
67125 * locale/C-time.c: Likewise.
67126 * locale/C-translit.h: Likewise.
67127 * locale/loadarchive.c: Likewise.
67128 * locale/programs/3level.h: Likewise.
67129 * locale/programs/charmap.c: Likewise.
67130 * locale/programs/charmap.h: Likewise.
67131 * locale/programs/ld-address.c: Likewise.
67132 * locale/programs/ld-collate.c: Likewise.
67133 * locale/programs/ld-ctype.c: Likewise.
67134 * locale/programs/ld-identification.c: Likewise.
67135 * locale/programs/ld-measurement.c: Likewise.
67136 * locale/programs/ld-messages.c: Likewise.
67137 * locale/programs/ld-monetary.c: Likewise.
67138 * locale/programs/ld-name.c: Likewise.
67139 * locale/programs/ld-numeric.c: Likewise.
67140 * locale/programs/ld-paper.c: Likewise.
67141 * locale/programs/ld-telephone.c: Likewise.
67142 * locale/programs/ld-time.c: Likewise.
67143 * locale/programs/linereader.c: Likewise.
67144 * locale/programs/locale.c: Likewise.
67145 * locale/programs/locarchive.c: Likewise.
67146 * locale/programs/locfile.h: Likewise.
67147 * locale/programs/repertoire.c: Likewise.
67148 * locale/programs/simple-hash.c: Likewise.
67149 * locale/programs/simple-hash.h: Likewise.
67150 * malloc/memusage.c: Likewise.
67151 * malloc/memusagestat.c: Likewise.
67152 * nis/nis_defaults.c: Likewise.
67153 * nis/nis_hash.c: Likewise.
67154 * nis/nis_print.c: Likewise.
67155 * nis/nis_xdr.c: Likewise.
67156 * nscd/connections.c: Likewise.
67157 * nscd/hstcache.c: Likewise.
67158 * nscd/nscd_gethst_r.c: Likewise.
67159 * nscd/nscd_getserv_r.c: Likewise.
67160 * nscd/nscd_helper.c: Likewise.
67161 * nscd/servicescache.c: Likewise.
67162 * nss/makedb.c: Likewise.
67163 * nss/nss_db/db-XXX.c: Likewise.
67164 * nss/nss_db/db-initgroups.c: Likewise.
67165 * nss/nss_db/db-netgrp.c: Likewise.
67166 * nss/nss_files/files-network.c: Likewise.
67167 * nss/nss_files/files-parse.c: Likewise.
67168 * posix/bug-regex5.c: Likewise.
67169 * posix/fnmatch_loop.c: Likewise.
67170 * posix/regcomp.c: Likewise.
67171 * posix/regexec.c: Likewise.
67172 * posix/tst-rfc3484-2.c: Likewise.
67173 * posix/tst-rfc3484-3.c: Likewise.
67174 * posix/tst-rfc3484.c: Likewise.
67175 * resolv/nss_dns/dns-canon.c: Likewise.
67176 * resolv/nss_dns/dns-network.c: Likewise.
67177 * resolv/res_init.c: Likewise.
67178 * resolv/res_mkquery.c: Likewise.
67179 * resolv/tst-aton.c: Likewise.
67180 * stdlib/cxa_atexit.c: Likewise.
67181 * stdlib/cxa_finalize.c: Likewise.
67182 * stdlib/gen-fpioconst.c: Likewise.
67183 * stdlib/strtol_l.c: Likewise.
67184 * string/tst-endian.c: Likewise.
67185 * sunrpc/auth_des.c: Likewise.
67186 * sunrpc/clnt_udp.c: Likewise.
67187 * sunrpc/rtime.c: Likewise.
67188 * sunrpc/svcauth_des.c: Likewise.
67189 * sunrpc/xdr.c: Likewise.
67190 * sunrpc/xdr_intXX_t.c: Likewise.
67191 * sunrpc/xdr_rec.c: Likewise.
67192 * sysdeps/generic/ldconfig.h: Likewise.
67193 * sysdeps/generic/ldsodefs.h: Likewise.
67194 * sysdeps/generic/memusage.h: Likewise.
67195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67197 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67201 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67203 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67205 * sysdeps/posix/getaddrinfo.c: Likewise.
67206 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67207 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67208 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67210 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67211 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67212 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67213 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67214 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67215 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67218 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67219 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67220 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67221 * sysdeps/x86_64/dl-tls.h: Likewise.
67222 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67223 * time/alt_digit.c: Likewise.
67224 * time/era.c: Likewise.
67225 * wcsmbs/tst-c16c32-1.c: Likewise.
67226
67227 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67228
67229 * math/libm-test.inc (struct test_sincos_data): New type.
67230 (RUN_TEST_LOOP_sincos): New macro.
67231 (sincos_test_data): New variable.
67232 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67233
67234 2013-05-16 Richard Henderson <rth@redhat.com>
67235
67236 * math/atest-exp2.c (LIMB64): New macro.
67237 (CONSTSZ): New macro.
67238 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67239 (hexdig): Move ...
67240 (print_mpn_fp): ... to function scope.
67241 (read_mpn_hex): Remove.
67242 (get_log2): Remove.
67243 (exp2_mpn): Use mp_log2.
67244 (main): Use mp_exp1.
67245
67246 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67247
67248 * math/libm-test.inc: Remove comment about not testing "inexact"
67249 exceptions.
67250 (INEXACT_EXCEPTION): New macro.
67251 (NO_INEXACT_EXCEPTION): Likewise.
67252 (INVALID_EXCEPTION_OK): Update value.
67253 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67254 (OVERFLOW_EXCEPTION_OK): Likewise.
67255 (UNDERFLOW_EXCEPTION_OK): Likewise.
67256 (IGNORE_ZERO_INF_SIGN): Likewise.
67257 (ERRNO_UNCHANGED): Likewise.
67258 (ERRNO_EDOM): Likewise.
67259 (ERRNO_ERANGE): Likewise.
67260 (test_exceptions): Handle testing "inexact" exceptions.
67261 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67262 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67263 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67264 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67265 INEXACT_EXCEPTION.
67266 (rint_towardzero_test_data): Likewise.
67267 (rint_downward_test_data): Likewise.
67268 (rint_upward_test_data): Likewise.
67269
67270 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67271 with OVERFLOW_EXCEPTION.
67272 (exp10_test_data): Likewise.
67273 (exp2_test_data): Likewise.
67274 (expm1_test_data): Likewise.
67275 (lgamma_test_data): Likewise.
67276 (pow_test_data): Likewise.
67277 (tgamma_test_data): Likewise.
67278 (yn_test_data): Remove duplicate test of overflow.
67279
67280 * math/libm-test.inc (struct test_cc_c_data): New type.
67281 (RUN_TEST_LOOP_cc_c): New macro.
67282 (cpow_test_data): New variable.
67283 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67284
67285 * math/libm-test.inc (struct test_f_L_data): New type.
67286 (RUN_TEST_LOOP_f_L): New macro.
67287 (llrint_test_data): New variable.
67288 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67289 (llrint_tonearest_test_data): New variable.
67290 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67291 (llrint_towardzero_test_data): New variable.
67292 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67293 (llrint_downward_test_data): New variable.
67294 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67295 (llrint_upward_test_data): New variable.
67296 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67297 (llround_test_data): New variable.
67298 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67299
67300 2013-05-13 Peter Collingbourne <pcc@google.com>
67301
67302 * math/atest-exp2.c (get_log2): Remove const attribute.
67303
67304 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67305
67306 * math/libm-test.inc (struct test_f_l_data): New type.
67307 (RUN_TEST_LOOP_f_l): New macro.
67308 (lrint_test_data): New variable.
67309 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67310 (lrint_tonearest_test_data): New variable.
67311 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67312 (lrint_towardzero_test_data): New variable.
67313 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67314 (lrint_downward_test_data): New variable.
67315 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67316 (lrint_upward_test_data): New variable.
67317 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67318 (lround_test_data): New variable.
67319 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67320
67321 2013-05-15 Peter Collingbourne <pcc@google.com>
67322
67323 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67324 (EXTRACT_WORDS64) Use where appropriate.
67325 (INSERT_WORDS64) Likewise.
67326
67327 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67328 constraints with x constraints.
67329 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67330
67331 * malloc/obstack.c (_obstack_compat): Add initializer.
67332
67333 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67334
67335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67336 si_trapno and add si_addr_lsb to _sifields.sigfault.
67337 (si_trapno): Remove macro.
67338 (si_addr_lsb): Define new macro.
67339 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67340
67341 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67342
67343 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67344 instead of TEST_f_l.
67345 (llrint_test_tonearest): Likewise.
67346 (llrint_test_towardzero): Likewise.
67347 (llrint_test_downward): Likewise.
67348 (llrint_test_upward): Likewise.
67349 (llround_test): Likewise.
67350
67351 * math/libm-test.inc (struct test_f_i_data): Add comment.
67352 (RUN_TEST_LOOP_f_b): New macro.
67353 (RUN_TEST_LOOP_f_b_tg): Likewise.
67354 (finite_test_data): New variable.
67355 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67356 (isfinite_test_data): New variable.
67357 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67358 (isinf_test_data): New variable.
67359 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67360 (isnan_test_data): New variable.
67361 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67362 (isnormal_test_data): New variable.
67363 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67364 (issignaling_test_data): New variable.
67365 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67366 (signbit_test_data): New variable.
67367 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67368
67369 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67370 with INVALID_EXCEPTION.
67371 (acosh_test_data): Likewise.
67372 (asin_test_data): Likewise.
67373 (atanh_test_data): Likewise.
67374 (fmod_test_data): Likewise.
67375 (log_test_data): Likewise.
67376 (log10_test_data): Likewise.
67377 (log2_test_data): Likewise.
67378 (pow_test_data): Likewise.
67379 (sqrt_test_data): Likewise.
67380 (y0_test_data): Likewise.
67381 (y1_test_data): Likewise.
67382 (yn_test_data): Likewise.
67383
67384 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67385 function contents.
67386
67387 * math/libm-test.inc (struct test_ff_i_data): New type.
67388 (RUN_TEST_LOOP_ff_i_tg): New macro.
67389 (isgreater_test_data): New variable.
67390 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67391 (isgreaterequal_test_data): New variable.
67392 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67393 (isless_test_data): New variable.
67394 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67395 (islessequal_test_data): New variable.
67396 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67397 (islessgreater_test_data): New variable.
67398 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67399 (isunordered_test_data): New variable.
67400 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67401
67402 2013-05-14 David S. Miller <davem@davemloft.net>
67403
67404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67405
67406 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67407
67408 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67409
67410 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67411 extra_test to int.
67412 (struct test_f_i_data): Change type of max_ulp to int.
67413
67414 * math/libm-test.inc (test_ffI_f1_data): New type.
67415 (RUN_TEST_LOOP_ffI_f1): New macro.
67416 (remquo_test_data): New variable.
67417 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67418
67419 * setjmp/tst-setjmp-fp.c: New file.
67420 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67421 (link-libm): New variable.
67422 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67423
67424 * math/libm-test.inc (struct test_f_i_data): New type.
67425 (RUN_TEST_LOOP_f_i): New macro.
67426 (RUN_TEST_LOOP_f_i_tg): Likewise.
67427 (fpclassify_test_data): New variable.
67428 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67429 (ilogb_test_data): New variable.
67430 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67431
67432 * math/libm-test.inc (scalbln_test): Correct function name in END
67433 call.
67434
67435 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67436 (RUN_TEST_LOOP_fI_f1): New macro.
67437 (frexp_test_data): New variable.
67438 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67439
67440 * math/libm-test.inc (struct test_fF_f1_data): New type.
67441 (RUN_TEST_LOOP_fF_f1): New macro.
67442 (modf_test_data): New variable.
67443 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67444
67445 * math/libm-test.inc (struct test_f_f1_data): New type.
67446 (RUN_TEST_LOOP_f_f1): New macro.
67447 (gamma_test_data): New variable.
67448 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67449 (lgamma_test_data): New variable.
67450 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67451
67452 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67453
67454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67455 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67456 (main): Comment "tls" pseudo-hwcap.
67457
67458 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67459
67460 * math/libm-test.inc (struct test_fl_f_data): New type.
67461 (RUN_TEST_LOOP_fl_f): New variable.
67462 (scalbln_test_data): New variable.
67463 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67464
67465 * math/libm-test.inc (struct test_fi_f_data): New type.
67466 (RUN_TEST_LOOP_fi_f): New macro.
67467 (ldexp_test_data): New variable.
67468 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67469 (scalbn_test_data): New variable.
67470 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67471
67472 * math/libm-test.inc (struct test_c_f_data): New type.
67473 (RUN_TEST_LOOP_c_f): New macro.
67474 (cabs_test_data): New variable.
67475 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67476 (carg_test_data): New variable.
67477 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67478 (cimag_test_data): New variable.
67479 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67480 (creal_test_data): New variable.
67481 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67482
67483 * math/libm-test.inc (struct test_if_f_data): New type.
67484 (RUN_TEST_LOOP_if_f): New macro.
67485 (jn_test_data): New variable.
67486 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67487 (yn_test_data): New variable.
67488 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67489
67490 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67491
67492 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67493
67494 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67495 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67496
67497 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67498
67499 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67500 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67501 (bench-deps): Add bench-timing.h.
67502 * benchtests-bench-skeleton.c: Include bench-timing.h.
67503 (main): Use TIMING_* macros instead of clock_gettime.
67504 * benchtests/bench-timing.h: New file.
67505
67506 [BZ #14582]
67507 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67508 Renamed from _LIB_VERSION.
67509 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67510
67511 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67512
67513 * math/libm-test.inc (struct test_fff_f_data): New type.
67514 (RUN_TEST_LOOP_fff_f): New macro.
67515 (fma_test_data): New variable.
67516 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67517 (fma_towardzero_test_data): New variable.
67518 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67519 (fma_downward_test_data): New variable.
67520 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67521 (fma_upward_test_data): New variable.
67522 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67523
67524 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67525 (struct test_c_c_data): New type.
67526 (RUN_TEST_LOOP_c_c): New macro.
67527 (cacos_test_data): New variable.
67528 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67529 (cacosh_test_data): New variable.
67530 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67531 (casin_test_data): New variable.
67532 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67533 (casinh_test_data): New variable.
67534 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67535 (catan_test_data): New variable.
67536 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67537 (catanh_test_data): New variable.
67538 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67539 (ccos_test_data): New variable.
67540 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67541 (ccosh_test_data): New variable.
67542 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67543 (cexp_test_data): New variable.
67544 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67545 (clog_test_data): New variable.
67546 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67547 (clog10_test_data): New variable.
67548 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67549 (conj_test_data): New variable.
67550 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67551 (cproj_test_data): New variable.
67552 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67553 (csin_test_data): New variable.
67554 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67555 (csinh_test_data): New variable.
67556 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67557 (csqrt_test_data): New variable.
67558 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67559 (ctan_test_data): New variable.
67560 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67561 (ctan_tonearest_test_data): New variable.
67562 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67563 (ctan_towardzero_test_data): New variable.
67564 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67565 (ctan_downward_test_data): New variable.
67566 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67567 (ctan_upward_test_data): New variable.
67568 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67569 (ctanh_test_data): New variable.
67570 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67571 (ctanh_tonearest_test_data): New variable.
67572 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67573 (ctanh_towardzero_test_data): New variable.
67574 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67575 (ctanh_downward_test_data): New variable.
67576 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67577 (ctanh_upward_test_data): New variable.
67578 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67579 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67580 of BUILD_COMPLEX.
67581
67582 * math/libm-test.inc (struct test_ff_f_data): New type.
67583 (struct test_ff_f_data_nexttoward): Likewise.
67584 (RUN_TEST_LOOP_2_f): New macro.
67585 (RUN_TEST_LOOP_ff_f): Likewise.
67586 (atan2_test_data): New variable.
67587 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67588 (copysign_test_data): New variable.
67589 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67590 (fdim_test_data): New variable.
67591 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67592 (fmax_test_data): New variable.
67593 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67594 (fmin_test_data): New variable.
67595 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67596 (fmod_test_data): New variable.
67597 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67598 (hypot_test_data): New variable.
67599 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67600 (nextafter_test_data): New variable.
67601 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67602 (nexttoward_test_data): New variable.
67603 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67604 (pow_test_data): New variable.
67605 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67606 (pow_tonearest_test_data): New variable.
67607 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67608 (pow_towardzero_test_data): New variable.
67609 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67610 (pow_downward_test_data): New variable.
67611 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67612 (pow_upward_test_data): New variable.
67613 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67614 (remainder_test_data): New variable.
67615 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67616 (scalb_test_data): New variable.
67617 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67618 * sysdeps/i386/fpu/libm-test-ulps: Update.
67619
67620 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67621
67622 * math/libm-test.inc (fma_test): Use max_value instead of local
67623 variable fltmax.
67624 (nextafter_test): Likewise.
67625
67626 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67627 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67628 (acos_downward_test_data): New variable.
67629 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67630 (acos_upward_test_data): New variable.
67631 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67632 (acosh_test_data): New variable.
67633 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67634 (asin_test_data): New variable.
67635 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67636 (asin_tonearest_test_data): New variable.
67637 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67638 (asin_towardzero_test_data): New variable.
67639 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67640 (asin_downward_test_data): New variable.
67641 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67642 (asin_upward_test_data): New variable.
67643 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67644 (asinh_test_data): New variable.
67645 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67646 (atan_test_data): New variable.
67647 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67648 (atanh_test_data): New variable.
67649 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67650 (cbrt_test_data): New variable.
67651 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67652 (ceil_test_data): New variable.
67653 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67654 (cos_test_data): New variable.
67655 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67656 (cos_tonearest_test_data): New variable.
67657 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67658 (cos_towardzero_test_data): New variable.
67659 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67660 (cos_downward_test_data): New variable.
67661 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67662 (cos_upward_test_data): New variable.
67663 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67664 (cosh_test_data): New variable.
67665 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67666 (cosh_tonearest_test_data): New variable.
67667 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67668 (cosh_towardzero_test_data): New variable.
67669 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67670 (cosh_downward_test_data): New variable.
67671 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67672 (cosh_upward_test_data): New variable.
67673 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67674 (erf_test_data): New variable.
67675 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67676 (erfc_test_data): New variable.
67677 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67678 (exp_test_data): New variable.
67679 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67680 (exp_tonearest_test_data): New variable.
67681 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67682 (exp_towardzero_test_data): New variable.
67683 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67684 (exp_downward_test_data): New variable.
67685 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67686 (exp_upward_test_data): New variable.
67687 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67688 (exp10_test_data): New variable.
67689 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67690 (exp2_test_data): New variable.
67691 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67692 (expm1_test_data): New variable.
67693 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67694 (fabs_test_data): New variable.
67695 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67696 (floor_test_data): New variable.
67697 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67698 (j0_test_data): New variable.
67699 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67700 (j1_test_data): New variable.
67701 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67702 (log_test_data): New variable.
67703 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67704 (log10_test_data): New variable.
67705 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67706 (log1p_test_data): New variable.
67707 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67708 (log2_test_data): New variable.
67709 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67710 (logb_test_data): New variable.
67711 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67712 (logb_downward_test_data): New variable.
67713 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67714 (nearbyint_test_data): New variable.
67715 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67716 (rint_test_data): New variable.
67717 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67718 (rint_tonearest_test_data): New variable.
67719 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67720 (rint_towardzero_test_data): New variable.
67721 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67722 (rint_downward_test_data): New variable.
67723 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67724 (rint_upward_test_data): New variable.
67725 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67726 (round_test_data): New variable.
67727 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67728 (sin_test_data): New variable.
67729 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67730 (sin_tonearest_test_data): New variable.
67731 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67732 (sin_towardzero_test_data): New variable.
67733 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67734 (sin_downward_test_data): New variable.
67735 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67736 (sin_upward_test_data): New variable.
67737 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67738 (sinh_test_data): New variable.
67739 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67740 (sinh_tonearest_test_data): New variable.
67741 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67742 (sinh_towardzero_test_data): New variable.
67743 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67744 (sinh_downward_test_data): New variable.
67745 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67746 (sinh_upward_test_data): New variable.
67747 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67748 (sqrt_test_data): New variable.
67749 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67750 (tan_test_data): New variable.
67751 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67752 (tan_tonearest_test_data): New variable.
67753 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67754 (tan_towardzero_test_data): New variable.
67755 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67756 (tan_downward_test_data): New variable.
67757 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67758 (tan_upward_test_data): New variable.
67759 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67760 (tanh_test_data): New variable.
67761 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67762 (tgamma_test_data): New variable.
67763 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67764 (trunc_test_data): New variable.
67765 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67766 (y0_test_data): New variable.
67767 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67768 (y1_test_data): New variable.
67769 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67770 (significand_test_data): New variable.
67771 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67772
67773 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67774
67775 [BZ #12387]
67776 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67777
67778 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67779
67780 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67781
67782 2013-05-10 Andreas Jaeger <aj@suse.de>
67783
67784 [BZ #15448]
67785 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67786 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67787
67788 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67789
67790 * math/gen-libm-test.pl (adjust_arg): New function.
67791 (special_functions): Handle generating output in both functions
67792 and arrays.
67793 (parse_args): Likewise.
67794 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67795 $in_func argument to parse_args.
67796 * math/libm-test.inc (struct test_f_f_data): New type.
67797 (IF_ROUND_INIT_): New macro.
67798 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67799 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67800 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67801 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67802 (ROUND_RESTORE_): Likewise.
67803 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67804 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67805 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67806 (ROUND_RESTORE_FE_UPWARD): Likewise.
67807 (RUN_TEST_LOOP_f_f): New macro.
67808 (acos_test_data): New variable.
67809 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67810 (acos_tonearest_test_data): New variable.
67811 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67812
67813 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67814
67815 * benchtests/bench-skeleton.c (startup): Fix coding style.
67816
67817 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67818
67819 [BZ #6809]
67820 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67821 negative infinity argument.
67822 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67823 negative infinity argument.
67824 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67825 negative infinity argument.
67826 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67827 domain errors.
67828
67829 2013-05-10 Florian Weimer <fweimer@redhat.com>
67830
67831 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67832 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67833 * iconv/iconv_prog.c (main): Likewise.
67834 * locale/programs/charmap-dir.c (charmap_readdir)
67835 (fopen_uncompressed): Likewise.
67836 * locale/programs/locfile.c (siblings_uncached)
67837 (write_locale_data): Use lstat64 instead of lstat.
67838 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67839 stat.
67840
67841 2013-05-10 Andreas Jaeger <aj@suse.de>
67842
67843 [BZ #15395]
67844 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67845 localization.
67846 Include <locale.h>.
67847
67848 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67849
67850 * elf/dl-close.c (_dl_close_worker): Add comments.
67851
67852 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67853
67854 [BZ #15359]
67855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67856 high part of pi/2.
67857 (__ieee754_rem_pio2l): Update comments.
67858
67859 [BZ #15429]
67860 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67861 high part of pi/2.
67862 (__ieee754_rem_pio2l): Update comments.
67863
67864 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67865 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67866
67867 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67868 M_PI_4l.
67869
67870 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67871 (M_PI_34_LOG10El): Likewise.
67872 (M_PI2_LOG10El): Likewise.
67873 (M_PI4_LOG10El): Likewise.
67874 (M_PI_LOG10El): Likewise.
67875
67876 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67877
67878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67879
67880 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67881
67882 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67883 (MINUS_ZERO_INIT): Likewise.
67884 (PLUS_INFTY_INIT): Likewise.
67885 (MINUS_INFTY_INIT): Likewise.
67886 (QNAN_VALUE_INIT): Likewise.
67887 (MAX_VALUE_INIT): Likewise.
67888 (MIN_VALUE_INIT): Likewise.
67889 (MIN_SUBNORM_VALUE_INIT): Likewise.
67890 (plus_zero): Initialize with PLUS_ZERO_INIT.
67891 (minus_zero): Initialize with MINUS_ZERO_INIT.
67892 (plus_infty): Initialize with PLUS_INFTY_INIT.
67893 (minus_infty): Initialize with MINUS_INFTY_INIT.
67894 (qnan_value): Initialize with QNAN_VALUE_INIT.
67895 (max_value): Initialize with MAX_VALUE_INIT.
67896 (min_value): Initialize with MIN_VALUE_INIT.
67897 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67898
67899 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67900 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67901 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67902 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67903
67904 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67905 (RUN_TEST_2_f): Likewise.
67906 (RUN_TEST_ff_f): Likewise.
67907 (RUN_TEST_fi_f): Likewise.
67908 (RUN_TEST_fl_f): Likewise.
67909 (RUN_TEST_fff_f): Likewise.
67910 (RUN_TEST_c_f): Likewise.
67911 (RUN_TEST_f_f1): Likewise.
67912 (RUN_TEST_fF_f1): Likewise.
67913 (RUN_TEST_fI_f1): Likewise.
67914 (RUN_TEST_ffI_f1): Likewise.
67915 (RUN_TEST_c_c): Likewise.
67916 (RUN_TEST_cc_c): Likewise.
67917 (RUN_TEST_f_i): Likewise.
67918 (RUN_TEST_f_i_tg): Likewise.
67919 (RUN_TEST_ff_i_tg): Likewise.
67920 (RUN_TEST_f_b): Likewise.
67921 (RUN_TEST_f_b_tg): Likewise.
67922 (RUN_TEST_f_l): Likewise.
67923 (RUN_TEST_f_L): Likewise.
67924 (RUN_TEST_sincos): Likewise.
67925 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67926 whether to show exceptions. Do not include ");\n" in return
67927 value.
67928 (special_functions): Output call to RUN_TEST_sincos instead of
67929 check_float calls. Update calls to new_test.
67930 (parse_args): Output call to single RUN_TEST_* macro instead of
67931 check_* calls and other assignments. Update calls to new_test.
67932
67933 [BZ #2546]
67934 [BZ #2560]
67935 [BZ #5159]
67936 [BZ #15426]
67937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67938 input to result for tgamma overflow.
67939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67940 (gamma_coeff): New variable.
67941 (NCOEFF): New macro.
67942 (gamma_positive): New function.
67943 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67944 underflow here. Use gamma_positive instead of exp (lgamma) for
67945 other arguments.
67946 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67947 (gamma_coeff): New variable.
67948 (NCOEFF): New macro.
67949 (gammaf_positive): New function.
67950 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67951 underflow here. Use gamma_positive instead of exp (lgamma) for
67952 other arguments.
67953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67954 (gamma_coeff): New variable.
67955 (NCOEFF): New macro.
67956 (gammal_positive): New function.
67957 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67958 underflow here. Use gamma_positive instead of exp (lgamma) for
67959 other arguments.
67960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67961 (gamma_coeff): New variable.
67962 (NCOEFF): New macro.
67963 (gammal_positive): New function.
67964 (__ieee754_gammal_r): Handle positive infinity, overflow and
67965 underflow here. Handle NaN the same as positive infinity. Remove
67966 check x < 0xffffffff for negative integers. Use gamma_positive
67967 instead of exp (lgamma) for other arguments.
67968 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67969 (gamma_coeff): New variable.
67970 (NCOEFF): New macro.
67971 (gammal_positive): New function.
67972 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67973 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67974 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67975 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67976 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67977 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67978 * sysdeps/generic/math_private.h (__gamma_productf): New
67979 prototype.
67980 (__gamma_product): Likewise.
67981 (__gamma_productl): Likewise.
67982 * math/Makefile (libm-calls): Add gamma_product.
67983 * math/libm-test.inc (tgamma_test): Add more tests.
67984 * sysdeps/i386/fpu/libm-test-ulps: Update.
67985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67986
67987 2013-05-08 Ondƙej Bílka <neleai@seznam.cz>
67988
67989 * benchtests/bench-skeleton.c (main): Preheat CPU.
67990
67991 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67992
67993 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67994
67995 2013-05-07 Roland McGrath <roland@hack.frob.com>
67996
67997 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67998 and _dl_skip_args_internal.
67999
68000 2013-05-07 Carlos O'Donell <carlos@redhat.com>
68001
68002 * manual/message.texi (Message Translation): Talk about users.
68003 Message to key mapping impacts design.
68004
68005 2013-05-06 Roland McGrath <roland@hack.frob.com>
68006
68007 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68008
68009 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68010
68011 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68012 * sysdeps/wordsize-64/glob64.c: ... here.
68013
68014 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68015 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68016 New macros.
68017
68018 * debug/getlogin_r_chk.c: Moved to ...
68019 * login/getlogin_r_chk.c: ... here.
68020 * debug/Makefile (routines): Move getlogin_r_chk to ...
68021 * login/Makefile (routines): ... here.
68022 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68023 * login/Versions (libc: GLIBC_2.4): ... here.
68024
68025 * io/poll.c (__poll): Renamed from poll.
68026 Add libc_hidden_def.
68027 (poll): Define as weak alias.
68028
68029 * debug/ptsname_r_chk.c: Moved to ...
68030 * login/ptsname_r_chk.c: ... here.
68031 * debug/Makefile (routines): Move ptsname_r_chk to ...
68032 * login/Makefile (routines): ... here.
68033 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68034 * login/Versions (libc: GLIBC_2.4): ... here.
68035
68036 * posix/getlogin.c: Moved to ...
68037 * login/getlogin.c: ... here.
68038 * posix/getlogin_r.c: Moved to ...
68039 * login/getlogin_r.c: ... here.
68040 * posix/getlogin_r.c: Moved to ...
68041 * login/getlogin_r.c: ... here.
68042 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68043 * login/Makefile (routines): ... here.
68044 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68045 * login/Versions (libc: GLIBC_2.0): ... here.
68046
68047 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68048 (setrlimit): Define as weak alias.
68049
68050 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68051 Call __ names for open, ftruncate, and close.
68052 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68053 (truncate): Define as weak alias.
68054
68055 2013-05-06 Joseph Myers <joseph@codesourcery.com>
68056
68057 * math/gen-libm-test.pl (parse_args): Initialize x before each
68058 test of frexp, modf and remquo.
68059
68060 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68061 test signgam value.
68062
68063 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68064
68065 [BZ #15418]
68066 [BZ #15419]
68067 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68068 internal tests.
68069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68070
68071 2013-05-06 Roland McGrath <roland@hack.frob.com>
68072
68073 * elf/dl-writev.h: New file.
68074 * elf/dl-misc.c: Include it.
68075 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68076 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68077
68078 2013-05-04 Joseph Myers <joseph@codesourcery.com>
68079
68080 * math/libm-test.inc (noXFails): Remove variable.
68081 (noXPasses): Likewise.
68082 (BUILD_COMPLEX_INT): Remove macro.
68083 (print_screen): Remove xfail argument.
68084 (print_screen_max_error): Likewise.
68085 (update_stats): Likewise.
68086 (print_max_error): Likewise. Update calls to other affected
68087 functions.
68088 (print_complex_max_error): Likewise.
68089 (test_single_exception): Update calls to print_screen.
68090 (test_single_errno): Likewise.
68091 (check_float_internal): Remove xfail argument. Update calls to
68092 other affected functions.
68093 (check_float): Likewise.
68094 (check_complex): Likewise.
68095 (check_int): Likewise.
68096 (check_long): Likewise.
68097 (check_bool): Likewise.
68098 (check_longlong): Likewise.
68099 (main): Don't print noXFails and noXPasses.
68100 * math/gen-libm-test.pl (top level): Don't mention expected
68101 failure handling in comment.
68102 (new_test): Don't handle expected failures.
68103 (parse_args): Don't mention expected failure handling in comment.
68104 (generate_testfile): Don't handle expected failures.
68105 (parse_ulps): Likewise.
68106 (print_ulps_file): Likewise.
68107 (get_failure): Remove function.
68108 (output_test): Don't handle expected failures.
68109 * make/README.libm-test: Don't mention expected failure handling.
68110
68111 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68112 (minus_zero): Likewise.
68113 (plus_infty): Likewise.
68114 (minus_infty): Likewise.
68115 (qnan_value): Likewise.
68116 (max_value): Likewise.
68117 (min_value): Likewise.
68118 (min_subnorm_value): Likewise.
68119 (initialize): Do not initialize those variables dynamically.
68120
68121 2013-05-03 Roland McGrath <roland@hack.frob.com>
68122
68123 * io/open.c (__open_2): Moved to ...
68124 * io/open_2.c: ... this new file.
68125 * io/open64.c (__open64_2): Moved to ...
68126 * io/open64_2.c: ... this new file.
68127 * io/openat.c (__openat_2): Moved to ...
68128 * io/openat_2.c: ... this new file.
68129 * io/openat64.c (__openat64_2): Moved to ...
68130 * io/openat64_2.c: ... this new file.
68131 * io/Makefile (routines): Add them.
68132 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68133 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68134 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68135 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68136 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68137 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68138 (__openat64): Add hidden_ver.
68139 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68140 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68141
68142 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68143 Separately conditionalize setting of GLRO(dl_sysinfo) so
68144 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68145 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68146
68147 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68148
68149 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68150 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68151 definition.
68152 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68153 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68154 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68155 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68156 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68157
68158 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68159
68160 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68161 test signgam value.
68162
68163 * math/libm-test.inc (hypot_test): Do not use
68164 IGNORE_ZERO_INF_SIGN.
68165
68166 2013-05-03 Andreas Jaeger <aj@suse.de>
68167
68168 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68169 Linux 3.9.
68170 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68171 (PF_MAX): Adjust for VSOCK change.
68172
68173 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68174
68175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68176
68177 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68178
68179 [BZ #15264]
68180 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68181 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68182 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68183
68184 2013-05-02 David S. Miller <davem@davemloft.net>
68185
68186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68187
68188 2013-05-01 Ondƙej Bílka <neleai@seznam.cz>
68189
68190 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68191
68192 2013-05-01 Roland McGrath <roland@hack.frob.com>
68193
68194 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68195
68196 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68197
68198 [BZ #14952]
68199 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68200 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68201 Use __attribute__ ((__gnu_inline__)).
68202 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68203 Don't use __attribute__ ((__gnu_inline__)).
68204
68205 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68206
68207 [BZ #15423]
68208 * math/s_catan.c (__catan): Handle small real or imaginary part of
68209 input specially to avoid spurious underflow.
68210 * math/s_catanf.c (__catanf): Likewise.
68211 * math/s_catanh.c (__catanh): Likewise.
68212 * math/s_catanhf.c (__catanhf): Likewise.
68213 * math/s_catanhl.c (__catanhl): Likewise.
68214 * math/s_catanl.c (__catanl): Likewise.
68215 * math/libm-test.inc (catan_test): Add more tests.
68216 (catanh_test): Likewise.
68217 * sysdeps/i386/fpu/libm-test-ulps: Update.
68218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68219
68220 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68221
68222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68223
68224 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68225
68226 [BZ #15416]
68227 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68228 accurately for denominator in atan2.
68229 * math/s_catanf.c (__catanf): Likewise.
68230 * math/s_catanh.c (__catanh): Likewise.
68231 * math/s_catanhf.c (__catanhf): Likewise.
68232 * math/s_catanhl.c (__catanhl): Likewise.
68233 * math/s_catanl.c (__catanl): Likewise.
68234 * math/libm-test.inc (catan_test): Add more tests.
68235 (catanh_test): Likewise.
68236 * sysdeps/i386/fpu/libm-test-ulps: Update.
68237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68238
68239 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68240
68241 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68242
68243 * benchtests/Makefile (bench): Remove slow benchmarks.
68244 * benchtests/atan-inputs: Add slow benchmark inputs.
68245 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68246 (BENCH_FUNC): Accept variant offset.
68247 (VARIANT): Define.
68248 * benchtests/bench-skeleton.c (main): Run benchmark for each
68249 variant.
68250 * benchtests/cos-inputs: Add slow benchmark inputs.
68251 * benchtests/exp-inputs: Likewise.
68252 * benchtests/pow-inputs: Likewise.
68253 * benchtests/sin-inputs: Likewise.
68254 * benchtests/slowatan-inputs: Remove.
68255 * benchtests/slowatan.c: Remove.
68256 * benchtests/slowcos-inputs: Remove.
68257 * benchtests/slowcos.c: Remove.
68258 * benchtests/slowexp-inputs: Remove.
68259 * benchtests/slowexp.c: Remove.
68260 * benchtests/slowpow-inputs: Remove.
68261 * benchtests/slowpow.c: Remove.
68262 * benchtests/slowsin-inputs: Remove.
68263 * benchtests/slowsin.c: Remove.
68264 * benchtests/slowtan-inputs: Remove.
68265 * benchtests/slowtan.c: Remove.
68266 * benchtests/tan-inputs: Add slow benchmark inputs.
68267 * scripts/bench.pl: Parse comments and directives.
68268
68269 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68270 in CPPFLAGS.
68271 ($(objpfx)bench-%.c): Remove *-ITER.
68272 * benchtests/bench-modf.c: Remove definition of ITER.
68273 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68274 (main): Loop for DURATION seconds instead of fixed number of
68275 iterations.
68276 * scripts/bench.pl: Don't expect iterations in parameters.
68277
68278 2013-04-29 Roland McGrath <roland@hack.frob.com>
68279
68280 * io/fchdir.c (__fchdir): Renamed from fchdir.
68281 (fchdir): Define as weak alias.
68282
68283 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68284
68285 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68286 (ERRNO_EDOM): Likewise.
68287 (ERRNO_ERANGE): Likewise.
68288 (noErrnoTests): New variable.
68289 (init_max_error): Set errno to 0.
68290 (test_single_errno): New function.
68291 (test_errno): Likewise.
68292 (check_float_internal): Call test_errno. Set errno to 0.
68293 (check_complex): Refer to errno tests in comment.
68294 (check_int): Call test_errno. Set errno to 0.
68295 (check_long): Likewise.
68296 (check_bool): Likewise.
68297 (check_longlong): Likewise.
68298 (cos_test): Use ERRNO_* flags for errno tests instead of
68299 check_int.
68300 (expm1_test): Likewise.
68301 (fmod_test): Likewise.
68302 (ilogb_test): Likewise.
68303 (lgamma_test): Likewise.
68304 (pow_test): Likewise.
68305 (remainder_test): Likewise.
68306 (sin_test): Likewise.
68307 (tan_test): Likewise.
68308 (yn_test): Likewise.
68309 (initialize): Set errno to 0.
68310 (main): Print number of errno tests.
68311 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68312
68313 2013-04-29 Andreas Jaeger <aj@suse.de>
68314
68315 [BZ #15084]
68316 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68317 and RES_USEVC.
68318
68319 [BZ #15085]
68320 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68321 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68322 unimplemented.
68323
68324 [BZ #15380]
68325 * stdlib/random.c (__initstate): Return NULL if
68326 __initstate fails.
68327
68328 [BZ #15086]
68329 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68330 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68331 RES_SNGLKUPREOP.
68332
68333 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68334
68335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68336
68337 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68338
68339 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68340 of individual tests.
68341 (casin_test): Likewise.
68342 (casinh_test): Likewise.
68343
68344 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68345
68346 [BZ #15409]
68347 * math/s_catan.c (__catan): Handle arguments with large real or
68348 imaginary part separately without squaring.
68349 * math/s_catanf.c (__catanf): Likewise.
68350 * math/s_catanh.c (__catanh): Likewise.
68351 * math/s_catanhf.c (__catanhf): Likewise.
68352 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68353 and redefine.
68354 (__catanhl): Handle arguments with large real or imaginary part
68355 separately without squaring.
68356 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68357 and redefine.
68358 (__catanl): Handle arguments with large real or imaginary part
68359 separately without squaring.
68360 * math/libm-test.inc (catan_test): Add more tests.
68361 (catanh_test): Likewise.
68362 * sysdeps/i386/fpu/libm-test-ulps: Update.
68363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68364
68365 2013-04-27 Andreas Jaeger <aj@suse.de>
68366
68367 [BZ #15007]
68368 * stdlib/stdlib.h: Update guards for qecvt.
68369 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68370 <stdlib.h>.
68371
68372 2013-04-27 Allan McRae <allan@archlinux.org>
68373
68374 * sysdeps/i386/fpu/libm-test-ulps: Update.
68375
68376 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68377
68378 [BZ #15406]
68379 * math/s_catan.c: Include <float.h>.
68380 (__catan): Ensure underflow exception occurs for underflowed
68381 result.
68382 * math/s_catanf.c: Include <float.h>.
68383 (__catanf): Ensure underflow exception occurs for underflowed
68384 result.
68385 * math/s_catanh.c: Include <float.h>.
68386 (__catanh): Ensure underflow exception occurs for underflowed
68387 result.
68388 * math/s_catanhf.c: Include <float.h>.
68389 (__catanhf): Ensure underflow exception occurs for underflowed
68390 result.
68391 * math/s_catanhl.c: Include <float.h>.
68392 (__catanhl): Ensure underflow exception occurs for underflowed
68393 result.
68394 * math/s_catanl.c: Include <float.h>.
68395 (__catanl): Ensure underflow exception occurs for underflowed
68396 result.
68397 * math/libm-test.inc (catan_test): Add more tests.
68398 (catanh_test): Likewise.
68399
68400 [BZ #15405]
68401 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68402 underflowed result.
68403 * math/s_ccoshf.c (__ccoshf): Likewise.
68404 * math/s_ccoshl.c (__ccoshl): Likewise.
68405 * math/s_csin.c (__csin): Likewise.
68406 * math/s_csinf.c (__csinf): Likewise.
68407 * math/s_csinh.c (__csinh): Likewise.
68408 * math/s_csinhf.c (__csinhf): Likewise.
68409 * math/s_csinhl.c (__csinhl): Likewise.
68410 * math/s_csinl.c (__csinl): Likewise.
68411 * math/libm-test.inc (ccos_test): Add more tests.
68412 (ccosh_test): Likewise.
68413 (csin_test): Likewise.
68414 (csinh_test): Likewise.
68415
68416 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68417
68418 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68419 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68420 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68421 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68422 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68423 powerpc/power5+/fpu folders.
68424 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68425
68426
68427 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68428
68429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68430
68431 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68432
68433 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68434 additions to variable.
68435 [$(config-machine) = x86_64] (modules-names): Likewise.
68436 ($(objpfx)tst-audit3): Remove dependency.
68437 ($(objpfx)tst-audit3.out): Likewise.
68438 ($(objpfx)tst-audit4): Likewise.
68439 ($(objpfx)tst-audit4.out): Likewise.
68440 ($(objpfx)tst-audit5): Likewise.
68441 ($(objpfx)tst-audit5.out): Likewise.
68442 ($(objpfx)tst-audit6): Likewise.
68443 ($(objpfx)tst-audit6.out): Likewise.
68444 ($(objpfx)tst-audit7): Likewise.
68445 ($(objpfx)tst-audit7.out): Likewise.
68446 (tst-audit3-ENV): Remove variable.
68447 (tst-audit4-ENV): Likewise.
68448 (tst-audit5-ENV): Likewise.
68449 (tst-audit6-ENV): Likewise.
68450 (tst-audit7-ENV): Likewise.
68451 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68452 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68453 addition to variable.
68454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68459 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68460 tst-audit3, tst-audit4 and tst-audit5.
68461 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68462 tst-audit6 and tst-audit7.
68463 [$(subdir) = elf] (modules-names): Add audit modules for those
68464 tests.
68465 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68466 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68467 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68468 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68469 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68470 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68471 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68472 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68473 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68474 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68475 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68476 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68477 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68478 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68479 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68480 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68481 Likewise.
68482 [$(subdir) = elf && $(config-cflags-avx) = yes]
68483 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68484 [$(subdir) = elf && $(config-cflags-avx) = yes]
68485 (CFLAGS-tst-auditmod4a.c): Likewise.
68486 [$(subdir) = elf && $(config-cflags-avx) = yes]
68487 (CFLAGS-tst-auditmod4b.c): Likewise.
68488 [$(subdir) = elf && $(config-cflags-avx) = yes]
68489 (CFLAGS-tst-auditmod6b.c): Likewise.
68490 [$(subdir) = elf && $(config-cflags-avx) = yes]
68491 (CFLAGS-tst-auditmod6c.c): Likewise.
68492 [$(subdir) = elf && $(config-cflags-avx) = yes]
68493 (CFLAGS-tst-auditmod7b.c): Likewise.
68494 * elf/tst-audit3.c: Move to ...
68495 * sysdeps/x86_64/tst-audit3.c: ... here.
68496 * elf/tst-audit4.c: Move to ...
68497 * sysdeps/x86_64/tst-audit4.c: ... here.
68498 * elf/tst-audit5.c: Move to ...
68499 * sysdeps/x86_64/tst-audit5.c: ... here.
68500 * elf/tst-audit6.c: Move to ...
68501 * sysdeps/x86_64/tst-audit6.c: ... here.
68502 * elf/tst-audit7.c: Move to ...
68503 * sysdeps/x86_64/tst-audit7.c: ... here.
68504 * elf/tst-auditmod3a.c: Move to ...
68505 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68506 * elf/tst-auditmod3b.c: Move to ...
68507 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68508 * elf/tst-auditmod4a.c: Move to ...
68509 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68510 * elf/tst-auditmod4b.c: Move to ...
68511 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68512 * elf/tst-auditmod5a.c: Move to ...
68513 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68514 * elf/tst-auditmod5b.c: Move to ...
68515 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68516 * elf/tst-auditmod6a.c: Move to ...
68517 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68518 * elf/tst-auditmod6b.c: Move to ...
68519 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68520 * elf/tst-auditmod6c.c: Move to ...
68521 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68522 * elf/tst-auditmod7a.c: Move to ...
68523 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68524 * elf/tst-auditmod7b.c: Move to ...
68525 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68526
68527 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68528
68529 [BZ #15366]
68530 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68531 define unconditionally.
68532 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68533 define unconditionally.
68534 (INT8_C, INT16_C, etc.): Likewise.
68535
68536 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68537
68538 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68539 __ehdr_start with hidden visibility.
68540
68541 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68542
68543 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68544
68545 * math/libm-test.inc (cos_test): Use accurate hex constants.
68546 (sincost_test): Likewise.
68547
68548 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68549
68550 * math/libm-test.inc (catan_test): Add more tests.
68551 (catanh_test): Likewise.
68552
68553 * math/s_catanf.c (__catanf): Use suffixed floating-point
68554 constants.
68555 * math/s_catanhf.c (__catanhf): Likewise.
68556 * math/s_catanhl.c (__catanhl): Likewise.
68557 * math/s_catanl.c (__catanl): Likewise.
68558
68559 [BZ #15394]
68560 * math/s_catan.c (__catan): Calculate imaginary part of result
68561 with log1p not log unless computing log of number close to 0.
68562 * math/s_catanf.c (__catanf): Likewise.
68563 * math/s_catanl.c (__catanl): Likewise.
68564 * math/s_catanh.c (__catanh): Calculate real part of result with
68565 log1p not log unless computing log of number close to 0.
68566 * math/s_catanhf.c (__catanhf): Likewise.
68567 * math/s_catanhl.c (__catanhl): Likewise.
68568 * math/libm-test.inc (catan_test): Add more tests.
68569 (catanh_test): Likewise.
68570 * sysdeps/i386/fpu/libm-test-ulps: Update.
68571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68572
68573 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68574
68575 * benchtests/Makefile: Mention files in which fast and slow
68576 paths of math functions are implemented.
68577
68578 2013-04-23 Roland McGrath <roland@hack.frob.com>
68579
68580 * sysdeps/posix/timespec_get.c: New file.
68581
68582 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68583
68584 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68585 POWER.
68586 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68587 for POWER.
68588 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68589 powerpc/power5/fpu folders.
68590 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68591 * benchtests/Makefile: Add modf testcase.
68592 * benchtests/bench-modf.c: New file: Benchmark test for mo
68593
68594 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68595
68596 [BZ #14888]
68597 * time/Makefile (tests): Add tst-strptime-whitespace.
68598 * time/strptime_l.c (get_number): Use ISSPACE.
68599 (__strptime_internal): Likewise.
68600 * time/tst-strptime-whitespace.c: New test case.
68601
68602 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68603
68604 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68605 member.
68606 (_nss_files_init): Set it here.
68607
68608 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68609
68610 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68611 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68612 unsigned.
68613
68614 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68615
68616 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68617
68618 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68619
68620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68621 size just once.
68622
68623 2013-04-21 David S. Miller <davem@davemloft.net>
68624
68625 * po/ru.po: Update Russion translation from translation project.
68626
68627 2013-04-17 Adam Conrad <adconrad@0c3.net>
68628
68629 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68630 and setfsgid.
68631
68632 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68633
68634 * configure.in: Remove i386 configure warning. Remove i386 case.
68635 * configure: Regenerate.
68636 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68637 Add example to error message.
68638 * sysdeps/i386/configure: Regenerate.
68639
68640 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68641
68642 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68643 slowtan.
68644 * benchtests/cos-inputs: New file.
68645 * benchtests/slowcos-inputs: New file.
68646 * benchtests/slowcos.c: New file.
68647 * benchtests/slowtan-inputs: New file.
68648 * benchtests/slowtan.c: New file.
68649 * benchtests/tan-inputs: New file.
68650
68651 2013-04-16 Roland McGrath <roland@hack.frob.com>
68652
68653 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68654 considered kosher.
68655
68656 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68657
68658 * benchtests/Makefile: Include cppflags-iterator.mk to add
68659 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68660
68661 * Makefile.in (bench-clean): New target.
68662 * benchtests/Makefile (bench-clean): Likewise.
68663
68664 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68665
68666 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68667
68668 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68669
68670 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68671
68672 2013-04-15 Andreas Schwab <schwab@suse.de>
68673
68674 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68676 * nscd/pwdcache.c (cache_addpw): Likewise.
68677 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68678 more than recsize.
68679
68680 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68681
68682 * benchtests/Makefile (bench): Write all output to
68683 bench-out.tmp together.
68684
68685 2013-04-15 Andreas Schwab <schwab@suse.de>
68686
68687 * nscd/nscd.c (main): Don't fork again after closing files.
68688
68689 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68690
68691 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68692
68693 * benchtests/Rules (bench-deps): Collect dependencies into a
68694 single variable. Add Makefile to dependencies.
68695 ($(objpfx)bench-%.c): Depend on bench-deps.
68696
68697 2013-04-12 Roland McGrath <roland@hack.frob.com>
68698 Xavier Roche <roche+kml2@exalead.com>
68699
68700 [BZ #15361]
68701 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68702 just that it's a file descriptor.
68703 * manual/llio.texi (Synchronizing AIO Operations): Update description
68704 for EBADF error from aio_fsync.
68705
68706 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68707
68708 * Rules (bench): Move target definition...
68709 * benchtests/Makefile: ... here.
68710
68711 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68712
68713 * math/libm-test.inc (cos_test): Fix PI/2 test.
68714 (sincos_test): Likewise.
68715 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68716 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68717
68718 2013-04-11 Andreas Schwab <schwab@suse.de>
68719
68720 [BZ #13988]
68721 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68722 accept exponent character only when digits were seen.
68723 * stdio-common/Makefile (tests): Add bug26.
68724 * stdio-common/bug26.c: New file.
68725
68726 [BZ #14293]
68727 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68728 non-freeable.
68729
68730 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68731
68732 * Makeconfig (rtld-prefix): Define built linker prefix.
68733 * Rules (run-bench): Use it.
68734 * math/Makefile (run-regen-ulps): Likewise.
68735
68736 * Rules (bench): Remove eval.
68737
68738 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68739 Roland McGrath <roland@hack.frob.com>
68740 Ondrej Bilka <neleai@seznam.cz>
68741
68742 [BZ #15346]
68743 * time/getdate.c: Include ctype.h and alloca.h.
68744 (__getdate_r): Trim leading and trailing spaces of input.
68745 * time/tst-getdate.c (tests): Add tests with leading and
68746 trailing spaces.
68747
68748 2013-04-08 Roland McGrath <roland@hack.frob.com>
68749
68750 [BZ #14280]
68751 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68752 when computing value.
68753
68754 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68755
68756 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68757 Use testrun.sh to run libm tests.
68758
68759 [BZ #15309]
68760 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68761
68762 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68763
68764 [BZ #15264]
68765 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68766
68767 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68768
68769 * Makefile.in (regen-ulps): New target.
68770 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68771 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68772 [ifneq (no,$(PERL)] (regen-ulps): New target.
68773 [ifeq (no,$(PERL)] (regen-ulps): New target.
68774 * math/libm-test.inc (ulps_file_name): Define.
68775 (output_dir): New variable.
68776 (options): Add "output-dir" option.
68777 (parse_opt): Handle 'o' case.
68778 (main): If output_dir is non-NULL use it as a prefix
68779 otherwise use "".
68780 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68781
68782 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68783
68784 [BZ #10060, #10062]
68785 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68786 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68787 fail configure if __sync_val_compare_and_swap is not inlined.
68788 * sysdeps/i386/configure: Regenerate.
68789 * configure.in: Build for i686 when configured for i386.
68790 * configure: Regenerate.
68791 * README: Remove i386 reference.
68792
68793 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68794
68795 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68797
68798 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68799
68800 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68801 (lmsnanval): New variables.
68802 (F): Add conversion tests.
68803 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68804 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68805
68806 * stdio-common/tstdiomisc.c (F): Properly collect individual
68807 tests' results.
68808
68809 [BZ #14686, #15336]
68810 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68811 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68812 Instead, use input NaN values or generate a qNaN by arithmetic
68813 operation. Also fix bugs to comply with the standard.
68814 * math/libm-test.inc (remainder_test): Add more tests.
68815
68816 [BZ #15335, #15342]
68817 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68819 input NaN values or generate a qNaN by arithmetic operation.
68820
68821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68822 unreachable code.
68823
68824 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68825 definitions.
68826
68827 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68828
68829 [BZ #14478]
68830 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68831 underflowed result.
68832 * math/s_cexpf.c (__cexpf): Likewise.
68833 * math/s_cexpl.c (__cexpl): Likewise.
68834 * math/libm-test.inc (cexp_test): Add more tests.
68835
68836 2013-04-03 Andreas Schwab <schwab@suse.de>
68837
68838 [BZ #15330]
68839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68840 order arrays from heap if bigger than alloca cutoff.
68841
68842 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68843
68844 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68845 (SNAN_TESTS_double): Refer to GCC PR56831.
68846 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68847 GCC PR56828.
68848
68849 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68850
68851 * Rules (bench): Move bench.out after the run is complete.
68852
68853 * Rules (bench): Echo currently running benchmark.
68854
68855 * benchtests/Makefile (bench): Add atan and slowatan.
68856 * benchtests/atan-inputs: New file.
68857 * benchtests/slowatan-inputs: New file.
68858 * benchtests/slowatan.c: New file.
68859
68860 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68862 its value.
68863
68864 [BZ #15305]
68865 * sysdeps/unix/sysv/linux/kernel-features.h
68866 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68867 __ASSUME_XFS_RESTRICTED_CHOWN.
68868 * sysdeps/unix/sysv/linux/pathconf.c
68869 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68870 Save and restore errno.
68871
68872 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68873
68874 [BZ #15327]
68875 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68876 arguments using __kernel_casinh.
68877 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68878 arguments using __kernel_casinhf.
68879 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68880 arguments using __kernel_casinhl.
68881 * math/libm-test.inc (cacosh_test): Add more tests.
68882 * sysdeps/i386/fpu/libm-test-ulps: Update.
68883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68884
68885 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68886
68887 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68889
68890 * bench/Makefile (bench): Add sin and slowsin.
68891 * benchtests/sin-inputs: New file.
68892 * benchtests/slowsin-inputs: New file.
68893 * benchtests/slowsin.c: New file.
68894
68895 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68896 (bench): Add slowexp and slowpow.
68897 (exp-ITER): Increase iterations.
68898 (pow-ITER): Likewise.
68899 * benchtests/exp-inputs: Change input.
68900 * benchtests/pow-inputs: Likewise.
68901 * benchtests/slowexp-inputs: New file.
68902 * benchtests/slowexp.c: New file.
68903 * benchtests/slowpow-inputs: New file.
68904 * benchtests/slowpow.c: New file.
68905
68906 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68907
68908 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68909 instructions.
68910 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68911 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68912 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68913 * benchtests/Makefile: Add rint benchtest.
68914 * benchtests/rint-inputs: Input for rint benchtest.
68915
68916 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68917
68918 * Versions.def (libm): Add GLIBC_2.18.
68919 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68920 hidden libm prototypes.
68921 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68922 * math/Makefile (libm-calls): Add s_issignaling.
68923 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68924 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68925 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68926 declaration.
68927 * math/math.h [__USE_GNU] (issignaling): New macro.
68928 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68929 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68930 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68931 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68932 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68933 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68934 * manual/arith.texi (issignaling): New section.
68935 * manual/libm-err-tab.pl (@all_functions): Update comment.
68936 * math/gen-libm-test.pl (parse_args): Apply special handling for
68937 issignaling.
68938 * math/libm-test.inc (print_float, issignaling_test): New
68939 functions.
68940 (check_float_internal): Add issignaling checks.
68941 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68942 default definition.
68943 * sysdeps/powerpc/math-tests.h: New file.
68944 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68945 tests.
68946 * math/test-snan.c (TEST_FUNC): Likewise.
68947
68948 2013-03-30 David S. Miller <davem@davemloft.net>
68949
68950 * po/de.po: Update from translation team.
68951
68952 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68953
68954 [BZ #10357]
68955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68956 imaginary part less than 1.0 and real part less than 0.5
68957 specially.
68958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68960 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68961 (cacos_test): Add more tests.
68962 (casin_test): Likewise.
68963 (casinh_test): Likewise.
68964 * sysdeps/i386/fpu/libm-test-ulps: Update.
68965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68966
68967 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68968
68969 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68970 ONE with its value.
68971
68972 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68973 (__pow_mp): Replace ONE and MONE with their values.
68974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68975 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68977 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68978 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68979 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68980
68981 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68982
68983 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68984 (__pow_mp): Replace ZERO and MZERO with their values.
68985 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68987 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68989 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68990 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68991 (__sqr): Likewise.
68992
68993 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68994
68995 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68996
68997 2013-03-28 Roland McGrath <roland@hack.frob.com>
68998
68999 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69000 Declare with __attribute__ ((weak)).
69001 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69002 Call __call_tls_dtors only if it's not NULL.
69003
69004 2013-03-28 Roland McGrath <roland@hack.frob.com>
69005
69006 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69007 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69008 magic __ehdr_start linker symbol if it's defined.
69009 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69010 them up here if it was already done.
69011
69012 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69013 (_dl_aux_init): Use const in cast when setting it.
69014 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69016 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69017
69018 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69019 Declare them here.
69020 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69021 * csu/libc-tls.c: Nor here.
69022 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69023
69024 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69025 (__libc_message): Never call vsyslog.
69026
69027 2013-03-28 Alan Modra <amodra@gmail.com>
69028
69029 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69030 Define as empty.
69031 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69032 Likewise.
69033
69034 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69035
69036 [BZ #15214]
69037 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69038 underflow.
69039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69040
69041 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69042
69043 [BZ #15304]
69044 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69045 Don't add gid passed as argument.
69046
69047 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69048
69049 2013-03-27 Joseph Myers <joseph@codesourcery.com>
69050
69051 [BZ #15307]
69052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69053 imaginary part between 1.0 and 1.5 and real part less than 0.5
69054 specially.
69055 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69056 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69057 * math/libm-test.inc (cacos_test): Add more tests.
69058 (casin_test): Likewise.
69059 (casinh_test): Likewise.
69060 * sysdeps/i386/fpu/libm-test-ulps: Update.
69061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69062
69063 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69064
69065 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69066 constants.
69067 (norm): Likewise.
69068 (denorm): Likewise.
69069 (__dbl_mp): Likewise.
69070 (add_magnitudes): Likewise.
69071 (sub_magnitudes): Likewise.
69072 (__add): Likewise.
69073 (__sub): Likewise.
69074 (__mul): Likewise.
69075 (__sqr): Likewise.
69076 (__inv): Likewise.
69077 (__dvd): Likewise.
69078
69079 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69080 commented code.
69081 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69082 (__dubcos): Likewise.
69083 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69084 (__ieee754_acos): Likewise.
69085 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69086 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69087 (__exp1): Likewise.
69088 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69090 (log1): Likewise.
69091 (my_log2): Likewise.
69092 (checkint): Likewise.
69093 * sysdeps/ieee754/dbl-64/e_remainder.c
69094 (__ieee754_remainder): Likewise.
69095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69097 (bsloww): Likewise.
69098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69099
69100 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69102 MANTISSA_STORE_T to store computations on mantissa. Use
69103 macros for rounding and division.
69104 (denorm): Likewise.
69105 (__dbl_mp): Likewise.
69106 (add_magnitudes): Likewise.
69107 (sub_magnitudes): Likewise.
69108 (__mul): Likewise.
69109 (__sqr): Likewise.
69110 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69111 powers of two in terms of TWOPOW macro.
69112 (mp_no): Make type of mantissa as MANTISSA_T.
69113 [!RADIXI]: Define RADIXI.
69114 [!TWO52]: Define TWO52.
69115 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69116
69117 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69118
69119 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69120 llroundl symbol when building for PPC32.
69121
69122 2013-03-24 Mark H Weaver <mhw@netris.org>
69123
69124 * manual/arith.texi (Normalization Functions): Fix prototypes for
69125 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69126
69127 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69128
69129 [BZ #13889]
69130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69131 high value to check if expl overflow.
69132 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69133 to check for underflow and overflow.
69134 * math/libm-test.inc: Add exp test.
69135
69136 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69137
69138 [BZ #11120]
69139 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69140 with NOT_IN_libc.
69141
69142 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69143
69144 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69145 symbol.
69146
69147 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69148
69149 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69150 wrap blocks consisting of several statements.
69151
69152 * sysdeps/generic/math-tests.h: New file.
69153 * sysdeps/i386/fpu/math-tests.h: Likewise.
69154 * math/test-snan.c: Include it.
69155 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69156
69157 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69158
69159 [BZ #15285]
69160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69161 (__ieee754_j0l): Do not improve calculations using cos of twice
69162 input for inputs above LDBL_MAX / 2.0L.
69163 (__ieee754_y0l): Likewise.
69164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69165 (__ieee754_j1l): Do not improve calculations using cos of twice
69166 input for inputs above LDBL_MAX / 2.0L.
69167 (__ieee754_y1l): Likewise.
69168 * math/libm-test.inc (j0_test): Add another test.
69169 (j1_test): Likewise.
69170 (y0_test): Likewise.
69171 (y1_test): Likewise.
69172 * sysdeps/i386/fpu/libm-test-ulps: Update.
69173
69174 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69175
69176 * Rules ($(objpfx)bench-%.c): Include code from a C source
69177 file.
69178
69179 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69180
69181 [BZ #15287]
69182 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69183 imaginary part 1.0 and real part less than 0.5 specially.
69184 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69185 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69186 * math/libm-test.inc (cacos_test): Add more tests.
69187 (casin_test): Likewise.
69188 (casinh_test): Likewise.
69189 * sysdeps/i386/fpu/libm-test-ulps: Update.
69190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69191
69192 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69193
69194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69195 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69196
69197 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69198
69199 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69200 * config.make.in (config-cflags-sse4): Remove variable.
69201 (config-cflags-avx): Likewise.
69202 (config-cflags-sse2avx): Likewise.
69203 (config-cflags-novzeroupper): Likewise.
69204 (config-asflags-i686): Likewise.
69205 (have-mfma4): Likewise.
69206 (have-as-vis3): Likewise.
69207 (MIG): Likewise.
69208 * configure.in (MIG): Do not AC_SUBST.
69209 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69210 (libc_cv_cc_sse4): Do not AC_SUBST.
69211 (libc_cv_cc_avx): Likewise.
69212 (libc_cv_cc_sse2avx): Likewise.
69213 (libc_cv_cc_novzeroupper): Likewise.
69214 (libc_cv_cc_fma4): Likewise.
69215 (libc_cv_as_i686): Likewise.
69216 (libc_cv_sparc_as_vis3): Likewise.
69217 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69218 LIBC_CONFIG_VAR.
69219 (config-asflags-i686): Likewise.
69220 (config-cflags-avx): Likewise.
69221 (config-cflags-sse2avx): Likewise.
69222 (have-mfma4): Likewise.
69223 (config-cflags-novzeroupper): Likewise.
69224 * sysdeps/mach/configure.in (MIG): Likewise.
69225 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69226 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69227 LIBC_CONFIG_VAR.
69228 (config-cflags-avx): Likewise.
69229 (config-cflags-sse2avx): Likewise.
69230 (have-mfma4): Likewise.
69231 (config-cflags-novzeroupper): Likewise.
69232 * configure: Regenerated.
69233 * sysdeps/i386/configure: Likewise.
69234 * sysdeps/mach/configure: Likewise.
69235 * sysdeps/sparc/configure: Likewise.
69236 * sysdeps/x86_64/configure: Likewise.
69237
69238 2013-03-20 Roland McGrath <roland@hack.frob.com>
69239
69240 [BZ #14812]
69241 * locale/programs/localedef.c (options): Put N_ translation marker
69242 on argument names, not just descriptions.
69243
69244 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69245
69246 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69247
69248 2013-03-20 Ondƙej Bílka <neleai@seznam.cz>
69249
69250 [BZ #14176]
69251 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69252
69253 2013-03-19 Roland McGrath <roland@hack.frob.com>
69254
69255 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69256 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69257 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69258 [!BEFORE_ABORT] (before_abort): New function.
69259 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69260 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69261 (writev_for_fatal): New function.
69262 (WRITEV_FOR_FATAL): New macro; call that.
69263 (backtrace_and_maps): New function.
69264 (BEFORE_ABORT): New macro; call that.
69265 (struct str_list): Type removed.
69266 (__libc_message, __libc_fatal): Functions removed.
69267 Include <sysdeps/posix/libc_fatal.c> instead.
69268
69269 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69270
69271 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69272 constants.
69273 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69274 double constants.
69275
69276 2013-03-19 Andreas Schwab <schwab@suse.de>
69277
69278 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69279 * sysdeps/gnu/configure: Regenerate.
69280
69281 * configure.in: Substitute libc_cv_rtlddir.
69282 * configure: Regenerate.
69283 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69284 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69285 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69286 * elf/Makefile (install-others, CFLAGS-interp.c)
69287 (ldso_install, common-ldd-rewrite): Likewise.
69288 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69289 $(inst_slibdir)/$(rtld-installed-name).
69290 * scripts/rellns-sh: Add -p option.
69291 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69292 for source.
69293
69294 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69295
69296 * manual/nptl.texi: Renamed to ...
69297 * manual/threads.texi: ... this.
69298 * manual/Makefile (chapters): Update.
69299
69300 2013-03-18 Roland McGrath <roland@hack.frob.com>
69301
69302 [BZ #14812]
69303 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69304 on argument names, not just descriptions.
69305 * malloc/memusagestat.c (options): Likewise.
69306 * nss/getent.c (options): Likewise.
69307
69308 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69309
69310 [BZ #14812]
69311 * iconv/iconv_prog.c (options): Put N_ translation marker
69312 on argument names, not just descriptions.
69313 * iconv/iconvconfig.c (options): Likewise.
69314
69315 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69316
69317 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69318 implementation which is faster on all x86_64 architectures.
69319 Tested on AMD, Intel Nehalem, SNB, IVB.
69320 * sysdeps/x86_64/strnlen.S: Likewise.
69321
69322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69323 Remove all multiarch strlen and strnlen versions.
69324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69325 Remove strlen and strnlen related parts.
69326
69327 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69328 Inline strlen part.
69329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69330
69331 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69332 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69334 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69336 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69337
69338 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69339
69340 * manual/memory.texi (Malloc Tunable Parameters):
69341 Sort parameters alphabetically. Add comments for missing entries.
69342
69343 2013-03-17 David S. Miller <davem@davemloft.net>
69344
69345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69346
69347 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69348
69349 [BZ #15283]
69350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69351 for arguments at most half maximum finite value.
69352 * math/libm-test.inc (j0_test): Add more tests.
69353 (j1_test): Likewise.
69354 (y0_test): Likewise.
69355 (y1_test): Likewise.
69356 * sysdeps/i386/fpu/libm-test-ulps: Update.
69357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69358
69359 [BZ #14155]
69360 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69361 1 / x and functions P and Q for arguments above 0x1p256L.
69362 (__ieee754_y0l): Likewise.
69363 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69364 (__ieee754_y1l): Likewise.
69365 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69366 (j1_test): Likewise.
69367 (y0_test): Likewise.
69368 (y1_test): Likewise.
69369
69370 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69371
69372 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69373 variable.
69374
69375 2013-03-15 Roland McGrath <roland@hack.frob.com>
69376
69377 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69378 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69379 zero since it's initialized to EXEC_PAGESIZE.
69380
69381 * sysdeps/unix/sysv/linux/ldsodefs.h
69382 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69383 * sysdeps/generic/ldsodefs.h: ... here.
69384
69385 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69386
69387 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69388
69389 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69390 math/test-snan.c.
69391 * math/test-snan.c: Renamed from
69392 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69393 * math/Makefile (tests): Add test-snan.
69394 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69395 test-powerpc-snan.
69396
69397 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69398 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69399 functions.
69400 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69401 __builtin_nan family of functions.
69402 * math/libm-test.inc (initialize): Initialize qnan_value with
69403 __builtin_nan family of functions.
69404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69405 Remove variables.
69406 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69407 Remove functions.
69408 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69409 storage class. Initialize qNaN_var and sNaN_var with
69410 __builtin_nan and __builtin_nans families of functions,
69411 respectively.
69412
69413 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69414 (sqrt_test): Remove duplicate test with qNaN input.
69415 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69416 (round_test, signbit_test, significand_test): Note missing +/-Inf
69417 as well as qNaN tests.
69418
69419 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69420 qNaN_var. Fix a few strings, too.
69421 * math/libm-test.inc (nan_value): Rename to qnan_value.
69422 * math/gen-libm-test.pl (%beautify): Adjust to that.
69423 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69424 * math/test-misc.c (main): Likewise.
69425 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69426 to __qnan_bytes, and __qnan_union, respectively.
69427 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69428 Likewise.
69429 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69430 and lqnanval, respectively.
69431 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69432 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69433 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69434 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69435
69436 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69437 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69438 doubles.
69439
69440 * math/test-misc.c (main): Fix copy'n'pastos.
69441 * misc/tst-efgcvt.c (special): Likewise.
69442
69443 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69444 Remove declarations.
69445
69446 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69447
69448 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69449 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69450 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69451 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69452
69453 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69454
69455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69456 macro to return vdso values correctly in IFUNC implementations.
69457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69458 Optimization by using IFUNC.
69459
69460 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69461 Richard Henderson <rth@redhat.com>
69462 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69463
69464 * Makefile.in (bench): New target.
69465 * NEWS: Mention the benchmark framework.
69466 * Rules (bench): Likewise.
69467 (binaries-bench): Generate binaries for functions to
69468 benchmark.
69469 * benchtests/Makefile: New makefile for benchmark tests.
69470 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69471 programs.
69472 * benchtests/exp-inputs: New input file for EXP function.
69473 * benchtests/pow-inputs: New input file for POW function.
69474 * scripts/bench.pl: New script to generate source files for
69475 benchmark programs.
69476
69477 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69478
69479 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69480 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69481 computations on mantissa. Use macros for rounding and
69482 division.
69483 (denorm): Likewise.
69484 (__dbl_mp): Likewise.
69485 (add_magnitudes): Likewise.
69486 (sub_magnitudes): Likewise.
69487 (__mul): Likewise.
69488 (__sqr): Likewise.
69489 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69490 powers of two in terms of TWOPOW macro.
69491 (mp_no): Make type of mantissa as MANTISSA_T.
69492 [!RADIXI]: Define RADIXI.
69493 [!TWO52]: Define TWO52.
69494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69495
69496 * manual/nptl.texi (cindex): Modify threads to pthreads.
69497
69498 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69499
69500 * sysdeps/x86_64/preconfigure: Regenerated.
69501
69502 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69503
69504 [BZ #14155]
69505 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69506 0x1p28 and above.
69507 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69508 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69509 0x1p28 and above.
69510 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69511 * math/libm-test.inc (j0_test): Do not allow one spurious
69512 underflow exception.
69513 (y1_test): Likewise.
69514
69515 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69516
69517 * manual/Makefile (chapters): Add nptl.
69518 * manual/debug.texi (Debugging Support): Add link to Threads
69519 chapter.
69520 * manual/nptl.texi: New file.
69521
69522 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69523
69524 2013-03-14 Petr Baudis <pasky@ucw.cz>
69525
69526 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69527 for non-NULL pointer before the memory validity test. Pointed
69528 out by Holger Brunck <holger.brunck@keymile.com>.
69529
69530 2013-03-13 Andreas Schwab <schwab@suse.de>
69531
69532 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69533 instead of .os.
69534
69535 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69536
69537 * timezone/zic.c: Update from tzcode 2013b.
69538
69539 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69540
69541 * manual/install.texi (Configuring and compiling):
69542 Mention i686 and i586.
69543 * INSTALL: Regenerate.
69544
69545 2013-03-12 Roland McGrath <roland@hack.frob.com>
69546
69547 * sysdeps/init_array/elf-init.c: New file.
69548 * csu/elf-init.c
69549 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69550 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69551
69552 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69553 __gmon_start__ as global, but as static with a .preinit_array pointer.
69554 * sysdeps/init_array/gmon-start.c: New file. Use that.
69555 * sysdeps/init_array/crti.S: New file, empty except for comments.
69556 * sysdeps/init_array/crtn.S: Likewise.
69557
69558 2013-03-11 Ondƙej Bílka <neleai@seznam.cz>
69559
69560 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69561 definining bcopy.
69562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69563 Remove Prefer_SSE_for_memop.
69564 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69565 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69566 HAS_PREFER_SSE_FOR_MEMOP.
69567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69568 memset-x86-64.
69569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69570 Remove bzero, memset ifunc support.
69571 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69573 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69574 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69575
69576 2013-03-11 Andreas Schwab <schwab@suse.de>
69577
69578 [BZ #15234]
69579 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69580 by SHLIB_COMPAT.
69581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69582 (GLIBC_2.16): Remove pthread_atfork.
69583
69584 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69585
69586 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69587 (ptestcases.h): Likewise.
69588
69589 2013-03-08 Roland McGrath <roland@hack.frob.com>
69590
69591 * Makeconfig ($(common-objpfx)config.status): Depend on
69592 sysdeps/*/preconfigure{,.in} too.
69593
69594 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69595
69596 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69597 (__free_hook): Use void * instead of __malloc_ptr_t.
69598 (__malloc_hook): Likewise.
69599 (__realloc_hook): Likewise.
69600 (__memalign_hook): Likewise.
69601 (__after_morecore_hook): Likewise.
69602 * malloc/arena.c (save_malloc_hook): Likewise.
69603 (save_free_hook): Likewise.
69604 * malloc/hooks.c (malloc_hook_ini): Likewise.
69605 (realloc_hook_ini): Likewise.
69606 (memalign_hook_ini): Likewise.
69607 * malloc/malloc.c (malloc_hook_ini): Likewise.
69608 (realloc_hook_ini): Likewise.
69609 (memalign_hook_ini): Likewise.
69610 (__free_hook): Likewise.
69611 (__malloc_hook): Likewise.
69612 (__realloc_hook): Likewise.
69613 (__memalign_hook): Likewise.
69614 (__libc_malloc): Likewise.
69615 (__libc_free): Likewise.
69616 (__libc_realloc): Likewise.
69617 (__libc_memalign): Likewise.
69618 (__libc_valloc): Likewise.
69619 (__libc_pvalloc): Likewise.
69620 (__libc_calloc): Likewise.
69621 (__posix_memalign): Likewise.
69622 * malloc/morecore.c (__sbrk): Likewise.
69623 (__default_morecore): Likewise.
69624
69625 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69626
69627 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69628 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69629 __malloc_ptrdiff_t.
69630
69631 * malloc/malloc.h (__malloc_size_t): Remove macro.
69632 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69633 __malloc_size_t.
69634 (old_memalign_hook): Likewise.
69635 (old_realloc_hook): Likewise.
69636 (struct hdr): Likewise.
69637 (flood): Likewise.
69638 (mallochook): Likewise.
69639 (memalignhook): Likewise.
69640 (reallochook): Likewise.
69641 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69642 (tr_old_realloc_hook): Likewise.
69643 (tr_old_memalign_hook): Likewise.
69644 (tr_mallochook): Likewise.
69645 (tr_reallochook): Likewise.
69646 (tr_memalignhook): Likewise.
69647
69648 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69649
69650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69651 default_ldbl_pack and using as default implementation.
69652 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69653 implementation.
69654 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69655 redundant definition.
69656 (ldbl_insert_mantissa): Likewise.
69657 (ldbl_canonicalize): Likewise.
69658 (ldbl_nearbyint): Likewise.
69659 (ldbl_pack): Rename to ldbl_pack_ppc.
69660 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69661 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69662 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69663
69664 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69665
69666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69667 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69668 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69669 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69672 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69673 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69674
69675 2013-03-07 Andreas Jaeger <aj@suse.de>
69676
69677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69678 bits/mman-linux.h.
69679
69680 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69681
69682 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69683 Include mpa.h and declare __MPEXP.
69684 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69685 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69687 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69688 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69689 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69690 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69691
69692 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69693 (__slowpow): Use long double EXPL and LOGL functions to
69694 compute POW.
69695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69699 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69701
69702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69703 intermediate variable to calculate exponent.
69704 (__sqr): Likewise.
69705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69706 Likewise.
69707 (__sqr): Likewise.
69708
69709 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69710 [!NO__SQR]: Define __sqr.
69711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69712 and NO__SQR. Remove all code except __mul and __sqr. Include
69713 sysdeps/ieee754/dbl-64/mpa.c.
69714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69715
69716 [BZ #12723]
69717 * posix/Makefile (tests): Add tst-pathconf.
69718 * posix/tst-pathconf.c: New test case.
69719 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69720 _PC_PIPE_BUF.
69721 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69722
69723 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69724
69725 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69726
69727 2013-03-06 Andreas Jaeger <aj@suse.de>
69728
69729 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69730 definition via __MAP_ANONYMOUS.
69731
69732 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69733 it's not part of Linux headers.
69734
69735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69736 (MAP_HUGE_MASK): Define.
69737
69738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69739 Define.
69740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69742 Define.
69743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69744 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69745 Define.
69746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69748 Define.
69749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69750
69751 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69752 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69753 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69754 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69755 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69757
69758 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69759 Handle f2fs.
69760
69761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69762 Handle f2fs and efivarfs.
69763
69764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69765 f2fs.
69766
69767 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69768 (EFIVARFS_MAGIC): Add.
69769 (F2FS_LINK_MAX): Add.
69770
69771 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69772
69773 * stdio-common/vfprintf.c: Replace __builtin_expect with
69774 __glibc_unlikely.
69775
69776 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69777
69778 [BZ #13550]
69779 * sysdeps/generic/bp-sym.h: Remove file.
69780 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69781 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69782 <bp-sym.h> and <bp-asm.h>.
69783 (__longjmp): Don't use BP_SYM.
69784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69785 and <bp-asm.h>.
69786 (memcpy): Don't use BP_SYM.
69787 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69788 <bp-sym.h> and <bp-asm.h>.
69789 (memcpy): Don't use BP_SYM.
69790 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69791 <bp-asm.h>.
69792 (memcpy): Don't use BP_SYM.
69793 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69794 <bp-asm.h>.
69795 (memset): Don't use BP_SYM.
69796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69798 (__bzero): Don't use BP_SYM.
69799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69802 <bp-sym.h> and <bp-asm.h>.
69803 (memcmp): Don't use BP_SYM. Remove comment about bounded
69804 pointers.
69805 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69806 <bp-sym.h> and <bp-asm.h>.
69807 (memcpy): Don't use BP_SYM.
69808 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69809 <bp-sym.h> and <bp-asm.h>.
69810 (memset): Don't use BP_SYM.
69811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69813 (__bzero): Don't use BP_SYM.
69814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69816 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69817 <bp-sym.h> and <bp-asm.h>.
69818 (strncmp): Don't use BP_SYM. Remove comment about bounded
69819 pointers.
69820 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69821 <bp-sym.h> and <bp-asm.h>.
69822 (memcpy): Don't use BP_SYM.
69823 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69824 <bp-sym.h> and <bp-asm.h>.
69825 (memset): Don't use BP_SYM.
69826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69828 (__bzero): Don't use BP_SYM.
69829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69832 <bp-sym.h> and <bp-asm.h>.
69833 (__memchr): Don't use BP_SYM.
69834 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69835 <bp-sym.h> and <bp-asm.h>.
69836 (memcmp): Don't use BP_SYM. Remove comment about bounded
69837 pointers.
69838 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69839 <bp-sym.h> and <bp-asm.h>.
69840 (memcpy): Don't use BP_SYM.
69841 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69842 <bp-sym.h> and <bp-asm.h>.
69843 (__mempcpy): Don't use BP_SYM.
69844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69845 <bp-sym.h> and <bp-asm.h>.
69846 (__memrchr): Don't use BP_SYM.
69847 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69848 <bp-sym.h> and <bp-asm.h>.
69849 (memset): Don't use BP_SYM.
69850 (__bzero): Likewise.
69851 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69852 <bp-sym.h> and <bp-asm.h>.
69853 (__rawmemchr): Don't use BP_SYM.
69854 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69855 <bp-sym.h> and <bp-asm.h>.
69856 (__STRCMP): Don't use BP_SYM.
69857 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69858 <bp-sym.h> and <bp-asm.h>.
69859 (strchr): Don't use BP_SYM.
69860 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69861 <bp-sym.h> and <bp-asm.h>.
69862 (__strchrnul): Don't use BP_SYM.
69863 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69864 <bp-sym.h> and <bp-asm.h>.
69865 (strlen): Don't use BP_SYM.
69866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69867 <bp-sym.h> and <bp-asm.h>.
69868 (strncmp): Don't use BP_SYM. Remove comment about bounded
69869 pointers.
69870 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69871 <bp-sym.h> and <bp-asm.h>.
69872 (__strnlen): Don't use BP_SYM.
69873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69874 <bp-sym.h> and <bp-asm.h>.
69875 (__GI__setjmp): Don't use BP_SYM.
69876 (_setjmp): Likewise.
69877 (__sigsetjmp): Likewise.
69878 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69879 (L(start_addresses)): Don't use BP_SYM.
69880 (_start): Likewise.
69881 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69882 <bp-asm.h>.
69883 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69884 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69885 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69886 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69887 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69888 <bp-asm.h>.
69889 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69890 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69891 about bounded pointers.
69892 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69893 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69894 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69895 <bp-asm.h>.
69896 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69897 about bounded pointers. Remove GKM FIXME comments.
69898 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69899 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69900 <bp-asm.h>.
69901 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69902 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69903 Remove GKM FIXME comments.
69904 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69905 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69906 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69907 <bp-asm.h>.
69908 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69909 about bounded pointers. Remove GKM FIXME comment.
69910 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69911 and <bp-asm.h>.
69912 (strncmp): Don't use BP_SYM. Remove comment about bounded
69913 pointers.
69914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69915 <bp-sym.h> and <bp-asm.h>.
69916 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69918 <bp-sym.h> and <bp-asm.h>.
69919 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69920 comment.
69921
69922 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69923
69924 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69925 call free(NULL).
69926
69927 2013-03-05 David S. Miller <davem@davemloft.net>
69928
69929 * po/es.po: Update from translation team.
69930
69931 2013-03-05 Andreas Jaeger <aj@suse.de>
69932
69933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69934 <bits/mman-linux.h>.
69935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69936 is fine.
69937 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69938 <bits/mman-linux.h> to end of file.
69939 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69940 is fine.
69941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69942 <bits/mman-linux.h> to end of file.
69943 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69944 is fine.
69945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69946 <bits/mman-linux.h> to end of file.
69947
69948 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69949 (MCL_CURRENT, MCL_FUTURE): Define here.
69950
69951 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69952
69953 [BZ #15232]
69954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69955 attribute_hidden.
69956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69957
69958 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69959
69960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69961 fourth parameter needed for rt_sigprocmask syscall.
69962 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69963 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69964 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69965 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69966 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69967 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69968
69969 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69970
69971 [BZ #13550]
69972 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69973 comment about bounded pointers.
69974 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69975 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69976
69977 2013-03-04 Andreas Jaeger <aj@suse.de>
69978
69979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69980 common definitions.
69981
69982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69983 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69986 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69988
69989 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69990
69991 [BZ #15055]
69992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69993 __ieee754_sqrl instead of __sqrl.
69994
69995 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69996
69997 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69998 * sysdeps/powerpc/fpu_control.h: ... here.
69999 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70000 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70001 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70002 * sysdeps/powerpc/bits/mathinline.h: ... here.
70003
70004 2013-03-01 Roland McGrath <roland@hack.frob.com>
70005
70006 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70007 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70008 to just [NEED_DL_SYSINFO_DSO].
70009 * elf/dl-support.c: Likewise.
70010 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70011 * elf/rtld.c (dl_main): Likewise.
70012 * elf/setup-vdso.h (setup_vdso): Likewise.
70013 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70014 * sysdeps/unix/sysv/linux/dl-sysdep.c
70015 (_dl_discover_osversion): Likewise.
70016
70017 2013-03-01 Carlos O'Donell <carlos@redhat.com>
70018
70019 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70020 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70021
70022 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70023
70024 * NEWS: Mention libm performance improvements and non-x86 PI
70025 futex support.
70026
70027 * csu/libc-start.c (__pthread_initialize_minimal): Change
70028 function arguments.
70029 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70030
70031 2013-02-28 Joseph Myers <joseph@codesourcery.com>
70032
70033 [BZ #13550]
70034 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70036 <bp-sym.h> and <bp-asm.h>.
70037 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70039 and <bp-asm.h>.
70040 (memcpy): Don't use BP_SYM.
70041 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70042 <bp-asm.h>.
70043 (__mpn_add_n): Don't use BP_SYM.
70044 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70045 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70046 and <bp-asm.h>.
70047 (__mpn_addmul_1): Don't use BP_SYM.
70048 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70049 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70050 <bp-sym.h>.
70051 (_setjmp): Don't use BP_SYM.
70052 (__novmx_setjmp): Likewise.
70053 (__GI__setjmp): Likewise.
70054 (__vmx_setjmp): Likewise.
70055 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70056 <bp-sym.h>.
70057 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70058 (__bzero): Don't use BP_SYM.
70059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70061 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70062 <bp-sym.h> and <bp-asm.h>.
70063 (memcpy): Don't use BP_SYM.
70064 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70065 <bp-sym.h> and <bp-asm.h>.
70066 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70068 <bp-sym.h> and <bp-asm.h>.
70069 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70070 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70071 <bp-asm.h>.
70072 (__mpn_lshift): Don't use BP_SYM.
70073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70074 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70075 <bp-asm.h>.
70076 (memset): Don't use BP_SYM.
70077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70079 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70080 <bp-asm.h>.
70081 (__mpn_mul_1): Don't use BP_SYM.
70082 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70084 <bp-sym.h> and <bp-asm.h>.
70085 (memcmp): Don't use BP_SYM.
70086 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70087 <bp-sym.h> and <bp-asm.h>.
70088 (memcpy): Don't use BP_SYM.
70089 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70090 <bp-sym.h> and <bp-asm.h>.
70091 (memset): Don't use BP_SYM.
70092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70093 <bp-sym.h> and <bp-asm.h>.
70094 (strncmp): Don't use BP_SYM.
70095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70096 <bp-sym.h> and <bp-asm.h>.
70097 (memcpy): Don't use BP_SYM.
70098 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70099 <bp-sym.h> and <bp-asm.h>.
70100 (memset): Don't use BP_SYM.
70101 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70102 <bp-sym.h> and <bp-asm.h>.
70103 (__memchr): Don't use BP_SYM.
70104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70105 <bp-sym.h> and <bp-asm.h>.
70106 (memcmp): Don't use BP_SYM.
70107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70108 <bp-sym.h> and <bp-asm.h>.
70109 (memcpy): Don't use BP_SYM.
70110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70111 <bp-sym.h> and <bp-asm.h>.
70112 (__mempcpy): Don't use BP_SYM.
70113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70114 <bp-sym.h> and <bp-asm.h>.
70115 (__memrchr): Don't use BP_SYM.
70116 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70117 <bp-sym.h> and <bp-asm.h>.
70118 (memset): Don't use BP_SYM.
70119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70120 <bp-sym.h> and <bp-asm.h>.
70121 (__rawmemchr): Don't use BP_SYM.
70122 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70123 <bp-sym.h> and <bp-asm.h>.
70124 (__STRCMP): Don't use BP_SYM.
70125 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70126 <bp-sym.h> and <bp-asm.h>.
70127 (strchr): Don't use BP_SYM.
70128 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70129 <bp-sym.h> and <bp-asm.h>.
70130 (__strchrnul): Don't use BP_SYM.
70131 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70132 <bp-sym.h> and <bp-asm.h>.
70133 (strlen): Don't use BP_SYM.
70134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70135 <bp-sym.h> and <bp-asm.h>.
70136 (strncmp): Don't use BP_SYM.
70137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70138 <bp-sym.h> and <bp-asm.h>.
70139 (__strnlen): Don't use BP_SYM.
70140 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70141 <bp-asm.h>.
70142 (__mpn_rshift): Don't use BP_SYM.
70143 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70144 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70145 <bp-sym.h> and <bp-asm.h>.
70146 (__sigsetjmp): Don't use BP_SYM.
70147 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70148 (L(start_addresses)): Don't use BP_SYM.
70149 (_start): Likewise.
70150 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70151 <bp-asm.h>.
70152 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70153 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70154 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70155 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70156 <bp-asm.h>.
70157 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70158 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70159 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70160 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70161 <bp-asm.h>.
70162 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70163 comments.
70164 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70165 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70166 <bp-asm.h>.
70167 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70168 FIXME comments.
70169 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70170 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70171 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70172 <bp-asm.h>.
70173 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70174 comment.
70175 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70176 and <bp-asm.h>.
70177 (strncmp): Don't use BP_SYM,
70178 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70179 <bp-asm.h>.
70180 (__mpn_sub_n): Don't use BP_SYM.
70181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70182 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70183 and <bp-asm.h>.
70184 (__mpn_submul_1): Don't use BP_SYM.
70185 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70187 <bp-sym.h> and <bp-asm.h>.
70188 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70190 <bp-sym.h> and <bp-asm.h>.
70191 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70192 comment.
70193
70194 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70195
70196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70197 Use ZK to minimize writes to Z.
70198 (sub_magnitudes): Simplify code a bit.
70199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70200 Use ZK to minimize writes to Z.
70201 (sub_magnitudes): Simplify code a bit.
70202
70203 2013-02-27 Roland McGrath <roland@hack.frob.com>
70204
70205 * csu/gmon-start.c: Add special exception to license text.
70206
70207 2013-02-27 Richard Henderson <rth@redhat.com>
70208
70209 * scripts/config.guess: Update from config.git.
70210 * scripts/config.sub: Likewise.
70211
70212 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70213
70214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70215
70216 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70217
70218 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70219
70220 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70221
70222 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70223
70224 2013-02-26 Roland McGrath <roland@hack.frob.com>
70225
70226 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70227 [$(build-shared = yes].
70228
70229 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70230
70231 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70232 (__mul): Reduce iterations for calculating mantissa.
70233
70234 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70235 MPTWO.
70236 (__mpranred): Likewise.
70237
70238 [BZ #15160]
70239 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70240 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70241
70242 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70243
70244 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70245 Define __attribute__.
70246
70247 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70248
70249 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70250 unused.
70251 * posix/regex_internal.h (__attribute): Remove.
70252 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70253 (re_string_context_at): Likewise.
70254 (bitset_not): Use __attribute__ and mark function as possibly
70255 unused.
70256 (bitset_merge): Likewise.
70257 (bitset_mask): Likewise.
70258 (re_string_char_size_at): Likewise.
70259 (re_string_wchar_at): Likewise.
70260 (re_string_elem_size_at): Likewise.
70261
70262 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70263
70264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70265 code.
70266 (cc32): Likewise.
70267
70268 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70269 (__acr): Likewise.
70270 (__cpy): Likewise.
70271 (norm): Likewise.
70272 (denorm): Likewise.
70273 (__dbl_mp): Likewise.
70274 (add_magnitudes): Likewise.
70275 (sub_magnitudes): Likewise.
70276 (__mul): Likewise.
70277 (__inv): Likewise.
70278
70279 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70280 style.
70281
70282 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70283 style.
70284
70285 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70286 code.
70287
70288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70289 up changes with default code.
70290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70291 Likewise.
70292
70293 2013-02-24 Allan McRae <allan@archlinux.org>
70294
70295 * manual/socket.texi (The Internet Namespace): Order menu items
70296 to match that in the file.
70297
70298 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70299 node listing of the info page menu.
70300
70301 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70302
70303 [BZ #13550]
70304 * sysdeps/i386/bp-asm.h: Remove file.
70305 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70306 (PARMS): Do not use macros from bp-asm.h.
70307 (S1): Likewise.
70308 (S2): Likewise.
70309 (SIZE): Likewise.
70310 (__mpn_add_n): Do not use BP_SYM
70311 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70312 "bp-asm.h".
70313 (PARMS): Do not use macros from bp-asm.h.
70314 (S1): Likewise.
70315 (SIZE): Likewise.
70316 (__mpn_addmul_1): Do not use BP_SYM
70317 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70318 "bp-asm.h".
70319 (PARMS): Do not use macros from bp-asm.h.
70320 (SIGMSK): Likewise.
70321 (_setjmp): Likewise. Do not use BP_SYM.
70322 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70323 "bp-asm.h".
70324 (PARMS): Do not use macros from bp-asm.h.
70325 (SIGMSK): Likewise.
70326 (setjmp): Likewise. Do not use BP_SYM.
70327 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70328 "bp-asm.h".
70329 (PARMS): Do not use macros from bp-asm.h.
70330 (__frexp): Do not use BP_SYM.
70331 (frexp): Likewise.
70332 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70333 "bp-asm.h".
70334 (PARMS): Do not use macros from bp-asm.h.
70335 (__frexpf): Do not use BP_SYM.
70336 (frexpf): Likewise.
70337 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70338 "bp-asm.h".
70339 (PARMS): Do not use macros from bp-asm.h.
70340 (__frexpl): Do not use BP_SYM.
70341 (frexpl): Likewise.
70342 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70343 "bp-asm.h".
70344 (PARMS): Do not use macros from bp-asm.h.
70345 (__remquo): Do not use BP_SYM.
70346 (remquo): Likewise.
70347 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70348 "bp-asm.h".
70349 (PARMS): Do not use macros from bp-asm.h.
70350 (__remquof): Do not use BP_SYM.
70351 (remquof): Likewise.
70352 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70353 "bp-asm.h".
70354 (PARMS): Do not use macros from bp-asm.h.
70355 (__remquol): Do not use BP_SYM.
70356 (remquol): Likewise.
70357 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70358 "bp-asm.h".
70359 (PARMS): Do not use macros from bp-asm.h.
70360 (DEST): Likewise.
70361 (SRC): Likewise.
70362 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70363 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70364 "bp-asm.h".
70365 (PARMS): Do not use macros from bp-asm.h.
70366 (strlen): Do not use BP_SYM.
70367 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70368 "bp-asm.h".
70369 (PARMS): Do not use macros from bp-asm.h.
70370 (S1): Likewise.
70371 (S2): Likewise.
70372 (SIZE): Likewise.
70373 (__mpn_add_n): Do not use BP_SYM.
70374 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70375 "bp-asm.h".
70376 (PARMS): Do not use macros from bp-asm.h.
70377 (S1): Likewise.
70378 (SIZE): Likewise.
70379 (__mpn_addmul_1): Do not use BP_SYM.
70380 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70381 weak_alias.
70382 (bzero): Likewise.
70383 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70384 "bp-asm.h".
70385 (PARMS): Do not use macros from bp-asm.h.
70386 (S): Likewise.
70387 (SIZE): Likewise.
70388 (__mpn_lshift): Do not use BP_SYM.
70389 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70390 "bp-asm.h".
70391 (PARMS): Do not use macros from bp-asm.h.
70392 (DEST): Likewise.
70393 (SRC): Likewise.
70394 (LEN): Likewise.
70395 (memcpy): Likewise. Do not use BP_SYM.
70396 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70397 libc_hidden_def and weak_alias.
70398 (mempcpy): Do not use BP_SYM in weak_alias.
70399 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70400 "bp-asm.h".
70401 (PARMS): Do not use macros from bp-asm.h.
70402 (DEST): Likewise.
70403 (LEN): Likewise.
70404 [!BZERO_P] (CHR): Likewise.
70405 (memset): Likewise. Do not use BP_SYM.
70406 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70407 "bp-asm.h".
70408 (PARMS): Do not use macros from bp-asm.h.
70409 (S1): Likewise.
70410 (SIZE): Likewise.
70411 (__mpn_mul_1): Do not use BP_SYM.
70412 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70413 "bp-asm.h".
70414 (PARMS): Do not use macros from bp-asm.h.
70415 (S): Likewise.
70416 (SIZE): Likewise.
70417 (__mpn_rshift): Do not use BP_SYM.
70418 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70419 "bp-asm.h".
70420 (PARMS): Do not use macros from bp-asm.h.
70421 (STR): Likewise.
70422 (CHR): Likewise.
70423 (strchr): Likewise. Do not use BP_SYM.
70424 (index): Do not use BP_SYM in weak_alias.
70425 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70426 "bp-asm.h".
70427 (PARMS): Do not use macros from bp-asm.h.
70428 (DEST): Likewise.
70429 (SRC): Likewise.
70430 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70431 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70432 "bp-asm.h".
70433 (PARMS): Do not use macros from bp-asm.h.
70434 (strlen): Do not use BP_SYM.
70435 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70436 "bp-asm.h".
70437 (PARMS): Do not use macros from bp-asm.h.
70438 (S1): Likewise.
70439 (S2): Likewise.
70440 (SIZE): Likewise.
70441 (__mpn_sub_n): Do not use BP_SYM.
70442 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70443 "bp-asm.h".
70444 (PARMS): Do not use macros from bp-asm.h.
70445 (S1): Likewise.
70446 (SIZE): Likewise.
70447 (__mpn_submul_1): Do not use BP_SYM.
70448 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70449 "bp-asm.h".
70450 (PARMS): Do not use macros from bp-asm.h.
70451 (S1): Likewise.
70452 (S2): Likewise.
70453 (SIZE): Likewise.
70454 (__mpn_add_n): Do not use BP_SYM.
70455 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70456 weak_alias.
70457 (bzero): Likewise.
70458 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70459 "bp-asm.h".
70460 (PARMS): Do not use macros from bp-asm.h.
70461 (BLK2): Likewise.
70462 (LEN): Likewise.
70463 (memcmp): Do not use BP_SYM.
70464 (bcmp): Do not use BP_SYM in weak_alias.
70465 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70466 "bp-asm.h".
70467 (PARMS): Do not use macros from bp-asm.h.
70468 (DEST): Likewise.
70469 (SRC): Likewise.
70470 (LEN): Likewise.
70471 (memcpy): Likewise. Do not use BP_SYM.
70472 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70473 "bp-asm.h".
70474 (PARMS): Do not use macros from bp-asm.h.
70475 (DEST): Likewise.
70476 (SRC): Likewise.
70477 (LEN): Likewise.
70478 (memmove): Likewise. Do not use BP_SYM.
70479 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70480 "bp-asm.h".
70481 (PARMS): Do not use macros from bp-asm.h.
70482 (DEST): Likewise.
70483 (SRC): Likewise.
70484 (LEN): Likewise.
70485 (__mempcpy): Likewise. Do not use BP_SYM.
70486 (mempcpy): Do not use BP_SYM in weak_alias.
70487 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70488 "bp-asm.h".
70489 (PARMS): Do not use macros from bp-asm.h.
70490 (DEST): Likewise.
70491 (LEN): Likewise.
70492 [!BZERO_P] (CHR): Likewise.
70493 (memset): Likewise. Do not use BP_SYM.
70494 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70495 "bp-asm.h".
70496 (PARMS): Do not use macros from bp-asm.h.
70497 (STR2): Likewise.
70498 (strcmp): Do not use BP_SYM.
70499 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70500 "bp-asm.h".
70501 (PARMS): Do not use macros from bp-asm.h.
70502 (STR): Likewise.
70503 (DELIM): Likewise.
70504 [USE_AS_STRTOK_R] (SAVE): Likewise.
70505 (FUNCTION): Likewise. Do not use BP_SYM.
70506 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70507 aliases.
70508 (strtok_r): Likewise.
70509 (__GI___strtok_r): Likewise.
70510 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70511 (PARMS): Do not use macros from bp-asm.h.
70512 (S): Likewise.
70513 (SIZE): Likewise.
70514 (__mpn_lshift): Do not use BP_SYM.
70515 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70516 (PARMS): Do not use macros from bp-asm.h.
70517 (STR): Likewise.
70518 (CHR): Likewise.
70519 (__memchr): Do not use BP_SYM.
70520 (memchr): Do not use BP_SYM in weak_alias.
70521 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70522 (PARMS): Do not use macros from bp-asm.h.
70523 (BLK2): Likewise.
70524 (LEN): Likewise.
70525 (memcmp): Do not use BP_SYM.
70526 (bcmp): Do not use BP_SYM in weak_alias.
70527 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70528 (PARMS): Do not use macros from bp-asm.h.
70529 (S1): Likewise.
70530 (SIZE): Likewise.
70531 (__mpn_mul_1): Do not use BP_SYM.
70532 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70533 "bp-asm.h".
70534 (PARMS): Do not use macros from bp-asm.h.
70535 (STR): Likewise.
70536 (CHR): Likewise.
70537 (__rawmemchr): Do not use BP_SYM.
70538 (rawmemchr): Do not use BP_SYM in weak_alias.
70539 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70540 (PARMS): Do not use macros from bp-asm.h.
70541 (S): Likewise.
70542 (SIZE): Likewise.
70543 (__mpn_rshift): Do not use BP_SYM.
70544 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70545 (PARMS): Do not use macros from bp-asm.h.
70546 (SIGMSK): Likewise.
70547 (__sigsetjmp): Likewise. Do not use BP_SYM.
70548 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70549 (_start): Do not use BP_SYM.
70550 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70551 (PARMS): Do not use macros from bp-asm.h.
70552 (DEST): Likewise.
70553 (SRC): Likewise.
70554 (__stpcpy): Likewise. Do not use BP_SYM.
70555 (stpcpy): Do not use BP_SYM in weak_alias.
70556 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70557 "bp-asm.h".
70558 (PARMS): Do not use macros from bp-asm.h.
70559 (DEST): Likewise.
70560 (SRC): Likewise.
70561 (LEN): Likewise.
70562 (__stpncpy): Likewise. Do not use BP_SYM.
70563 (stpncpy): Do not use BP_SYM in weak_alias.
70564 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70565 (PARMS): Do not use macros from bp-asm.h.
70566 (STR): Likewise.
70567 (CHR): Likewise.
70568 (strchr): Likewise. Do not use BP_SYM.
70569 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70570 "bp-asm.h".
70571 (PARMS): Do not use macros from bp-asm.h.
70572 (STR): Likewise.
70573 (CHR): Likewise.
70574 (__strchrnul): Likewise. Do not use BP_SYM.
70575 (strchrnul): Do not use BP_SYM in weak_alias.
70576 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70577 "bp-asm.h".
70578 (PARMS): Do not use macros from bp-asm.h.
70579 (STOP): Likewise.
70580 (strcspn): Do not use BP_SYM.
70581 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70582 "bp-asm.h".
70583 (PARMS): Do not use macros from bp-asm.h.
70584 (STR): Likewise.
70585 (STOP): Likewise.
70586 (strpbrk): Likewise. Do not use BP_SYM.
70587 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70588 "bp-asm.h".
70589 (PARMS): Do not use macros from bp-asm.h.
70590 (STR): Likewise.
70591 (CHR): Likewise.
70592 (strrchr): Likewise. Do not use BP_SYM.
70593 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70594 (PARMS): Do not use macros from bp-asm.h.
70595 (SKIP): Likewise.
70596 (strspn): Do not use BP_SYM.
70597 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70598 (PARMS): Do not use macros from bp-asm.h.
70599 (STR): Likewise.
70600 (DELIM): Likewise.
70601 (SAVE): Likewise.
70602 (FUNCTION): Likewise. Do not use BP_SYM.
70603 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70604 aliases.
70605 (strtok_r): Likewise.
70606 (__GI___strtok_r): Likewise.
70607 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70608 (PARMS): Do not use macros from bp-asm.h.
70609 (S1): Likewise.
70610 (S2): Likewise.
70611 (SIZE): Likewise.
70612 (__mpn_sub_n): Do not use BP_SYM.
70613 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70614 "bp-asm.h".
70615 (PARMS): Do not use macros from bp-asm.h.
70616 (S1): Likewise.
70617 (SIZE): Likewise.
70618 (__mpn_submul_1): Do not use BP_SYM.
70619 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70620 <bp-sym.h>.
70621 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70622 and <bp-asm.h>.
70623 (PARMS): Do not use macros from bp-asm.h.
70624 (FLAGS): Likewise.
70625 (PTID): Likewise.
70626 (TLS): Likewise.
70627 (CTID): Likewise.
70628 (__clone): Do not use BP_SYM.
70629 (clone): Do not use BP_SYM in weak_alias.
70630 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70631 and <bp-asm.h>.
70632 (PARMS): Do not use macros from bp-asm.h.
70633 (LEN): Likewise.
70634 (__mmap64): Do not use BP_SYM.
70635 (mmap64): Do not use BP_SYM in weak_alias.
70636 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70637 <bp-sym.h> and <bp-asm.h>.
70638 (PARMS): Do not use macros from bp-asm.h.
70639 (__posix_fadvise64_l64): Do not use BP_SYM.
70640 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70641 (PARMS): Do not use macros from bp-asm.h.
70642 (NSOPS): Likewise.
70643 (semtimedop): Do not use BP_SYM.
70644 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70645 and <bp-asm.h>.
70646
70647 2013-02-21 Allan McRae <allan@archlinux.org>
70648
70649 * manual/message.texi (Charset conversion in gettext):
70650 Move @end statement to beginning of line.
70651
70652 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70653
70654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70655 static.
70656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70657 Likewise.
70658
70659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70660 (denorm): Likewise.
70661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70663
70664 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70665
70666 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70667 tail-call to the resolved function if pltexit isn't needed.
70668
70669 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70670
70671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70672 or Y being zero as being unlikely.
70673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70674 Likewise.
70675
70676 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70677
70678 * manual/nss.texi (System Databases and Name Service Switch):
70679 Remove frobnicate @pxref.
70680
70681 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70682
70683 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70684 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70685
70686 2013-02-20 Petr Machata <pmachata@redhat.com>
70687
70688 * elf/elf.h (R_ARM_TARGET1): New macro.
70689 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70690 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70691 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70692 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70693 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70694 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70695 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70696 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70697 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70698 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70699 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70700 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70701 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70702 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70703 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70704 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70705 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70706 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70707 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70708 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70709 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70710 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70711 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70712 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70713 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70714 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70715 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70716 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70717 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70718 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70719 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70720 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70721 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70722 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70723 (R_ARM_THM_GOT_BREL12): Likewise.
70724 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70725 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70726 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70727 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70728 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70729 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70730 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70731 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70732 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70733
70734 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70735
70736 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70737 __attribute_used__ to __attribute__ ((unused)).
70738
70739 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70740
70741 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70742 powerpc mpa.c.
70743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70744 comment formatting.
70745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70746
70747 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70748
70749 [BZ #13550]
70750 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70751 Remove macro.
70752 (ENTER): Remove both macro definitions.
70753 (LEAVE): Likewise.
70754 (CHECK_BOUNDS_LOW): Likewise.
70755 (CHECK_BOUNDS_HIGH): Likewise.
70756 (CHECK_BOUNDS_BOTH): Likewise.
70757 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70758 (RETURN_BOUNDED_POINTER): Likewise.
70759 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70760 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70761 (POP_ERRNO_LOCATION_RETURN): Likewise.
70762 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70764 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70765 macros.
70766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70767 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70768 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70769 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70770 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70771 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70772 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70773 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70774 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70775 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70776 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70777 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70779 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70780 removed macros.
70781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70782 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70783 macros.
70784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70785 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70786 * sysdeps/i386/i586/memset.S (memset): Likewise.
70787 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70788 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70789 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70790 macros.
70791 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70792 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70793 Change uses of L(2) to L(out).
70794 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70795 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70796 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70797 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70798 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70799 removed macros.
70800 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70801 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70802 macros.
70803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70804 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70805 (RETURN): Do not use macro LEAVE.
70806 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70807 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70808 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70809 * sysdeps/i386/i686/memset.S (memset): Likewise.
70810 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70811 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70812 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70813 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70814 Likewise.
70815 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70816 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70817 L(1_2) and L(1_3) into L(1).
70818 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70819 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70820 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70821 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70822 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70823 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70824 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70825 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70826 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70827 macros.
70828 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70829 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70830 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70831 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70832 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70833 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70834 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70835 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70836 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70837 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70838 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70839 * sysdeps/i386/strspn.S (strspn): Likewise.
70840 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70841 conditional code.
70842 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70843 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70844 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70845 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70846 L(1_3) into L(1_1).
70847 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70848 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70849 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70850 macros.
70851 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70852
70853 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70854
70855 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70856 macro.
70857
70858 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70859
70860 * math/atest-exp.c (exp_mpn): Remove ROUND.
70861 * math/atest-exp2.c (exp_mpn): Likewise.
70862 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70863
70864 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70865 * stdlib/tst-tls-atexit-lib.c: Likewise.
70866 * stdlib/tst-tls-atexit.c: Likewise.
70867
70868 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70869
70870 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70871 and __attribute_alloc_size__.
70872
70873 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70874
70875 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70876 __attribute_alloc_size__.
70877 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70878 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70879
70880 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70881
70882 * include/programs/xmalloc.h: New file.
70883 * catgets/gencat.c: Include it.
70884 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70885 * elf/pldd.c: Likewise.
70886 * iconv/iconv_charmap.c: Likewise.
70887 * iconv/iconvconfig.c: Likewise.
70888 * iconv/strtab.c: Likewise.
70889 * locale/programs/locale.c: Likewise.
70890 * locale/programs/localedef.h: Likewise.
70891 * locale/programs/simple-hash.c: Likewise.
70892 * nscd/nscd.h: Likewise.
70893 * nss/makedb.c: Likewise.
70894 * sysdeps/generic/ldconfig.h: Likewise.
70895
70896 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70897
70898 * Versions.def: Add GLIBC_2.18.
70899 * include/link.h (struct link_map): New member l_tls_dtor_count.
70900 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70901 (__call_tls_dtors): Likewise.
70902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70903 __cxa_thread_atexit_impl.
70904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70905 Likewise.
70906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70907 Likewise.
70908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70909 Likewise.
70910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70911 Likewise.
70912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70914 Likewise.
70915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70916 Likewise.
70917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70919 Likewise.
70920 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70921 (tests): Add test case tst-tls-atexit.
70922 (modules-names): Add shared library for tst-tls-atexit.
70923 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70924 (GLIBC_PRIVATE): Add __call_tls_dtors.
70925 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70926 for libstdc++.
70927 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70928 * stdlib/tst-tls-atexit.c: New test case.
70929 * stdlib/tst-tls-atexit-lib.c: New test case.
70930
70931 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70932
70933 * elf/Versions (ld): Add _dl_find_dso_for_object.
70934 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70935 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70936 (dl_open_worker): Use _dl_find_dso_for_object.
70937 * elf/dl-sym.c (do_sym): Likewise.
70938 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70939
70940 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70941
70942 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70943 Syntactic changes only.
70944 (_dl_runtime_profile): Do a tail-call to the resolved function.
70945
70946 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70947
70948 [BZ #13550]
70949 * sysdeps/x86_64/bp-asm.h: Remove file.
70950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70951 <bp-sym.h> and <bp-asm.h>.
70952 (__clone): Do not use BP_SYM.
70953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70954 <bp-sym.h> and <bp-asm.h>.
70955 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70956 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70957 "bp-asm.h".
70958 (_setjmp): Do not use BP_SYM.
70959 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70960 "bp-asm.h".
70961 (setjmp): Do not use BP_SYM.
70962 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70963 libc_hidden_def.
70964 (mempcpy): Do not use BP_SYM in weak_alias.
70965 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70966 "bp-asm.h".
70967 (strchr): Do not use BP_SYM.
70968 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70969 "bp-asm.h".
70970 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70971 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70972 (_start): Do not use BP_SYM.
70973 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70974 "bp-asm.h".
70975 (strcat): Do not use BP_SYM.
70976 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70977 "bp-asm.h".
70978 (STRCMP): Do not use BP_SYM.
70979 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70980 "bp-asm.h".
70981 (STRCPY): Do not use BP_SYM.
70982 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70983 "bp-asm.h".
70984 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70985 "bp-asm.h".
70986 (FUNCTION): Do not use BP_SYM.
70987 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70988 weak_alias.
70989 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70990
70991 2013-02-17 Andreas Jaeger <aj@suse.de>
70992
70993 * time/Versions: Sort entries.
70994 * string/Versions: Likewise.
70995 * resolv/Versions: Likewise.
70996 * posix/Versions: Likewise.
70997 * iconv/Versions: Likewise.
70998 * elf/Versions: Likewise.
70999 * wcsmbs/Versions: Likewise.
71000
71001 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71002
71003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71004 loop termination condition.
71005
71006 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71007 variable to calculate EZ.
71008 (__sqr): Likewise.
71009
71010 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71011 the lower precision input.
71012
71013 2013-02-15 Joseph Myers <joseph@codesourcery.com>
71014
71015 [BZ #13550]
71016 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71017 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71018 (run-via-rtld-prefix): Do not handle %-bp tests.
71019 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71020 (all-object-suffixes): Remove .ob.
71021 (bppfx): Remove variable.
71022 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71023 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71024 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71025 [$(build-bounded) = yes] (libtype.ob): Likewise.
71026 * Makerules (elide-routines.ob): Remove variable.
71027 (do-tests-clean): Do not handle *-bp.out.
71028 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71029 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71030 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71031 (tests): Do not include $(tests-bp.out).
71032 (xtests): Do not include $(xtests-bp.out).
71033 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71034 [$(build-bounded) = yes] ($(addprefix
71035 $(objpfx),$(binaries-bounded))): Remove rule.
71036 ($(objpfx)%-bp.out): Remove rule.
71037 * config.make.in (build-bounded): Remove variable.
71038 * crypt/Makefile [$(build-bounded) = yes]
71039 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71040 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71041 append to variable.
71042 [$(build-bounded) = yes] (install-lib): Likewise.
71043 [$(build-bounded) = yes] (generated): Likewise.
71044 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71045 Remove rule.
71046 * intl/Makefile [$(build-bounded) = yes]
71047 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71048 * math/Makefile [$(build-bounded) = yes]
71049 ($(tests:%=$(objpfx)%-bp): Likewise.
71050 * misc/Makefile [$(build-bounded) = yes]
71051 ($(objpfx)tst-tsearch-bp): Likewise.
71052 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71053 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71054 Remove dependency.
71055 * string/Makefile (o-objects.ob): Remove variable.
71056 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71057 (CFLAGS-.ob): Remove variable.
71058 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71060 both definitions of variable.
71061 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71062 (ASFLAGS-.ob): Remove variable.
71063
71064 2013-02-14 Joseph Myers <joseph@codesourcery.com>
71065
71066 [BZ #13550]
71067 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71068 Remove __BOUNDED_POINTERS__ from condition.
71069 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71070 * string/bits/string2.h [!__NO_STRING_INLINES &&
71071 !__BOUNDED_POINTERS__]: Likewise.
71072 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71073 Likewise.
71074 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71075 Remove conditional code.
71076 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71077 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71078 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71079 condition.
71080
71081 [BZ #13550]
71082 * csu/libc-start.c: Do not include <bp-sym.h>.
71083 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71084 * elf/dl-open.c: Do not include <bp-sym.h>.
71085 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71086 * math/fegetenv.c: Do not include <bp-sym.h>.
71087 (fegetenv): Do not use BP_SYM in versioned symbols.
71088 * nptl/sysdeps/pthread/bits/libc-lockP.h
71089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71090 <bp-sym.h>.
71091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71092 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71094 (__pthread_mutex_destroy): Likewise.
71095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71096 (__pthread_mutex_lock): Likewise.
71097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71098 (__pthread_mutex_trylock): Likewise.
71099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71100 (__pthread_mutex_unlock): Likewise.
71101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71102 (__pthread_mutexattr_init): Likewise.
71103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71104 (__pthread_mutexattr_destroy): Likewise.
71105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71106 (__pthread_mutexattr_settype): Likewise.
71107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71108 (__pthread_rwlock_init): Likewise.
71109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71110 (__pthread_rwlock_destroy): Likewise.
71111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71112 (__pthread_rwlock_rdlock): Likewise.
71113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71114 (__pthread_rwlock_tryrdlock): Likewise.
71115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71116 (__pthread_rwlock_wrlock): Likewise.
71117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71118 (__pthread_rwlock_trywrlock): Likewise.
71119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71120 (__pthread_rwlock_unlock): Likewise.
71121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71122 (__pthread_key_create): Likewise.
71123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71124 (__pthread_setspecific): Likewise.
71125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71126 (__pthread_getspecific): Likewise.
71127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71128 Likewise.
71129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71130 (_pthread_cleanup_push_defer): Likewise.
71131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71132 (_pthread_cleanup_pop_restore): Likewise.
71133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71134 (pthread_setcancelstate): Likewise.
71135 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71136 <bp-sym.h>.
71137 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71138 (memchr): Do not use BP_SYM in weak_alias.
71139 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71140 (fegetenv): Do not use BP_SYM in versioned symbols.
71141 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71142 (fesetenv): Do not use BP_SYM in versioned symbols.
71143 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71144 (feupdateenv): Do not use BP_SYM in versioned symbols.
71145 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71147 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71148 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71149 (open64): Do not use BP_SYM in weak_alias.
71150 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71151 (fegetenv): Do not use BP_SYM in versioned symbols.
71152 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71153 (fesetenv): Do not use BP_SYM in versioned symbols.
71154 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71155 (feupdateenv): Do not use BP_SYM in versioned symbols.
71156 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71157 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71158 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71159 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71160 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71162 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71163 <bp-sym.h>.
71164 (__libc_start_main): Do not use BP_SYM.
71165
71166 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71167
71168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71169 redundant return line.
71170 (norm): Likewise.
71171 (denorm): Likewise.
71172 (dbl_mp): Likewise.
71173 (sub_magnitudes): Likewise.
71174 (__add): Likewise.
71175 (__sub): Likewise.
71176 (__mul): Likewise.
71177 (__inv): Likewise.
71178 (__dvd): Likewise.
71179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71180 (norm): Likewise.
71181 (denorm): Likewise.
71182 (dbl_mp): Likewise.
71183 (sub_magnitudes): Likewise.
71184 (__add): Likewise.
71185 (__sub): Likewise.
71186 (__mul): Likewise.
71187 (__inv): Likewise.
71188 (__dvd): Likewise.
71189
71190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71191 instead of __mul.
71192 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71193 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71194 (cc32): Likewise.
71195
71196 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71197 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71199 of __mul for squares.
71200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71201 function
71202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71203 Likewise.
71204 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71206
71207 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71208
71209 [BZ #13550]
71210 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71211 code.
71212 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71213 prototype or function definition. Rename ubp_* variables and
71214 parameters. Remove argv definitions conditional on
71215 [__BOUNDED_POINTERS__].
71216 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71217 * elf/dl-runtime.c (_dl_fixup): Likewise.
71218 * include/set-hooks.h (RUN_HOOK): Likewise.
71219 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71220 definition.
71221 * string/strcpy.c (strcpy): Do not use __unbounded.
71222 * sysdeps/generic/frame.h (struct layout): Likewise.
71223 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71224 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71225 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71226 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71227 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71228 (__backtrace): Likewise.
71229 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71230 use __ptrvalue.
71231 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71232 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71233 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71234 Likewise.
71235 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71236 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71237 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71238 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71239 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71240 Do not use __unbounded.
71241 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71242 Rename __unboundedrlimits parameter to rlimits in prototype.
71243 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71244 Do not use __unbounded.
71245 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71246 not use __ptrvalue.
71247 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71248 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71249 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71250 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71251 __ptrvalue or __unbounded.
71252 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71253 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71254 use __unbounded.
71255 (__new_msgctl): Do not use __ptrvalue.
71256 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71257 __unbounded.
71258 (__libc_msgrcv): Do not use __ptrvalue.
71259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71260 startup_info): Do not use __unbounded.
71261 (__libc_start_main): Likewise. Rename ubp_* variables and
71262 parameters. Remove argv definitions conditional on
71263 [__BOUNDED_POINTERS__].
71264 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71265 __ptrvalue.
71266 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71267 use __unbounded.
71268 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71269 or __ptrvalue.
71270 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71271 use __unbounded.
71272 (__new_shmctl): Do not use __ptrvalue.
71273 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71274 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71275 Likewise.
71276 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71278 (__libc_sigaction): Likewise.
71279 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71280 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71281 Likewise.
71282 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71283
71284 2013-02-13 Ondƙej Bílka <neleai@seznam.cz>
71285
71286 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71287
71288 * string/mempcpy.c: Implement by calling memcpy.
71289
71290 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71291
71292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71293
71294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71295 evaluation.
71296
71297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71298 values in the mantissa.
71299
71300 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71301 minimize writes to Z.
71302 (sub_magnitudes): Simplify code a bit.
71303
71304 2013-02-12 Roland McGrath <roland@hack.frob.com>
71305
71306 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71307 from the message. The linker prefixes all warnings with that already.
71308
71309 2013-02-12 Andreas Schwab <schwab@suse.de>
71310
71311 [BZ #15078]
71312 * posix/regexec.c (extend_buffers): Add parameter min_len.
71313 (check_matching): Pass minimum needed length.
71314 (clean_state_log_if_needed): Likewise.
71315 (get_subexp): Likewise.
71316 * posix/Makefile (tests): Add bug-regex34.
71317 (bug-regex34-ENV): Define.
71318 * posix/bug-regex34.c: New file.
71319
71320 [BZ #11561]
71321 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71322 elements compare against the byte sequence of it, not its name.
71323 * posix/Makefile (tests): Add bug-regex35.
71324 (bug-regex35-ENV): Define.
71325 * posix/bug-regex35.c: New file.
71326
71327 2013-02-11 Tom de Vries <tom@codesourcery.com>
71328
71329 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71330 comment.
71331 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71332 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71333 (CHECK_EOL): Add undef.
71334
71335 2013-02-11 Ondƙej Bílka <neleai@seznam.cz>
71336
71337 * bits/stdlib-bsearch.h: New file.
71338 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71339 * stdlib/stdlib.h: Likewise.
71340
71341 2013-02-11 Roland McGrath <roland@hack.frob.com>
71342
71343 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71344 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71345 declaration.
71346 * manual/search.texi (Array Search Function): Add missing const in
71347 lfind prototype.
71348 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71349 declaration to use rlim_t.
71350 (Basic Scheduling Functions): Remove erroneous const from
71351 sched_getparam prototype. Remove erroneous * from
71352 sched_get_priority_max and sched_get_priority_min prototypes.
71353 (Resource Usage): Fix summary @comment on vtimes to refer to
71354 sys/vtimes.h rather than vtimes.h.
71355 Add missing *s in vtimes prototype.
71356 (Limits on Resources): Fix ulimit prototype to return long int.
71357 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71358 prototypes to use long int rather than double.
71359 (BSD Random): Fix initstate and setstate to use char *, not void *.
71360 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71361 prototype to make second argument 'struct aiocb64 *const[]'.
71362 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71363 (Status of AIO Operations): Remove erroneous const in aio_return and
71364 aio_return64 prototypes.
71365 (Synchronizing I/O): Fix sync prototype to return void.
71366 * manual/startup.texi (Suboptions): Remove an erroneous const in
71367 getsubopt prototype.
71368 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71369 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71370 use size_t rather than int.
71371 (Scanning All Users): Likewise for getpwent_r.
71372 (Setting Groups): Add missing const to setgroups prototype.
71373 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71374 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71375 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71376 'const void *' rather than 'const char *'.
71377 (Host Address Functions): Likewise for inet_ntop.
71378 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71379 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71380 ssize_t for return value.
71381 (Sending Data): Likewise for send, sendto, sendmsg.
71382 (Socket Option Functions): Add a missing const in setsockopt prototype.
71383 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71384 use wchar_t for the argument.
71385 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71386 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71387 take no arguments.
71388 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71389 double/float/long double for second argument.
71390 Fix return types of significand, significandf, significandl.
71391 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71392 argument in fchmod prototype.
71393 (File Owner): Use uid_t and gid_t in fchown prototype.
71394 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71395 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71396 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71397 use 'const struct dirent **' as argument types to CMP function pointer
71398 argument.
71399 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71400 (File Times): Fix summary magic @comment for struct utimbuf and utime
71401 to refer to utime.h, not time.h.
71402 * manual/string.texi (Argz Functions): Add missing const in
71403 argz_extract and argz_next prototypes.
71404 (Finding Tokens in a String): Likewise for basename.
71405 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71406 (Copying and Concatenation): Fix typo in wmemmove prototype.
71407 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71408 (Signal Stack): Remove erroneous const in sigstack prototype.
71409 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71410 prototype.
71411 (Simple Calendar Time): Likewise for stime.
71412 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71413 prototype.
71414 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71415 say sys/sysctl.h instead.
71416 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71417 and vsyslog prototypes.
71418
71419 2013-02-11 Tom de Vries <tom@codesourcery.com>
71420
71421 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71422 Remove.
71423
71424 2013-02-11 Roland McGrath <roland@hack.frob.com>
71425
71426 * misc/sys/mman.h: Fix typo in mremap comment.
71427
71428 2013-02-08 Roland McGrath <roland@hack.frob.com>
71429
71430 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71431 the '\0' terminator.
71432
71433 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71434
71435 [BZ #13550]
71436 * debug/segfault.c: Don't include <bp-checks.h>.
71437 * sysdeps/generic/bp-checks.h: Remove file.
71438 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71439 (__GETDENTS): Don't use CHECK_N.
71440 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71441 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71442 (__getgroups): Don't use CHECK_N.
71443 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71444 (setgroups): Don't use CHECK_N.
71445 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71446 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71447 (__libc_msgrcv): Don't use CHECK_N.
71448 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71449 (__libc_msgsnd): Don't use CHECK_N.
71450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71451 <bp-checks.h>.
71452 (__libc_pread): Don't use CHECK_N.
71453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71454 include <bp-checks.h>.
71455 (__libc_pread64): Don't use CHECK_N.
71456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71457 include <bp-checks.h>.
71458 (__libc_pwrite): Don't use CHECK_N.
71459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71460 include <bp-checks.h>.
71461 (__libc_pwrite64): Don't use CHECK_N.
71462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71463 <bp-checks.h>.
71464 (__libc_pread): Don't use CHECK_N.
71465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71466 include <bp-checks.h>.
71467 (__libc_pread64): Don't use CHECK_N.
71468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71469 include <bp-checks.h>.
71470 (__libc_pwrite): Don't use CHECK_N.
71471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71472 include <bp-checks.h>.
71473 (__libc_pwrite64): Don't use CHECK_N.
71474 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71475 (do_pread): Don't use CHECK_N.
71476 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71477 (do_pread64): Don't use CHECK_N.
71478 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71479 (do_pwrite): Don't use CHECK_N.
71480 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71481 (do_pwrite64): Don't use CHECK_N.
71482 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71483 (__libc_readv): Don't use CHECK_N.
71484 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71485 (semop): Don't use CHECK_N.
71486 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71487 <bp-checks.h>.
71488 (semtimedop): Don't use CHECK_N.
71489 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71490 (__libc_pread): Don't use CHECK_N.
71491 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71492 <bp-checks.h>.
71493 (__libc_pread64): Don't use CHECK_N.
71494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71495 <bp-checks.h>.
71496 (__libc_pwrite): Don't use CHECK_N.
71497 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71498 <bp-checks.h>.
71499 (__libc_pwrite64): Don't use CHECK_N.
71500 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71501 <bp-checks.h>.
71502 (__libc_msgrcv): Don't use CHECK_N.
71503 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71504 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71505 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71506 (__libc_writev): Don't use CHECK_N.
71507
71508 2013-02-08 Roland McGrath <roland@hack.frob.com>
71509
71510 * string/strcpy.c: Removed unused variable.
71511
71512 * Makeconfig (+sysdep-includes): Define with := rather than =.
71513 Use an existing include/ subdir of each sysdeps dir before it.
71514
71515 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71516
71517 * nscd/connection.c (register_traced_file): Comment function.
71518 [HAVE_INOTIFY] (union __inev): Define.
71519 [HAVE_INOTIFY] (inotify_check_files): New function.
71520 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71521 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71522 clear_db_cache.
71523 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71524
71525 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71526
71527 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71528 loaded if not already and that a failure is permanent.
71529
71530 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71531
71532 [BZ #15006]
71533 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71534 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71535
71536 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71537
71538 [BZ #13550]
71539 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71540 (CHECK_1_NULL_OK): Likewise.
71541 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71542 (__fxstat): Do not use CHECK_1.
71543 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71544 <bp-checks.h>.
71545 (___fxstat64): Do not use CHECK_1.
71546 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71547 <bp-checks.h>.
71548 (__fxstatat): Do not use CHECK_1.
71549 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71550 <bp-checks.h>.
71551 (__fxstatat64): Do not use CHECK_1.
71552 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71553 <bp-checks.h>.
71554 (__fxstat): Do not use CHECK_1.
71555 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71556 <bp-checks.h>.
71557 (__fxstatat): Do not use CHECK_1.
71558 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71559 <bp-checks.h>.
71560 (__getresgid): Do not use CHECK_1.
71561 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71562 <bp-checks.h>.
71563 (__getresuid): Do not use CHECK_1.
71564 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71565 <bp-checks.h>.
71566 (__lxstat): Do not use CHECK_1.
71567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71568 <bp-checks.h>.
71569 (__old_msgctl): Do not use CHECK_1.
71570 (__new_msgctl): Likewise.
71571 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71572 <bp-checks.h>.
71573 (__new_setrlimit): Do not use CHECK_1.
71574 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71575 <bp-checks.h>.
71576 (__old_shmctl): Do not use CHECK_1.
71577 (__new_shmctl): Likewise.
71578 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71579 <bp-checks.h>.
71580 (__xstat): Do not use CHECK_1.
71581 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71582 (__lxstat): Do not use CHECK_1.
71583 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71584 <bp-checks.h>.
71585 (___lxstat64): Do not use CHECK_1.
71586 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71587 (__old_msgctl): Do not use CHECK_1.
71588 (__new_msgctl): Likewise.
71589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71590 <bp-checks.h>.
71591 (__gettimeofday): Do not use CHECK_1.
71592 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71593 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71594 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71595 <bp-checks.h>.
71596 (__gettimeofday): Do not use CHECK_1.
71597 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71598 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71599 (__new_shmctl): Do not use CHECK_1.
71600 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71601 <bp-checks.h>.
71602 (do_sigtimedwait): Do not use CHECK_1.
71603 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71604 <bp-checks.h>.
71605 (do_sigwaitinfo): Do not use CHECK_1.
71606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71607 <bp-checks.h>.
71608 (msgctl): Do not use CHECK_1.
71609 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71610 <bp-checks.h>.
71611 (shmctl): Do not use CHECK_1.
71612 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71613 (ustat): Do not use CHECK_1.
71614 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71615 <bp-checks.h>.
71616 (__fxstat): Do not use CHECK_1.
71617 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71618 <bp-checks.h>.
71619 (__fxstatat): Do not use CHECK_1.
71620 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71621 <bp-checks.h>.
71622 (__lxstat): Do not use CHECK_1.
71623 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71624 <bp-checks.h>.
71625 (__xstat): Do not use CHECK_1.
71626 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71627 (__xstat): Do not use CHECK_1.
71628 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71629 (___xstat64): Do not use CHECK_1.
71630
71631 [BZ #13550]
71632 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71633 definitions.
71634 (CHECK_BOUNDS_HIGH): Likewise.
71635 * string/strcpy.c: Do not include <bp-checks.h>.
71636 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71637
71638 2013-02-07 Roland McGrath <roland@hack.frob.com>
71639
71640 * nscd/nscd-client.h (__nscd_drop_map_ref):
71641 Add __attribute__ ((unused)).
71642 * nis/nss-nisplus.h (niserr2nss): Likewise.
71643
71644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71645 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71646
71647 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71648 Remove inline keyword.
71649 * include/rounding-mode.h (round_away): Likewise.
71650 * libio/wfileops.c (adjust_wide_data): Likewise.
71651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71652 (__m128i_strloadu_tolower): Likewise.
71653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71654 (__m128i_strloadu_tolower): Likewise.
71655 * time/mktime.c (ydhms_diff): Likewise.
71656 * locale/elem-hash.h (elem_hash): Likewise.
71657 * locale/setlocale.c (setdata): Likewise.
71658 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71659 (re_string_wchar_at): Likewise.
71660 (bitset_not, bitset_merge, bitset_mask): Likewise.
71661 [!(__GNUC__ > 3)] (inline): Remove macro.
71662 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71663 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71664 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71665 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71666 * string/memcmp.c (memcmp_bytes): Likewise.
71667 * locale/programs/locarchive.c (compute_hashval): Likewise.
71668 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71669 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71670 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71671 * nss/getent.c (print_rpc, print_protocols): Likewise.
71672 (print_passwd, print_group, print_aliases): Likewise.
71673 * nis/nss-nisplus.h (niserr2nss): Likewise.
71674 * nscd/connections.c (restart_p): Likewise.
71675 Change return type to bool.
71676
71677 2013-02-05 Roland McGrath <roland@hack.frob.com>
71678
71679 * Makeconfig (all-Depend-files): Add existing
71680 $(sorted-subdirs:=/Depend) files.
71681 (all-subdirs): Remove nss.
71682 * sysdeps/unix/inet/Subdirs: Add it here instead.
71683 * hesiod/Depend: New file.
71684
71685 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71686 instead of calling alloca.
71687
71688 * io/lseek.c (__lseek): Rename to __libc_lseek.
71689 Define __lseek as an alias.
71690
71691 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71692
71693 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71694
71695 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71696 else clause and remove check for non-standard endianness.
71697
71698 2013-02-04 David S. Miller <davem@davemloft.net>
71699
71700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71701
71702 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71703
71704 [BZ #13550]
71705 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71706 (__ubp_memchr): Remove prototype.
71707 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71708 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71709 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71710 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71711 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71712 Remove alias.
71713 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71714 (__ubp_memchr): Likewise.
71715 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71716 (__ubp_memchr): Likewise.
71717 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71718 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71719 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71720 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71721 CHECK_STRING.
71722 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71723 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71724 (__getcwd): Do not use CHECK_STRING.
71725 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71726 <bp-checks.h>.
71727 (__real_chown): Do not use CHECK_STRING.
71728 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71729 <bp-checks.h>.
71730 (fchownat): Do not use CHECK_STRING.
71731 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71732 CHECK_STRING.
71733 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71734 <bp-checks.h>.
71735 (__lchown): Do not use CHECK_STRING.
71736 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71737 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71738 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71739 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71741 include <bp-checks.h>.
71742 (truncate64): Do not use CHECK_STRING.
71743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71744 <bp-checks.h>.
71745 (__real_chown): Do not use CHECK_STRING.
71746 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71747 <bp-checks.h>.
71748 (__lchown): Do not use CHECK_STRING.
71749 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71750 <bp-checks.h>.
71751 (__chown): Do not use CHECK_STRING.
71752 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71753 <bp-checks.h>.
71754 (truncate64): Do not use CHECK_STRING.
71755 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71756 Likewise.
71757 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71758 (__xmknod): Do not use CHECK_STRING.
71759 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71760 <bp-checks.h>.
71761 (__xmknodat): Do not use CHECK_STRING.
71762 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71763 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71764
71765 2013-02-04 Andreas Schwab <schwab@suse.de>
71766
71767 [BZ #14142]
71768 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71769 * include/netdb.h: Likewise for h_errno.
71770 * elf/tst-stackguard1.c: Include <tls.h>.
71771
71772 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71773
71774 * elf/link.h (struct link_map): Extend the l_addr comment.
71775 * include/link.h (struct link_map): Likewise.
71776
71777 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71778
71779 [BZ #13550]
71780 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71781 (BOUNDED_1): Remove macro.
71782 * debug/backtrace.c: Don't include <bp-checks.h>.
71783 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71784 (__backtrace): Likewise.
71785 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71786 <bp-checks.h>.
71787 (__backtrace): Don't use BOUNDED_1.
71788 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71789 <bp-checks.h>.
71790 (__backtrace): Don't use BOUNDED_1.
71791 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71792 (__backtrace): Don't use BOUNDED_1.
71793 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71794 (shmat): Don't use BOUNDED_N.
71795
71796 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71797
71798 [BZ #13550]
71799 * sysdeps/generic/bp-start.h: Remove file.
71800 * csu/libc-start.c: Don't include <bp-start.h>.
71801 (LIBC_START_MAIN): Set up __environ directly instead of using
71802 INIT_ARGV_and_ENVIRON.
71803 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71804 <bp-start.h>.
71805
71806 [BZ #13550]
71807 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71808 definitions.
71809 (CHECK_FCNTL): Likewise.
71810 (CHECK_N_PAGES): Likewise.
71811
71812 [BZ #13550]
71813 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71814 definitions.
71815 (CHECK_SIGSET_NULL_OK): Likewise.
71816 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71817 <bp-checks.h>.
71818 (sigpending): Don't use CHECK_SIGSET.
71819 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71820 <bp-checks.h>.
71821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71822 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71823 <bp-checks.h>.
71824 (do_sigsuspend): Don't use CHECK_SIGSET.
71825 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71826 use CHECK_SIGSET.
71827 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71828 (do_sigwait): Don't use CHECK_SIGSET.
71829 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71830 use CHECK_SIGSET.
71831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71832 include <bp-checks.h>.
71833 (sigpending): Don't use CHECK_SIGSET.
71834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71835 include <bp-checks.h>.
71836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71837 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71838 <bp-checks.h>.
71839 (sigpending): Don't use CHECK_SIGSET.
71840 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71841 <bp-checks.h>.
71842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71843
71844 [BZ #13550]
71845 * sysdeps/generic/bp-semctl.h: Remove file.
71846 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71847 <bp-checks.h> and <bp-semctl.h>.
71848 (__old_semctl): Don't use CHECK_SEMCTL.
71849 (__new_semctl): Likewise.
71850 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71851 and <bp-semctl.h>.
71852 (__old_semctl): Don't use CHECK_SEMCTL.
71853 (__new_semctl): Likewise.
71854 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71855 <bp-checks.h> and <bp-semctl.h>.
71856 (__old_semctl): Don't use CHECK_SEMCTL.
71857 (__new_semctl): Likewise.
71858 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71859 <bp-checks.h> and <bp-semctl.h>.
71860 (semctl): Don't use CHECK_SEMCTL.
71861
71862 [BZ #13550]
71863 * Makerules (elide-bp-thunks): Remove variable.
71864 (elide-routines.oS): Don't use $(elide-bp-thunks).
71865 (elide-routines.os): Likewise.
71866 (elide-routines.o): Likewise.
71867 (elide-routines.op): Likewise.
71868 (elide-routines.og): Likewise.
71869 (objects): Don't use $(bp-thunks).
71870 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71871 include.
71872 (common-generated): Do not add s-proto-bp.d.
71873 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71874 (int): Likewise.
71875 (typ): Likewise.
71876 Do not generate makefile rules for bounded-pointer thunks.
71877 * sysdeps/generic/bp-thunks.h: Remove file.
71878 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71879 * sysdeps/unix/s-proto-bp.S: Likewise.
71880
71881 [BZ #15062]
71882 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71883 parts of result separately when argument is not close to line from
71884 -i to i and one part of argument is small.
71885 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71886 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71887 * math/libm-test.inc (cacos_test): Add more tests.
71888 (casin_test): Likewise.
71889 (casinh_test): Likewise.
71890 * sysdeps/i386/fpu/libm-test-ulps: Update.
71891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71892
71893 2013-01-31 David S. Miller <davem@davemloft.net>
71894
71895 * po/de.po: Update from translation team.
71896
71897 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71898
71899 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71900
71901 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71902
71903 * configure.in (_AC_PROG_CC_C89): New definition.
71904 * configure: Regenerate.
71905
71906 * configure.in (AC_PROG_CPP): New definition.
71907 * configure: Regenerate.
71908
71909 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71910
71911 * debug/tst-backtrace.h: New file.
71912 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71913 (ret): Remove variable.
71914 (x): Likewise.
71915 (FAIL): Remove macro.
71916 (NO_INLINE): Likewise.
71917 (fn1): Use match function instead of strstr.
71918 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71919 (ret): Remove variable.
71920 (x): Likewise.
71921 (FAIL): Remove macro.
71922 (NO_INLINE): Likewise.
71923 (fn): Use match function instead of strstr.
71924 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71925 (ret): Remove variable.
71926 (x): Likewise.
71927 (FAIL): Remove macro.
71928 (NO_INLINE): Likewise.
71929 (handle_signal): Use match function instead of strstr.
71930 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71931 (ret): Remove variable.
71932 (x): Likewise.
71933 (FAIL): Remove macro.
71934 (NO_INLINE): Likewise.
71935 (handle_signal): Use match function instead of strstr.
71936
71937 2013-01-23 Roland McGrath <roland@hack.frob.com>
71938
71939 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71940
71941 2013-01-23 David S. Miller <davem@davemloft.net>
71942
71943 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71944 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71945 argument of CAS if possible.
71946 * sysdeps/sparc/sparc64/bits/atomic.h
71947 (__arch_compare_and_exchange_val_32_acq): Likewise.
71948 (__arch_compare_and_exchange_val_64_acq): Likewise.
71949
71950 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71951
71952 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71953 * sysdeps/posix/ulimit.c: ... this.
71954 Include <limits.h>.
71955 * sysdeps/unix/bsd/ulimit.c: Remove file.
71956
71957 2013-01-23 Adam Conrad <adconrad@0c3.net>
71958
71959 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71960 (LDFLAGS-tst-array5): Likewise.
71961
71962 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71963
71964 [BZ #15036]
71965 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71966 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71967 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71968 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71969
71970 2013-01-21 David S. Miller <davem@davemloft.net>
71971
71972 * sysdeps/sparc/backtrace.c: New file.
71973 * sysdeps/sparc/sparc32/backtrace.h: New file.
71974 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71975 * sysdeps/sparc/sparc64/backtrace.h: New file.
71976 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71977 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71978 -funwind-tables.
71979
71980 2013-01-21 Andreas Schwab <schwab@suse.de>
71981
71982 [BZ #15020]
71983 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71984 closed its stdout.
71985
71986 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71987
71988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71989 "mpa2.h".
71990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71991
71992 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71993 Mark Mitchell <mark@codesourcery.com>
71994 Tom de Vries <tom@codesourcery.com>
71995 Paul Pluzhnikov <ppluzhnikov@google.com>
71996
71997 * debug/tst-backtrace2.c: New file.
71998 * debug/tst-backtrace3.c: Likewise.
71999 * debug/tst-backtrace4.c: Likewise.
72000 * debug/tst-backtrace5.c: Likewise.
72001 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72002 (CFLAGS-tst-backtrace3.c): Likewise.
72003 (CFLAGS-tst-backtrace4.c): Likewise.
72004 (CFLAGS-tst-backtrace5.c): Likewise.
72005 (LDFLAGS-tst-backtrace2): Likewise.
72006 (LDFLAGS-tst-backtrace3): Likewise.
72007 (LDFLAGS-tst-backtrace4): Likewise.
72008 (LDFLAGS-tst-backtrace5): Likewise.
72009 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72010 tst-backtrace4 and tst-backtrace5.
72011
72012 2013-01-18 Anton Blanchard <anton@samba.org>
72013 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72014
72015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72016 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72017 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72018 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72020 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72021 "+r" and remove output regs list as redundant. Add explicit inline
72022 asm to specify register of return val to work around compiler codegen
72023 bug. Remove (int) cast on return value. Add return type parameter to
72024 use in macro so that this macro does not truncate return value for
72025 64-bit values.
72026 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72027 pass to INTERNAL_VSYSCALL_NCS.
72028 (INLINE_VSYSCALL): Add 'long int' as return type to
72029 INTERNAL_VSYSCALL_NCS macro invocation.
72030 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72031 INTERNAL_VSYSCALL_NCS macro invocation.
72032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72033
72034 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72035
72036 [BZ #14496]
72037 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72038 Fix application of SIMD FP exception mask.
72039
72040 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72041 mp_no from a power of two.
72042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72043 __mpexp_twomm1. Use __pow_mp.
72044
72045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72046 multiplication.
72047
72048 2013-01-17 David S. Miller <davem@davemloft.net>
72049
72050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72051
72052 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72053
72054 [BZ #15023]
72055 * include/complex.h: Condition contents on [!_COMPLEX_H].
72056 (__kernel_casinhf): New prototype.
72057 (__kernel_casinh): Likewise.
72058 (__kernel_casinhl): Likewise.
72059 * math/Makefile (libm_calls): Add k_casinh.
72060 * math/k_casinh.c: New file.
72061 * math/k_casinhf.c: Likewise.
72062 * math/k_casinhl.c: Likewise.
72063 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72064 finite nonzero arguments.
72065 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72066 finite nonzero arguments.
72067 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72068 finite nonzero arguments.
72069 * math/s_casinh.c: Do not include <float.h>.
72070 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72071 * math/s_casinhf.c: Do not include <float.h>.
72072 (__casinhf): Move code for finite nonzero arguments to
72073 k_casinhf.c.
72074 * math/s_casinhl.c: Do not include <float.h>.
72075 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72076 redefine.
72077 (__casinhl): Move code for finite nonzero arguments to
72078 k_casinhl.c.
72079 * math/libm-test.inc (cacos_test): Add more tests.
72080 * sysdeps/i386/fpu/libm-test-ulps: Update.
72081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72082
72083 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72084
72085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72086 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72087 [!HAVE_MREMAP]: Remove [defined linux] case.
72088 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72089
72090 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72091
72092 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72093
72094 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72095
72096 * elf/elf.h (R_386_SIZE32): New relocation.
72097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72098 R_386_SIZE32.
72099 (elf_machine_rela): Likewise.
72100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72101 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72102
72103 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72104
72105 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72106 (FP_FAST_FMA): Do not define.
72107 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72108 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72109 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72110 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72111 !_SOFT_FLOAT]: Likewise.
72112 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72114 value.
72115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72116 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72117 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72119 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72120 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72121 file.
72122
72123 2013-01-16 Andreas Schwab <schwab@suse.de>
72124
72125 [BZ #14327]
72126 * include/stdlib.h (__mktemp): Add declaration.
72127 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72128 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72129
72130 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72131
72132 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72133 definitions.
72134 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72135 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72136 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72137 definitions here.
72138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72139 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72140 definitions.
72141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72142 and ONE.
72143 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72144 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72146 definitions.
72147 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72148 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72149 definitions.
72150 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72151
72152 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72153
72154 2013-01-15 David S. Miller <davem@davemloft.net>
72155
72156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72157 trunc{,f} to libm-sysdep_routes.
72158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72160 file.
72161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72163 file.
72164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72165 file.
72166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72168 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72169 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72170 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72171 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72172 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72173 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72174
72175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72176 nearbyint{,f} to libm-sysdep_routes.
72177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72179 New file.
72180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72181 file.
72182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72183 New file.
72184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72185 file.
72186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72189 file.
72190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72192 file.
72193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72194 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72195 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72196
72197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72198 libc_feholdexcept and libc_fesetenv.
72199
72200 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72201
72202 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72203
72204 2013-01-14 David S. Miller <davem@davemloft.net>
72205
72206 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72207 (SPARC_ASM_VIS2_IFUNC): Likewise.
72208 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72210 use of 'siam' instruction.
72211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72212 Likewise.
72213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72214 Likewise.
72215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72216 Likewise.
72217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72222 file.
72223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72224 file.
72225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72226 file.
72227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72228 file.
72229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72234 new VIS2 routines.
72235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72238 Likewise.
72239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72244 routines to libm-sysdep_routines.
72245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72246
72247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72248 fdim/fdimf to libm-sysdep_routines.
72249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72250 file.
72251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72253 file.
72254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72257 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72258 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72259 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72260 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72261
72262 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72263
72264 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72265 to optimize copies.
72266
72267 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72270
72271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72272 local variable MPTWO.
72273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72274 Likewise.
72275
72276 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72277
72278 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72279 GLOB_NOESCAPE.
72280
72281 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72282
72283 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72284
72285 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72286
72287 * manual/pattern.texi (glob_t): Document gl_flags.
72288 (glob64_t): Likewise.
72289
72290 2013-01-11 David S. Miller <davem@davemloft.net>
72291
72292 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72293 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72294 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72295 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72296 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72297 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72298 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72299 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72300 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72301 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72303 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72304 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72305
72306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72307 sparc V9 rather than using V8 code.
72308 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72309 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72310
72311 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72312 Move to...
72313 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72314 Here.
72315
72316 2013-01-11 Roland McGrath <roland@hack.frob.com>
72317
72318 [BZ #14941]
72319 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72320 not in the main loop.
72321 * configure: Regenerated.
72322
72323 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72324
72325 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72326 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72327 to just #else.
72328 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72329 [!__GLIBC_HAVE_LONG_LONG] case.
72330 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72331 condition to just #else.
72332 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72333 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72334 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72335 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72336 unconditional.
72337 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72338 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72339 #elif condition to just #else.
72340 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72341 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72342 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72343 #elif condition to just #else.
72344
72345 2013-01-11 Steve Ellcey <sellcey@mips.com>
72346
72347 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72348 (EF_MIPS_ARCH_64): Fix value.
72349 (EF_MIPS_ARCH_32R2): New.
72350 (EF_MIPS_ARCH_64R2): New.
72351
72352 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72353
72354 * Makeconfig (+link-pie-before-libc): New.
72355 (+link-pie-after-libc): Likewise.
72356 (+link-pie-tests): Likewise.
72357 (+link-pie): Rewritten.
72358 (link-before-libc): Remove $(config-LDFLAGS).
72359 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72360 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72361 (config-LDFLAGS): Renamed to ...
72362 (rtld-LDFLAGS): This.
72363 (rtld-tests-LDFLAGS): New macro.
72364 (link-libc-rpath-link): Likewise.
72365 (link-libc-tests-rpath-link): Likewise.
72366 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72367 (link-libc): Prepand $(link-libc-rpath-link).
72368 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72369 (test-program-prefix): New macro.
72370 (test-via-rtld-prefix): Likewise.
72371 (test-program-cmd): Likewise.
72372 (host-test-program-cmd): Likewise.
72373 * Makefile ($(common-objpfx)testrun.sh): Replace
72374 $(run-program-prefix) with $(test-program-prefix).
72375 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72376 $(rtld-LDFLAGS).
72377 ($(common-objpfx)shlib.lds): Likewise.
72378 (build-module-helper): Likewise.
72379 ($(common-objpfx)format.lds): Likewise.
72380 * Rules (binaries-pie-tests): New.
72381 (binaries-pie-notests): Likewise.
72382 (binaries-pie): Rewritten.
72383 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72384 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72385 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72386 (make-test-out): Replace $(host-built-program-cmd) with
72387 $(host-test-program-cmd).
72388 * config.make.in (build-hardcoded-path-in-tests): New variable.
72389 * configure.in (--enable-hardcoded-path-in-tests): New configure
72390 option.
72391 (hardcoded_path_in_tests): New AC_SUBST.
72392 * configure: Regenerated.
72393 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72394 $(built-program-cmd) with $(test-program-cmd).
72395 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72396 (test_program_cmd): This.
72397 * elf/Makefile ($(objpfx)order.out): Run test with
72398 $(test-program-prefix).
72399 ($(objpfx)order2.out): Likewise.
72400 ($(objpfx)tst-initorder.out): Likewise.
72401 ($(objpfx)tst-initorder2.out): Likewise.
72402 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72403 $(test-program-cmd).
72404 ($(objpfx)tst-array1-static.out): Likewise.
72405 ($(objpfx)tst-array2.out): Likewise.
72406 ($(objpfx)tst-array3.out): Likewise.
72407 ($(objpfx)tst-array4.out): Likewise.
72408 ($(objpfx)tst-array5.out): Likewise.
72409 ($(objpfx)tst-array5-static.out): Likewise.
72410 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72411 $(test-program-cmd).
72412 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72413 $(run-program-prefix) with $(test-program-prefix).
72414 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72415 (test_program_prefix): This.
72416 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72417 $(run-program-prefix) with $(test-program-prefix).
72418 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72419 (test_program_prefix): This.
72420 * iconvdata/tst-tables.sh: Likewise.
72421 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72422 $(run-program-prefix) with $(test-program-prefix).
72423 ($(objpfx)tst-translit.out): Likewise.
72424 ($(objpfx)tst-gettext2.out): Likewise.
72425 ($(objpfx)tst-gettext4.out): Likewise.
72426 ($(objpfx)tst-gettext6.out): Likewise.
72427 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72428 (test_program_prefix): This.
72429 * intl/tst-gettext2.sh: Likewise.
72430 * intl/tst-gettext4.sh Likewise.
72431 * intl/tst-gettext6.sh: Likewise.
72432 * intl/tst-translit.sh: Likewise.
72433 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72434 with $(test-program-cmd).
72435 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72436 $(run-program-prefix) with $(test-program-prefix).
72437 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72438 (test_program_prefix): This.
72439 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72440 $(run-program-prefix) with $(test-program-prefix).
72441 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72442 (test_program_prefix): This.
72443 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72444 * posix/Makefile ($(objpfx)globtest.out): Replace
72445 $(run-via-rtld-prefix) and $(test-wrapper) with
72446 $(test-program-prefix) and $(test-via-rtld-prefix).
72447 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72448 $(test-program-prefix).
72449 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72450 $(host-test-program-cmd).
72451 (tst-spawn-ARGS): Likewise.
72452 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72453 $(test-program-prefix).
72454 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72455 (test_via_rtld_prefix): This.
72456 (test_wrapper): Renamed to ...
72457 (test_program_prefix): This.
72458 (run_program_prefix): Replaced by test_program_prefix.
72459 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72460 (test_program_prefix): This.
72461 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72462 with $(host-test-program-cmd).
72463 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72464 $(run-program-prefix) with $(test-program-prefix).
72465 ($(objpfx)tst-printf.out): Likewise.
72466 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72467 $(test-program-cmd).
72468 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72469 (test_program_prefix): This.
72470 * stdio-common/tst-unbputc.sh: Likewise.
72471 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72472 $(run-program-prefix) with $(test-program-prefix).
72473 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72474 (test_program_prefix): This.
72475 * string/Makefile ($(objpfx)tst-svc.out): Replace
72476 $(built-program-cmd) with $(test-program-cmd).
72477
72478 2013-01-11 Andreas Jaeger <aj@suse.de>
72479
72480 [BZ #15003]
72481 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72482 value. Sync with Linux 3.7.
72483
72484 2013-01-10 David S. Miller <davem@davemloft.net>
72485
72486 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72487 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72488 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72489
72490 2013-01-10 Roland McGrath <roland@hack.frob.com>
72491
72492 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72493 never set.
72494 * configure: Regenerated.
72495
72496 2013-01-10 David S. Miller <davem@davemloft.net>
72497
72498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72499 sparc V9 rather than using V8 code.
72500 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72501 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72502
72503 2013-01-10 Roland McGrath <roland@hack.frob.com>
72504
72505 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72506 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72507 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72508 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72509 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72510 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72511 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72512 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72513 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72514 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72515 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72516 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72517 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72518 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72519 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72520 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72521 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72522 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72523 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72524 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72525 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72526 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72527 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72528 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72529 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72530 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72531 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72532
72533 2013-01-10 David S. Miller <davem@davemloft.net>
72534
72535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72536
72537 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72538
72539 * posix/Makefile (tests-static): New variable.
72540 (tests): Add $(tests-static).
72541 (tst-exec-static-ARGS): New variable.
72542 (tst-spawn-static-ARGS): Likewise.
72543 * posix/tst-exec-static.c: New file.
72544 * posix/tst-spawn-static.c: Likewise.
72545 * posix/tst-exec.c: Support run directly.
72546 * posix/tst-spawn.c: Likewise.
72547
72548 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72549
72550 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72551 long.
72552 * math/bits/mathcalls.h (llrint): Likewise.
72553 (llround): Likewise.
72554 * stdlib/stdlib.h (struct drand48_data): Likewise.
72555 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72556 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72557 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72558 Likewise.
72559 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72560 Likewise.
72561 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72562 (elf_greg_t): Likewise.
72563 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72564 (__jmp_buf): Likewise.
72565 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72566 definitions.
72567 (llrint): Likewise, for all definitions.
72568 (llrintl): Likewise.
72569
72570 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72571 Remove [__GNUC__] condition.
72572 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72573 condition to just [__USE_ISOC99].
72574 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72575
72576 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72577
72578 [BZ #14200]
72579 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72580 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72581 defined.
72582 (_POSIX_V6_ILP32_OFF32): Likewise.
72583 (_XBS5_ILP32_OFF32): Likewise.
72584 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72585 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72586
72587 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72588
72589 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72590
72591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72592 doubles __mpexp_twomm1. Adjust usage.
72593 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72594 Remove.
72595
72596 2013-01-10 Andreas Schwab <schwab@suse.de>
72597
72598 [BZ #14964]
72599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72600 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72601
72602 2013-01-09 David S. Miller <davem@davemloft.net>
72603
72604 [BZ #15003]
72605 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72606 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72607 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72608 (TCP_FASTOPEN): Define.
72609 (tcp_repair_opt): New structure.
72610 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72611 enum values.
72612 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72613 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72614 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72615 (tcp_cookie_transactions): New structure.
72616
72617 2013-01-09 Anton Blanchard <anton@samba.org>
72618
72619 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72621 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72622 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72623
72624 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72625
72626 * include/features.h (__USE_ANSI): Remove.
72627
72628 2013-01-09 Roland McGrath <roland@hack.frob.com>
72629
72630 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72631
72632 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72633
72634 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72635
72636 * sysdeps/s390/fpu/libm-test-ulps: Update.
72637
72638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72639
72640 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72641 (__acr): Likewise.
72642 (__cpy): Likewise.
72643 (norm): Likewise.
72644 (denorm): Likewise.
72645 (__mp_dbl): Likewise.
72646 (__dbl_mp): Likewise.
72647 (add_magnitudes): Likewise.
72648 (sub_magnitudes): Likewise.
72649 (__add): Likewise.
72650 (__sub): Likewise.
72651 (__mul): Likewise.
72652 (__inv): Likewise.
72653 (__dvd): Likewise.
72654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72655 (__acr): Likewise.
72656 (__cpy): Likewise.
72657 (norm): Likewise.
72658 (denorm): Likewise.
72659 (__mp_dbl): Likewise.
72660 (__dbl_mp): Likewise.
72661 (add_magnitudes): Likewise.
72662 (sub_magnitudes): Likewise.
72663 (__add): Likewise.
72664 (__sub): Likewise.
72665 (__mul): Likewise.
72666 (__inv): Likewise.
72667 (__dvd): Likewise.
72668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72669 (__acr): Likewise.
72670 (__cpy): Likewise.
72671 (norm): Likewise.
72672 (denorm): Likewise.
72673 (__mp_dbl): Likewise.
72674 (__dbl_mp): Likewise.
72675 (add_magnitudes): Likewise.
72676 (sub_magnitudes): Likewise.
72677 (__add): Likewise.
72678 (__sub): Likewise.
72679 (__mul): Likewise.
72680 (__inv): Likewise.
72681 (__dvd): Likewise.
72682
72683 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72684
72685 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72686 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72687 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72688 2 && __USE_EXTERN_INLINES]: Likewise.
72689
72690 2013-01-08 Andreas Jaeger <aj@suse.de>
72691
72692 [BZ #14985]
72693 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72694 Remove.
72695 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72696 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72697
72698 2013-01-07 Anton Blanchard <anton@samba.org>
72699
72700 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72701 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72702 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72703 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72704 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72705 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72706 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72707 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72709 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72711 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72712 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72713 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72714 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72718 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72719 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72720 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72721 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72723 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72724 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72725 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72726 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72727 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72729 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72730 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72732 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72733 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72734 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72735 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72736 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72737 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72738 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72739 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72740 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72741 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72742 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72743
72744 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72745
72746 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72747 (__MALLOC_PMT): Likewise.
72748 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72749 [__GNUC__], only on [_LIBC].
72750 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72751 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72752 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72753 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72754 forward declaration.
72755 (realloc_hook_ini): Likewise.
72756 (memalign_hook_ini): Likewise.
72757 (__libc_memalign): Do not use __MALLOC_PMT in variable
72758 declaration.
72759 (__libc_valloc): Likewise.
72760 (__libc_pvalloc): Likewise.
72761 (__libc_calloc): Likewise.
72762 (__posix_memalign): Likewise.
72763
72764 [BZ #14996]
72765 * math/s_casinh.c: Include <float.h>.
72766 (__casinh): Do not do computation with squaring and square root
72767 for large arguments.
72768 * math/s_casinhf.c: Include <float.h>.
72769 (__casinhf): Do not do computation with squaring and square root
72770 for large arguments.
72771 * math/s_casinhl.c: Include <float.h>.
72772 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72773 (__casinhl): Do not do computation with squaring and square root
72774 for large arguments.
72775 * math/libm-test.inc (casin_test): Add more tests.
72776 (casinh_test): Likewise.
72777 * sysdeps/i386/fpu/libm-test-ulps: Update.
72778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72779
72780 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72781
72782 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72783 (__x86_64_raw_data_cache_size): Likewise.
72784 (__x86_64_data_cache_size_half): Likewise.
72785 (__x86_64_raw_data_cache_size_half): Likewise.
72786 (__x86_64_shared_cache_size): Likewise.
72787 (__x86_64_raw_shared_cache_size): Likewise.
72788 (__x86_64_shared_cache_size_half): Likewise.
72789 (__x86_64_raw_shared_cache_size_half): Likewise.
72790 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72791 to ...
72792 (__x86_data_cache_size): This.
72793 (__x86_64_raw_data_cache_size): Renamed to ...
72794 (__x86_raw_data_cache_size): This.
72795 (__x86_64_data_cache_size_half): Renamed to ...
72796 (__x86_data_cache_size_half): This.
72797 (__x86_64_raw_data_cache_size_half): Renamed to ...
72798 (__x86_raw_data_cache_size_half): This.
72799 (__x86_64_shared_cache_size): Renamed to ...
72800 (__x86_shared_cache_size): This.
72801 (__x86_64_raw_shared_cache_size): Renamed to ...
72802 (__x86_raw_shared_cache_size): This.
72803 (__x86_64_shared_cache_size_half): Renamed to ...
72804 (__x86_shared_cache_size_half): This.
72805 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72806 (__x86_raw_shared_cache_size_half): This.
72807 * sysdeps/x86_64/memcpy.S: Updated.
72808 * sysdeps/x86_64/memset.S: Likewise.
72809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72810 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72812
72813 2013-01-04 David S. Miller <davem@davemloft.net>
72814
72815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72816
72817 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72818
72819 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72820 1 to avoid redefinition warning.
72821 (__USE_GNU): Don't define.
72822 (init_signaling_nan): Protoize.
72823
72824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72825
72826 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72827
72828 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72830 (__cpymn): Likewise.
72831 (norm): Remove commented code.
72832 (denorm): Likewise.
72833 (__mp_dbl): Likewise.
72834 (__inv): Likewise.
72835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72836 (__cpymn): Likewise.
72837 (norm): Remove commented code.
72838 (denorm): Likewise.
72839 (__mp_dbl): Likewise.
72840 (__inv): Likewise.
72841
72842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72843 mp_no value for 1.0 and 2.0.
72844 (norm): Use RADIXI instead of radixi.d.
72845 (denorm): Likewise.
72846 (__mul): Use 0.0 instead of zero.d.
72847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72848 mp_no value for 1.0 and 2.0.
72849 (norm): Use RADIXI instead of radixi.d.
72850 (denorm): Likewise.
72851 (__mul): Use 0.0 instead of zero.d.
72852
72853 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72854
72855 [BZ #14994]
72856 * math/s_casinh.c (__casinh): Reduce finite argument to first
72857 quadrant then set signs of results at the end.
72858 * math/s_casinhf.c (__casinhf): Likewise.
72859 * math/s_casinhl.c (__casinhl): Likewise.
72860 * math/libm-test.inc (casin_test): Add more tests.
72861 (casinh_test): Likewise.
72862 * sysdeps/i386/fpu/libm-test-ulps: Update.
72863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72864
72865 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72866
72867 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72868
72869 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72870
72871 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72872 declarations.
72873 (denorm): Likewise.
72874 (__mp_dbl): Likewise.
72875 (__inv): Likewise.
72876
72877 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72878 and adjust the header comment.
72879
72880 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72881 variable name from declaration.
72882
72883 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72884
72885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72886 Initialize COMMON_CPUID_INDEX_7 element.
72887 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72888 (CPUID_RTM): Likewise.
72889 (HAS_RTM): Likewise.
72890 (COMMON_CPUID_INDEX_7): New enum.
72891
72892 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72893
72894 [BZ #14981]
72895 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72896 size is zero, record memory as freed.
72897
72898 2013-01-03 Andreas Jaeger <aj@suse.de>
72899
72900 * po/ia.po: Add new Interlingua translation.
72901
72902 2012-01-03 Allan McRae <allan@archlinux.org>
72903
72904 * locale/programs/localedef.c: Fix description of '--posix' flag.
72905
72906 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72907
72908 * NEWS: Update dates in second copyright notice.
72909 * README: Update copyright dates in example.
72910 * manual/libc.texinfo: Update copyright dates.
72911 * scripts/test-installation.pl: Update copyright date in --version
72912 output.
72913
72914 * hurd/ctty-input.c: Fix copyright notice formatting.
72915 * hurd/ctty-output.c: Likewise.
72916 * hurd/dtable.c: Likewise.
72917 * hurd/hurd-raise.c: Likewise.
72918 * hurd/hurdprio.c: Likewise.
72919 * hurd/msgportdemux.c: Likewise.
72920 * misc/sys/file.h: Likewise.
72921 * misc/sys/ioctl.h: Likewise.
72922 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72923 * sysdeps/mach/hurd/chdir.c: Likewise.
72924 * sysdeps/mach/hurd/fchdir.c: Likewise.
72925 * sysdeps/mach/hurd/rename.c: Likewise.
72926 * sysdeps/mach/hurd/rmdir.c: Likewise.
72927 * sysdeps/mach/hurd/seekdir.c: Likewise.
72928 * sysdeps/mach/hurd/setsid.c: Likewise.
72929 * sysdeps/posix/wait3.c: Likewise.
72930
72931 * All files with FSF copyright notices: Update copyright dates
72932 using scripts/update-copyrights.
72933 * intl/plural.c: Regenerated.
72934 * locale/programs/charmap-kw.h: Likewise.
72935 * locale/programs/locfile-kw.h: Likewise.
72936
72937 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72938
72939 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72940 four values.
72941
72942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72943 calculation loop and add branch prediction.
72944
72945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72946 check access beyond bounds of m1np.
72947
72948 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72949 MPTWO.
72950 (__inv): Remove local variable MPTWO to use the global
72951 constant.
72952 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72954 variable MPTWO.
72955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72956 MP3HALFS static const.
72957
72958 2013-01-01 David S. Miller <davem@davemloft.net>
72959
72960 * po/ca.po: Update from translation team.
72961
72962 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72963
72964 * scripts/update-copyrights: New file.
72965 * Makeconfig: Reformat copyright notice.
72966 * ctype/ctype.h: Likewise.
72967 * debug/swprintf_chk.c: Likewise.
72968 * elf/dl-cache.c: Likewise.
72969 * elf/dl-debug.c: Likewise.
72970 * elf/dl-object.c: Likewise.
72971 * grp/initgroups.c: Likewise.
72972 * hurd/Makefile: Likewise.
72973 * hurd/hurd/signal.h: Likewise.
72974 * hurd/hurdfault.c: Likewise.
72975 * hurd/hurdioctl.c: Likewise.
72976 * hurd/hurdlookup.c: Likewise.
72977 * hurd/intr-msg.c: Likewise.
72978 * iconv/gconv_open.c: Likewise.
72979 * libio/swprintf.c: Likewise.
72980 * locale/lc-ctype.c: Likewise.
72981 * locale/nl_langinfo.c: Likewise.
72982 * mach/Machrules: Likewise.
72983 * mach/Makefile: Likewise.
72984 * malloc/obstack.h: Likewise.
72985 * manual/Makefile: Likewise.
72986 * manual/tsort.awk: Likewise.
72987 * misc/bits/stab.def: Likewise.
72988 * nis/nis_print_group_entry.c: Likewise.
72989 * nis/nis_table.c: Likewise.
72990 * nis/nss_compat/compat-pwd.c: Likewise.
72991 * nis/nss_compat/compat-spwd.c: Likewise.
72992 * po/Makefile: Likewise.
72993 * posix/fnmatch.c: Likewise.
72994 * posix/regex.h: Likewise.
72995 * resolv/Makefile: Likewise.
72996 * resolv/nss_dns/dns-network.c: Likewise.
72997 * resolv/res_hconf.c: Likewise.
72998 * scripts/gen-sorted.awk: Likewise.
72999 * soft-fp/soft-fp.h: Likewise.
73000 * stdio-common/printf.h: Likewise.
73001 * stdlib/monetary.h: Likewise.
73002 * stdlib/random.c: Likewise.
73003 * stdlib/random_r.c: Likewise.
73004 * sysdeps/generic/Makefile: Likewise.
73005 * sysdeps/gnu/Makefile: Likewise.
73006 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73013 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73016 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73017 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73018 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73019 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73020 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73021 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73022 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73023 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73024 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73026 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73027 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73028 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73029 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73030 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73031 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73032 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73033 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73034 * sysdeps/mach/hurd/errnos.awk: Likewise.
73035 * sysdeps/mach/hurd/fork.c: Likewise.
73036 * sysdeps/mach/hurd/getcwd.c: Likewise.
73037 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73038 * sysdeps/mach/hurd/mmap.c: Likewise.
73039 * sysdeps/mach/hurd/utimes.c: Likewise.
73040 * sysdeps/mach/hurd/xmknod.c: Likewise.
73041 * sysdeps/posix/profil.c: Likewise.
73042 * sysdeps/posix/readdir_r.c: Likewise.
73043 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73044 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73045 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73046 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73048 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73049 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73050 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73052 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73054 * sysdeps/pthread/lio_listio.c: Likewise.
73055 * sysdeps/sparc/dl-procinfo.h: Likewise.
73056 * sysdeps/unix/i386/sysdep.S: Likewise.
73057 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73058 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73059 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73060 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73062 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73063 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73064 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73065 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73066 * sysdeps/wordsize-32/divdi3.c: Likewise.
73067 * time/sys/time.h: Likewise.
73068 * wcsmbs/Makefile: Likewise.
73069
73070 2013-01-01 David S. Miller <davem@davemloft.net>
73071
73072 * po/fr.po: Update from translation team.
73073
73074 * catgets/gencat.c: Update copyright year.
73075 * csu/version.c: Likewise.
73076 * debug/catchsegv.sh: Likewise.
73077 * debug/pcprofiledump.c: Likewise.
73078 * debug/xtrace.sh: Likewise.
73079 * elf/ldconfig.c: Likewise.
73080 * elf/ldd.bash.in: Likewise.
73081 * elf/pldd.c: Likewise.
73082 * elf/sotruss.ksh: Likewise.
73083 * elf/sprof.c: Likewise.
73084 * iconv/iconv_prog.c: Likewise.
73085 * iconv/iconvconfig.c: Likewise.
73086 * locale/programs/locale.c: Likewise.
73087 * locale/programs/localedef.c: Likewise.
73088 * login/programs/pt_chown.c: Likewise.
73089 * malloc/memusage.sh: Likewise.
73090 * malloc/memusagestat.c: Likewise.
73091 * malloc/mtrace.pl: Likewise.
73092 * nscd/nscd.c: Likewise.
73093 * nss/getent.c: Likewise.
73094 * nss/makedb.c: Likewise.
73095 * posix/getconf.c: Likewise.
73096
73097 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73098
73099 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73100 numbers.
73101
73102 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73103
73104 * math/bits/mathcalls.h (modf): Use __nonnull.
73105
73106 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73107
73108 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73109 (split): Use macro CN instead of the bare value.
73110 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73111 could be used.
73112 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73113 instead of the bare value.
73114 (power1): Likewise.
73115
73116 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73117
73118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73119 __ATAN_TWOM.
73120 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73121
73122 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73123 their values.
73124 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73126 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73127 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73128
73129 2012-12-28 Andreas Jaeger <aj@suse.de>
73130
73131 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73132 values are from Linux 3.7.
73133
73134 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73135 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73136
73137 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73138
73139 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73140 TRUE case.
73141
73142 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73143 (norm): Likewise.
73144 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73145 variables with preprocessor constants.
73146 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73147 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73148 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73149
73150 2012-12-27 Bruno Haible <bruno@clisp.org>
73151
73152 [BZ #14317]
73153 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73154 only if needed.
73155
73156 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73157
73158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73159 and use variable directly.
73160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73161
73162 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73163 MPONE.
73164 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73165 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73166 variable MPONE.
73167 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73169 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73170 include directive. Remove local variable MPONE.
73171 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73172 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73173 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73174
73175 2012-12-25 David S. Miller <davem@davemloft.net>
73176
73177 * version.h (RELEASE): Set to "development".
73178 (VERSION): Set to "2.17.90".
73179 * NEWS: Add 2.18 section.
73180
73181 2012-12-21 David S. Miller <davem@davemloft.net>
73182
73183 * po/hr.po: Update from translation team.
73184
73185 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73186
73187 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73188
73189 2012-12-19 Steve Ellcey <sellcey@mips.com>
73190
73191 * NEWS: Mention new memcpy for MIPS.
73192
73193 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73194
73195 * manual/contrib.texi (Contributors): Spelling correction.
73196
73197 2012-12-15 David S. Miller <davem@davemloft.net>
73198
73199 * po/ru.po: Update from translation team.
73200
73201 2012-12-13 David S. Miller <davem@davemloft.net>
73202
73203 * NEWS: Mention IFUNC testsuite enhancements.
73204
73205 * po/pl.po: Update from translation team.
73206 * po/bg.po: Likewise.
73207
73208 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73209 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73210
73211 2012-12-11 David S. Miller <davem@davemloft.net>
73212
73213 * po/sv.po: Update from translation team.
73214
73215 * po/vi.po: Update from translation team.
73216
73217 * po/cs.po: Update from translation team.
73218
73219 * po/de.po: Update from translation team.
73220 * po/eo.po: Likewise.
73221 * po/nl.po: Likewise.
73222
73223 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73224
73225 [BZ #14246]
73226 * manual/argp.texi (Argp Helper Functions): Move node to follow
73227 Argp Parsing State.
73228
73229 [BZ #14872]
73230 * manual/conf.texi (Limits on File System Capacity): Mention if
73231 terminating null is included in the max size.
73232
73233 2012-12-10 Andreas Jaeger <aj@suse.de>
73234
73235 * po/cs.po: Update from translation team.
73236
73237 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73238
73239 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73240 void pointer and cast to uintptr_t.
73241 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73242 path.
73243 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73244 * sysdeps/s390/s390-64/memset.S: Likewise.
73245
73246 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73247
73248 [BZ #14833]
73249 * menual/message.texi (Message Translation): Fix typos.
73250 (Helper programs for gettext): Likewise.
73251
73252 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73253
73254 [BZ #14898]
73255 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73256 Change to -1.
73257
73258 2012-12-07 David S. Miller <davem@davemloft.net>
73259
73260 * po/libc.pot: Update.
73261
73262 2012-12-07 Richard Henderson <rth@redhat.com>
73263
73264 [BZ #10114]
73265 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73266 normal/normal case to before the switch.
73267 (_FP_DIV): Likewise.
73268
73269 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73270 Mike Frysinger <vapier@gentoo.org>
73271
73272 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73273 check for __NR_fadvise64_64.
73274
73275 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73276
73277 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73278 0, not just to plain "0" as a statement.
73279 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73280 with cw.
73281
73282 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73283
73284 * NEWS: Use sourceware.org in Bugzilla URL.
73285
73286 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73287
73288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73289 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73290
73291 * stdio-common/tst-put-error.c (do_test): Add newline to the
73292 padded test to ensure flush.
73293
73294 2012-12-05 Jeff Law <law@redhat.com>
73295
73296 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73297
73298 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73299
73300 * README: Don't refer to ports add-on as distributed separately.
73301 Mention AArch64 in list of systems supported in the ports add-on.
73302
73303 * LICENSES: Add more non-FSF copyright and license notices.
73304
73305 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73306 ((unused)).
73307
73308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73309
73310 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73311 10000 as width of padded output.
73312
73313 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73314
73315 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73316
73317 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73318 variable LX with __attribute__ ((unused)).
73319 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73320 Likewise.
73321 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73324 with __attribute__ ((unused)).
73325
73326 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73327
73328 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73329
73330 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73331
73332 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73333 (CFLAGS-nldbl-acos.c): New variable.
73334 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73335 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73336 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73337 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73338 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73339 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73340 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73341 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73342 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73343 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73344 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73345 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73346 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73347 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73348 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73349 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73350 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73351 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73352 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73353 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73354 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73355 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73356 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73357 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73358 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73359 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73360 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73361 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73362 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73363 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73364 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73365 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73366 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73367 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73368 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73369 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73370 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73371 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73372 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73373 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73374 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73375 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73376 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73377 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73378 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73379 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73380 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73381 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73382 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73383 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73384 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73385 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73386 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73387 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73388 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73389 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73390 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73391 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73392 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73393 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73394 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73395 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73396 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73397 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73398 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73399 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73400 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73401 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73402 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73403 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73404 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73405 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73406 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73407 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73408 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73409 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73410 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73411 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73412 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73413 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73414 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73415 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73416 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73417 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73418 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73419 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73420 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73421 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73422 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73423 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73424 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73425 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73426 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73427 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73428 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73429 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73430 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73431
73432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73433 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73434
73435 [BZ #14914]
73436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73437 whole low double instead of just low 47 bits when splitting values
73438 into two parts.
73439
73440 2012-12-03 Allan McRae <allan@archlinux.org>
73441
73442 * manual/stdio.texi (Predefined Printf Handlers): Remove
73443 @hsep and @vsep usage.
73444
73445 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73446
73447 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73448 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73449
73450 2012-12-03 Jeff Law <law@redhat.com>
73451
73452 * time/sys/time.h (settimeofday): Do not mark TV argument
73453 as __nonnull.
73454
73455 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73456
73457 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73458 when currently writing and seek to current position when not.
73459 * libio/Makefile (tests): Remove bug-fclose1.
73460 * libio/bug-fclose1.c: Delete.
73461
73462 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73463
73464 * manual/arith.texi (feenableexcept): Fix typo.
73465 (fedisableexcept): Likewise.
73466
73467 2012-11-30 Roland McGrath <roland@hack.frob.com>
73468
73469 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73470 second, differently-typed declaration, rather than a cast.
73471
73472 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73473
73474 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73475 * include/rpc/svc.h: ... here.
73476
73477 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73478
73479 [BZ #13013]
73480 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73481 depending n and resplen2 to catch cases where answer
73482 equals answerp2.
73483
73484 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73485
73486 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73487 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73488
73489 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73490
73491 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73492
73493 2012-11-29 Roland McGrath <roland@hack.frob.com>
73494
73495 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73496
73497 2012-11-28 Jeff Law <law@redhat.com>
73498
73499 [BZ #13761]
73500 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73501 dataset_temporary. Track alloca usage into alloca_used.
73502 If dataset is large allocate and release it via malloc/free.
73503
73504 2012-06-04 Florian Weimer <fweimer@redhat.com>
73505
73506 [BZ #14197]
73507 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73508
73509 2012-11-28 David S. Miller <davem@davemloft.net>
73510
73511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73512
73513 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73514
73515 [BZ #14803]
73516 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73517 of pi/2 rounded to nearest to 64 bits.
73518 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73519 nearest to 64 bits.
73520 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73521 bits.
73522
73523 2012-11-28 Jeff Law <law@redhat.com>
73524 Martin Osvald <mosvald@redhat.com>
73525
73526 [BZ #14889]
73527 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73528 * sunrpc/svc.c: Include time.h.
73529 (__svc_accept_failed): New function.
73530 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73531 any reason other than EINTR, call __svc_accept_failed.
73532 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73533 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73534
73535 2012-11-28 Andreas Schwab <schwab@suse.de>
73536
73537 * scripts/abilist.awk: Also handle indirect functions in .opd
73538 section.
73539
73540 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73541
73542 [BZ #13881]
73543 * sysdeps/x86/fpu/powl_helper.c: New file.
73544 * sysdeps/x86/fpu/Makefile: Likewise.
73545 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73546 (p3): New object.
73547 (__ieee754_powl): Use __powl_helper for finite arguments except
73548 integer exponents below 8.
73549 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73550 (p3): New object.
73551 (__ieee754_powl): Use __powl_helper for finite arguments except
73552 integer exponents below 8.
73553 * math/libm-test.inc (pow_test): Add more tests and enable some
73554 previously disabled tests.
73555 * sysdeps/i386/fpu/libm-test-ulps: Update.
73556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73557
73558 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73559 Carlos O'Donell <carlos_odonell@mentor.com>
73560
73561 * nss/makedb.c (is_prime): Assert that input is odd and greater
73562 than 4. Note that fact in a comment too.
73563 (next_prime): Add 4 to input.
73564
73565 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73566
73567 [BZ #11741]
73568 * libio/Makefile (tests): Add test case tst-fwrite-error.
73569 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73570 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73571 * libio/tst-fwrite-error.c: New test case.
73572
73573 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73574
73575 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73576 before casting to void *.
73577 * include/libc-internal.h (__pointer_type): New macro.
73578 (__integer_if_pointer_type_sub): Likewise.
73579 (__integer_if_pointer_type): Likewise.
73580 (cast_to_integer): Likewise.
73581 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73582 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73583 before casting to atomic64_t.
73584 (atomic_exchange_acq): Likewise.
73585 (__arch_exchange_and_add_body): Likewise.
73586 (__arch_add_body): Likewise.
73587 (atomic_add_negative): Likewise.
73588 (atomic_add_zero): Likewise.
73589
73590 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73591
73592 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73593 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73594 (add_fdes): Likewise.
73595 (linear_search_fdes): Likewise.
73596 (binary_search_unencoded_fdes): Likewise.
73597
73598 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73599
73600 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73601
73602 2012-11-24 Adam Conrad <adconrad@0c3.net>
73603
73604 * configure.in: Autodetect C++ header directories.
73605 * configure: Regenerated.
73606
73607 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73608
73609 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73610
73611 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73612
73613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73614
73615 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73616
73617 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73618 LDBL_MANT_DIG == 106]: Disable some tests.
73619 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73620 Likewise.
73621 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73622 Likewise.
73623
73624 [BZ #14871]
73625 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73626 input for small inputs. Return +/- pi/2 for large inputs.
73627 * math/libm-test.inc (atan_test): Add more tests.
73628
73629 * sysdeps/generic/unwind-dw2-fde-glibc.c
73630 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73631 __attribute__ ((unused)).
73632
73633 [BZ #14645]
73634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73635 x * y if x and y are nonzero and z is zero.
73636
73637 [BZ #14811]
73638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73639 nonzero exponents with absolute value below 0x1p-117 to +/-
73640 0x1p-117.
73641
73642 [BZ #14869]
73643 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73644 up arguments below 2**-450, not just those below 2**-500.
73645 * math/libm-test.inc (hypot_test): Add another test.
73646
73647 [BZ #14868]
73648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73649 Return a+b for ratio over 2**120, not 2**60.
73650 * math/libm-test.inc (hypot_test): Add another test.
73651
73652 * math/libm-test.inc (clog_test): Use
73653 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73654 (clog10_test): Likewise.
73655
73656 [BZ #6778]
73657 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73658
73659 2012-11-22 Andreas Schwab <schwab@suse.de>
73660
73661 * sysdeps/i386/fpu/libm-test-ulps: Update.
73662
73663 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73664
73665 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73666 printf output with newline.
73667
73668 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73669
73670 [BZ #14865]
73671 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73672 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73673 -z nodlopen, -z initfirst and -z execstack support.
73674 * configure: Regenerated.
73675
73676 * elf/elf.h (DF_1_NODIRECT): New macro.
73677 (DF_1_IGNMULDEF): Likewise.
73678 (DF_1_NOKSYMS): Likewise.
73679 (DF_1_NOHDR): Likewise.
73680 (DF_1_EDITED): Likewise.
73681 (DF_1_NORELOC): Likewise.
73682 (DF_1_SYMINTPOSE): Likewise.
73683 (DF_1_GLOBAUDIT): Likewise.
73684 (DF_1_SINGLETON): Likewise.
73685 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73686 DT_1_SUPPORTED_MASK bits.
73687 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73688
73689 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73690
73691 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73692
73693 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73694
73695 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73696 macro.
73697
73698 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73699 (sendmmsg): Move declarations...
73700 * socket/sys/socket.h: ... here.
73701 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73702 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73703 include it from...
73704 * socket/recvmmsg.c: ... this new file.
73705 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73706 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73707 definition of __sendmmsg hidden.
73708 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73709 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73710 Move ENOSYS stub into and include it from...
73711 * socket/sendmmsg.c: ... this new file.
73712 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73713 (sysdep_routines): Move recvmmsg and sendmmsg...
73714 * socket/Makefile (routines): ... here.
73715 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73716 (GLIBC_PRIVATE): Add __sendmmsg.
73717 * include/sys/socket.h (__sendmmsg): Add declarations.
73718 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73719 sendmmsg.
73720
73721 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73722
73723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73724 variable I1 with __attribute__ ((unused)).
73725 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73726
73727 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73728
73729 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73730 DUMMY variables with __attribute__ ((unused)).
73731
73732 * bits/byteswap.h: Include <bits/types.h>.
73733 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73734
73735 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73736
73737 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73738 string_t. Do not manually set errno.
73739 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73740 length with __strnlen. Make sure to both set errno and return it on
73741 failure.
73742
73743 2012-11-19 David S. Miller <davem@davemloft.net>
73744
73745 With help from Joseph Myers.
73746 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73747 very large arguments properly.
73748 * math/libm-test.inc (atan_test): New tests.
73749 (atan2_test): New tests.
73750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73752
73753 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73754
73755 [BZ #14856]
73756 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73757 Define to 3.
73758
73759 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73760 [POSIX] (EADDRNOTAVAIL): Likewise.
73761 [POSIX] (EAFNOSUPPORT): Likewise.
73762 [POSIX] (EALREADY): Likewise.
73763 [POSIX] (ECONNABORTED): Likewise.
73764 [POSIX] (ECONNREFUSED): Likewise.
73765 [POSIX] (ECONNRESET): Likewise.
73766 [POSIX] (EDESTADDRREQ): Likewise.
73767 [POSIX] (EDQUOT): Likewise.
73768 [POSIX] (EHOSTUNREACH): Likewise.
73769 [POSIX] (EIDRM): Likewise.
73770 [POSIX] (EISCONN): Likewise.
73771 [POSIX] (ELOOP): Likewise.
73772 [POSIX] (EMULTIHOP): Likewise.
73773 [POSIX] (ENETDOWN): Likewise.
73774 [POSIX] (ENETUNREACH): Likewise.
73775 [POSIX] (ENOBUFS): Likewise.
73776 [POSIX] (ENODATA): Likewise.
73777 [POSIX] (ENOLINK): Likewise.
73778 [POSIX] (ENOMSG): Likewise.
73779 [POSIX] (ENOPROTOOPT): Likewise.
73780 [POSIX] (ENOSR): Likewise.
73781 [POSIX] (ENOSTR): Likewise.
73782 [POSIX] (ENOTCONN): Likewise.
73783 [POSIX] (ENOTSOCK): Likewise.
73784 [POSIX] (EOPNOTSUPP): Likewise.
73785 [POSIX] (EOVERFLOW): Likewise.
73786 [POSIX] (EPROTO): Likewise.
73787 [POSIX] (EPROTONOSUPPORT): Likewise.
73788 [POSIX] (EPROTOTYPE): Likewise.
73789 [POSIX] (ESTALE): Likewise.
73790 [POSIX] (ETIME): Likewise.
73791 [POSIX] (ETXTBSY): Likewise.
73792 [POSIX] (EWOULDBLOCK): Likewise.
73793 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73794 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73795 [POSIX] (SEEK_CUR): Likewise.
73796 [POSIX] (SEEK_END): Likewise.
73797 [POSIX || UNIX98] (mode_t): Do not require.
73798 [POSIX] (off_t): Likewise.
73799 [POSIX] (pid_t): Likewise.
73800 [POSIX] (sys/stat.h): Do not allow header.
73801 [POSIX] (unistd.h): Likewise.
73802 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73803 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73804 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73805 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73806 require.
73807 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73808 sigevent): Specify elements.
73809 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73810 entry.
73811 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73812 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73813
73814 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73815 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73816 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73817 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73818 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73819 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73820 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73821 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73822 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73823 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73824 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73825 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73826 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73828 Likewise.
73829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73830 Likewise.
73831 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73832 Likewise.
73833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73834 Likewise.
73835 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73836 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73837 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73838 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73839 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73840 Specify lower bound on value.
73841 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73842 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73843 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73844 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73845 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73846 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73847 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73848 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73849 value.
73850 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73851 as optional.
73852 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73853 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73854 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73855 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73856 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73857 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73858 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73859 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73860 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73861 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73862 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73863 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73864 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73865 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73866 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73867 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73868 entry.
73869 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73870 optional.
73871 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73872 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73873 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73874 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73875 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73876 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73877 Likewise.
73878 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73879 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73880 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73881 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73882 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73883 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73884 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73885 as optional.
73886 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73887 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73889 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73890 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73891 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73892 specify as optional.
73893 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73894 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73895 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73896 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73897 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73898 [XPG3] (NL_LANGMAX): Likewise.
73899 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73900 [POSIX || XPG3] (NL_NMAX): Likewise.
73901 [POSIX || XPG3] (NL_SETMAX): Likewise.
73902 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73903 [XPG3] (NZERO): Likewise.
73904 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73905 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73906 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73907 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73908 (REG_ERANGE): Expect.
73909 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73910 optional-constant.
73911 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73912 Use (void) in prototype.
73913 [POSIX] (*_t): Allow.
73914 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73915 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73916 (WRDE_BADVAL): Expect.
73917
73918 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73919 expect.
73920 [XPG3 || XPG4] (O_RSYNC): Likewise.
73921 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73922 Likewise.
73923 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73924 [XPG3 || XPG4] (sigqueue): Likewise.
73925 [XPG3 || XPG4] (sigtimedwait): Likewise.
73926 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73927 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73928 [XPG3 || XPG4] (vsnprintf): Likewise.
73929 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73930 Likewise.
73931 [XPG3 || XPG4] (blksize_t): Likewise.
73932 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73933 Likewise.
73934 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73935 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73936 [XPG3 || XPG4] (struct itimerspec): Likewise.
73937 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73938 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73939 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73940 [XPG3 || XPG4] (clockid_t): Likewise.
73941 [XPG3 || XPG4] (timer_t): Likewise.
73942 [XPG3 || XPG4] (clock_getres): Likewise.
73943 [XPG3 || XPG4] (clock_gettime): Likewise.
73944 [XPG3 || XPG4] (clock_settime): Likewise.
73945 [XPG3 || XPG4] (nanosleep): Likewise.
73946 [XPG3 || XPG4] (timer_create): Likewise.
73947 [XPG3 || XPG4] (timer_delete): Likewise.
73948 [XPG3 || XPG4] (timer_gettime): Likewise.
73949 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73950 [XPG3 || XPG4] (timer_settime): Likewise.
73951 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73952 [XPG3 || XPG4] (getlogin_r): Likewise.
73953 [XPG3 || XPG4] (pread): Likewise.
73954 [XPG3 || XPG4] (pthread_atfork): Likewise.
73955 [XPG3 || XPG4] (pwrite): Likewise.
73956
73957 [BZ #14835]
73958 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73959 <bits/siginfo.h>.
73960
73961 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73962
73963 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73964 finalizing MALLSTREAM.
73965
73966 * sysdeps/mach/hurd/syncfs.c: New file.
73967
73968 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73969
73970 [BZ #14719]
73971 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73972 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73973 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73974 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73975 (_nss_dns_gethostbyname4_r): Likewise.
73976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73977 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73978
73979 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73980
73981 [BZ #13763]
73982 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73983
73984 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73985
73986 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73987 * elf/cache.c (print_entry): Print ",AArch64" for
73988 FLAG_AARCH64_LIB64
73989
73990 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73991 * elf/cache.c (print_entry): Print ",hard-float" for
73992 FLAG_ARM_LIBHF.
73993
73994 2012-11-18 David S. Miller <davem@davemloft.net>
73995
73996 With help from Joseph Myers.
73997 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73998 cutoff to 2**-13.
73999 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74000 cutoff to 2**-25.
74001 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74002 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74003 small.
74004 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74005 * math/libm-test.inc (y0_test): New tests.
74006 (y1_test): New tests.
74007 * sysdeps/i386/fpu/libm-test-ulps: Update.
74008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74010
74011 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
74012
74013 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74014 64-bit targets.
74015 * configure: Regenerated.
74016
74017 2012-11-17 David S. Miller <davem@davemloft.net>
74018
74019 [BZ #14811]
74020 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74021 nonzero exponents with absolute value below 0x1p-128 to +/-
74022 0x1p-128.
74023
74024 2012-11-17 Joseph Myers <joseph@codesourcery.com>
74025
74026 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74027
74028 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74029
74030 * posix/getconf-speclist.c: New file.
74031 * posix/posix-envs.def: Likewise.
74032 * posix/confstr.c (START_ENV_GROUP): New macro.
74033 (END_ENV_GROUP): Likewise.
74034 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74035 (KNOWN_PRESENT_ENV_STRING): Likewise.
74036 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74037 (UNKNOWN_ENVIRONMENT): Likewise.
74038 (confstr): Include posix-envs.def instead of handling
74039 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74040 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74041 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74042 (END_ENV_GROUP): Likewise.
74043 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74044 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74045 (UNKNOWN_ENVIRONMENT): Likewise.
74046 (__sysconf): Include posix-envs.def instead of handling associated
74047 cases directly here.
74048 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74049 preprocessing getconf-speclist.c rather than running getconf or
74050 generating empty file.
74051
74052 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74053
74054 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74055
74056 2012-11-16 Andrej Lajovic <natrij@gmail.com>
74057
74058 [BZ #14672]
74059 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74060
74061 2012-11-16 David S. Miller <davem@davemloft.net>
74062
74063 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74064 smaller than LDBL_EPSILON/2.0L, just return xm1.
74065
74066 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74067
74068 * elf/tst-array1.c (init): Set constructor priority to 1000.
74069 (fini): Set destructor priority to 1000.
74070 * elf/tst-array2dep.c: Likewise.
74071
74072 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74073
74074 [BZ #11741]
74075 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74076 (_IO_new_file_xsputn): Also return EOF if none of the input
74077 data was written when overflow failed.
74078 * libio/iopadn.c (_IO_padn): Likewise.
74079 * libio/iowpadn.c (_IO_wpadn): Likewise.
74080 * stdio-common/tst-put-error.c: Add copyright notice.
74081 (do_test): Add case for printing padded string.
74082 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74083 _IO_padn returned error.
74084 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74085 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74086 return EOF.
74087
74088 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74089
74090 * libio/libioP.h: Add comment note that the references to C++
74091 bits are now obsolete.
74092
74093 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74094
74095 * math/libm-test.inc (check_complex): Use asprintf.
74096
74097 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74098
74099 * debug/pcprofiledump.c (print_version): Update copyright year.
74100 * malloc/memusagestat.c (print_version): Likewise.
74101
74102 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74103
74104 [BZ #14831]
74105 * elf/Makefile (tests): Add tst-audit8.
74106 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74107 ($(objpfx)tst-audit8.out): New target.
74108 (tst-audit8-ENV): New variable.
74109 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74110 audit if l_reloc_result is NULL.
74111 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74112 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74113 * elf/tst-audit8.c: New file.
74114
74115 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74116
74117 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74118 * misc/Makefile (CFLAGS-select.c): Define.
74119 * posix/Makefile (CFLAGS-pause.c): Define.
74120
74121 2012-11-13 David S. Miller <davem@davemloft.net>
74122
74123 * crypt/Makefile: Move test targets after toplevel Rules
74124 inclusion. Grab any necessary sysdep routines when linking.
74125 * crypt/md5.c (md5_process_block): Remove define, we will always
74126 name it __md5_process_block.
74127 (md5_finish_ctx): Update md5_process_block call.
74128 (md5_stream): Likewise.
74129 (md5_process_bytes): Likewise.
74130 (md5_process_block): Rename to __md5_process_block and move to ...
74131 * crypt/md5-block.c: ... here.
74132 * crypt/sha256.c (sha256_process_block): Move to ...
74133 * crypt/sha256-block.c: ... here.
74134 * crypt/sha512.c (sha512_process_block): Move to ...
74135 * crypt/sha512-block.c: ... here.
74136 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74137 path.
74138 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74139 * sysdeps/sparc/sparc64/multiarch/Makefile
74140 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74141 crypt subdir.
74142 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74143 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74144 multiarch changes.
74145 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74146 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74147 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74148 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74149 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74150 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74151 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74152 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74153 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74154 file.
74155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74156 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74157 file.
74158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74159
74160 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74161
74162 * timezone/tzselect.ksh: Update from tzcode git revision
74163 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74164 * timezone/zdump.c: Likewise.
74165 * timezone/zic.c: Likewise.
74166 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74167 in TZVERSION setting, not $(PKGVERSION).
74168 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74169 REPORT_BUGS_TO settings.
74170
74171 [BZ #14838]
74172 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74173 macro.
74174
74175 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74176
74177 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74178 detection to immediately after _FP_ROUND().
74179 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74180 bits are 0.
74181
74182 2012-11-11 David S. Miller <davem@davemloft.net>
74183
74184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74185 inttypes.h
74186 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74187 __close rather than their public counterparts.
74188
74189 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74190
74191 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74192 file.
74193 [UNIX98] (sem_timedwait): Do not expect.
74194 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74195 [XPG4 || UNIX98] (sockatmark): Do not expect.
74196 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74197 (clock_getcpuclockid): Do not expect.
74198 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74199 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74200 Do not expect.
74201 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74202 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74203 [UNIX98] (vwscanf): Likewise.
74204 [UNIX98] (vswscanf): Likewise.
74205
74206 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74207
74208 * timezone/version.h: Remove file.
74209 * timezone/README: Do not refer to version.h.
74210 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74211 $(objpfx)version.h.
74212 ($(objpfx)zdump.o): Likewise.
74213 ($(objpfx)version.h): New target.
74214
74215 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74216 2012i.
74217 * timezone/README: Don't mention modification to tzselect.ksh.
74218 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74219 work on unmodified tzselect.ksh. Substitute version numbers in
74220 tzselect.ksh.
74221
74222 * Makefile (format-me): Remove.
74223 (INSTALL): Adjust indentation. Use commands directly instead of
74224 using $(format-me).
74225
74226 * aclocal.m4 (ACX_PKGVERSION): New macro.
74227 (ACX_BUGURL): Likewise.
74228 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74229 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74230 (REPORT_BUGS_TO): Likewise.
74231 * configure: Regenerated.
74232 * config.h.in (PKGVERSION): New macro.
74233 (REPORT_BUGS_TO): Likewise.
74234 * config.make.in (PKGVERSION): New variable.
74235 (PKGVERSION_TEXI): Likewise.
74236 (REPORT_BUGS_TO): Likewise.
74237 (REPORT_BUGS_TEXI): Likewise.
74238 * Makefile (format-me): Use -I$(common-objpfx)manual.
74239 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74240 ($(common-objpfx)manual/%): New target.
74241 (manual/%): Remove target.
74242 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74243 (print_version): Use PKGVERSION.
74244 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74245 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74246 and REPORT_BUGS_TO.
74247 ($(objpfx)xtrace): Likewise.
74248 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74249 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74250 (print_version): Use PKGVERSION.
74251 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74252 (do_version): Use PKGVERSION.
74253 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74254 REPORT_BUGS_TO.
74255 (common-ldd-rewrite): Likewise.
74256 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74257 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74258 (print_version): Use PKGVERSION.
74259 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74260 * elf/pldd.c (argp_program_bug_address): Remove variable.
74261 (more_help): New function.
74262 (argp): Use more_help.
74263 (print_version): Use PKGVERSION.
74264 * elf/sln.c (main): Use PKGVERSION.
74265 (usage): Use REPORT_BUGS_TO.
74266 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74267 (top level): Use PKGVERSION.
74268 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74269 (print_version): Use PKGVERSION.
74270 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74271 (print_version): Use PKGVERSION.
74272 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74273 (print_version): Use PKGVERSION.
74274 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74275 (print_version): Use PKGVERSION.
74276 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74277 (print_version): Use PKGVERSION.
74278 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74279 (print_version): Use PKGVERSION.
74280 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74281 and BUGURL.
74282 ($(objpfx)memusage): Likewise.
74283 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74284 (do_version): Use PKGVERSION.
74285 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74286 (print_version): Use PKGVERSION.
74287 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74288 ($PKGVERSION): New variable.
74289 ($REPORT_BUGS_TO): Likewise.
74290 (usage): Use $REPORT_BUGS_TO.
74291 (top level): Use $PKGVERSION.
74292 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74293 ($(objpfx)pkgvers.texi): New rule.
74294 ($(objpfx)stamp-pkgvers): Likewise.
74295 * manual/install.texi: Include pkgvers.texi.
74296 (--with-pkgversion): Document new configure option.
74297 (--with-bugurl): Likewise.
74298 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74299 than necessarily for this particular distribution. Use
74300 REPORT_BUGS_TO for where to report bugs.
74301 * INSTALL: Regenerated.
74302 * manual/libc.texinfo: Include pkgvers.texi.
74303 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74304 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74305 (print_version): Use PKGVERSION.
74306 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74307 (print_version): Use PKGVERSION.
74308 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74309 (print_version): Use PKGVERSION.
74310 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74311 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74312 macro.
74313 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74314 (print_version): Use PKGVERSION.
74315 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74316 (print_version): Use PKGVERSION.
74317 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74318 and PKGVERSION.
74319
74320 * timezone/checktab.awk: Update from tzcode 2012i.
74321 * timezone/ialloc.c: Likewise.
74322 * timezone/private.h: Likewise.
74323 * timezone/scheck.c: Likewise.
74324 * timezone/tzfile.h: Likewise.
74325 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74326 (TZVERSION): Hardcode tzcode version number.
74327 * timezone/zdump.c: Update from tzcode 2012i.
74328 * timezone/zic.c: Likewise.
74329 * timezone/version.h: New file.
74330 * timezone/README: Describe version.h. Update upstream location.
74331
74332 [BZ #14824]
74333 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74334 (mktemp): Enable declaration.
74335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74339 Likewise.
74340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74341 Likewise.
74342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74343 Likewise.
74344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74345 Likewise.
74346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74347 Likewise.
74348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74349 Likewise.
74350
74351 [BZ #14821]
74352 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74353 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74354 for copies of such integer values.
74355 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74356 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74357
74358 2012-11-09 Andreas Jaeger <aj@suse.de>
74359
74360 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74361 definitions and declarations that are provided by
74362 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74363
74364 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74365
74366 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74367 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74368 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74369 definition.
74370
74371 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74372
74373 * elf/elf.h: Update comment before AArch64 relocations.
74374
74375 2012-11-07 David S. Miller <davem@davemloft.net>
74376
74377 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74378 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74379 (__start_context): Declare.
74380 (__makecontext_ret): Delete.
74381 (__makecontext): Hook up __start_context instead of
74382 __makecontext_ret.
74383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74384 (sysdep_routines): Add __start_context when in stdlib.
74385
74386 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74387
74388 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74389 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74390 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74391 hardcoded "nm".
74392 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74393 (READELF): New variable. Use it instead of hardcoded "readelf".
74394
74395 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74396
74397 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74398 * sysdeps/x86/Makefile: Here.
74399 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74400 * sysdeps/x86/tst-xmmymm.sh: This.
74401
74402 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74403
74404 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74405 expectations.
74406 [UNIX98] (pthread_barrier_t): Do not expect.
74407 [UNIX98] (pthread_barrierattr_t): Likewise.
74408 [UNIX98] (pthread_spinlock_t): Likewise.
74409 [UNIX98] (pthread_barrier_destroy): Likewise.
74410 [UNIX98] (pthread_barrier_init): Likewise.
74411 [UNIX98] (pthread_barrier_wait): Likewise.
74412 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74413 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74414 [UNIX98] (pthread_barrierattr_init): Likewise.
74415 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74416 [UNIX98] (pthread_getcpuclockid): Likewise.
74417 [UNIX98] (pthread_mutex_timedlock): Likewise.
74418 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74419 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74420 [UNIX98] (pthread_sigmask): Likewise.
74421 [UNIX98] (pthread_spin_destroy): Likewise.
74422 [UNIX98] (pthread_spin_init): Likewise.
74423 [UNIX98] (pthread_spin_lock): Likewise.
74424 [UNIX98] (pthread_spin_trylock): Likewise.
74425 [UNIX98] (pthread_spin_unlock): Likewise.
74426 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74427 Do not expect.
74428 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74429 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74430 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74431 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74432 [XPG3 || XPG4] (pthread_key_t): Likewise.
74433 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74434 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74435 [XPG3 || XPG4] (pthread_once_t): Likewise.
74436 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74437 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74438 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74439 [XPG3 || XPG4] (pthread_t): Likewise.
74440
74441 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74442 not expect.
74443 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74444
74445 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74446 Change function return type to int.
74447
74448 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74449 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74450 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74451 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74452 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74453 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74454 [!POSIX] (posix_madvise): Likewise.
74455 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74456 && !UNIX98].
74457 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74458 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74459 (mode_t): Likewise.
74460 (posix_mem_offset): Likewise.
74461 (posix_typed_mem_get_info): Likewise.
74462 (posix_typed_mem_open): Likewise.
74463
74464 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74465 Change condition to [XOPEN2K8].
74466
74467 * conform/conformtest.pl: Preprocess allow-header data with -x c
74468 instead of from stdin.
74469 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74470 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74471 [C99-based standards] (cerfc): Likewise.
74472 [C99-based standards] (cexp2): Likewise.
74473 [C99-based standards] (cexpm1): Likewise.
74474 [C99-based standards] (clog10): Likewise.
74475 [C99-based standards] (clog1p): Likewise.
74476 [C99-based standards] (clog2): Likewise.
74477 [C99-based standards] (clgamma): Likewise.
74478 [C99-based standards] (ctgamma): Likewise.
74479 [C99-based standards] (cerff): Likewise.
74480 [C99-based standards] (cerfcf): Likewise.
74481 [C99-based standards] (cexp2f): Likewise.
74482 [C99-based standards] (cexpm1f): Likewise.
74483 [C99-based standards] (clog10f): Likewise.
74484 [C99-based standards] (clog1pf): Likewise.
74485 [C99-based standards] (clog2f): Likewise.
74486 [C99-based standards] (clgammaf): Likewise.
74487 [C99-based standards] (ctgammaf): Likewise.
74488 [C99-based standards] (cerfl): Likewise.
74489 [C99-based standards] (cerfcl): Likewise.
74490 [C99-based standards] (cexp2l): Likewise.
74491 [C99-based standards] (cexpm1l): Likewise.
74492 [C99-based standards] (clog10l): Likewise.
74493 [C99-based standards] (clog1pl): Likewise.
74494 [C99-based standards] (clog2l): Likewise.
74495 [C99-based standards] (clgammal): Likewise.
74496 [C99-based standards] (ctgammal): Likewise.
74497 * conform/data/inttypes.h-data [C99-based standards]: Include
74498 stdint.h-data. Remove all expectations for stdint.h contents.
74499 [C99-based standards] (PRI*): Do not allow.
74500 [C99-based standards] (SCN*): Likewise.
74501 [C99-based standards] (*_t): Likewise.
74502 [C99-based-standards] (PRId8): Expect macro.
74503 [C99-based-standards] (PRIi8): Likewise.
74504 [C99-based-standards] (PRIo8): Likewise.
74505 [C99-based-standards] (PRIu8): Likewise.
74506 [C99-based-standards] (PRIx8): Likewise.
74507 [C99-based-standards] (PRIX8): Likewise.
74508 [C99-based-standards] (SCNd8): Likewise.
74509 [C99-based-standards] (SCNi8): Likewise.
74510 [C99-based-standards] (SCNo8): Likewise.
74511 [C99-based-standards] (SCNu8): Likewise.
74512 [C99-based-standards] (SCNx8): Likewise.
74513 [C99-based-standards] (PRIdLEAST8): Likewise.
74514 [C99-based-standards] (PRIiLEAST8): Likewise.
74515 [C99-based-standards] (PRIoLEAST8): Likewise.
74516 [C99-based-standards] (PRIuLEAST8): Likewise.
74517 [C99-based-standards] (PRIxLEAST8): Likewise.
74518 [C99-based-standards] (PRIXLEAST8): Likewise.
74519 [C99-based-standards] (SCNdLEAST8): Likewise.
74520 [C99-based-standards] (SCNiLEAST8): Likewise.
74521 [C99-based-standards] (SCNoLEAST8): Likewise.
74522 [C99-based-standards] (SCNuLEAST8): Likewise.
74523 [C99-based-standards] (SCNxLEAST8): Likewise.
74524 [C99-based-standards] (PRIdFAST8): Likewise.
74525 [C99-based-standards] (PRIiFAST8): Likewise.
74526 [C99-based-standards] (PRIoFAST8): Likewise.
74527 [C99-based-standards] (PRIuFAST8): Likewise.
74528 [C99-based-standards] (PRIxFAST8): Likewise.
74529 [C99-based-standards] (PRIXFAST8): Likewise.
74530 [C99-based-standards] (SCNdFAST8): Likewise.
74531 [C99-based-standards] (SCNiFAST8): Likewise.
74532 [C99-based-standards] (SCNoFAST8): Likewise.
74533 [C99-based-standards] (SCNuFAST8): Likewise.
74534 [C99-based-standards] (SCNxFAST8): Likewise.
74535 [C99-based-standards] (PRId16): Likewise.
74536 [C99-based-standards] (PRIi16): Likewise.
74537 [C99-based-standards] (PRIo16): Likewise.
74538 [C99-based-standards] (PRIu16): Likewise.
74539 [C99-based-standards] (PRIx16): Likewise.
74540 [C99-based-standards] (PRIX16): Likewise.
74541 [C99-based-standards] (SCNd16): Likewise.
74542 [C99-based-standards] (SCNi16): Likewise.
74543 [C99-based-standards] (SCNo16): Likewise.
74544 [C99-based-standards] (SCNu16): Likewise.
74545 [C99-based-standards] (SCNx16): Likewise.
74546 [C99-based-standards] (PRIdLEAST16): Likewise.
74547 [C99-based-standards] (PRIiLEAST16): Likewise.
74548 [C99-based-standards] (PRIoLEAST16): Likewise.
74549 [C99-based-standards] (PRIuLEAST16): Likewise.
74550 [C99-based-standards] (PRIxLEAST16): Likewise.
74551 [C99-based-standards] (PRIXLEAST16): Likewise.
74552 [C99-based-standards] (SCNdLEAST16): Likewise.
74553 [C99-based-standards] (SCNiLEAST16): Likewise.
74554 [C99-based-standards] (SCNoLEAST16): Likewise.
74555 [C99-based-standards] (SCNuLEAST16): Likewise.
74556 [C99-based-standards] (SCNxLEAST16): Likewise.
74557 [C99-based-standards] (PRIdFAST16): Likewise.
74558 [C99-based-standards] (PRIiFAST16): Likewise.
74559 [C99-based-standards] (PRIoFAST16): Likewise.
74560 [C99-based-standards] (PRIuFAST16): Likewise.
74561 [C99-based-standards] (PRIxFAST16): Likewise.
74562 [C99-based-standards] (PRIXFAST16): Likewise.
74563 [C99-based-standards] (SCNdFAST16): Likewise.
74564 [C99-based-standards] (SCNiFAST16): Likewise.
74565 [C99-based-standards] (SCNoFAST16): Likewise.
74566 [C99-based-standards] (SCNuFAST16): Likewise.
74567 [C99-based-standards] (SCNxFAST16): Likewise.
74568 [C99-based-standards] (PRId32): Likewise.
74569 [C99-based-standards] (PRIi32): Likewise.
74570 [C99-based-standards] (PRIo32): Likewise.
74571 [C99-based-standards] (PRIu32): Likewise.
74572 [C99-based-standards] (PRIx32): Likewise.
74573 [C99-based-standards] (PRIX32): Likewise.
74574 [C99-based-standards] (SCNd32): Likewise.
74575 [C99-based-standards] (SCNi32): Likewise.
74576 [C99-based-standards] (SCNo32): Likewise.
74577 [C99-based-standards] (SCNu32): Likewise.
74578 [C99-based-standards] (SCNx32): Likewise.
74579 [C99-based-standards] (PRIdLEAST32): Likewise.
74580 [C99-based-standards] (PRIiLEAST32): Likewise.
74581 [C99-based-standards] (PRIoLEAST32): Likewise.
74582 [C99-based-standards] (PRIuLEAST32): Likewise.
74583 [C99-based-standards] (PRIxLEAST32): Likewise.
74584 [C99-based-standards] (PRIXLEAST32): Likewise.
74585 [C99-based-standards] (SCNdLEAST32): Likewise.
74586 [C99-based-standards] (SCNiLEAST32): Likewise.
74587 [C99-based-standards] (SCNoLEAST32): Likewise.
74588 [C99-based-standards] (SCNuLEAST32): Likewise.
74589 [C99-based-standards] (SCNxLEAST32): Likewise.
74590 [C99-based-standards] (PRIdFAST32): Likewise.
74591 [C99-based-standards] (PRIiFAST32): Likewise.
74592 [C99-based-standards] (PRIoFAST32): Likewise.
74593 [C99-based-standards] (PRIuFAST32): Likewise.
74594 [C99-based-standards] (PRIxFAST32): Likewise.
74595 [C99-based-standards] (PRIXFAST32): Likewise.
74596 [C99-based-standards] (SCNdFAST32): Likewise.
74597 [C99-based-standards] (SCNiFAST32): Likewise.
74598 [C99-based-standards] (SCNoFAST32): Likewise.
74599 [C99-based-standards] (SCNuFAST32): Likewise.
74600 [C99-based-standards] (SCNxFAST32): Likewise.
74601 [C99-based-standards] (PRId64): Likewise.
74602 [C99-based-standards] (PRIi64): Likewise.
74603 [C99-based-standards] (PRIo64): Likewise.
74604 [C99-based-standards] (PRIu64): Likewise.
74605 [C99-based-standards] (PRIx64): Likewise.
74606 [C99-based-standards] (PRIX64): Likewise.
74607 [C99-based-standards] (SCNd64): Likewise.
74608 [C99-based-standards] (SCNi64): Likewise.
74609 [C99-based-standards] (SCNo64): Likewise.
74610 [C99-based-standards] (SCNu64): Likewise.
74611 [C99-based-standards] (SCNx64): Likewise.
74612 [C99-based-standards] (PRIdLEAST64): Likewise.
74613 [C99-based-standards] (PRIiLEAST64): Likewise.
74614 [C99-based-standards] (PRIoLEAST64): Likewise.
74615 [C99-based-standards] (PRIuLEAST64): Likewise.
74616 [C99-based-standards] (PRIxLEAST64): Likewise.
74617 [C99-based-standards] (PRIXLEAST64): Likewise.
74618 [C99-based-standards] (SCNdLEAST64): Likewise.
74619 [C99-based-standards] (SCNiLEAST64): Likewise.
74620 [C99-based-standards] (SCNoLEAST64): Likewise.
74621 [C99-based-standards] (SCNuLEAST64): Likewise.
74622 [C99-based-standards] (SCNxLEAST64): Likewise.
74623 [C99-based-standards] (PRIdFAST64): Likewise.
74624 [C99-based-standards] (PRIiFAST64): Likewise.
74625 [C99-based-standards] (PRIoFAST64): Likewise.
74626 [C99-based-standards] (PRIuFAST64): Likewise.
74627 [C99-based-standards] (PRIxFAST64): Likewise.
74628 [C99-based-standards] (PRIXFAST64): Likewise.
74629 [C99-based-standards] (SCNdFAST64): Likewise.
74630 [C99-based-standards] (SCNiFAST64): Likewise.
74631 [C99-based-standards] (SCNoFAST64): Likewise.
74632 [C99-based-standards] (SCNuFAST64): Likewise.
74633 [C99-based-standards] (SCNxFAST64): Likewise.
74634 [C99-based-standards] (PRIdMAX): Likewise.
74635 [C99-based-standards] (PRIiMAX): Likewise.
74636 [C99-based-standards] (PRIoMAX): Likewise.
74637 [C99-based-standards] (PRIuMAX): Likewise.
74638 [C99-based-standards] (PRIxMAX): Likewise.
74639 [C99-based-standards] (PRIXMAX): Likewise.
74640 [C99-based-standards] (SCNdMAX): Likewise.
74641 [C99-based-standards] (SCNiMAX): Likewise.
74642 [C99-based-standards] (SCNoMAX): Likewise.
74643 [C99-based-standards] (SCNuMAX): Likewise.
74644 [C99-based-standards] (SCNxMAX): Likewise.
74645 [C99-based-standards] (PRIdPTR): Likewise.
74646 [C99-based-standards] (PRIiPTR): Likewise.
74647 [C99-based-standards] (PRIoPTR): Likewise.
74648 [C99-based-standards] (PRIuPTR): Likewise.
74649 [C99-based-standards] (PRIxPTR): Likewise.
74650 [C99-based-standards] (PRIXPTR): Likewise.
74651 [C99-based-standards] (SCNdPTR): Likewise.
74652 [C99-based-standards] (SCNiPTR): Likewise.
74653 [C99-based-standards] (SCNoPTR): Likewise.
74654 [C99-based-standards] (SCNuPTR): Likewise.
74655 [C99-based-standards] (SCNxPTR): Likewise.
74656 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74657 allow.
74658 * conform/data/stdint.h-data: Update comments to clarify
74659 requirements.
74660 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74661 type.
74662 [C99-based standards] (INT8_MAX): Likewise.
74663 [C99-based standards] (INT16_MIN): Likewise.
74664 [C99-based standards] (INT16_MAX): Likewise.
74665 [C99-based standards] (INT32_MIN): Likewise.
74666 [C99-based standards] (INT32_MAX): Likewise.
74667 [C99-based standards] (INT64_MIN): Likewise.
74668 [C99-based standards] (INT64_MAX): Likewise.
74669 [C99-based standards] (UINT8_MAX): Likewise.
74670 [C99-based standards] (UINT16_MAX): Likewise.
74671 [C99-based standards] (UINT32_MAX): Likewise.
74672 [C99-based standards] (UINT64_MAX): Likewise.
74673 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74674 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74675 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74676 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74677 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74678 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74679 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74680 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74681 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74682 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74683 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74684 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74685 [C99-based standards] (INT_FAST8_MIN): Likewise.
74686 [C99-based standards] (INT_FAST8_MAX): Likewise.
74687 [C99-based standards] (INT_FAST16_MIN): Likewise.
74688 [C99-based standards] (INT_FAST16_MAX): Likewise.
74689 [C99-based standards] (INT_FAST32_MIN): Likewise.
74690 [C99-based standards] (INT_FAST32_MAX): Likewise.
74691 [C99-based standards] (INT_FAST64_MIN): Likewise.
74692 [C99-based standards] (INT_FAST64_MAX): Likewise.
74693 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74694 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74695 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74696 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74697 [C99-based standards] (INTPTR_MIN): Likewise.
74698 [C99-based standards] (INTPTR_MAX): Likewise.
74699 [C99-based standards] (UINTPTR_MAX): Likewise.
74700 [C99-based standards] (INTMAX_MIN): Likewise.
74701 [C99-based standards] (INTMAX_MAX): Likewise.
74702 [C99-based standards] (UINTMAX_MAX): Likewise.
74703 [C99-based standards] (PTRDIFF_MIN): Likewise.
74704 [C99-based standards] (PTRDIFF_MAX): Likewise.
74705 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74706 [C99-based standards] (SIZE_MAX): Likewise.
74707 [C99-based standards] (WCHAR_MAX): Likewise.
74708 [C99-based standards] (WINT_MAX): Likewise.
74709 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74710 constraint on value.
74711 [C99-based standards] (WCHAR_MIN): Likewise.
74712 [C99-based standards] (WINT_MIN): Likewise.
74713 [C99-based standards] (*_t): Allow.
74714 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74715 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74716 Include math.h-data and complex.h-data. Remove all expectations
74717 of math.h and complex.h contents.
74718 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74719 at end of line.
74720 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74721 (struct tm): Expect tag.
74722 [C99-based-standards] (wcstof): Expect function.
74723 [C99-based-standards] (wcstold): Likewise.
74724 [C99-based-standards] (wcstoll): Likewise.
74725 [C99-based-standards] (wcstoull): Likewise.
74726 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74727 macro-int-constant. Specify type.
74728 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74729 constraint on value.
74730 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74731 Specify type.
74732 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74733 Specify value.
74734 [ISO C standards]: Do not allow headers.
74735 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74736 wcs[abcdefghijklmnopqrstuvwxyz]*.
74737 [ISO C standards] (*_t): Do not allow.
74738 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74739 Expect function.
74740 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74741 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74742 Specify type.
74743 [ISO C standards]: Do not allow headers.
74744 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74745 is[abcdefghijklmnopqrstuvwxyz]*.
74746 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74747 to[abcdefghijklmnopqrstuvwxyz]*.
74748 [ISO C standards] (*_t): Do not allow.
74749 * conform/data/stdalign.h-data: New file.
74750 * conform/data/stdbool.h-data: Likewise.
74751 * conform/data/stdnoreturn.h-data: Likewise.
74752
74753 2012-11-07 Roland McGrath <roland@hack.frob.com>
74754
74755 [BZ #14815]
74756 * manual/filesys.texi (Directory Entries): Typo fix.
74757 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74758
74759 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74760
74761 * elf/elf.h (EM_AARCH64): New macro.
74762 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74763 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74764 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74765 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74766 (R_AARCH64_TLSDESC): Likewise.
74767 (NT_ARM_TLS): Likewise.
74768 (NT_ARM_HW_BREAK): Likewise.
74769 (NT_ARM_HW_WATCH): Likewise.
74770
74771 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74772
74773 [BZ #14811]
74774 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74775 (__ieee754_powl): Saturate nonzero exponents with absolute value
74776 below 0x1p-79 to +/- 0x1p-79.
74777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74778 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74779 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74780 nonzero exponents with absolute value below 0x1p-32 to +/-
74781 0x1p-32.
74782 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74783 (__ieee754_powl): Saturate nonzero exponents with absolute value
74784 below 0x1p-79 to +/- 0x1p-79.
74785 * math/libm-test.inc (pow_test): Add more tests.
74786
74787 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74788
74789 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74790 _dl_s390_cap_flags with kernel. Increase string length.
74791 (_dl_s390_platforms): Add z196 and zEC12.
74792
74793 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74794
74795 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74796 Change XOPEN21K to XOPEN2K.
74797
74798 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74799
74800 * string/memmove.c: Use memcpy when possible.
74801
74802 2012-11-06 Andreas Jaeger <aj@suse.de>
74803
74804 * po/eo.po: Update from translation team.
74805
74806 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74807
74808 [BZ #14793]
74809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74810 exponent and small x and y exponents, scale x or y up. Increase
74811 by 2 the exponent used in scaling up.
74812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74814 * math/libm-test.inc (fma_test): Add more tests.
74815 (fma_test_towardzero): Likewise.
74816 (fma_test_downward): Likewise.
74817 (fma_test_upward): Likewise.
74818
74819 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74820
74821 [BZ #14805]
74822 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74823 fenv_t *.
74824
74825 [BZ #14801]
74826 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74827 namespace for names of struct fields.
74828 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74829 fenv_t fields.
74830 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74831 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74832
74833 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74834
74835 [BZ #3665]
74836 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74837
74838 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74839
74840 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74841 PTR_DEMANGLE.
74842
74843 [BZ #5246]
74844 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74845 PTR_DEMANGLE.
74846
74847 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74848
74849 [BZ #14797]
74850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74851 definitely overflow as x * y not x * y + z.
74852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74854 * math/libm-test.inc (fma_test): Add more tests.
74855 (fma_test_towardzero): Likewise.
74856 (fma_test_downward): Likewise.
74857 (fma_test_upward): Likewise.
74858
74859 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74860
74861 [BZ #157]
74862
74863 * include/stub-tag.h: Remove file.
74864 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74865 '#include' of it.
74866 * manual/maint.texi (Porting): Don't reference it.
74867 * Makerules ($(objpfx)stubs): Likewise.
74868 * dirent/closedir.c: Don't include <stub-tag.h>.
74869 * dirent/dirfd.c: Likewise.
74870 * dirent/fdopendir.c: Likewise.
74871 * dirent/getdents.c: Likewise.
74872 * dirent/getdents64.c: Likewise.
74873 * dirent/opendir.c: Likewise.
74874 * dirent/readdir.c: Likewise.
74875 * dirent/readdir64.c: Likewise.
74876 * dirent/readdir64_r.c: Likewise.
74877 * dirent/readdir_r.c: Likewise.
74878 * dirent/rewinddir.c: Likewise.
74879 * dirent/seekdir.c: Likewise.
74880 * dirent/telldir.c: Likewise.
74881 * gmon/profil.c: Likewise.
74882 * grp/setgroups.c: Likewise.
74883 * inet/if_index.c: Likewise.
74884 * io/access.c: Likewise.
74885 * io/chdir.c: Likewise.
74886 * io/chmod.c: Likewise.
74887 * io/chown.c: Likewise.
74888 * io/close.c: Likewise.
74889 * io/dup.c: Likewise.
74890 * io/dup2.c: Likewise.
74891 * io/dup3.c: Likewise.
74892 * io/euidaccess.c: Likewise.
74893 * io/faccessat.c: Likewise.
74894 * io/fchdir.c: Likewise.
74895 * io/fchmod.c: Likewise.
74896 * io/fchmodat.c: Likewise.
74897 * io/fchown.c: Likewise.
74898 * io/fchownat.c: Likewise.
74899 * io/fcntl.c: Likewise.
74900 * io/flock.c: Likewise.
74901 * io/fstatfs.c: Likewise.
74902 * io/fstatfs64.c: Likewise.
74903 * io/fstatvfs.c: Likewise.
74904 * io/fstatvfs64.c: Likewise.
74905 * io/futimens.c: Likewise.
74906 * io/fxstat.c: Likewise.
74907 * io/fxstat64.c: Likewise.
74908 * io/fxstatat.c: Likewise.
74909 * io/fxstatat64.c: Likewise.
74910 * io/getcwd.c: Likewise.
74911 * io/isatty.c: Likewise.
74912 * io/lchmod.c: Likewise.
74913 * io/lchown.c: Likewise.
74914 * io/link.c: Likewise.
74915 * io/linkat.c: Likewise.
74916 * io/lseek.c: Likewise.
74917 * io/lseek64.c: Likewise.
74918 * io/lxstat64.c: Likewise.
74919 * io/mkdir.c: Likewise.
74920 * io/mkdirat.c: Likewise.
74921 * io/mkfifo.c: Likewise.
74922 * io/mkfifoat.c: Likewise.
74923 * io/open.c: Likewise.
74924 * io/open64.c: Likewise.
74925 * io/openat.c: Likewise.
74926 * io/openat64.c: Likewise.
74927 * io/pipe.c: Likewise.
74928 * io/pipe2.c: Likewise.
74929 * io/poll.c: Likewise.
74930 * io/posix_fadvise.c: Likewise.
74931 * io/posix_fadvise64.c: Likewise.
74932 * io/posix_fallocate.c: Likewise.
74933 * io/posix_fallocate64.c: Likewise.
74934 * io/read.c: Likewise.
74935 * io/readlink.c: Likewise.
74936 * io/readlinkat.c: Likewise.
74937 * io/rmdir.c: Likewise.
74938 * io/sendfile.c: Likewise.
74939 * io/sendfile64.c: Likewise.
74940 * io/statfs.c: Likewise.
74941 * io/statfs64.c: Likewise.
74942 * io/statvfs.c: Likewise.
74943 * io/statvfs64.c: Likewise.
74944 * io/symlink.c: Likewise.
74945 * io/symlinkat.c: Likewise.
74946 * io/ttyname.c: Likewise.
74947 * io/ttyname_r.c: Likewise.
74948 * io/umask.c: Likewise.
74949 * io/unlink.c: Likewise.
74950 * io/unlinkat.c: Likewise.
74951 * io/utime.c: Likewise.
74952 * io/utimensat.c: Likewise.
74953 * io/write.c: Likewise.
74954 * io/xmknod.c: Likewise.
74955 * io/xmknodat.c: Likewise.
74956 * io/xstat.c: Likewise.
74957 * io/xstat64.c: Likewise.
74958 * login/getpt.c: Likewise.
74959 * login/grantpt.c: Likewise.
74960 * login/unlockpt.c: Likewise.
74961 * math/e_acoshl.c: Likewise.
74962 * math/e_acosl.c: Likewise.
74963 * math/e_asinl.c: Likewise.
74964 * math/e_atan2l.c: Likewise.
74965 * math/e_atanhl.c: Likewise.
74966 * math/e_coshl.c: Likewise.
74967 * math/e_expl.c: Likewise.
74968 * math/e_fmodl.c: Likewise.
74969 * math/e_gammal_r.c: Likewise.
74970 * math/e_hypotl.c: Likewise.
74971 * math/e_j0l.c: Likewise.
74972 * math/e_j1l.c: Likewise.
74973 * math/e_jnl.c: Likewise.
74974 * math/e_lgammal_r.c: Likewise.
74975 * math/e_log10l.c: Likewise.
74976 * math/e_log2l.c: Likewise.
74977 * math/e_logl.c: Likewise.
74978 * math/e_powl.c: Likewise.
74979 * math/e_rem_pio2l.c: Likewise.
74980 * math/e_sinhl.c: Likewise.
74981 * math/e_sqrtl.c: Likewise.
74982 * math/fclrexcpt.c: Likewise.
74983 * math/fedisblxcpt.c: Likewise.
74984 * math/feenablxcpt.c: Likewise.
74985 * math/fegetenv.c: Likewise.
74986 * math/fegetexcept.c: Likewise.
74987 * math/fegetround.c: Likewise.
74988 * math/feholdexcpt.c: Likewise.
74989 * math/fesetenv.c: Likewise.
74990 * math/fesetround.c: Likewise.
74991 * math/feupdateenv.c: Likewise.
74992 * math/fgetexcptflg.c: Likewise.
74993 * math/fraiseexcpt.c: Likewise.
74994 * math/fsetexcptflg.c: Likewise.
74995 * math/ftestexcept.c: Likewise.
74996 * math/k_cosl.c: Likewise.
74997 * math/k_rem_pio2l.c: Likewise.
74998 * math/k_sinl.c: Likewise.
74999 * math/k_tanl.c: Likewise.
75000 * math/s_asinhl.c: Likewise.
75001 * math/s_atanl.c: Likewise.
75002 * math/s_cbrtl.c: Likewise.
75003 * math/s_erfl.c: Likewise.
75004 * math/s_expm1l.c: Likewise.
75005 * math/s_log1pl.c: Likewise.
75006 * math/s_tanhl.c: Likewise.
75007 * misc/acct.c: Likewise.
75008 * misc/brk.c: Likewise.
75009 * misc/chflags.c: Likewise.
75010 * misc/chroot.c: Likewise.
75011 * misc/fchflags.c: Likewise.
75012 * misc/fgetxattr.c: Likewise.
75013 * misc/flistxattr.c: Likewise.
75014 * misc/fremovexattr.c: Likewise.
75015 * misc/fsetxattr.c: Likewise.
75016 * misc/fsync.c: Likewise.
75017 * misc/ftruncate.c: Likewise.
75018 * misc/futimes.c: Likewise.
75019 * misc/futimesat.c: Likewise.
75020 * misc/getdomain.c: Likewise.
75021 * misc/getdtsz.c: Likewise.
75022 * misc/gethostid.c: Likewise.
75023 * misc/gethostname.c: Likewise.
75024 * misc/getloadavg.c: Likewise.
75025 * misc/getpagesize.c: Likewise.
75026 * misc/getsysstats.c: Likewise.
75027 * misc/getxattr.c: Likewise.
75028 * misc/gtty.c: Likewise.
75029 * misc/ioctl.c: Likewise.
75030 * misc/lgetxattr.c: Likewise.
75031 * misc/listxattr.c: Likewise.
75032 * misc/llistxattr.c: Likewise.
75033 * misc/lremovexattr.c: Likewise.
75034 * misc/lsetxattr.c: Likewise.
75035 * misc/lutimes.c: Likewise.
75036 * misc/madvise.c: Likewise.
75037 * misc/mincore.c: Likewise.
75038 * misc/mlock.c: Likewise.
75039 * misc/mlockall.c: Likewise.
75040 * misc/mmap.c: Likewise.
75041 * misc/mprotect.c: Likewise.
75042 * misc/msync.c: Likewise.
75043 * misc/munlock.c: Likewise.
75044 * misc/munlockall.c: Likewise.
75045 * misc/munmap.c: Likewise.
75046 * misc/preadv.c: Likewise.
75047 * misc/preadv64.c: Likewise.
75048 * misc/ptrace.c: Likewise.
75049 * misc/pwritev.c: Likewise.
75050 * misc/pwritev64.c: Likewise.
75051 * misc/readv.c: Likewise.
75052 * misc/reboot.c: Likewise.
75053 * misc/remap_file_pages.c: Likewise.
75054 * misc/removexattr.c: Likewise.
75055 * misc/revoke.c: Likewise.
75056 * misc/select.c: Likewise.
75057 * misc/setdomain.c: Likewise.
75058 * misc/setegid.c: Likewise.
75059 * misc/seteuid.c: Likewise.
75060 * misc/sethostid.c: Likewise.
75061 * misc/sethostname.c: Likewise.
75062 * misc/setregid.c: Likewise.
75063 * misc/setreuid.c: Likewise.
75064 * misc/setxattr.c: Likewise.
75065 * misc/sstk.c: Likewise.
75066 * misc/stty.c: Likewise.
75067 * misc/swapoff.c: Likewise.
75068 * misc/swapon.c: Likewise.
75069 * misc/sync.c: Likewise.
75070 * misc/syncfs.c: Likewise.
75071 * misc/syscall.c: Likewise.
75072 * misc/truncate.c: Likewise.
75073 * misc/ualarm.c: Likewise.
75074 * misc/usleep.c: Likewise.
75075 * misc/ustat.c: Likewise.
75076 * misc/utimes.c: Likewise.
75077 * misc/vhangup.c: Likewise.
75078 * misc/writev.c: Likewise.
75079 * posix/_exit.c: Likewise.
75080 * posix/alarm.c: Likewise.
75081 * posix/execve.c: Likewise.
75082 * posix/fexecve.c: Likewise.
75083 * posix/fork.c: Likewise.
75084 * posix/fpathconf.c: Likewise.
75085 * posix/getaddrinfo.c: Likewise.
75086 * posix/getegid.c: Likewise.
75087 * posix/geteuid.c: Likewise.
75088 * posix/getgid.c: Likewise.
75089 * posix/getgroups.c: Likewise.
75090 * posix/getlogin.c: Likewise.
75091 * posix/getlogin_r.c: Likewise.
75092 * posix/getpgid.c: Likewise.
75093 * posix/getpid.c: Likewise.
75094 * posix/getppid.c: Likewise.
75095 * posix/getresgid.c: Likewise.
75096 * posix/getresuid.c: Likewise.
75097 * posix/getsid.c: Likewise.
75098 * posix/getuid.c: Likewise.
75099 * posix/glob64.c: Likewise.
75100 * posix/nanosleep.c: Likewise.
75101 * posix/pathconf.c: Likewise.
75102 * posix/pause.c: Likewise.
75103 * posix/posix_madvise.c: Likewise.
75104 * posix/pread.c: Likewise.
75105 * posix/pread64.c: Likewise.
75106 * posix/pwrite.c: Likewise.
75107 * posix/pwrite64.c: Likewise.
75108 * posix/sched_getaffinity.c: Likewise.
75109 * posix/sched_getp.c: Likewise.
75110 * posix/sched_gets.c: Likewise.
75111 * posix/sched_primax.c: Likewise.
75112 * posix/sched_primin.c: Likewise.
75113 * posix/sched_rr_gi.c: Likewise.
75114 * posix/sched_setaffinity.c: Likewise.
75115 * posix/sched_setp.c: Likewise.
75116 * posix/sched_sets.c: Likewise.
75117 * posix/sched_yield.c: Likewise.
75118 * posix/setgid.c: Likewise.
75119 * posix/setlogin.c: Likewise.
75120 * posix/setpgid.c: Likewise.
75121 * posix/setresgid.c: Likewise.
75122 * posix/setresuid.c: Likewise.
75123 * posix/setsid.c: Likewise.
75124 * posix/setuid.c: Likewise.
75125 * posix/sleep.c: Likewise.
75126 * posix/spawni.c: Likewise.
75127 * posix/sysconf.c: Likewise.
75128 * posix/times.c: Likewise.
75129 * posix/wait.c: Likewise.
75130 * posix/wait3.c: Likewise.
75131 * posix/wait4.c: Likewise.
75132 * posix/waitpid.c: Likewise.
75133 * resolv/gai_sigqueue.c: Likewise.
75134 * resource/getpriority.c: Likewise.
75135 * resource/getrlimit.c: Likewise.
75136 * resource/getrusage.c: Likewise.
75137 * resource/nice.c: Likewise.
75138 * resource/setpriority.c: Likewise.
75139 * resource/setrlimit.c: Likewise.
75140 * resource/ulimit.c: Likewise.
75141 * rt/aio_cancel.c: Likewise.
75142 * rt/aio_fsync.c: Likewise.
75143 * rt/aio_read.c: Likewise.
75144 * rt/aio_sigqueue.c: Likewise.
75145 * rt/aio_suspend.c: Likewise.
75146 * rt/aio_write.c: Likewise.
75147 * rt/clock_getres.c: Likewise.
75148 * rt/clock_gettime.c: Likewise.
75149 * rt/clock_nanosleep.c: Likewise.
75150 * rt/clock_settime.c: Likewise.
75151 * rt/lio_listio.c: Likewise.
75152 * rt/mq_close.c: Likewise.
75153 * rt/mq_getattr.c: Likewise.
75154 * rt/mq_notify.c: Likewise.
75155 * rt/mq_open.c: Likewise.
75156 * rt/mq_receive.c: Likewise.
75157 * rt/mq_send.c: Likewise.
75158 * rt/mq_setattr.c: Likewise.
75159 * rt/mq_timedreceive.c: Likewise.
75160 * rt/mq_timedsend.c: Likewise.
75161 * rt/mq_unlink.c: Likewise.
75162 * rt/shm_open.c: Likewise.
75163 * rt/shm_unlink.c: Likewise.
75164 * rt/timer_create.c: Likewise.
75165 * rt/timer_delete.c: Likewise.
75166 * rt/timer_getoverr.c: Likewise.
75167 * rt/timer_gettime.c: Likewise.
75168 * rt/timer_settime.c: Likewise.
75169 * setjmp/__longjmp.c: Likewise.
75170 * setjmp/setjmp.c: Likewise.
75171 * signal/kill.c: Likewise.
75172 * signal/killpg.c: Likewise.
75173 * signal/raise.c: Likewise.
75174 * signal/sigaction.c: Likewise.
75175 * signal/sigaltstack.c: Likewise.
75176 * signal/sigblock.c: Likewise.
75177 * signal/sigignore.c: Likewise.
75178 * signal/sigintr.c: Likewise.
75179 * signal/signal.c: Likewise.
75180 * signal/sigpause.c: Likewise.
75181 * signal/sigpending.c: Likewise.
75182 * signal/sigqueue.c: Likewise.
75183 * signal/sigreturn.c: Likewise.
75184 * signal/sigset.c: Likewise.
75185 * signal/sigsetmask.c: Likewise.
75186 * signal/sigstack.c: Likewise.
75187 * signal/sigsuspend.c: Likewise.
75188 * signal/sigtimedwait.c: Likewise.
75189 * signal/sigvec.c: Likewise.
75190 * signal/sigwait.c: Likewise.
75191 * signal/sigwaitinfo.c: Likewise.
75192 * signal/sysv_signal.c: Likewise.
75193 * socket/accept.c: Likewise.
75194 * socket/accept4.c: Likewise.
75195 * socket/bind.c: Likewise.
75196 * socket/connect.c: Likewise.
75197 * socket/getpeername.c: Likewise.
75198 * socket/getsockname.c: Likewise.
75199 * socket/getsockopt.c: Likewise.
75200 * socket/isfdtype.c: Likewise.
75201 * socket/listen.c: Likewise.
75202 * socket/recv.c: Likewise.
75203 * socket/recvfrom.c: Likewise.
75204 * socket/recvmsg.c: Likewise.
75205 * socket/send.c: Likewise.
75206 * socket/sendmsg.c: Likewise.
75207 * socket/sendto.c: Likewise.
75208 * socket/setsockopt.c: Likewise.
75209 * socket/shutdown.c: Likewise.
75210 * socket/sockatmark.c: Likewise.
75211 * socket/socket.c: Likewise.
75212 * socket/socketpair.c: Likewise.
75213 * stdio-common/ctermid.c: Likewise.
75214 * stdio-common/cuserid.c: Likewise.
75215 * stdio-common/remove.c: Likewise.
75216 * stdio-common/rename.c: Likewise.
75217 * stdio-common/renameat.c: Likewise.
75218 * stdio-common/tempname.c: Likewise.
75219 * stdlib/getcontext.c: Likewise.
75220 * stdlib/makecontext.c: Likewise.
75221 * stdlib/setcontext.c: Likewise.
75222 * stdlib/swapcontext.c: Likewise.
75223 * stdlib/system.c: Likewise.
75224 * streams/fattach.c: Likewise.
75225 * streams/fdetach.c: Likewise.
75226 * streams/getmsg.c: Likewise.
75227 * streams/getpmsg.c: Likewise.
75228 * streams/putmsg.c: Likewise.
75229 * streams/putpmsg.c: Likewise.
75230 * sysdeps/unix/bsd/getpt.c: Likewise.
75231 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75232 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75233 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75235 Likewise.
75236 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75237 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75238 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75239 * sysvipc/msgctl.c: Likewise.
75240 * sysvipc/msgget.c: Likewise.
75241 * sysvipc/msgrcv.c: Likewise.
75242 * sysvipc/msgsnd.c: Likewise.
75243 * sysvipc/semctl.c: Likewise.
75244 * sysvipc/semget.c: Likewise.
75245 * sysvipc/semop.c: Likewise.
75246 * sysvipc/semtimedop.c: Likewise.
75247 * sysvipc/shmat.c: Likewise.
75248 * sysvipc/shmctl.c: Likewise.
75249 * sysvipc/shmdt.c: Likewise.
75250 * sysvipc/shmget.c: Likewise.
75251 * termios/tcdrain.c: Likewise.
75252 * termios/tcflow.c: Likewise.
75253 * termios/tcflush.c: Likewise.
75254 * termios/tcgetattr.c: Likewise.
75255 * termios/tcgetpgrp.c: Likewise.
75256 * termios/tcsendbrk.c: Likewise.
75257 * termios/tcsetattr.c: Likewise.
75258 * termios/tcsetpgrp.c: Likewise.
75259 * time/adjtime.c: Likewise.
75260 * time/clock.c: Likewise.
75261 * time/getitimer.c: Likewise.
75262 * time/gettimeofday.c: Likewise.
75263 * time/setitimer.c: Likewise.
75264 * time/settimeofday.c: Likewise.
75265 * time/stime.c: Likewise.
75266 * time/time.c: Likewise.
75267
75268 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75269
75270 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75271 /usr/old/bin.
75272
75273 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75274 instead of spaces.
75275 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75276
75277 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75278
75279 [BZ #14796]
75280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75281 FE_TONEAREST before applying Dekker multiplication and Knuth
75282 addition. Clear inexact exceptions and check for exact zero
75283 results afterwards.
75284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75285 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75287 * math/libm-test.inc (fma_test): Add more tests.
75288 (fma_test_towardzero): Likewise.
75289 (fma_test_downward): Likewise.
75290 (fma_test_upward): Likewise.
75291 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75292 function.
75293 (libc_fesetround): New macro.
75294 (libc_fesetroundf): Likewise.
75295 (libc_fesetroundl): Likewise.
75296 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75297 function.
75298 (libc_fesetround_387): Likewise.
75299 (libc_fesetroundf): New macro.
75300 (libc_fesetround): Likewise.
75301 (libc_fesetroundl): Likewise.
75302 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75303 function.
75304 (libc_fesetroundf): New macro.
75305 (libc_fesetround): Likewise.
75306 (libc_fesetroundl): Likewise.
75307 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75308 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75309 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75310 libm_hidden_ver.
75311 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75312 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75313 libm_hidden_def.
75314 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75315 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75316 libm_hidden_ver.
75317 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75318 libm_hidden_def.
75319
75320 [BZ #3439]
75321 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75322 integer constant usable in #if and use that to give value to enum
75323 constant.
75324 (FE_DIVBYZERO): Likewise.
75325 (FE_UNDERFLOW): Likewise.
75326 (FE_OVERFLOW): Likewise.
75327 (FE_INVALID): Likewise.
75328 (FE_INVALID_SNAN): Likewise.
75329 (FE_INVALID_ISI): Likewise.
75330 (FE_INVALID_IDI): Likewise.
75331 (FE_INVALID_ZDZ): Likewise.
75332 (FE_INVALID_IMZ): Likewise.
75333 (FE_INVALID_COMPARE): Likewise.
75334 (FE_INVALID_SOFTWARE): Likewise.
75335 (FE_INVALID_SQRT): Likewise.
75336 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75337 (FE_TONEAREST): Likewise.
75338 (FE_TOWARDZERO): Likewise.
75339 (FE_UPWARD): Likewise.
75340 (FE_DOWNWARD): Likewise.
75341 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75342 (FE_DIVBYZERO): Likewise.
75343 (FE_OVERFLOW): Likewise.
75344 (FE_UNDERFLOW): Likewise.
75345 (FE_INEXACT): Likewise.
75346 (FE_TONEAREST): Likewise.
75347 (FE_DOWNWARD): Likewise.
75348 (FE_UPWARD): Likewise.
75349 (FE_TOWARDZERO): Likewise.
75350 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75351 (FE_UNDERFLOW): Likewise.
75352 (FE_OVERFLOW): Likewise.
75353 (FE_DIVBYZERO): Likewise.
75354 (FE_INVALID): Likewise.
75355 (FE_TONEAREST): Likewise.
75356 (FE_TOWARDZERO): Likewise.
75357 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75358 (FE_OVERFLOW): Likewise.
75359 (FE_UNDERFLOW): Likewise.
75360 (FE_DIVBYZERO): Likewise.
75361 (FE_INEXACT): Likewise.
75362 (FE_TONEAREST): Likewise.
75363 (FE_TOWARDZERO): Likewise.
75364 (FE_UPWARD): Likewise.
75365 (FE_DOWNWARD): Likewise.
75366 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75367 (FE_DIVBYZERO): Likewise.
75368 (FE_OVERFLOW): Likewise.
75369 (FE_UNDERFLOW): Likewise.
75370 (FE_INEXACT): Likewise.
75371 (FE_TONEAREST): Likewise.
75372 (FE_DOWNWARD): Likewise.
75373 (FE_UPWARD): Likewise.
75374 (FE_TOWARDZERO): Likewise.
75375
75376 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75377
75378 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75379
75380 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75381
75382 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75383 commands. Quote $PWD.
75384 (blacklist_exports): Don't use remove_newlines. Replace "declare
75385 -x" by "export".
75386 (remove_newlines): Remove.
75387
75388 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75389
75390 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75391 * stdlib/stdlib.h (atof): Moved to ...
75392 * include/bits/stdlib-float.h: Here. New file.
75393 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75394 * stdlib/bits/stdlib-float.h: New file.
75395 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75396 -mno-sse -mno-mmx.
75397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75398 <xmmintrin.h>.
75399
75400 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75401
75402 * conform/conformtest.pl (@headers): Add fenv.h.
75403 * conform/data/fenv.h-data: New file.
75404 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75405 include of <math/fenv.h>.
75406
75407 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75408 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75409 && !UNIX98]. Enables tests for XOPEN2K8.
75410 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75411 POSIX2008]: Likewise.
75412
75413 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75414 (struct rusage): Do not expect type or its members.
75415
75416 [BZ #3439]
75417 * math/math.h (FP_NAN): Define macro to integer constant usable in
75418 #if and use that to give value to enum constant.
75419 (FP_INFINITE): Likewise.
75420 (FP_ZERO): Likewise.
75421 (FP_SUBNORMAL): Likewise.
75422 (FP_NORMAL): Likewise.
75423
75424 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75425
75426 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75427 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75428 arguments.
75429
75430 2012-11-02 Roland McGrath <roland@hack.frob.com>
75431
75432 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75433 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75434 autoconf-time if not.
75435 * configure.in: Remove AC_PREREQ.
75436
75437 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75438
75439 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75440 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75441 of the internal implementation.
75442
75443 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75444
75445 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75446 except include of <misc/sys/syslog.h>.
75447
75448 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75449
75450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75451 function returns with a NULL context exit with zero.
75452
75453 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75454
75455 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75456
75457 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75458
75459 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75460 (run_program_cmd): This.
75461 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75462 (tst_langinfo): New variable. Use it.
75463
75464 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75465
75466 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75467 floating point opcodes.
75468
75469 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75470
75471 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75472 variable.
75473
75474 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75475
75476 * sysdeps/mach/hurd/powerpc: Remove directory.
75477 * sysdeps/mach/powerpc: Likewise.
75478
75479 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75480
75481 * scripts/check-local-headers.sh: Ignore c++ headers.
75482
75483 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75484
75485 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75486 __libc_cleanup_region_start argument.
75487
75488 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75489
75490 [BZ #14784]
75491 [BZ #14785]
75492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75493 x * y using scaling, not as x * y + z.
75494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75496 * math/libm-test.inc (fma_test): Add more tests.
75497 (fma_test_towardzero): Likewise.
75498 (fma_test_downward): Likewise.
75499 (fma_test_upward): Likewise.
75500
75501 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75502
75503 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75504
75505 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75506
75507 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75508 New variable.
75509
75510 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75511
75512 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75513
75514 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75515
75516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75517 Fix sort order.
75518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75519 Likewise.
75520
75521 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75522
75523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75524 Fix the order of the list for glibc 2.17.
75525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75526 Likewise.
75527
75528 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75529
75530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75531
75532 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75533
75534 [BZ #14610]
75535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75536 for low part of x being zero before using __atanl (y).
75537 * math/libm-test.inc (atan2_test): Add another test.
75538
75539 * manual/install.texi (Configuring and compiling): Document
75540 general use of test-wrapper and test-wrapper-env.
75541 * INSTALL: Regenerated.
75542
75543 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75544 (__fma): Do not extract and scale down low bits on after-rounding
75545 systems when result rounded to normal precision would have normal
75546 exponent.
75547 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75548 (__fmal): Do not extract and scale down low bits on after-rounding
75549 systems when result rounded to normal precision would have normal
75550 exponent.
75551 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75552 (__fmal): Do not extract and scale down low bits on after-rounding
75553 systems when result rounded to normal precision would have normal
75554 exponent.
75555 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75556 macro.
75557 (fma_test): Add more tests.
75558 (fma_test_towardzero): Likewise.
75559 (fma_test_downward): Likewise.
75560 (fma_test_upward): Likewise.
75561
75562 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75563
75564 * sysdeps/i386/tininess.h: Renamed to ...
75565 * sysdeps/x86/tininess.h: This.
75566 * sysdeps/x86_64/tininess.h: Removed.
75567
75568 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75569
75570 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75571 input. Use $(build-program-cmd).
75572 ($(objpfx)tst-array1-static.out): Likewise.
75573 ($(objpfx)tst-array2.out): Likewise.
75574 ($(objpfx)tst-array3.out): Likewise.
75575 ($(objpfx)tst-array4.out): Likewise.
75576 ($(objpfx)tst-array5.out): Likewise.
75577 ($(objpfx)tst-array5-static.out): Likewise.
75578
75579 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75580
75581 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75582 if defined.
75583
75584 * nss/nsswitch.h (nss_interface_function): Provide new
75585 macro for use with NSS functions.
75586 * grp/initgroups.c: Use new macro.
75587 * nss/getXXbyYY.c: Likewise.
75588 * nss/getXXbyYY_r.c: Likewise.
75589 * nss/getXXent.c: Likewise.
75590 * nss/getXXent_r.c: Likewise.
75591 * sysdeps/posix/getaddrinfo.c: Likewise.
75592
75593 2012-10-30 Andreas Jaeger <aj@suse.de>
75594
75595 * po/ru.po: Update Russion translation from translation project.
75596
75597 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75598
75599 [BZ #14152]
75600 [BZ #14783]
75601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75602 result and shift together with sticky bit instead of replicating
75603 round-to-nearest rounding.
75604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75606 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75607 missing underflow exceptions.
75608 (fma_test_towardzero): Add more tests.
75609 (fma_test_downward): Likewise.
75610 (fma_test_upward): Likewise.
75611
75612 [BZ #14047]
75613 * sysdeps/generic/tininess.h: New file.
75614 * sysdeps/i386/tininess.h: Likewise.
75615 * sysdeps/sh/tininess.h: Likewise.
75616 * sysdeps/x86_64/tininess.h: Likewise.
75617 * stdlib/tst-strtod-underflow.c: Likewise.
75618 * stdlib/tst-tininess.c: Likewise.
75619 * stdlib/strtod_l.c: Include <tininess.h>.
75620 (round_and_return): Do not set errno for exact underflow cases.
75621 Force an underflow exception when setting errno for underflow.
75622 Determine underflow based on rounding to normal precision if
75623 TININESS_AFTER_ROUNDING.
75624 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75625 ERANGE for exact underflow cases.
75626 * stdlib/Makefile (tests): Add tst-tininess and
75627 tst-strtod-underflow.
75628 ($(objpfx)tst-tininess): Use $(link-libm).
75629 ($(objpfx)tst-strtod-underflow): Likewise.
75630
75631 2012-10-30 Andreas Jaeger <aj@suse.de>
75632
75633 [BZ #14767]
75634 * elf/Makefile (tests): Remove conditional for have-initfini-array
75635 since this is now always required and the variable does not exist
75636 anymore.
75637 (tests-static): Likewise.
75638 (modules-names): Likewise.
75639
75640 * po/eo.po: Add Esperanto translation from translation project.
75641
75642 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75643 merged with constructor/destructor.
75644 (init_array): Likewise.
75645 * elf/tst-array2dep.c (fini_array): Likewise.
75646 (init_array): Likewise.
75647
75648 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75649
75650 * manual/message.texi: Delete @cartouche tags.
75651
75652 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75653
75654 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75655 EOPNOTSUPP.
75656 * sysdeps/mach/hurd/fsync.c: Likewise.
75657
75658 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75659 [_POSIX_REALTIME_SIGNALS]: Change condition to
75660 [_POSIX_REALTIME_SIGNALS > 0].
75661
75662 2012-10-27 Andreas Jaeger <aj@suse.de>
75663
75664 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75665 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75667 [__WORDSIZE != 64]: Likewise.
75668
75669 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75670
75671 * iconvdata/tst-table.sh: Remove ${SHELL}.
75672 * iconvdata/tst-tables.sh: Likewise.
75673
75674 2012-10-25 David S. Miller <davem@davemloft.net>
75675
75676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75677 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75678 of strtoull.
75679
75680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75681 ifunc-impl-list.c
75682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75683 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75684 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75685 file.
75686
75687 2012-10-25 Roland McGrath <roland@hack.frob.com>
75688
75689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75690 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75691 __getdirentries.
75692
75693 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75694 Jim Blandy <jimb@codesourcery.com>
75695
75696 * scripts/cross-test-ssh.sh: New file.
75697 * manual/install.texi (Configuring and compiling): Document use of
75698 cross-test-ssh.sh.
75699 * INSTALL: Regenerated.
75700
75701 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75702
75703 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75704 EOPNOTSUPP.
75705
75706 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75707
75708 * Makeconfig (run-program-prefix): Fix comment.
75709
75710 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75711 Jim Blandy <jimb@codesourcery.com>
75712
75713 * Makeconfig (test-wrapper): New variable,
75714 (test-wrapper-env): Likewise.
75715 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75716 (run-built-tests): Define to yes.
75717 (run-program-prefix): Use $(test-wrapper).
75718 (built-program-cmd): Likewise.
75719 * Rules (make-test-out): Use $(test-wrapper-env) and
75720 $(host-built-program-cmd).
75721 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75722 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75723 tst-pathopt.sh.
75724 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75725 $(test-wrapper-env) to tst-rtld-load-self.sh.
75726 ($(objpfx)order2.out): Use $(test-wrapper).
75727 ($(objpfx)tst-initorder.out): Likewise.
75728 ($(objpfx)tst-initorder2.out): Likewise.
75729 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75730 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75731 (test_wrapper_env): New variable. Use it to run ld.so.
75732 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75733 Use it to run ld.so.
75734 (test_wrapper_env): Likewise.
75735 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75736 $(test-wrapper) to run-iconv-test.sh.
75737 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75738 (ICONV): Use $test_wrapper.
75739 * posix/Makefile ($(objpfx)globtest.out): Pass
75740 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75741 globtest.sh, not $(run-program-prefix).
75742 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75743 (test_wrapper): Likewise.
75744 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75745 set together with run_via_rtld_prefix.
75746 (run_program_prefix): Define in terms of test_wrapper and
75747 run_via_rtld_prefix.
75748
75749 2012-10-24 Roland McGrath <roland@hack.frob.com>
75750
75751 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75752 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75753 Targets removed.
75754
75755 [BZ #14743]
75756 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75757 Declare __clock_getres, __clock_gettime, __clock_settime,
75758 __clock_nanosleep, and __clock_getcpuclockid.
75759 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75760 Remove librt_hidden_def (clock_gettime).
75761 * sysdeps/unix/clock_gettime.c: Likewise.
75762 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75764 * rt/clock_getres.c: Define __clock_getres as an alias.
75765 * sysdeps/posix/clock_getres.c: Likewise.
75766 * rt/clock_settime.c: Define __clock_settime as an alias.
75767 * sysdeps/unix/clock_settime.c: Likewise.
75768 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75769 * sysdeps/unix/clock_nanosleep.c: Likewise.
75770 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75771 * rt/clock-compat.c: New file.
75772 * rt/Makefile (librt-routines): Add clock-compat and move
75773 $(clock-routines) to ...
75774 (routines): ... here, new variable.
75775 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75776 Don't add get_clockfreq here.
75777 * rt/Versions (libc: GLIBC_2.17): New version set.
75778 Add clock_* symbols here.
75779 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75781 (GLIBC_2.17): Add clock_* symbols.
75782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75786 Likewise.
75787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75788 Likewise.
75789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75793 * NEWS: Mention the move.
75794
75795 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75796 Use __open, __read, __close rather than their public counterparts.
75797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75798 (__get_clockfreq_via_cpuinfo): Likewise.
75799 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75800 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75801
75802 * config.h.in (HAVE_IFUNC): New #undef.
75803 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75804 was successful.
75805 * configure: Regenerated.
75806
75807 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75808
75809 * configure.in: Move READELF check to start of file.
75810 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75811 libc_cv_asm_gnu_indirect_function in the process.
75812 * configure: Regenerated.
75813
75814 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75815
75816 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75817 send the output to /dev/null.
75818 (libc_cv_cc_with_libunwind): Likewise.
75819 (libc_cv_as_noexecstack): Likewise.
75820 * configure: Regenerate.
75821
75822 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75823
75824 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75825
75826 * posix/globtest.sh (TMPDIR): Do not set.
75827 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75828 (testout): Likewise.
75829
75830 2012-10-24 Andreas Jaeger <aj@suse.de>
75831
75832 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75833 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75834 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75835 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75836 posix_fadvise64, posix_fallocate64.
75837
75838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75839 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75840 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75841 Likewise.
75842 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75843 Likewise.
75844 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75845
75846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75847 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75848 <bits/fcntl-linux.h>.
75849 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75850
75851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75852 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75853 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75854 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75855 [__WORDSIZE != 64]: Likewise.
75856
75857 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75858
75859 * Makeconfig (run-built-tests): New variable.
75860 * Rules [$(cross-compiling) = yes]: Change condition to
75861 [$(run-built-tests) = no].
75862 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75863 to [$(run-built-tests) = yes].
75864 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75865 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75866 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75867 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75868 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75869 * io/Makefile [$(cross-compiling) = no]: Likewise.
75870 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75871 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75872 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75873 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75874 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75875 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75876 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75877 * string/Makefile [$(cross-compiling) = no]: Likewise.
75878
75879 * posix/Makefile ($(objpfx)globtest.out): Pass
75880 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75881 $(rtld-installed-name).
75882 * posix/globtest.sh (elf_objpfx): Remove variable.
75883 (rtld_installed_name): Likewise.
75884 (library_path): Likewise.
75885 (run_program_prefix): New variable. Use for running globtest
75886 binary.
75887
75888 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75889 Joseph Myers <joseph@codesourcery.com>
75890
75891 * Makeconfig (host-built-program-cmd): New variable.
75892 * elf/Makefile (tst-stackguard1-ARGS): Use
75893 $(host-built-program-cmd).
75894 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75895 (tst-spawn-ARGS): Likewise.
75896 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75897
75898 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75899 Jim Blandy <jimb@codesourcery.com>
75900
75901 * Makeconfig (run-via-rtld-prefix): New variable.
75902 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75903 (built-program-cmd): Likewise.
75904
75905 2012-10-22 Andreas Jaeger <aj@suse.de>
75906
75907 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75908 __O_RSYNC if it exists, otherwise to O_SYNC.
75909
75910 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75911 Joseph Myers <joseph@codesourcery.com>
75912
75913 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75914 /dev/null.
75915 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75916 from /dev/null
75917 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75918 /dev/null.
75919
75920 2012-10-22 Andreas Jaeger <aj@suse.de>
75921
75922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75923 Define always.
75924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75925
75926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75927 bits/fcntl-linux.h.
75928
75929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75930 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75931
75932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75933 to __O_LARGEFILE.
75934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75935 to __O_LARGEFILE.
75936
75937 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75938 Joseph Myers <joseph@codesourcery.com>
75939
75940 * config.make.in (NM): New variable.
75941
75942 2012-10-21 Andreas Jaeger <aj@suse.de>
75943
75944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75945 definitions and declarations that are provided by
75946 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75947
75948 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75949
75950 [BZ #14683]
75951 * elf/Makefile (tests-static): Add tst-leaks1-static.
75952 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75953 ($(objpfx)tst-leaks1-static): New rule.
75954 ($(objpfx)tst-leaks1-static-mem): Likewise.
75955 (tst-leaks1-static-ENV): New macro.
75956 * elf/dl-open.c (dl_open_worker): Check the main application
75957 only if SHARED is defined.
75958 * elf/tst-leaks1-static.c: New file.
75959
75960 2012-10-20 Andreas Jaeger <aj@suse.de>
75961
75962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75963 generic values for Linux.
75964 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75965 and declarations that are provided by <bits/fcntl-linux.h> and
75966 include <bits/fcntl-linux.h>.
75967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75969
75970 2012-10-20 Roland McGrath <roland@hack.frob.com>
75971
75972 * io/fcntl.h: Move include of <bits/types.h> to the top and
75973 include it unconditionally.
75974
75975 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75976
75977 * wcsmbs/Makefile (tests-ifunc): New variable.
75978 (tests): Add $(tests-ifunc).
75979 * wcsmbs/test-wcschr-ifunc.c: New file.
75980 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75981 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75982 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75983 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75984 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75985
75986 * string/Makefile (tests-ifunc): New variable.
75987 (tests): Add $(tests-ifunc).
75988 * string/test-memccpy.c (TEST_NAME): New macro.
75989 * string/test-memchr.c (TEST_NAME): Likewise.
75990 * string/test-memcmp.c (TEST_NAME): Likewise.
75991 * string/test-memcpy.c (TEST_NAME): Likewise.
75992 * string/test-memmem.c (TEST_NAME): Likewise.
75993 * string/test-memmove.c (TEST_NAME): Likewise.
75994 * string/test-memset.c (TEST_NAME): Likewise.
75995 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75996 * string/test-stpcpy.c (TEST_NAME): Likewise.
75997 * string/test-stpncpy.c (TEST_NAME): Likewise.
75998 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75999 * string/test-strcasestr.c (TEST_NAME): Likewise.
76000 * string/test-strcat.c (TEST_NAME): Likewise.
76001 * string/test-strchr.c (TEST_NAME): Likewise.
76002 * string/test-strcmp.c(TEST_NAME): Likewise.
76003 * string/test-strcpy.c (TEST_NAME): Likewise.
76004 * string/test-strcspn.c (TEST_NAME): Likewise.
76005 * string/test-strlen.c (TEST_NAME): Likewise.
76006 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76007 * string/test-strncmp.c (TEST_NAME): Likewise.
76008 * string/test-strncpy.c (TEST_NAME): Likewise.
76009 * string/test-strnlen.c (TEST_NAME): Likewise.
76010 * string/test-strpbrk.c (TEST_NAME): Likewise.
76011 * string/test-strrchr.c (TEST_NAME): Likewise.
76012 * string/test-strspn.c (TEST_NAME): Likewise.
76013 * string/test-strstr.c (TEST_NAME): Likewise.
76014 * string/test-bcopy-ifunc.c: New file.
76015 * string/test-bzero-ifunc.c: Likewise.
76016 * string/test-memccpy-ifunc.c: Likewise.
76017 * string/test-memchr-ifunc.c: Likewise.
76018 * string/test-memcmp-ifunc.c: Likewise.
76019 * string/test-memcpy-ifunc.c: Likewise.
76020 * string/test-memmem-ifunc.c: Likewise.
76021 * string/test-memmove-ifunc.c: Likewise.
76022 * string/test-mempcpy-ifunc.c: Likewise.
76023 * string/test-memset-ifunc.c: Likewise.
76024 * string/test-rawmemchr-ifunc.c: Likewise.
76025 * string/test-stpcpy-ifunc.c: Likewise.
76026 * string/test-stpncpy-ifunc.c: Likewise.
76027 * string/test-strcasecmp-ifunc.c: Likewise.
76028 * string/test-strcasestr-ifunc.c: Likewise.
76029 * string/test-strcat-ifunc.c: Likewise.
76030 * string/test-strchr-ifunc.c: Likewise.
76031 * string/test-strchrnul-ifunc.c: Likewise.
76032 * string/test-strcmp-ifunc.c: Likewise.
76033 * string/test-strcpy-ifunc.c: Likewise.
76034 * string/test-strcspn-ifunc.c: Likewise.
76035 * string/test-strlen-ifunc.c: Likewise.
76036 * string/test-strncasecmp-ifunc.c: Likewise.
76037 * string/test-strncat-ifunc.c: Likewise.
76038 * string/test-strncmp-ifunc.c: Likewise.
76039 * string/test-strncpy-ifunc.c: Likewise.
76040 * string/test-strnlen-ifunc.c: Likewise.
76041 * string/test-strpbrk-ifunc.c: Likewise.
76042 * string/test-strrchr-ifunc.c: Likewise.
76043 * string/test-strspn-ifunc.c: Likewise.
76044 * string/test-strstr-ifunc.c: Likewise.
76045
76046 * debug/Makefile (tests-ifunc): New variable.
76047 (tests): Add $(tests-ifunc).
76048 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76049 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76050 * debug/test-stpcpy_chk-ifunc.c: New file.
76051 * debug/test-strcpy_chk-ifunc.c: Likewise.
76052
76053 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76054
76055 [BZ #13601]
76056 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76057 header is not read in.
76058
76059 2012-10-19 Joseph Myers <joseph@codesourcery.com>
76060
76061 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76062 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76063 directly. Pass built executable to script as
76064 $(built-program-cmd).
76065 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76066 $testprogram without using LD_LIBRARY_PATH and $ldso.
76067
76068 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76069 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76070 $(rtld-installed-name).
76071 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76072 (rtld_installed_name): Likewise.
76073 (library_path): Likewise.
76074 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76075 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76076 $(run-program-prefix) to tst-tables.sh.
76077 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76078 it to run tst-table-from and tst-table-to.
76079 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76080 Pass it to tst-table.sh.
76081 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76082 $(run-program-prefix) to tst-gettext.sh.
76083 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76084 tst-translit.sh.
76085 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76086 tst-gettext2.sh.
76087 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76088 to run tst-gettext.
76089 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76090 to run tst-gettext2.
76091 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76092 to run tst-translit.
76093 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76094 $(run-program-prefix) to tst-mtrace.sh.
76095 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76096 to run tst-mtrace.
76097 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76098 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76099 $(rtld-installed-name).
76100 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76101 (rtld_installed_name): Likewise.
76102 (run_program_prefix): New variable. Use it to run wordexp-test.
76103
76104 * Makeconfig (ARCH): Remove all definitions.
76105 (machine): Likewise.
76106 [ARCH]: Remove conditional code.
76107 [!objdir]: Give error.
76108 [!objdir] (objpfx): Remove.
76109 [!objdir] (common-objpfx): Likewise.
76110 [!objdir] (common-objdir): Likewise.
76111 * configure.in (config_makefile): Remove. Hardcode Makefile in
76112 AC_CONFIG_FILES call.
76113 * configure: Regenerated.
76114
76115 [BZ #13888]
76116 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76117 or TMPDIR.
76118 (testout): Likewise.
76119
76120 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76121 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76122 $(rtld-installed-name).
76123 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76124 (rtld_installed_name): Likewise.
76125 (runit): Remove function.
76126 (run_getconf): New variable, Use it for running getconf binary.
76127
76128 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76129
76130 [BZ #14716]
76131 * string/test-memmem.c (check_result): New function.
76132 (do_one_test): Use it.
76133 (check1): New function.
76134 (test_main): Use it.
76135
76136 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76137
76138 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76139
76140 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76141
76142 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76143 (_G_LSEEK64): Likewise.
76144 (_G_MMAP64): Likewise.
76145 (_G_FSTAT64): Likewise.
76146 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76147 (_G_LSEEK64): Likewise.
76148 (_G_MMAP64): Likewise.
76149 (_G_FSTAT64): Likewise.
76150 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76151 unconditional. Call __mmap64 directly.
76152 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76153 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76154 __lseek64 directly.
76155 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76156 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76157 __mmap64 directly.
76158 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76159 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76160 __lseek64 directly.
76161 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76162 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76163 __lseek64 directly.
76164 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76165 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76166 __lseek64 directly.
76167 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76168 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76169 __fxstat64 directly.
76170 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76171 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76172 unconditional.
76173 (freopen64) [!_G_OPEN64]: Remove conditional code.
76174 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76175 unconditional.
76176 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76177 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76178 unconditional.
76179 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76180 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76181 unconditional.
76182 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76183 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76184 unconditional.
76185 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76186 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76187 unconditional.
76188 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76189 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76190 unconditional.
76191 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76192 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76193 unconditional.
76194 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76195
76196 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76197
76198 [BZ #12140]
76199 * manual/memory.texi (Malloc Tunable Parameters): Add note
76200 about free list pointers overwriting some perturb bytes.
76201 Wording suggested by Roland McGrath.
76202
76203 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76204
76205 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76206 (lgamma_test): Likewise.
76207 (tgamma_test): Likewise.
76208
76209 2012-10-16 Florian Weimer <fweimer@redhat.com>
76210
76211 [BZ #14700]
76212 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76213 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76214
76215 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76216
76217 * NEWS: Mention BZ #14716.
76218 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76219 when removing AVAILABLE1_USES_J macro.
76220
76221 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76222
76223 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76224 (__bswap_64): __uint64_t for unsigned 64-bit int.
76225
76226 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76227
76228 * include/string.h (memmem): Declare libc hidden alias.
76229 * string/memmem.c (memmem): Define libc hidden alias.
76230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76231 __read, __close instead of open, read, close.
76232
76233 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76234
76235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76236 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76237 global and hidden.
76238 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76239 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76240 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76241 Likewise.
76242 (__rawmemchr_sse2): Likewise.
76243 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76244 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76245 (__strchr_sse2): Likewise.
76246 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76247 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76248 (__strcasecmp_sse2): Likewise.
76249 (__strncasecmp_sse2): Likewise.
76250 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76251 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76252 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76253 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76254 (__strrchr_sse2): Likewise.
76255 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76256 ifunc-impl-list.c.
76257 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76258 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76259 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76260 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76261 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76262 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76263 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76264 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76265 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76266 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76267 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76268 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76269 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76270 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76271 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76272 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76273 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76274 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76275 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76276 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76277 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76278 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76279 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76280 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76281 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76282 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76283 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76284 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76285 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76286 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76287
76288 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76289 global and hidden.
76290 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76291 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76292 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76293 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76294 Likewise.
76295 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76296 Likewise.
76297 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76298 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76299 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76300 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76301 ifunc-impl-list.c.
76302 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76303 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76304 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76305 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76306 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76307 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76308 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76309 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76310 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76311 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76312 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76313 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76314 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76315 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76316 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76317 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76318 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76319 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76320 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76321 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76322 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76323 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76324 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76325 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76327 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76328 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76329 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76330 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76331 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76332 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76333 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76334 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76335 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76342 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76343
76344 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76345 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76346 * include/ifunc-impl-list.h: New file.
76347 * misc/ifunc-impl-list.c: Likewise.
76348 * misc/Makefile (routines): Add ifunc-impl-list.
76349 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76350 * string/test-string.h: Include <ifunc-impl-list.h>.
76351 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76352 TEST_NAME]: New variables.
76353 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76354 are defined.
76355 (test_init): Call __libc_ifunc_impl_list to initialize
76356 func_list if TEST_IFUNC and TEST_NAME are defined.
76357
76358 * string/Makefile (strop-tests): Add bcopy and bzero.
76359 * string/test-bcopy.c: New file.
76360 * string/test-bzero.c: Likewise.
76361 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76362 defined.
76363 * string/test-memset.c: Support bzero test if TEST_BZERO is
76364 defined.
76365 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76366 __libc_memmove.
76367 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76368 __libc_memset.
76369 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76370 of memset.
76371
76372 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76373
76374 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76375 * configure: Regenerated.
76376
76377 * Makeconfig (+link-static-before-libc): Don't include
76378 $(link-static-libc).
76379
76380 * libio/libio.h (_IO_pos_t): Remove.
76381
76382 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76383
76384 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76385 McGrath.
76386
76387 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76388
76389 * crypt/crypt-entry.c: Include fips-private.h.
76390 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76391 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76392 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76393 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76394
76395 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76396
76397 * crypt/crypt-private.h: Include stdbool.h.
76398 (_ufc_setup_salt_r): Return bool.
76399 * crypt/crypt-entry.c: Include errno.h.
76400 (__crypt_r): Return NULL with EINVAL for bad salt.
76401 * crypt/crypt_util.c (bad_for_salt): New.
76402 (_ufc_setup_salt_r): Check that salt is long enough and within
76403 the specified alphabet.
76404 * crypt/badsalttest.c: New file.
76405 * crypt/Makefile (tests): Add it.
76406 ($(objpfx)badsalttest): New.
76407
76408 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76409
76410 * NEWS: Add entry for BZ #14602.
76411
76412 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76413
76414 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76415 type-generic.
76416 * math/libm-test.inc: Update comment listing what functions and
76417 macros are tested.
76418 (isgreater_test): New function.
76419 (isgreaterequal_test): Likewise.
76420 (isless_test): Likewise.
76421 (islessequal_test): Likewise.
76422 (islessgreater_test): Likewise.
76423 (isunordered_test): Likewise.
76424 (main): Call the new functions.
76425
76426 2012-10-09 Roland McGrath <roland@hack.frob.com>
76427
76428 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76429 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76430 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76431 * sysdeps/i386/configure: Regenerated.
76432 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76433 * sysdeps/mach/configure: Regenerated.
76434 * sysdeps/mach/hurd/configure: Regenerated.
76435 * sysdeps/powerpc/configure: Regenerated.
76436 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76437 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76438 * sysdeps/s390/s390-32/configure: Regenerated.
76439 * sysdeps/s390/s390-64/configure: Regenerated.
76440 * sysdeps/sh/configure: Regenerated.
76441 * sysdeps/sparc/configure: Regenerated.
76442 * sysdeps/unix/sysv/linux/configure: Regenerated.
76443 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76444 * sysdeps/x86_64/configure: Regenerated.
76445
76446 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76447 defined. Don't check if MAP is NULL.
76448
76449 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76450
76451 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76452 (_G_stat64): Likewise.
76453 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76454 (_G_stat64): Likewise.
76455 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76456 instead of struct _G_stat64.
76457 * libio/fileops.c (mmap_remap_check): Likewise.
76458 (decide_maybe_mmap): Likewise.
76459 (_IO_new_file_seekoff): Likewise.
76460 (_IO_file_stat): Likewise.
76461 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76462 _G_off64_t.
76463 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76464 instead of struct _G_stat64.
76465 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76466
76467 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76468
76469 [BZ #14602]
76470 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76471 Replace with ...
76472 (CHECK_EOL): New macro.
76473 (two_way_short_needle): Check beginning of haystack for EOL. Use
76474 CHECK_EOL.
76475 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76476 Replace with CHECK_EOL.
76477 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76478 Replace with CHECK_EOL.
76479
76480 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76481
76482 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76483 type-generic.
76484 * math/libm-test.inc: Update comment listing what functions and
76485 macros are tested.
76486 (finite_test): New function.
76487 (isinf_test): Likewise.
76488 (isnan_test): Likewise.
76489 (fpclassify_test): Test subnormal input.
76490 (isfinite_test): Likewise.
76491 (isnormal_test): Likewise.
76492 (main): Call the new functions.
76493
76494 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76495
76496 [BZ #14660]
76497 * Makerules (%.dynsym): Force C locale when running
76498 $(OBJDUMP) --dynamic-syms.
76499
76500 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76501
76502 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76503 <stdint.h>.
76504
76505 2012-10-06 David S. Miller <davem@davemloft.net>
76506
76507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76508 upper 32-bits of the length value in %o2 since we use branch-on-register
76509 tests which consider the entire 64-bit register.
76510
76511 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76512
76513 * string/test-strstr.c (check2): Add a test for page boundary.
76514
76515 2012-10-05 David S. Miller <davem@davemloft.net>
76516
76517 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76518 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76519 file.
76520 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76521 sysdep_routines.
76522 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76523 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76524 and bzero when HWCAP_SPARC_CRYPTO is present.
76525
76526 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76527
76528 [BZ #14602]
76529 * string/test-strstr.c (check2): New function.
76530 (test_main): Call check2.
76531
76532 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76533 and bug-strchr1.
76534 * string/bug-strcasestr1.c (do_test): Moved to ...
76535 * string/test-strcasestr.c (check1): Here. New function.
76536 (do_one_test): Break out result checking code into ...
76537 (check_result): This. New function.
76538 (do_one_test): Call check_result.
76539 (test_main): Call check1.
76540 * string/bug-strchr1.c (do_test): Moved to ...
76541 * string/test-strchr.c (check1): Here. New function.
76542 (do_one_test): Break out result checking code into ...
76543 (check_result): This. New function.
76544 (do_one_test): Call check_result.
76545 (test_main): Call check1.
76546 * string/bug-strstr1.c (main): Moved to ...
76547 * string/test-strstr.c (check1): Here. New function.
76548 (do_one_test): Break out result checking code into ...
76549 (check_result): This. New function.
76550 (do_one_test): Call check_result.
76551 (test_main): Call check1.
76552 * string/bug-strcasestr1.c: Removed.
76553 * string/bug-strchr1.c: Likewise.
76554 * string/bug-strstr1.c: Likewise.
76555
76556 * elf/Makefile (dl-routines): Add hwcaps.
76557 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76558 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76559 (_dl_important_hwcaps): Moved to ...
76560 * elf/dl-hwcaps.c: Here. New file.
76561 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76562
76563 [BZ #14557]
76564 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76565 if IS_IN_rtld isn't defined.
76566
76567 * elf/dl-support.c (_dl_sysinfo_map): New.
76568 Include "get-dynamic-info.h" and "setup-vdso.h".
76569 (_dl_non_dynamic_init): Call setup_vdso.
76570 * elf/dynamic-link.h: Don't include <assert.h>.
76571 (elf_get_dynamic_info): Moved to ...
76572 * elf/get-dynamic-info.h: Here. New file.
76573 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76574 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76575 * elf/setup-vdso.h: Here. New file.
76576 * elf/rtld.c: Include "setup-vdso.h".
76577 (dl_main): Call setup_vdso.
76578
76579 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76580
76581 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76582 creal in comment listing functions tested. List finite, isinf,
76583 isnan, isless, islessequal, isgreater, isgreaterequal,
76584 islessgreater, isunordered, lgamma_r and pow10 as functions and
76585 macros not tested. Mention which functions not tested are aliases
76586 for other functions. Fix typo. Note that signs of NaNs are not
76587 tested.
76588
76589 * scripts/config.guess: Update from config.git.
76590 * scripts/config.sub: Likewise.
76591
76592 2012-10-04 Roland McGrath <roland@hack.frob.com>
76593
76594 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76595 * misc/madvise.c (madvise): Renamed to __madvise.
76596 Make madvise a weak alias.
76597 * include/sys/mman.h: Declare __madvise.
76598 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76599 * sysdeps/unix/syscalls.list
76600 (madvise): Make __madvise the strong name, and madvise a weak alias.
76601 * sysdeps/unix/sysv/linux/syscalls.list
76602 (madvise, mmap): Remove redundant entries.
76603 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76604 * malloc/malloc.c (mtrim): Likewise.
76605 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76606
76607 2012-10-03 Roland McGrath <roland@hack.frob.com>
76608
76609 * sysdeps/mach/hurd/dl-cache.c: File removed.
76610 * config.h.in (USE_LDCONFIG): New #undef.
76611 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76612 * configure: Regenerated.
76613 * elf/Makefile (dl-routines): Add dl-cache only under
76614 [$(use-ldconfig) = yes].
76615 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76616 cache on [USE_LDCONFIG].
76617 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76618 [USE_LDCONFIG].
76619 * elf/rtld.c (dl_main): Likewise.
76620
76621 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76622
76623 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76624 _SC_LEVEL4_CACHE_LINESIZE.
76625
76626 2012-10-03 Roland McGrath <roland@hack.frob.com>
76627
76628 * sysdeps/unix/bsd/confstr.h: File removed.
76629
76630 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76631
76632 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76633 sys/sdt-config.h.
76634
76635 2012-10-02 Roland McGrath <roland@hack.frob.com>
76636
76637 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76638 Make 'mapoff' field ElfW(Off) rather than off_t.
76639
76640 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76641
76642 * nscd/Makefile: Remove nscd-cflags and all its users.
76643 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76644 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76645
76646 [BZ #10631]
76647 * malloc.c (malloc_printerr): Clarify error message.
76648
76649 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76650
76651 [BZ #14648]
76652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76653 Set bit_FMA_Usable if FMA is supported.
76654 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76655 macro.
76656 (bit_FMA4_Usable): Updated.
76657 (index_FMA_Usable): New macro.
76658 (CPUID_FMA): Likewise.
76659 (HAS_FMA): Defined with bit_FMA_Usable.
76660
76661 2012-10-01 Roland McGrath <roland@hack.frob.com>
76662
76663 * bits/types.h (__swblk_t): Type removed.
76664 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76665 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76667 (__SWBLK_T_TYPE): Likewise.
76668 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76669 (__SWBLK_T_TYPE): Likewise.
76670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76671 (__SWBLK_T_TYPE): Likewise.
76672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76673 (__SWBLK_T_TYPE): Likewise.
76674
76675 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76676 Honza Horak <hhorak@redhat.com>
76677
76678 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76679 (xdr_mapname): Use YPMAXMAP as maxsize.
76680 (xdr_peername): Use YPMAXPEER as maxsize.
76681 (xdr_keydat): Use YPAXRECORD as maxsize.
76682 (xdr_valdat): Use YPMAXRECORD as maxsize.
76683
76684 2012-10-01 Roland McGrath <roland@hack.frob.com>
76685
76686 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76687
76688 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76689 * csu/init-first.c: ... here.
76690 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76691 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76692 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76693 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76694 * sysdeps/i386/init-first.c: File removed.
76695 * sysdeps/sh/init-first.c: File removed.
76696
76697 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76698
76699 [BZ #14645]
76700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76701 if x * y might underflow to zero and z is zero.
76702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76704 * math/libm-test.inc (min_subnorm_value): New variable.
76705 (fma_test): Add more tests.
76706 (fma_test_towardzero): Likewise.
76707 (fma_test_downward): Likewise.
76708 (fma_test_upward): Likewise.
76709 (initialize): Set min_subnorm_value.
76710
76711 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76712
76713 [BZ #14638]
76714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76715 0 + 0.
76716 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76717 mode for addition resulting in exact zero.
76718 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76720 exact 0 + 0.
76721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76723 * math/libm-test.inc (fma_test): Add more tests.
76724 (fma_test_towardzero): New function.
76725 (fma_test_downward): Likewise.
76726 (fma_test_upward): Likewise.
76727 (main): Call the new functions.
76728
76729 2012-09-28 David S. Miller <davem@davemloft.net>
76730
76731 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76732
76733 2012-09-28 Roland McGrath <roland@hack.frob.com>
76734
76735 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76736 instead of SIGALRM.
76737
76738 * sysdeps/gnu/_G_config.h: Moved to ...
76739 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76740 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76741 * sysdeps/generic/_G_config.h: ... here.
76742
76743 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76744
76745 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76746
76747 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76748 Conditionalize target on [libnss_test1.so-version].
76749
76750 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76751
76752 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76753 (elfobjdir): Move out of conditionals.
76754
76755 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76756 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76757 (__nss_lookup_function): Conditionalize label remove_from_tree on
76758 [!DO_STATIC_NSS || SHARED], matching its only use.
76759
76760 2012-09-28 David S. Miller <davem@davemloft.net>
76761
76762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76763 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76764 file.
76765 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76766 sysdep_routines.
76767 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76769 when HWCAP_SPARC_CRYPTO is present.
76770
76771 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76772
76773 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76774
76775 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76776
76777 [BZ #6530]
76778 * stdio-common/vfprintf.c (process_string_arg): Revert
76779 2000-07-22 change.
76780
76781 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76782
76783 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76784 for testcase.
76785 * stdio-common/tst-sprintf.c: Include <locale.h>
76786 (main): Test sprintf's handling of incomplete multibyte
76787 characters.
76788
76789 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76790
76791 * elf/dl-runtime.c (VERSYMIDX): Removed.
76792 * elf/dl-version.c (VERSYMIDX): Likewise.
76793 * elf/do-rel.h (VERSYMIDX): Likewise.
76794 (VALIDX): Likewise.
76795 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76796 * elf/rtld.c (VALIDX): Likewise.
76797 (ADDRIDX): Likewise.
76798 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76799 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76800 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76801 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76802 (VALIDX): Likewise.
76803 (ADDRIDX): Likewise.
76804
76805 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76806
76807 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76808
76809 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76810
76811 [BZ #11438]
76812 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76813 to global scope.
76814 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76815 addresses are in the same scope as 192.0.2/24.
76816 * posix/gai.conf: Document new scope table defaults.
76817
76818 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76819
76820 [BZ #5298]
76821 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76822 for ftell. Compute offsets from write pointers instead.
76823 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76824
76825 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76826
76827 [BZ #14543]
76828 * libio/Makefile (tests): New test case tst-fseek.
76829 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76830 combination works in wide mode.
76831 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76832 state when the external buffer state changes.
76833
76834 2012-09-27 David S. Miller <davem@davemloft.net>
76835
76836 [BZ #14376]
76837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76838 pass reloc->r_addend in as the 'high' argument to
76839 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76840
76841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76842
76843 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76844
76845 * rt/tst-aio2.c: Include <pthread.h>.
76846 * rt/tst-aio3.c: Likewise.
76847
76848 2012-09-27 Steve Ellcey <sellcey@mips.com>
76849
76850 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76851
76852 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76853
76854 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76855 contents on [SHARED].
76856
76857 2012-09-26 Marek Polacek <polacek@redhat.com>
76858
76859 [BZ #14530]
76860 [BZ #13741]
76861 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76862 for C++ and GCC <4.3 as well as for non GCC compilers.
76863
76864 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76865
76866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76867
76868 2012-09-25 Roland McGrath <roland@hack.frob.com>
76869
76870 * Makefile.in (all, install): Declare with .PHONY.
76871 Reported by Michael Hope <michael.hope@linaro.org>.
76872
76873 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76874
76875 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76876 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76877 system header.
76878 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76879 Likewise.
76880 (sydep_routines): Add the new and the internal functions.
76881 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76882 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76884 (GLIBC_2.17): Add the new function.
76885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76886 (GLIBC_2.17): Likewise.
76887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76888 (GLIBC_2.17): Likewise.
76889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76890 (GLIBC_2.17): Likewise.
76891 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76892
76893 2012-09-25 Alan Modra <amodra@gmail.com>
76894
76895 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76896 Add release barrier before setting once_control to say
76897 initialisation is done. Add hints on lwarx. Use macro in
76898 place of isync.
76899 (clear_once_control): Add release barrier.
76900
76901 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76902
76903 [BZ #13629]
76904 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76905 specially.
76906 * math/s_clog10.c (__clog10): Likewise.
76907 * math/s_clog10f.c (__clog10f): Likewise.
76908 * math/s_clog10l.c (__clog10l): Likewise.
76909 * math/s_clogf.c (__clogf): Likewise.
76910 * math/s_clogl.c (__clogl): Likewise.
76911 * math/Makefile (libm-calls): Add x2y2m1.
76912 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76913 (__x2y2m1): Likewise.
76914 (__x2y2m1l): Likewise.
76915 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76916 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76917 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76918 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76919 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76920 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76921 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76922 * sysdeps/i386/fpu/libm-test-ulps: Update.
76923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76924
76925 [BZ #14621]
76926 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76927 int as type of variable DEPTH.
76928 (glob): Use size_t instead of int as type of variables NEWCOUNT
76929 and OLD_PATHC.
76930
76931 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76932
76933 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76934 Add s_sincosf-sse2.
76935 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76936 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76937 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76938 macros for using routine as __sincosf_ia32.
76939 Use macro for function declaration and weak_alias.
76940 * sysdeps/i386/fpu/libm-test-ulps: Update.
76941
76942 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76944
76945 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76946 subnormal argument.
76947 * math/s_cexpf.c (__cexpf): Likewise.
76948 * math/s_csinf.c (__csinf): Likewise.
76949 * math/s_csinhf.c (__csinhf): Likewise.
76950 * math/s_ctanf.c (__ctanf): Likewise.
76951 * math/s_ctanhf.c (__ctanhf): Likewise.
76952 * math/s_ccosh.c (__ccoshf): Likewise.
76953 * math/s_cexp.c (__cexpl): Likewise.
76954 * math/s_csin.c (__csin): Likewise.
76955 * math/s_csinh.c (__csinh): Likewise.
76956 * math/s_ctan.c (__ctan): Likewise.
76957 * math/s_ctanh.c (ctanh): Likewise.
76958 * math/s_ccoshl.c (__ccoshl): Likewise.
76959 * math/s_cexpl.c (__cexpl): Likewise.
76960 * math/s_csinl.c (__csinl): Likewise.
76961 * math/s_csinhl.c (__csinhl): Likewise.
76962 * math/s_ctanl.c (__ctanl): Likewise.
76963 * math/s_ctanhl.c (__ctanhl): Likewise.
76964
76965 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76966
76967 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76968 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76969 (_IO_off_t): Define to __off_t, not _G_off_t.
76970 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76971 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76972 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76973 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76974 type of __dummy and __dummy2 fields.
76975 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76976 (_G_ssize_t): Likewise.
76977 (_G_off_t): Likewise.
76978 (_G_pid_t): Likewise.
76979 (_G_uid_t): Likewise.
76980 (_G_wchar_t): Likewise.
76981 (_G_wint_t): Likewise.
76982 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76983 (_G_ssize_t): Likewise.
76984 (_G_off_t): Likewise.
76985 (_G_pid_t): Likewise.
76986 (_G_uid_t): Likewise.
76987 (_G_wchar_t): Likewise.
76988 (_G_wint_t): Likewise.
76989 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76990 (_G_ssize_t): Likewise.
76991 (_G_off_t): Likewise.
76992 (_G_pid_t): Likewise.
76993 (_G_uid_t): Likewise.
76994 (_G_wchar_t): Likewise.
76995 (_G_wint_t): Likewise.
76996
76997 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76998
76999 * malloc/arena.c: Include malloc-sysdep.h.
77000 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77001 is sufficient to shrink the heap or an unmap is needed.
77002 * sysdeps/generic/malloc-sysdep.h: New file. Define
77003 new function check_may_shrink_heap.
77004 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77005 new function check_may_shrink_heap.
77006
77007 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77008
77009 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77010 comments.
77011
77012 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77013
77014 * catgets/test-gencat.sh: Add "set -e".
77015 * elf/tst-pathopt.sh: Likewise.
77016 * grp/tst_fgetgrent.sh: Likewise.
77017 * iconvdata/run-iconv-test.sh: Likewise.
77018 * intl/tst-gettext.sh: Likewise.
77019 * intl/tst-gettext2.sh: Likewise.
77020 * intl/tst-gettext4.sh: Likewise.
77021 * intl/tst-gettext6.sh: Likewise.
77022 * intl/tst-translit.sh: Likewise.
77023 * io/ftwtest-sh: Likewise.
77024 * libio/test-freopen.sh: Likewise.
77025 * malloc/tst-mtrace.sh: Likewise.
77026 * posix/globtest.sh: Likewise.
77027 * posix/tst-getconf.sh: Likewise.
77028 * posix/wordexp-tst.sh: Likewise.
77029 * stdio-common/tst-printf.sh: Likewise.
77030 * stdio-common/tst-unbputc.sh: Likewise.
77031 * stdlib/tst-fmtmsg.sh: Likewise.
77032 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77033 * catgets/Makefile: Do not specify -e option when running
77034 testsuite shell scripts.
77035 * elf/Makefile: Likewise.
77036 * grp/Makefile: Likewise.
77037 * iconvdata/Makefile: Likewise.
77038 * intl/Makefile: Likewise.
77039 * io/Makefile: Likewise.
77040 * libio/Makefile: Likewise.
77041 * malloc/Makefile: Likewise.
77042 * posix/Makefile: Likewise.
77043 * stdio-common/Makefile: Likewise.
77044 * stdlib/Makefile: Likewise.
77045 * sysdeps/x86_64/Makefile: Likewise.
77046
77047 * io/ftwtest-sh: Add copyright header.
77048 * posix/globtest.sh: Likewise.
77049 * posix/tst-getconf.sh: Likewise.
77050 * posix/wordexp-tst.sh: Likewise.
77051 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77052
77053 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
77054
77055 [BZ #13679]
77056 * Makeconfig (+link): Defined as $(+link-static) if
77057 $(build-shared) isn't yes.
77058 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77059 isn't yes.
77060 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77061
77062 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77063
77064 [BZ #14562]
77065 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77066 new chunk size with MALLOC_ALIGN_MASK.
77067
77068 2012-09-24 Joseph Myers <joseph@codesourcery.com>
77069
77070 [BZ #5044]
77071 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77072 <rounding-mode.h>.
77073 (__printf_fphex): Determine rounding using get_rounding_mode and
77074 round_away.
77075 * stdio-common/tst-printf-round.c (struct hex_test): New
77076 structure.
77077 (hex_tests): New variable.
77078 (test_hex_in_one_mode): New function.
77079 (do_test): Also run tests for hex float output.
77080
77081 2012-09-21 Joseph Myers <joseph@codesourcery.com>
77082
77083 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77084 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77085 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77086 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77087 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77088 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77089 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77090 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77091
77092 2012-09-20 Joseph Myers <joseph@codesourcery.com>
77093
77094 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77095 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77096 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77097 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77098
77099 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77100
77101 [BZ #14579]
77102 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77103 mode only.
77104 * elf/tst-rtld-load-self.sh: New test.
77105 * elf/Makefile: Run it.
77106
77107 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77108
77109 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77110 (tst-writev-ENV): Remove.
77111 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77112
77113 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77114
77115 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77116
77117 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77118
77119 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77120 unconditional.
77121 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77122 Likewise.
77123 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77124 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77125 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77126 Likewise.
77127
77128 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77129
77130 [BZ #14587]
77131 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77132 * config.make.in (have-cpp-asm-debuginfo): Removed.
77133 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77134 * configure: Regenerated.
77135
77136 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77137
77138 [BZ #5044]
77139 * stdio-common/printf_fp.c: Include <stdbool.h> and
77140 <rounding-mode.h>.
77141 (___printf_fp): Determine rounding using get_rounding_mode and
77142 round_away.
77143 * stdio-common/tst-printf-round.c: New file.
77144 * stdio-common/Makefile (tests): Add tst-printf-round.
77145 (link-libm): New variable.
77146 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77147
77148 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77149
77150 [BZ #14576]
77151 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77152 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77153 Likewise.
77154 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77155 Likewise.
77156
77157 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77158
77159 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77160 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77161 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77162 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77163
77164 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77165
77166 [BZ #14518]
77167 * include/rounding-mode.h: New file.
77168 * sysdeps/generic/get-rounding-mode.h: Likewise.
77169 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77170 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77171 (MAX_VALUE): New macro.
77172 (MIN_VALUE): Likewise.
77173 (overflow_value): New function.
77174 (underflow_value): Likewise.
77175 (round_and_return): Use overflow_value and underflow_value to
77176 determine return values in overflow and underflow cases. Use
77177 round_away to determine rounding depending on rounding mode.
77178 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77179 determine return values in overflow and underflow cases.
77180 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77181 (struct test_results): New structure.
77182 (struct test): Use struct test_results to store expected results
77183 for all rounding modes.
77184 (TEST): Include expected results for all rounding modes.
77185 (test_in_one_mode): New function.
77186 (do_test): Use test_in_one_mode to compute and check results.
77187 Check results for all rounding modes.
77188 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77189 $(link-libm).
77190
77191 2012-12-09 Allan McRae <allan@archlinux.org>
77192
77193 * sysdeps/i386/fpu/libm-test-ulps: Update
77194
77195 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77196
77197 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77198 (_G_int32_t): Likewise.
77199 (_G_uint16_t): Likewise.
77200 (_G_uint32_t): Likewise.
77201 (_G_HAVE_BOOL): Likewise.
77202 (_G_HAVE_ATEXIT): Likewise.
77203 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77204 (_G_HAVE_IO_FILE_OPEN): Likewise.
77205 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77206 (_G_int32_t): Likewise.
77207 (_G_uint16_t): Likewise.
77208 (_G_uint32_t): Likewise.
77209 (_G_HAVE_BOOL): Likewise.
77210 (_G_HAVE_ATEXIT): Likewise.
77211 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77212 (_G_HAVE_IO_FILE_OPEN): Likewise.
77213 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77214 (_G_int32_t): Likewise.
77215 (_G_uint16_t): Likewise.
77216 (_G_uint32_t): Likewise.
77217 (_G_HAVE_BOOL): Likewise.
77218 (_G_HAVE_ATEXIT): Likewise.
77219 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77220 (_G_HAVE_IO_FILE_OPEN): Likewise.
77221
77222 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77223
77224 * csu/libc-tls.c: Update copyright years.
77225
77226 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77227
77228 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77229 [!_G_USING_THUNKS]: Remove conditional code.
77230 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77231 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77232
77233 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77234 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77235 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77236 (_G_VTABLE_LABEL_PREFIX): Likewise.
77237 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77238 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77240 (_G_VTABLE_LABEL_PREFIX): Likewise.
77241 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77242 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77243 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77244 (_G_VTABLE_LABEL_PREFIX): Likewise.
77245 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77246
77247 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77248
77249 * libio/Makefile: Include ../Makeconfig before tests.
77250 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77251 only if $(build-shared) is yes.
77252
77253 * iconv/gconv_db.c: Update copyright years.
77254
77255 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77256
77257 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77258 unwind info if defined PIC. Fix special cases description.
77259 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77260
77261 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77262 DP_HI_MASK entry.
77263 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77264
77265 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77266
77267 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77268
77269 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77270 is NULL.
77271
77272 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77273 (LDLIBS-tst-chk4): This.
77274 (LDFLAGS-tst-chk5): Renamed to ...
77275 (LDLIBS-tst-chk5): This.
77276 (LDFLAGS-tst-chk6): Renamed to ...
77277 (LDLIBS-tst-chk6): This.
77278 (LDFLAGS-tst-lfschk4): Renamed to ...
77279 (LDLIBS-tst-lfschk4): This.
77280 (LDFLAGS-tst-lfschk5): Renamed to ...
77281 (LDLIBS-tst-lfschk5): This.
77282 (LDFLAGS-tst-lfschk6): Renamed to ...
77283 (LDLIBS-tst-lfschk6): This.
77284
77285 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77286 on $(common-objpfx)soversions.mk.
77287
77288 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77289
77290 [BZ #10014]
77291 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77292 example host name.
77293
77294 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77295
77296 * malloc/arena.c (arena_get_retry): New function that gets
77297 another arena for the caller to try its request on.
77298 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77299 current arena cannot fulfill the request.
77300 (__libc_memalign): Likewise.
77301 (__libc_memalign): Likewise.
77302 (__libc_pvalloc): Likewise.
77303 (__libc_calloc): Likewise.
77304
77305 2012-09-05 John Tobey <john.tobey@gmail.com>
77306
77307 [BZ #13542]
77308 * manual/arith.texi (Operations on Complex): Fix description
77309 of carg branch cut.
77310
77311 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77312
77313 [BZ #10014]
77314 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77315 host name.
77316
77317 [BZ #10038]
77318 * manual/memory.texi (Memory): Make order of menu items match
77319 order of sections.
77320
77321 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77322
77323 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77324 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77325 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77326
77327 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77328
77329 * csu/libc-tls.c (static_dtv): Renamed to ...
77330 (_dl_static_dtv): This. Make it global.
77331 (_dl_initial_dtv): Removed.
77332 (__libc_setup_tls): Updated.
77333 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77334 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77335 DL_INITIAL_DTV.
77336
77337 2012-09-06 Petr Machata <pmachata@redhat.com>
77338
77339 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77340 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77341 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77342 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77343
77344 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77345
77346 [BZ #14545]
77347 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77348 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77349 freeing dtv[-1].
77350
77351 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77352
77353 [BZ #14544]
77354 * Makeconfig (link-static-before-libc): Replace $(+prector)
77355 with $(+prectorT).
77356 (link-static-after-libc): Replace $(+postctor) with
77357 $(+postctorT).
77358 (link-bounded): Replace $(+prector)/$(+postctor) with
77359 $(+prectorT)/$(+postctorT).
77360 (+prectorT): New macro.
77361 (+postctorT): Likewise.
77362
77363 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77364
77365 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77366 (round_str): Handle values above the maximum for IBM long double
77367 as inexact.
77368 * stdlib/tst-strtod-round.c (tests): Regenerated.
77369
77370 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77371
77372 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77373 assembler flag.
77374 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77375 zarch_nohighgprs around the zarch optimized routines.
77376 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77377 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77378 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77379 for zarch.
77380
77381 2012-09-05 David S. Miller <davem@davemloft.net>
77382
77383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77384
77385 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77386 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77387 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77388 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77389 entries.
77390
77391 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77392
77393 * malloc/arena.c: Fold copyright years.
77394 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77395
77396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77397
77398 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77399
77400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77401
77402 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77403
77404 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77405
77406 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77407 change internal state upon failure.
77408
77409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77410
77411 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77412 * malloc/memusage.c (mmap): Likewise.
77413 (mmap64, mremap): Likewise. Adjust name in comment.
77414
77415 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77416
77417 * libio/fileops.c: Fix typos in comments.
77418 * libio/oldfileops.c: Likewise.
77419 * libio/wfileops.c: Likewise.
77420
77421 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77422
77423 [BZ #1349]
77424 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77425 (tst-malloc-usable-ENV): Set environment for test case.
77426 * malloc/hooks.c (malloc_check_get_size): New function to get
77427 requested size.
77428 * malloc/malloc.c (musable): Use malloc_check_get_size.
77429 * malloc/tst-malloc-usable.c: New test case.
77430
77431 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77432
77433 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77434
77435 2012-09-05 Allan McRae <allan@archlinux.org>
77436
77437 [BZ #13966]
77438 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77439 determine header location.
77440 * configure: Regenerated.
77441
77442 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77443
77444 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77445 float format.
77446 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77447 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77448 format.
77449 (test): Regenerate.
77450
77451 2012-09-04 David S. Miller <davem@davemloft.net>
77452
77453 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77454 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77455 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77456
77457 2012-09-04 Florian Weimer <fweimer@redhat.com>
77458
77459 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77460 failures.
77461
77462 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77463
77464 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77465
77466 [BZ #9914]
77467 * libio/iogetdelim.c: Include <limits.h>.
77468 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77469 + len + 1 would overflow.
77470
77471 2012-09-03 Andreas Jaeger <aj@suse.de>
77472
77473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77474 * sysdeps/i386/fpu/libm-test-ulps: Update.
77475
77476 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77477
77478 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77479 Add s_sinf-sse2, s_conf-sse2.
77480
77481 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77482 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77483 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77484 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77485
77486 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77487 for using routine as __sinf_ia32.
77488 Use macro for function declaration and weak_alias.
77489 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77490 for using routine as __cosf_ia32.
77491 Use macro for function declaration and weak_alias.
77492
77493 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77494 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77495
77496 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77497 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77499
77500 * math/libm-test.inc (cos_test): Add more test cases.
77501 (sin_test): Likewise.
77502 (sincos_test): Likewise.
77503
77504 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77505
77506 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77507 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77508 hidden.
77509 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77510
77511 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77512
77513 [BZ #14538]
77514 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77515 first element of the GOT.
77516 (elf_machine_load_address): Return the difference between
77517 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77518
77519 2012-09-01 Allan McRae <allan@archlinux.org>
77520
77521 [BZ #13412]
77522 * configure.in (AWK): Require gawk version 3.0 or later.
77523 * configure: Regenerated.
77524
77525 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77526
77527 * sysdeps/unix/sysv/linux/kernel-features.h
77528 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77529 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77530 [__NR_clock_getres]: Make code unconditional.
77531 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77532 (clock_getcpuclockid): Remove code left unreachable by removal of
77533 conditionals.
77534 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77535 code unconditional.
77536 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77538 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77539 Make code unconditional.
77540 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77541 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77542 * sysdeps/unix/sysv/linux/clock_settime.c
77543 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77544 conditional code.
77545 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77547
77548 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77549
77550 [BZ #14476]
77551 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77552 scripts/test-installation.pl.
77553
77554 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77555 and $ld_so_version if it is set.
77556
77557 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77558
77559 [BZ #14516]
77560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77561 failure if reading from procfs failed.
77562 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77563
77564 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77565
77566 * sysdeps/unix/sysv/linux/kernel-features.h
77567 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77568 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77569 Remove conditional code.
77570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77571 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77572 Remove conditional code.
77573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77574 * sysdeps/unix/sysv/linux/i386/fxstat.c
77575 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77577 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77578 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77580 * sysdeps/unix/sysv/linux/i386/lxstat.c
77581 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77583 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77584 Remove conditional code.
77585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77586 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77587 Remove conditional code.
77588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77589 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77590 <kernel-features.h>.
77591 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77592 Remove.
77593 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77594 Remove conditional code.
77595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77596 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77597 Remove conditional.
77598
77599 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77600
77601 [BZ #5400]
77602 * NEWS: Add fixed bug number.
77603
77604 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77605
77606 [BZ #14519]
77607 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77608 underflowing exponent in case of negative sign.
77609 * stdlib/tst-strtod-round-data: Add more tests.
77610 * stdlib/tst-strtod-round.c (tests): Regenerated.
77611
77612 [BZ #3479]
77613 * stdlib/strtod_l.c (NDIG): Remove.
77614 (HEXNDIG): Likewise.
77615 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77616 smallest representable value.
77617 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77618 lie within an exact representation of 1/2 ulp of the result.
77619 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77620 unconditionally.
77621 (TENS_P9_IDX): Define unconditionally.
77622 (TENS_P9_SIZE): Likewise.
77623 (TENS_P10_IDX): Likewise.
77624 (TENS_P10_SIZE): Likewise.
77625 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77626 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77627 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77628 entries for 10^2^13 and 10^2^14.
77629 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77630 (TENS_P13_IDX): Define.
77631 (TENS_P13_SIZE): Likewise.
77632 (TENS_P14_IDX): Likewise.
77633 (TENS_P14_SIZE): Likewise.
77634 (_fpioconst_pow10): Change array size to
77635 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77636 unconditional.
77637 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77638 1024]: Add entries for 10^2^13 and 10^2^14.
77639 [LAST_POW10 > _LAST_POW10]: Remove #error.
77640 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77641 (_fpioconst_pow10): Change array size to
77642 FPIOCONST_POW10_ARRAY_SIZE.
77643 * stdlib/gen-fpioconst.c: New file.
77644 * stdlib/gen-tst-strtod-round.c: Likewise.
77645 * stdlib/tst-strtod-round-data: Likewise.
77646 * stdlib/tst-strtod-round.c: Likewise.
77647 * stdlib/Makefile (tests): Add tst-strtod-round.
77648
77649 [BZ #14459]
77650 * stdlib/strtod_l.c: Include <stdint.h>.
77651 (NDEBUG): Do not define.
77652 (round_and_return): Change EXPONENT parameter to type intmax_t.
77653 Rearrange calculations to avoid internal overflow possibilities.
77654 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77655 Rearrange calculations to avoid internal overflow possibilities.
77656 Assert that number fits inside MPNSIZE limbs.
77657 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77658 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77659 calculations and add assertions to avoid internal overflow
77660 possibilities. Add casts to avoid signed/unsigned operations.
77661 * stdlib/tst-strtod-overflow.c: New file.
77662 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77663
77664 2012-08-25 Marek Polacek <polacek@redhat.com>
77665
77666 * time/time.h: Fix some typos in comments.
77667
77668 2012-08-23 Roland McGrath <roland@hack.frob.com>
77669
77670 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77671 * posix/tst-rfc3484-2.c: Likewise.
77672 * posix/tst-rfc3484-3.c: Likewise.
77673
77674 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77675
77676 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77677 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77678
77679 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77680
77681 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77682 #include of fxstatat64.c.
77683
77684 2012-08-22 Roland McGrath <roland@hack.frob.com>
77685
77686 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77687 * shadow/getspent_r.c: Likewise.
77688 * shadow/getspnam.c: Likewise.
77689 * shadow/getspnam_r.c: Likewise.
77690 * gshadow/getsgent.c: Likewise.
77691 * gshadow/getsgent_r.c: Likewise.
77692 * gshadow/getsgnam.c: Likewise.
77693 * gshadow/getsgnam_r.c: Likewise.
77694 * inet/getnetbyad.c: Likewise.
77695 * inet/getnetbyad_r.c: Likewise.
77696 * inet/getnetbynm.c: Likewise.
77697 * inet/getnetbynm_r.c: Likewise.
77698 * inet/getnetent.c: Likewise.
77699 * inet/getnetent_r.c: Likewise.
77700 * inet/getproto.c: Likewise.
77701 * inet/getproto_r.c: Likewise.
77702 * inet/getprtent.c: Likewise.
77703 * inet/getprtent_r.c: Likewise.
77704 * inet/getprtname.c: Likewise.
77705 * inet/getprtname_r.c: Likewise.
77706 * inet/getrpcbyname.c: Likewise.
77707 * inet/getrpcbyname_r.c: Likewise.
77708 * inet/getrpcbynumber.c: Likewise.
77709 * inet/getrpcbynumber_r.c: Likewise.
77710 * inet/getrpcent.c: Likewise.
77711 * inet/getrpcent_r.c: Likewise.
77712 * inet/getaliasent.c: Likewise.
77713 * inet/getaliasent_r.c: Likewise.
77714 * inet/getaliasname.c: Likewise.
77715 * inet/getaliasname_r.c: Likewise.
77716 * nscd/getgrgid_r.c: Likewise.
77717 * nscd/getgrnam_r.c: Likewise.
77718 * nscd/gethstbyad_r.c: Likewise.
77719 * nscd/gethstbynm3_r.c: Likewise.
77720 * nscd/getpwnam_r.c: Likewise.
77721 * nscd/getpwuid_r.c: Likewise.
77722 * nscd/getsrvbynm_r.c: Likewise.
77723 * nscd/getsrvbypt_r.c: Likewise.
77724 * nscd/gai.c: Likewise.
77725
77726 * configure.in (build_nscd): New substituted variable, set
77727 by --disable-build-nscd and defaults to $use_nscd.
77728 * configure: Regenerated.
77729 * config.make.in (build-nscd): New substituted variable.
77730 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77731 Change conditional to require [$(build-nscd) = yes] as well.
77732 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77733
77734 [BZ #13696]
77735 * configure.in (use_nscd): New substituted variable, set by
77736 --disable-nscd. If enabled, define USE_NSCD.
77737 * configure: Regenerated.
77738 * config.h.in: Add USE_NSCD.
77739 * config.make.in (use-nscd): New substituted variable.
77740 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77741 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77742 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77743 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77744 (CFLAGS-getgrnam_r.c): Likewise.
77745 (CFLAGS-initgroups.c): Likewise.
77746 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77747 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77748 Variables removed.
77749 * inet/getnetgrent_r.c
77750 (nscd_setnetgrent): New function, broken out of ...
77751 (setnetgrent): ... here. Call it.
77752 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77753 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77754 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77755 * nscd/Makefile (routines, aux): Move definitions after include of
77756 Makeconfig. Conditionalize on [$(use-nscd) != no].
77757 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77758 Conditionalize on [USE_NSCD].
77759 (is_nscd, nscd_init_cb): Likewise.
77760 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77761 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77762 * nss/nss_db/db-init.c: Likewise.
77763 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77764 [USE_NSCD].
77765 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77766 (make_request): Use it.
77767 (cache_valid_p): New function.
77768 (__check_pf): Use it.
77769 * NEWS: Add item for --disable-nscd.
77770
77771 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77772
77773 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77774 to support sed >= 4.2.1-20-ga9bf076.
77775 * configure: Regenerated.
77776
77777 2012-08-22 Roland McGrath <roland@hack.frob.com>
77778
77779 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77780 Conditionalize whole body on [IREL].
77781
77782 2012-08-22 Jeff Law <law@redhat.com>
77783
77784 [BZ #14505]
77785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77786 if the family is PF_UNSPEC.
77787
77788 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77789
77790 * Makerules (lib-version): Rename from V.
77791 (install-lib-nosubdir): Change V to lib-version.
77792
77793 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77794
77795 [BZ #14252]
77796 * powerpc32/power6/wcschr.c: New file.
77797 * powerpc32/power6/wcscpy.c: New file.
77798 * powerpc32/power6/wcsrchr.c: New file.
77799 * powerpc64/power6/wcschr.c: New file.
77800 * powerpc64/power6/wcscpy.c: New file.
77801 * powerpc64/power6/wcsrchr.c: New file.
77802
77803 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77804
77805 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77806 (two_way_short_needle): Use it.
77807 * string/strstr.c (AVAILABLE1_USES_J): Define.
77808 * string/strcasestr.c: Likewise.
77809
77810 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77811 array references.
77812 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77813
77814 [BZ #11607]
77815 * NEWS: Add an entry.
77816 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77817 define their defaults.
77818 (two_way_short_needle): Detect end-of-string on-the-fly.
77819 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77820 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77821 * string/bug-strcasestr1.c: New test.
77822 * string/Makefile: Run it.
77823
77824 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77825
77826 [BZ #11607]
77827 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77828 the first character.
77829
77830 2012-08-21 Roland McGrath <roland@hack.frob.com>
77831
77832 * csu/elf-init.c (__libc_csu_irel): Function removed.
77833 * csu/libc-start.c (apply_irel): New function.
77834 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77835
77836 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77837
77838 * sysdeps/unix/sysv/linux/kernel-features.h
77839 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77840 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77841 <kernel-features.h>.
77842 [__NR_fadvise64_64]: Make code unconditional.
77843 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77844 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77845 !__NR_fadvise64_64)]: Likewise.
77846 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77847 !__NR_fadvise64_64))]: Likewise.
77848 [__NR_fadvise64]: Make code unconditional.
77849 [!__NR_fadvise64]: Remove conditional code.
77850 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77851 <kernel-features.h>.
77852 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77853 unconditional.
77854 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77855 conditional code.
77856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77857 not include <kernel-features.h>.
77858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77859 unconditional.
77860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77861 conditional code.
77862 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77863 include <kernel-features.h>.
77864 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77865 unconditional.
77866 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77867 conditional code.
77868
77869 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77870
77871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77872 slight instruction rearrangements per scrollpipe analysis.
77873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77874
77875 2012-08-20 Roland McGrath <roland@hack.frob.com>
77876
77877 * manual/syslog.texi (syslog; vsyslog, closelog):
77878 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77879 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77880
77881 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77882 DSOCAPS to match condition on defining it.
77883
77884 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77885
77886 * sysdeps/unix/sysv/linux/kernel-features.h
77887 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77889 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77890 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77892 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77893 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77895 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77896 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77897
77898 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77899 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77900
77901 * sysdeps/unix/sysv/linux/kernel-features.h
77902 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77903 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77904 unconditional.
77905 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77906 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77907 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77908 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77909 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77910 Make code unconditional.
77911 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77912 (__mmap64) [!__NR_mmap2]: Likewise.
77913 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77914 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77915 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77916 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77917 [__NR_mmap2]: Make code unconditional.
77918 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77919 (__mmap64) [!__NR_mmap2]: Likewise.
77920
77921 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77922
77923 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77924
77925 2012-08-18 Andreas Jaeger <aj@suse.de>
77926
77927 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77928
77929 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77930
77931 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77932 * include/unistd.h (__have_sock_cloexec): Likewise.
77933 (__have_pipe2): Likewise.
77934 (__have_dup3): Likewise.
77935
77936 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77937
77938 [BZ #9685]
77939 * include/unistd.h (__have_pipe2): Change define into an extern int.
77940 (__have_dup3): Likewise.
77941 * socket/have_sock_cloexec.c: Include fcntl.h.
77942 (__have_pipe2): New variable.
77943 (__have_dup3): Likewise.
77944
77945 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77946
77947 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77948
77949 2012-08-17 Marek Polacek <polacek@redhat.com>
77950
77951 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77952 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77953
77954 2012-08-17 Roland McGrath <roland@hack.frob.com>
77955
77956 * configure.in: Add AC_SUBST for sysheaders.
77957 * configure: Regenerated.
77958 * config.make.in (sysheaders): New substituted variable.
77959
77960 * sysdeps/unix/mkfifo.c: Moved ...
77961 * sysdeps/posix/mkfifo.c: ... here.
77962 * sysdeps/unix/mkfifoat.c: Moved ...
77963 * sysdeps/posix/mkfifoat.c: ... here.
77964
77965 * sysdeps/unix/utime.c: Moved ...
77966 * sysdeps/posix/utime.c: ... here.
77967
77968 * sysdeps/unix/time.c: Moved ...
77969 * sysdeps/posix/time.c: ... here.
77970 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77971 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77972
77973 * sysdeps/unix/nice.c: Moved ...
77974 * sysdeps/posix/nice.c: ... here.
77975
77976 * sysdeps/unix/alarm.c: Moved ...
77977 * sysdeps/posix/alarm.c: ... here.
77978
77979 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77980
77981 2012-08-17 Jeff Law <law@redhat.com>
77982
77983 * intl/Makefile (codeset_mo): New variable.
77984 ($(codeset_mo)): New target.
77985 (tst-codeset.out): Depend on that. Remove explicit rule.
77986 (tst-gettext3.out, tst-gettext5.out): Likewise.
77987 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77988 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77989 * intl/tst-codeset.sh: Remove.
77990 * intl/tst-gettext3.sh: Likewise.
77991 * intl/tst-gettext5.sh: Likewise.
77992
77993 2012-08-17 Roland McGrath <roland@hack.frob.com>
77994
77995 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77996 * sysdeps/unix/syscalls.list: ... here.
77997
77998 * sysdeps/posix/getaddrinfo.c
77999 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78000 (gaiconf_init, gaiconf_reload): Use them.
78001 [!_STATBUF_ST_NSEC]
78002 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78003 Define using time_t rather than struct timespec.
78004
78005 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78006 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78007 Macros removed.
78008 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78009 [!NO_THREADS].
78010 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78011 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78012 Likewise.
78013
78014 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78015 __libc_cleanup_push argument.
78016
78017 * bits/param.h: New file.
78018 * misc/sys/param.h: New file.
78019 * include/sys/param.h: New file.
78020 * misc/Makefile (headers): Add bits/param.h.
78021 * sysdeps/generic/sys/param.h: File removed.
78022 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78023 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78024 * sysdeps/mach/hurd/bits/param.h: New file.
78025 * sysdeps/mach/hurd/sys/param.h: File removed.
78026
78027 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78028 last change.
78029
78030 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78031 [_IO_MTSAFE_IO].
78032 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78033 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78034 New macros.
78035
78036 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78037 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78038 rather than -D_IO_MTSAFE_IO conditionally.
78039 * stdio-common/Makefile (CPPFLAGS): Likewise.
78040 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78041 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78042 Use $(libio-mtsafe).
78043 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78044 of -D_IO_MTSAFE_IO.
78045 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78046 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78047 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78048 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78049 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78050 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78051 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78052 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78053 (CFLAGS-fread_u_chk.c): Likewise.
78054 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78055 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78056 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78057 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78058 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78059 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78060 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78061 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78062 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78063
78064 * libio/Makefile: Test [$(libc-reentrant) = yes]
78065 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78066
78067 * Makeconfig
78068 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78069 * sysdeps/pthread/configure: File removed.
78070 * sysdeps/pthread/Makeconfig: New file.
78071 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78072 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78073
78074 2012-08-16 Gary Benson <gbenson@redhat.com>
78075
78076 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78077 unmapping the first object in a namespace.
78078
78079 2012-08-16 Roland McGrath <roland@hack.frob.com>
78080
78081 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78082 (__internal_setnetgrent): ... this. Add internal_function to
78083 definition. Add libc_hidden_def.
78084 (setnetgrent): Update caller.
78085 (internal_endnetgrent): Renamed to ...
78086 (__internal_endnetgrent): ... this. Add internal_function to
78087 definition. Add libc_hidden_def.
78088 (endnetgrent): Update caller.
78089 (internal_getnetgrent_r): Renamed to ...
78090 (__internal_getnetgrent_r): ... this. Add internal_function to
78091 definition. Add libc_hidden_def.
78092 (__getnetgrent_r): Update caller.
78093 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78094
78095 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78096
78097 * stdlib/longlong.h: Update from GCC.
78098
78099 2012-08-16 Roland McGrath <roland@hack.frob.com>
78100
78101 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78102 on _QL, which is set by umul_ppmm but never used.
78103 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78104 variables, which are set by GMP macros but never used.
78105 * stdio-common/_itowa.c (_itowa): Likewise.
78106 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78107 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78108
78109 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78110
78111 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78112 struct La_sh_regs is not constant.
78113 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78114 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78115 and struct La_sparc64_regs are not constant.
78116
78117 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78118
78119 * sysdeps/unix/sysv/linux/kernel-features.h
78120 (__ASSUME_POSIX_TIMERS): Remove.
78121 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78123 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78124 Make code unconditional.
78125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78126 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78127 Make code unconditional.
78128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78129 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78130 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78132 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78133 Make code unconditional.
78134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78135 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78136 (__libc_missing_posix_timers): Remove.
78137
78138 2012-08-15 Roland McGrath <roland@hack.frob.com>
78139
78140 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78141 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78142
78143 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78144
78145 * elf/dl-sym.c: Include <stdlib.h>.
78146
78147 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78148 constants, which avoids warnings in 32-bit builds.
78149
78150 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78151 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78152
78153 * misc/lseek.c: File moved to ...
78154 * io/lseek.c: ... here.
78155
78156 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78157
78158 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78159 shifting LEN more than 31 bits at once.
78160
78161 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78162
78163 [BZ #14195]
78164 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78165 segmentation fault for a case of two empty input strings.
78166 * string/test-strncasecmp.c (check1): Renamed to...
78167 (bz12205): ...this.
78168 (bz14195): Add new testcase for two empty input strings and N > 0.
78169 (test_main): Call new testcase, adapt for renamed function.
78170
78171 2012-08-15 Andreas Jaeger <aj@suse.de>
78172
78173 [BZ #14090]
78174 * crypt/md5test2.c: New test, based on test supplied by Serge
78175 Belyshev <belyshev@depni.sinp.msu.ru>.
78176 * crypt/Makefile (xtests): Add md5test-giant..
78177 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78178
78179 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78180
78181 [BZ #14090]
78182 * crypt/md5.c (md5_process_block): Don't assume the buffer
78183 length is less than 2**32.
78184 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78185 length is less than 2**64.
78186
78187 2012-08-15 Roland McGrath <roland@hack.frob.com>
78188
78189 * string/str-two-way.h: Include <sys/param.h>.
78190 (MAX): Macro removed.
78191
78192 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78193 Move #define and #undef of memmove to just before and after
78194 including <string.h>.
78195
78196 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78197 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78198 and after including <string.h>. Move declarations of
78199 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78200 to before #include "string/memmove.c".
78201
78202 * include/dirent.h: Declare __getdirentries.
78203
78204 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78205 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78206
78207 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78208
78209 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78210 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78211 * sysdeps/i386/configure: Regenerated.
78212 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78213 STABS_CURRENT_FILE, and STABS_FUN.
78214 (END): Remove call to STABS_FUN_END.
78215 (STABS_CURRENT_FILE1): Delete.
78216 (STABS_CURRENT_FILE): Likewise.
78217 (STABS_FUN): Likewise.
78218 (STABS_FUN_END): Likewise.
78219 (STABS_FUN2): Likewise.
78220 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78221 * sysdeps/x86_64/configure: Regenerated.
78222
78223 2012-08-14 Roland McGrath <roland@hack.frob.com>
78224
78225 * elf/dl-open.c: Include <atomic.h>.
78226 * elf/dl-lookup.c: Likewise.
78227
78228 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78229
78230 * sysdeps/unix/sysv/linux/kernel-features.h
78231 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78232 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78233 unconditionally.
78234 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78235 unconditionally.
78236 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78237 condition on __ASSUME_CLONE_THREAD_FLAGS.
78238
78239 2012-08-14 Andreas Jaeger <aj@suse.de>
78240
78241 * sysdeps/i386/fpu/libm-test-ulps: Update.
78242
78243 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78244
78245 * include/atomic.h (atomic_exchange_and_add): Split into ...
78246 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78247 New atomic macros.
78248
78249 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78250
78251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78252
78253 2012-08-13 Jeff Law <law@redhat.com>
78254
78255 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78256 null byte in the output string.
78257
78258 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78259
78260 * sysdeps/unix/sysv/linux/kernel-features.h
78261 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78262 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78263 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78264 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78265 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78266 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78267 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78268
78269 2012-08-09 Jeff Law <law@redhat.com>
78270
78271 [BZ #13939]
78272 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78273 When avoid_arena is set, don't retry in the that arena. Pick the
78274 next one, whatever it might be.
78275 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78276 (arena_lock): Pass in new parameter to arena_get2.
78277 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78278 arena_get2.
78279 (__libc_malloc): Unify retrying after main arena failure with
78280 __libc_memalign version.
78281 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78282
78283 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78284
78285 [BZ #14166]
78286 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78287 to __redirect_strstr.
78288 (__strstr_sse42): Use typeof __redirect_strstr.
78289 (__strstr_ia32): Likewise.
78290 (__libc_strstr): New prototype.
78291 (strstr): Renamed to ...
78292 (__libc_strstr): This.
78293 (strstr): New strong alias of __libc_strstr.
78294 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78295 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78296 __redirect_time.
78297 Include <time.h>.
78298 (__libc_time): New prototype.
78299 (time_ifunc): Replace time with __libc_time.
78300 (time): New strong alias and hidden definition of __libc_time.
78301 (__GI_time): Remove strong alias.
78302 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78303 Include <stddef.h>.
78304 (memmove): Redefined to __redirect_memmove.
78305 (__memmove_sse2): Use typeof __redirect_memmove.
78306 (__memmove_ssse3): Likewise.
78307 (__memmove_ssse3_back): Likewise.
78308 (__libc_memmove): New prototype.
78309 (memmove): Renamed to ...
78310 (__libc_memmove): This.
78311 (memmove): New strong alias of __libc_memmove.
78312
78313 2012-08-08 Mark Salter <msalter@redhat.com>
78314
78315 * elf/elf.h
78316 (R_MN10300_TLS_GD): Define.
78317 (R_MN10300_TLS_LD): Likewise.
78318 (R_MN10300_TLS_LDO): Likewise.
78319 (R_MN10300_TLS_GOTIE): Likewise.
78320 (R_MN10300_TLS_IE): Likewise.
78321 (R_MN10300_TLS_LE): Likewise.
78322 (R_MN10300_TLS_DTPMOD): Likewise.
78323 (R_MN10300_TLS_DTPOFF): Likewise.
78324 (R_MN10300_TLS_TPOFF): Likewise.
78325 (R_MN10300_SYM_DIFF): Likewise.
78326 (R_MN10300_ALIGN): Likewise.
78327 (R_MN10300_NUM): Update.
78328
78329 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78330
78331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78332 Remove.
78333
78334 2012-08-08 Roland McGrath <roland@hack.frob.com>
78335
78336 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78337
78338 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78339 sysdeps/unix -> sysdeps/posix move.
78340 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78341
78342 2012-08-07 Allan McRae <allan@archlinux.org>
78343
78344 [BZ #14303]
78345 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78346 (SUNOS_CPP): Likewise.
78347 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78348 not found.
78349 (open_input): Call CPP using execvp.
78350
78351 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78352
78353 * sysdeps/unix/sysv/linux/kernel-features.h
78354 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78355 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78356 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78357 (__ASSUME_WAITID_SYSCALL): Likewise.
78358 * sysdeps/unix/sysv/linux/dl-execstack.c
78359 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78360 code unconditional.
78361 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78362 conditional code.
78363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78364 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78365 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78366 code.
78367 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78368 unconditional.
78369 [__ASSUME_WAITID_SYSCALL]: Likewise.
78370 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78371
78372 2012-08-07 Roland McGrath <roland@hack.frob.com>
78373
78374 * sysdeps/unix/closedir.c: Renamed to ...
78375 * sysdeps/posix/closedir.c: ... here.
78376 * sysdeps/unix/dirfd.c: Renamed to ...
78377 * sysdeps/posix/dirfd.c: ... here.
78378 * sysdeps/unix/dirstream.h: Renamed to ...
78379 * sysdeps/posix/dirstream.h: ... here.
78380 * sysdeps/unix/fdopendir.c: Renamed to ...
78381 * sysdeps/posix/fdopendir.c: ... here.
78382 * sysdeps/unix/opendir.c: Renamed to ...
78383 * sysdeps/posix/opendir.c: ... here.
78384 * sysdeps/unix/readdir.c: Renamed to ...
78385 * sysdeps/posix/readdir.c: ... here.
78386 * sysdeps/unix/readdir_r.c: Renamed to ...
78387 * sysdeps/posix/readdir_r.c: ... here.
78388 * sysdeps/unix/rewinddir.c: Renamed to ...
78389 * sysdeps/posix/rewinddir.c: ... here.
78390 * sysdeps/unix/seekdir.c: Renamed to ...
78391 * sysdeps/posix/seekdir.c: ... here.
78392 * sysdeps/unix/telldir.c: Renamed to ...
78393 * sysdeps/posix/telldir.c: ... here.
78394 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78395 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78396 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78397 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78398
78399 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78400 * bits/fcntl.h: ... here.
78401
78402 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78403 not 0.
78404 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78405 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78406 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78407 (struct flock): Move l_start, l_len to the beginning.
78408 Use __pid_t for l_pid.
78409 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78410 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78411 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78412 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78413 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78414 [__USE_LARGEFILE64] (struct flock64): New type.
78415 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78416
78417 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78418 * bits/dirent.h: ... here.
78419
78420 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78421 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78422
78423 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78424
78425 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78426 Change from 2.6.0 to 2.6.16.
78427 * sysdeps/unix/sysv/linux/configure: Regenerated.
78428 * sysdeps/unix/sysv/linux/kernel-features.h
78429 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78430 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78431 version.
78432 (__ASSUME_UTIMES): Likewise.
78433 (__ASSUME_CLONE_STOPPED): Remove.
78434 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78435 architectures, not kernel version.
78436 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78437 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78438 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78439 (__ASSUME_WAITID_SYSCALL): Likewise.
78440 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78441 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78442 * README: State 2.6.16 as minimum Linux kernel version. Do not
78443 refer to older versions.
78444
78445 2012-08-06 Roland McGrath <roland@hack.frob.com>
78446
78447 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78448 Define alphasort64 as an alias.
78449 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78450 Define versionsort64 as an alias.
78451 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78452 Define scandir64 as an alias.
78453 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78454 Define scandirat64 as an alias.
78455 * dirent/alphasort64.c (alphasort64):
78456 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78457 * dirent/versionsort64.c: Likewise.
78458 * dirent/scandir64.c: Likewise.
78459 * dirent/scandirat64.c: Likewise.
78460 * sysdeps/wordsize-64/alphasort.c: File removed.
78461 * sysdeps/wordsize-64/alphasort64.c: File removed.
78462 * sysdeps/wordsize-64/scandir.c: File removed.
78463 * sysdeps/wordsize-64/scandir64.c: File removed.
78464 * sysdeps/wordsize-64/scandirat.c: File removed.
78465 * sysdeps/wordsize-64/scandirat64.c: File removed.
78466 * sysdeps/wordsize-64/versionsort.c: File removed.
78467 * sysdeps/wordsize-64/versionsort64.c: File removed.
78468 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78469 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78470 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78472 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78476
78477 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78479 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78480 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78481 [defined __arch64__ || defined __sparcv9]
78482 (__INO_T_MATCHES_INO64_T): New macro.
78483 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78484 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78485 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78486 * sysdeps/unix/sysv/linux/bits/dirent.h
78487 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78488 (_DIRENT_MATCHES_DIRENT64): New macro.
78489
78490 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78491 Define lockf64 as an alias.
78492 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78493 Define fseeko64 as an alias.
78494 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78495 Define ftello64 as an alias.
78496 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78497 Define _IO_fgetpos64 and fgetpos64 as aliases.
78498 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78499 Define _IO_fsetpos64 and fsetpos64 as aliases.
78500 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78501 Conditionalize body on this.
78502 * libio/fseeko64.c: Likewise.
78503 * libio/ftello64.c: Likewise.
78504 * libio/iofgetpos64.c: Likewise.
78505 * libio/iofsetpos64.c: Likewise.
78506 * sysdeps/wordsize-64/lockf.c: File removed.
78507 * sysdeps/wordsize-64/lockf64.c: File removed.
78508 * sysdeps/wordsize-64/fseeko.c: File removed.
78509 * sysdeps/wordsize-64/fseeko64.c: File removed.
78510 * sysdeps/wordsize-64/ftello.c: File removed.
78511 * sysdeps/wordsize-64/ftello64.c: File removed.
78512 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78513 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78514 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78515 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78517 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78518 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78519 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78520 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78521 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78522 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78523 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78526
78527 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78529 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78531 [defined __arch64__ || defined __sparcv9]
78532 (__OFF_T_MATCHES_OFF64_T): New macro.
78533 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78534 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78536 (__OFF_T_MATCHES_OFF64_T): New macro.
78537
78538 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78539
78540 * stdlib/secure-getenv.c (__secure_getenv): Replace
78541 GLIBC_2_16 with GLIBC_2_17.
78542
78543 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78544
78545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78547
78548 2012-08-03 David S. Miller <davem@davemloft.net>
78549
78550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78551
78552 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78553
78554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78555 Remove.
78556 (__ASSUME_CORRECT_SI_PID): Likewise.
78557 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78558 (__ASSUME_TMPFS_NAME): Likewise.
78559 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78560 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78561 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78562 (HAVE_AUX_SECURE): Make definition unconditional.
78563 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78564 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78565
78566 2012-08-03 Roland McGrath <roland@hack.frob.com>
78567
78568 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78569 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78570 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78571 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78572 __eloop_threshold instead of SYMLOOP_MAX.
78573
78574 * sysdeps/generic/eloop-threshold.h: New file.
78575 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78576 of MAXSYMLINKS.
78577 * elf/chroot_canon.c (chroot_canon): Likewise.
78578
78579 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78580
78581 [BZ #13717]
78582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78583 Change to 2.6.0 everywhere.
78584 * sysdeps/unix/sysv/linux/configure: Regenerated.
78585 * sysdeps/unix/sysv/linux/kernel-features.h
78586 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78587 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78588 kernel versions.
78589 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78590 (__ASSUME_FUTEX_REQUEUE): Remove.
78591 (__ASSUME_STATFS64): Define unconditionally.
78592 (__ASSUME_AT_SECURE): Likewise.
78593 (__ASSUME_CORRECT_SI_PID): Likewise.
78594 (__ASSUME_TGKILL): Define without depending on kernel version for
78595 i386.
78596 (__ASSUME_UTIMES): Likewise.
78597 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78598 kernel version.
78599 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78600 (__ASSUME_TMPFS_NAME): Likewise.
78601 * README: Update reference to Linux kernel versions.
78602
78603 2012-08-02 Marek Polacek <polacek@redhat.com>
78604
78605 [BZ #14150]
78606 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78607 libc_cv_asm_type_prefix with %.
78608 * configure: Regenerated.
78609 * include/libc-symbols.h: Remove comment about
78610 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78611 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78612 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78613 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78614 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78615 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78616 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78617 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78618 * elf/tst-unique2mod1.c: Likewise.
78619 * elf/tst-unique1mod2.c: Likewise.
78620 * elf/tst-unique1mod1.c: Likewise.
78621 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78622 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78623 Replace ASM_TYPE_DIRECTIVE with .type.
78624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78625 * sysdeps/i386/sysdep.h: Likewise.
78626 * sysdeps/x86_64/sysdep.h: Likewise.
78627 * sysdeps/sh/sysdep.h: Likewise.
78628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78629 Do not define ASM_TYPE_DIRECTIVE.
78630 * sysdeps/powerpc/sysdep.h: Likewise.
78631 * sysdeps/powerpc/powerpc32/sysdep.h:
78632 Replace ASM_TYPE_DIRECTIVE with .type.
78633 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78634 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78635 * sysdeps/i386/fpu/e_powf.S: Likewise.
78636 * sysdeps/i386/fpu/e_expl.S: Likewise.
78637 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78638 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78639 * sysdeps/i386/fpu/e_pow.S: Likewise.
78640 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78641 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78642 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78643 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78644 * sysdeps/i386/fpu/e_log2.S: Likewise.
78645 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78646 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78647 * sysdeps/i386/fpu/e_powl.S: Likewise.
78648 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78649 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78650 * sysdeps/i386/fpu/e_logl.S: Likewise.
78651 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78652 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78653 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78654 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78655 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78656 * sysdeps/i386/fpu/e_log.S: Likewise.
78657 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78658 * sysdeps/i386/fpu/e_logf.S: Likewise.
78659 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78661 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78662 * sysdeps/i386/fpu/e_log10.S: Likewise.
78663 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78664 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78665 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78666 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78667 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78669 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78670 * sysdeps/i386/i686/strtok.S: Likewise.
78671 * sysdeps/i386/i386-mcount.S: Likewise.
78672 * sysdeps/i386/strtok.S: Likewise.
78673 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78674 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78675 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78676 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78677 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78678 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78679 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78680 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78681 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78682 * sysdeps/x86_64/_mcount.S: Likewise.
78683 * sysdeps/x86_64/strtok.S: Likewise.
78684 * sysdeps/sh/_mcount.S: Likewise.
78685
78686 2012-08-01 Roland McGrath <roland@hack.frob.com>
78687
78688 * libio/iofopen.c: Include <fcntl.h>.
78689 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78690 (_IO_fopen64, fopen64): Define as aliases.
78691 * libio/iofopen64.c: Include <fcntl.h>.
78692 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78693 Conditionalize body on this.
78694 * sysdeps/wordsize-64/iofopen.c: File removed.
78695 * sysdeps/wordsize-64/iofopen64.c: File removed.
78696
78697 2012-08-01 Marek Polacek <polacek@redhat.com>
78698
78699 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78700 Use dlfcn directly instead of a variable.
78701 (binfmt-subdir): Do not define.
78702 (dlfcn): Likewise.
78703
78704 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78705
78706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78707 Remove all definitions.
78708 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78709 <kernel-features.h>.
78710 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78711 (miss_F_GETOWN_EX): Remove all definitions.
78712 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78713 macro definition.
78714 [!__ASSUME_FCNTL64]: Remove conditional code.
78715 [__ASSUME_FCNTL64]: Make code unconditional.
78716 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78717 <kernel-features.h>.
78718 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78719 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78720 (lockf64) [__NR_fcntl64]: Make code unconditional.
78721 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78722
78723 * sysdeps/unix/sysv/linux/kernel-features.h
78724 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78725 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78726 Make code unconditional.
78727 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78728 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78730 [__NR_vfork]: Make code unconditional.
78731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78734 [__NR_vfork]: Make code unconditional.
78735 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78736 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78737
78738 2012-08-01 Roland McGrath <roland@hack.frob.com>
78739
78740 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78741 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78742
78743 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78744 Define mkstemp64 as an alias.
78745 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78746 Define mkstemps64 as an alias.
78747 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78748 Define mkostemp64 as an alias.
78749 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78750 Define mkostemps64 as an alias.
78751 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78752 Conditionalize body on this.
78753 * misc/mkostemp64.c: Likewise.
78754 * misc/mkostemps64.c: Likewise.
78755 * misc/mkstemps64.c: Likewise.
78756 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78757 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78758 * sysdeps/wordsize-64/mkostemp.c: File removed.
78759 * sysdeps/wordsize-64/mkstemp.c: File removed.
78760 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78761 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78763 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78764
78765 [BZ #14138]
78766 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78767 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78768 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78769 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78770
78771 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78772 compat_symbol macros from <shlib-compat.h> rather than the underlying
78773 default_symbol_version and symbol_version macros, so that DEFAULT
78774 lines in shlib-versions are respected.
78775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78776
78777 2012-08-01 Florian Weimer <fweimer@redhat.com>
78778
78779 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78780 Declare with warn_unused_result.
78781 (setgid, setregid, setegid, setresgid): Likewise.
78782 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78783 Likewise.
78784 * WUR-REPORT: Remove set*id functions.
78785
78786 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78787
78788 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78789
78790 2012-07-31 Roland McGrath <roland@hack.frob.com>
78791
78792 [BZ #10191]
78793 * include/sys/socket.h (__libc_accept, __libc_accept4):
78794 Add attribute_hidden.
78795 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78796
78797 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78798 use of PTR_MANGLE.
78799 * inet/getnetgrent_r.c (setup): Likewise.
78800
78801 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78802
78803 2012-07-31 David S. Miller <davem@davemloft.net>
78804
78805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78806
78807 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78808
78809 [BZ #13629]
78810 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78811 value between 1.0 and 2.0 and smaller part has absolute value less
78812 than 1.0.
78813 * math/s_clog10.c (__clog10): Likewise.
78814 * math/s_clog10f.c (__clog10f): Likewise.
78815 * math/s_clog10l.c (__clog10l): Likewise.
78816 * math/s_clogf.c (__clogf): Likewise.
78817 * math/s_clogl.c (__clogl): Likewise.
78818 * math/libm-test.inc (clog_test): Add more tests.
78819 (clog10_test): Likewise.
78820 * sysdeps/i386/fpu/libm-test-ulps: Update.
78821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78822
78823 2012-07-31 Florian Weimer <fweimer@redhat.com>
78824
78825 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78826 Exit with zero in case no suitable GID is found, and write a
78827 message to standard error.
78828
78829 2012-07-30 Roland McGrath <roland@hack.frob.com>
78830
78831 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78832 rather than to 1.
78833 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78834 (MAXPATHLEN): Removed.
78835 (NOGROUP, NODEV): New macros.
78836 (setbit, clrbit, isset, isclr): New macros.
78837 (howmany, roundup, powerof2): New macros.
78838 (DEV_BSIZE): New macro.
78839
78840 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78841 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78842
78843 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78844 definition on [!__NO_LONG_DOUBLE_MATH].
78845
78846 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78847 PTR_MANGLE and PTR_DEMANGLE.
78848
78849 * socket/accept4.c (accept4): Rename to __libc_accept4.
78850 Define accept4 as a weak alias.
78851
78852 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78853 on [_DIRENT_HAVE_D_TYPE].
78854 * io/ftw.c (ftw_dir): Likewise.
78855
78856 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78857
78858 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78859
78860 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78861 Use the BSD numbers rather than the arbitrary ones we had.
78862 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78863 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78864 (SIGXCPU, SIGXFSZ): New macros.
78865 (_NSIG): Now 32.
78866
78867 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78868 initializer on [_LIBC_REENTRANT].
78869
78870 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78871 definitions inside [_POSIX_MAPPED_FILES].
78872
78873 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78874
78875 * dirent/opendir.c: Include <fcntl.h>.
78876
78877 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78878 (__libc_getspecific): Likewise.
78879 (__libc_key_create): Likewise.
78880
78881 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78882 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78883 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78884 (tmpfile64): Define as alias.
78885 * sysdeps/wordsize-64/tmpfile.c: File removed.
78886 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78888 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78889
78890 * stdio-common/vfscanf.c: Include <stdbool.h>.
78891 * nss/makedb.c: Likewise.
78892 * stdio-common/_i18n_number.h: Likewise.
78893 * argp/argp-help.c: Likewise.
78894 * posix/wordexp.c: Likewise.
78895 * sysdeps/posix/spawni.c: Likewise.
78896 * nss/nss_files/files-initgroups.c: Likewise.
78897 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78898 * nss/nss_files/files-initgroups.c: Likewise.
78899 * nss/nss_db/db-netgrp.c: Likewise.
78900 * nss/nss_db/db-initgroups.c: Likewise.
78901 * io/fchmodat.c: Include <sys/stat.h>.
78902
78903 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78904 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78905
78906 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78907 [HAVE_MMAP].
78908
78909 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78910 Add multiple inclusion protection.
78911
78912 2012-07-27 David S. Miller <davem@davemloft.net>
78913
78914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78915
78916 2012-07-27 Gary Benson <gbenson@redhat.com>
78917
78918 [BZ #14298]
78919 * elf/rtld.c: Include <stap-probe.h>.
78920 (dl_main): Added static probes "init_start" and "init_complete".
78921 * elf/dl-load.c: Include <stap-probe.h>.
78922 (lose): Take new parameter "nsid".
78923 Added static probe "map_failed".
78924 (_dl_map_object_from_fd): Pass namespace id to lose.
78925 Added static probe "map_start".
78926 (open_verify): Pass namespace id to lose.
78927 * elf/dl-open.c: Include <stap-probe.h>.
78928 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78929 and "reloc_complete".
78930 * elf/dl-close.c: Include <stap-probe.h>.
78931 (_dl_close_worker): Added static probes "unmap_start" and
78932 "unmap_complete".
78933 * elf/rtld-debugger-interface.txt: New file documenting the above.
78934
78935 2012-07-26 Roland McGrath <roland@hack.frob.com>
78936
78937 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78938 rather than a string variable.
78939 * sunrpc/rpc_main.c (h_output): Likewise.
78940 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78941
78942 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78943
78944 * inet/check_native.c: New file.
78945
78946 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78947
78948 [BZ #13629]
78949 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78950 if larger part has absolute value 1.0.
78951 * math/s_clog10.c (__clog10): Likewise.
78952 * math/s_clog10f.c (__clog10f): Likewise.
78953 * math/s_clog10l.c (__clog10l): Likewise.
78954 * math/s_clogf.c (__clogf): Likewise.
78955 * math/s_clogl.c (__clogl): Likewise.
78956 * math/libm-test.inc (clog_test): Add more tests.
78957 (clog10_test): Likewise.
78958 * sysdeps/i386/fpu/libm-test-ulps: Update.
78959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78960
78961 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78962 (pltexit): Likewise.
78963 (La_regs): Likewise.
78964 (La_retval): Likewise.
78965 (int_retval): Likewise.
78966 Update #error for removed macros to refer only to definitions in
78967 tst-audit.h.
78968 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78969 macro.
78970 (pltexit): Likewise.
78971 (La_regs): Likewise.
78972 (La_retval): Likewise.
78973 (int_retval): Likewise.
78974 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78975 macro.
78976 (pltexit): Likewise.
78977 (La_regs): Likewise.
78978 (La_retval): Likewise.
78979 (int_retval): Likewise.
78980 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78981 macro.
78982 (pltexit): Likewise.
78983 (La_regs): Likewise.
78984 (La_retval): Likewise.
78985 (int_retval): Likewise.
78986 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78987 macro.
78988 (pltexit): Likewise.
78989 (La_regs): Likewise.
78990 (La_retval): Likewise.
78991 (int_retval): Likewise.
78992 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78993 macro.
78994 (pltexit): Likewise.
78995 (La_regs): Likewise.
78996 (La_retval): Likewise.
78997 (int_retval): Likewise.
78998 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78999 macro.
79000 (pltexit): Likewise.
79001 (La_regs): Likewise.
79002 (La_retval): Likewise.
79003 (int_retval): Likewise.
79004 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79005 macro definitions in tst-audit.h.
79006 * sysdeps/i386/tst-audit.h: New file.
79007 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79008 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79009 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79010 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79011 * sysdeps/sh/tst-audit.h: Likewise.
79012 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79013 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79014 * sysdeps/x86_64/tst-audit.h: Likewise.
79015
79016 2012-07-26 Andreas Jaeger <aj@suse.de>
79017
79018 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79019 ptrace.
79020
79021 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79022 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79023 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79024 PTRACE_O_MASK.
79025 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79026 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79027 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79028
79029 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79030 value.
79031
79032 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79033 _sigsys.
79034 (si_call_addr, si_syscall, si_arch): Define new macro.
79035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79036 _sigsys.
79037 (si_call_addr, si_syscall, si_arch): Define new marcro.
79038 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79039 _sigsys.
79040 (si_call_addr, si_syscall, si_arch): Define new macro.
79041 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79042 _sigsys.
79043 (si_call_addr, si_syscall, si_arch): Define new macro.
79044
79045 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79046
79047 [BZ #13717]
79048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79049 Change to 2.4.21 where previously 2.4.1.
79050 * sysdeps/unix/sysv/linux/configure: Regenerated.
79051 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79052 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79053 Linux kernel version.
79054 (__ASSUME_STD_AUXV): Remove.
79055 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79056 kernel version.
79057 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79058 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79059 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79060 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79061 (__ASSUME_NETLINK_SUPPORT): Likewise.
79062 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79063 (__no_netlink_support): Remove conditional definition.
79064 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79065 Remove.
79066 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79067 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79068 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79069 (if_nameindex_ioctl): Remove.
79070 (if_nameindex_netlink): Do not handle __no_netlink_support.
79071 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79072 code.
79073 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79074 Remove conditional code.
79075 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79076 code.
79077 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79078 unconditional.
79079 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79080 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79081 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79082 Remove.
79083 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79084 [!__ASSUME_STD_AUXV]: Remove conditional code.
79085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79086 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79087 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79089 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79090 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79091 code.
79092 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79094 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79095 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79096 conditional code.
79097 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79099 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79100 code.
79101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79102 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79103 conditional code.
79104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79105 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79106 code unconditional.
79107 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79108 conditional code.
79109 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79110 unconditional.
79111 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79112 conditional code.
79113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79114 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79115 unconditional.
79116 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79117 conditional code.
79118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79119 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79120 code unconditional.
79121 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79122 conditional code.
79123 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79124 unconditional.
79125 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79126 conditional code.
79127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79128 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79129 code unconditional.
79130 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79131 conditional code.
79132 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79133 unconditional.
79134 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79135 conditional code.
79136
79137 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79138
79139 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79140 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79141 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79142 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79143 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79144 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79145 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79146 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79147 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79148 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79149 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79150 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79151 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79152 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79154 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79155 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79156 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79157 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79159 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79160 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79161 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79162
79163 2012-07-25 Florian Weimer <fweimer@redhat.com>
79164
79165 * Versions.def: Add GLIBC_2.17.
79166 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79167 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79168 Introduce __libc_secure_getenv.
79169 * stdlib/Versions (2.17): Add secure_getenv
79170 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79171 * stdlib/secure-getenv.c: Rename __secure_getenv to
79172 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79173 symbol __secure_getenv for GLIBC_2.0.
79174 * stdlib/tst-secure-getenv.c: New.
79175 * stdlib/Makefile (tests): Add testcase.
79176 * manual/startup.texi (Environment Access): Document
79177 secure_getenv.
79178 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79179 __libc_secure_getenv.
79180 * inet/ruserpass.c (ruserpass): Likewise.
79181 * malloc/mtrace.c (mtrace): Likewise.
79182 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79183 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79184 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79185 * sysdeps/posix/tempname.c: Likewise. Evaluate
79186 HAVE_SECURE_GETENV.
79187 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79188 __secure_getenv to __libc_secure_getenv.
79189 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79191 Likewise.
79192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79193 Likewise.
79194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79201
79202 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79203
79204 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79205 (struct La_i86_retval): Likewise.
79206 (struct La_x86_64_regs): Likewise.
79207 (struct La_x86_64_retval): Likewise.
79208 (struct La_x32_regs): Likewise.
79209 (struct La_x32_retval): Likewise.
79210 (struct La_ppc32_regs): Likewise.
79211 (struct La_ppc32_retval): Likewise.
79212 (struct La_ppc64_regs): Likewise.
79213 (struct La_ppc64_retval): Likewise.
79214 (struct La_sh_regs): Likewise.
79215 (struct La_sh_retval): Likewise.
79216 (struct La_s390_32_regs): Likewise.
79217 (struct La_s390_32_retval): Likewise.
79218 (struct La_s390_64_regs): Likewise.
79219 (struct La_s390_64_retval): Likewise.
79220 (struct La_sparc32_regs): Likewise.
79221 (struct La_sparc32_retval): Likewise.
79222 (struct La_sparc64_regs): Likewise.
79223 (struct La_sparc64_retval): Likewise.
79224 (struct audit_ifaces): Remove architecture-specific pltenter and
79225 pltexit members.
79226 * sysdeps/i386/ldsodefs.h: New file.
79227 * sysdeps/powerpc/ldsodefs.h: Likewise.
79228 * sysdeps/s390/ldsodefs.h: Likewise.
79229 * sysdeps/sh/ldsodefs.h: Likewise.
79230 * sysdeps/sparc/ldsodefs.h: Likewise.
79231 * sysdeps/x86_64/ldsodefs.h: Likewise.
79232
79233 2012-07-25 Marek Polacek <polacek@redhat.com>
79234
79235 [BZ #6808]
79236 * math/libm-test.inc (yn_test): Add another test.
79237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79238 to ERANGE when the result is +-Inf.
79239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79240 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79241 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79242 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79243
79244 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79245
79246 * conform/data/time.h-data (NULL): Use macro-constant. Require
79247 equal to 0.
79248 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79249 clock_t.
79250 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79251
79252 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79253
79254 * configure.in <sysdeps resolving>: Correct printing
79255 Implies_before.
79256 * configure: Regenerate.
79257
79258 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79259
79260 * math/w_ilogb.c: Include <limits.h>.
79261 * math/w_ilogbl.c: Likewise.
79262
79263 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79264
79265 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79266 va_copy. Document allowing for unavailable va_copy only as
79267 pre-C99 compatibility.
79268 * manual/string.texi (Copying and Concatenation): Use va_copy
79269 instead of __va_copy in concat example.
79270
79271 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79272
79273 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79274 (__sendto): Use create_address_port. Initialize APORT and deallocate
79275 it if not null.
79276
79277 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79278 with O_NOLINK passed to __file_name_lookup.
79279
79280 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79281 with O_NOLINK passed to __file_name_lookup.
79282
79283 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79284 negative N or less than NGIDS.
79285
79286 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79287 type to string_t. Set ERANGE as errno and return it if NAME is not big
79288 enough. Use memcpy instead of strncpy.
79289
79290 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79291
79292 * elf/Makefile (check-data): Remove.
79293 (localplt.data): New vpath directive.
79294 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79295 instead of $(check-data).
79296 * scripts/data/localplt-generic.data: Move to ...
79297 * sysdeps/generic/localplt.data: ... here.
79298 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79299 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79300 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79302 ... here.
79303 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79305 ... here.
79306 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79308 ... here.
79309 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79311 ... here.
79312 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79314 ... here.
79315 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79317 ... here.
79318
79319 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79320
79321 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79322 PPC32 and PPC64 files.
79323 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79324 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79325
79326 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79327
79328 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79329 __makecontext_ret to ...
79330 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79331 ... here and call exit if uc_link is NULL. New file.
79332 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79333 __makecontext_ret.S.
79334 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79335 __makecontext_ret to ...
79336 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79337 ... here and call exit if uc_link is NULL. New file.
79338 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79339 __makecontext_ret.S.
79340
79341 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79342
79343 * elf/elf.h (R_390_IRELATIVE): New definition.
79344 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79345 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79346 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79347 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79348 (elf_machine_lazy_rel): Likewise.
79349 * sysdeps/s390/dl-irel.h: New file.
79350 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79351 * sysdeps/s390/s390-64/memset.S: New asm code.
79352 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79353 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79354 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79355 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79356 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79357 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79358 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79359 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79360 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79361 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79362 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79363 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79364 * sysdeps/s390/s390-32/memset.S: New asm code.
79365 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79366
79367 2012-07-17 Marek Polacek <polacek@redhat.com>
79368
79369 [BZ #14349]
79370 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79371 * sysdeps/s390/s390-64/configure.in: Likewise.
79372 * sysdeps/sparc/configure.in: Likewise.
79373 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79374 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79375 * sysdeps/i386/configure.in: Likewise.
79376 * sysdeps/x86_64/configure.in: Likewise.
79377 * sysdeps/sh/configure.in: Likewise.
79378 * sysdeps/s390/s390-32/configure: Regenerated.
79379 * sysdeps/s390/s390-64/configure: Likewise.
79380 * sysdeps/x86_64/configure: Likewise.
79381 * sysdeps/sh/configure: Likewise.
79382 * sysdeps/powerpc/powerpc64/configure: Likewise.
79383 * sysdeps/powerpc/powerpc32/configure: Likewise.
79384 * sysdeps/sparc/configure: Likewise.
79385 * sysdeps/i386/configure: Likewise.
79386
79387 * elf/dl-open.c: Comment fixes.
79388
79389 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79390
79391 * Makefile [CXX] (check-data): Remove.
79392 [CXX] (c++-types.data): New vpath directive.
79393 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79394 vpath. Do not allow for C++ type data being missing.
79395 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79396 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79397 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79398 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79399 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79400 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79401 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79403 ... here.
79404 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79406 ... here.
79407 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79409 ... here.
79410 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79412 ... here.
79413 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79415 ... here.
79416 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79418 ... here.
79419 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79421 ... here.
79422 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79424
79425 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79426 definitions to architecture-specific files.
79427 (TLS_IE): Likewise.
79428 (TLS_LD): Likewise.
79429 (TLS_GD): Likewise.
79430 * sysdeps/i386/tls-macros.h: New file.
79431 * sysdeps/powerpc/tls-macros.h: Likewise.
79432 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79433 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79434 * sysdeps/sh/tls-macros.h: Likewise.
79435 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79436 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79437 * sysdeps/x86_64/tls-macros.h: Likewise.
79438
79439 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79440
79441 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79442 zero value for regular exit case.
79443
79444 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79445 (__start_context): Preserve zero value for regular exit case.
79446
79447 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79448 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79449
79450 * manual/setjmp.texi (setcontext): Clarify normal process
79451 termination when uc_link is the null pointer.
79452 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79453 exit call.
79454
79455 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79456
79457 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79458 preprocessor. Test for each exception mask separately.
79459
79460 2012-07-16 Andreas Jaeger <aj@suse.de>
79461
79462 * po/ru.po: Update from translation team.
79463
79464 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79465
79466 * conform/data/string.h-data (NULL): Use macro-constant. Require
79467 equal to 0.
79468 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79469 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79470 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79471 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79473
79474 2012-07-13 Andreas Jaeger <aj@suse.de>
79475
79476 * po/fr.po: Update from translation team.
79477
79478 2012-07-12 Marek Polacek <polacek@redhat.com>
79479
79480 [BZ #14173]
79481 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79482 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79483 loop condition.
79484
79485 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79486
79487 [BZ #13717]
79488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79489 Change to 2.4.1 where previously 2.4.0.
79490 * sysdeps/unix/sysv/linux/configure: Regenerated.
79491 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79492 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79493 version.
79494 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79495 (__ASSUME_AT_CLKTCK): Remove.
79496 (__ASSUME_AT_PAGESIZE): Likewise.
79497 (__ASSUME_AT_XID): Likewise.
79498 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79499 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79500 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79501 unconditionally.
79502 (HAVE_AUX_PAGESIZE): Likewise.
79503 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79504 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79505 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79506
79507 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79508
79509 [BZ #14307]
79510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79511 the temporary buffer used to invoke __gethostbyname2_r,
79512 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79513 host_data / struct gaih_addrtuple.
79514 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79515 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79516 header file nss/nsswitch.h.
79517 * nss/nsswitch.h (global scope): Add definition of implementation
79518 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79519 resolv/nss_dns/dns-host.c).
79520
79521 2012-07-11 Andreas Jaeger <aj@suse.de>
79522
79523 * po/fr.po: Update from translation team.
79524
79525 * po/sv.po: Update from translation team
79526 * po/fr.po: Another update from translation team.
79527
79528 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79529
79530 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79531 for subnormals or multiply small sinh result by itself.
79532 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79534
79535 2012-07-11 David S. Miller <davem@davemloft.net>
79536
79537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79538
79539 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79540
79541 [BZ #14347]
79542 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79543 (INTERNAL_MARK): Shift it here.
79544
79545 2012-07-10 Marek Polacek <polacek@redhat.com>
79546
79547 [BZ #14151]
79548 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79549 libc_cv_asm_global_directive with .globl.
79550 * configure: Regenerated.
79551 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79552 with .globl.
79553 * sysdeps/i386/configure: Regenerated.
79554 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79555 with .globl.
79556 * sysdeps/x86_64/configure: Regenerated.
79557 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79558 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79559 * elf/tst-unique2mod2.c: Likewise.
79560 * elf/tst-unique2mod1.c: Likewise.
79561 * elf/tst-unique1mod2.c: Likewise.
79562 * elf/tst-unique1mod1.c: Likewise.
79563 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79564 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79566 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79567 * sysdeps/mach/sysdep.h: Likewise.
79568 * sysdeps/i386/sysdep.h: Likewise.
79569 * sysdeps/i386/i386-mcount.S: Likewise.
79570 * sysdeps/x86_64/_mcount.S: Likewise.
79571 * sysdeps/x86_64/sysdep.h: Likewise.
79572 * sysdeps/sh/_mcount.S: Likewise.
79573 * sysdeps/sh/sysdep.h: Likewise.
79574 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79575 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79576 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79577 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79578 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79579 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79580 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79581 * locale/localeinfo.h: Likewise.
79582 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79583 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79584
79585 2012-07-09 Roland McGrath <roland@hack.frob.com>
79586
79587 [BZ #14336]
79588 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79589 system".
79590 * manual/message.texi (The Uniforum approach): Likewise.
79591 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79592 (glibc iconv Implementation): Likewise.
79593
79594 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79595
79596 [BZ #14337]
79597 * math/s_clog.c (__clog): Avoid scaling a value down where that
79598 could result in underflow.
79599 * math/s_clog10.c (__clog10): Likewise.
79600 * math/s_clog10f.c (__clog10f): Likewise.
79601 * math/s_clog10l.c (__clog10l): Likewise.
79602 * math/s_clogf.c (__clogf): Likewise.
79603 * math/s_clogl.c (__clogl): Likewise.
79604 * math/libm-test.inc (clog_test): Add more tests.
79605 (clog10_test): Likewise.
79606 * sysdeps/i386/fpu/libm-test-ulps: Update.
79607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79608
79609 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79610
79611 [BZ #14283]
79612 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79613 by 7 not 8 to examine high bit of fractional part.
79614
79615 [BZ #14042]
79616 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79617 for call to __mcount_internal.
79618 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79619 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79620 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79621
79622 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79623
79624 [BZ #14154]
79625 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79626 approximation for values within 0x1p-13f of an odd multiple of
79627 pi/4.
79628 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79629 exception. Add more tests.
79630 * sysdeps/i386/fpu/libm-test-ulps: Update.
79631
79632 [BZ #6778]
79633 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79634 inputs and return -1 for them. Do not check for +Inf in case not
79635 reachable for +Inf.
79636 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79637 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79639 and return -1 for them. Do not check for +Inf in case not
79640 reachable for +Inf.
79641 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79642 define.
79643 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79644 and return -1 for them. Do not check for +Inf in case not
79645 reachable for +Inf.
79646 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79647 spurious underflow.
79648 * sysdeps/i386/fpu/libm-test-ulps: Update.
79649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79650
79651 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79652
79653 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79654
79655 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79656
79657 [BZ #14157]
79658 [BZ #14331]
79659 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79660 could result in spurious underflow. Scale down values above
79661 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79662 * math/s_csqrtf.c (__csqrtf): Likewise.
79663 * math/s_csqrtl.c (__csqrtl): Likewise.
79664 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79665 spurious underflow.
79666 * sysdeps/i386/fpu/libm-test-ulps: Update.
79667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79668
79669 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79670
79671 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79672 xopen-msg.sed.
79673 * catgets/xopen-msg.awk: New file.
79674 * catgets/xopen-msg.sed: Removed.
79675
79676 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79677 po2text.sed.
79678 * intl/po2test.awk: New file.
79679 * intl/po2test.sed: Removed.
79680
79681 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79682
79683 [BZ #14328]
79684 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79685 or multiply small sinh result by itself.
79686 * math/s_ctanf.c (__ctanf): Likewise.
79687 * math/s_ctanh.c (__ctanh): Likewise.
79688 * math/s_ctanhf.c (__ctanhf): Likewise.
79689 * math/s_ctanhl.c (__ctanhl): Likewise.
79690 * math/s_ctanl.c (__ctanl): Likewise.
79691 * math/libm-test.inc (ctan_test_tonearest): New function.
79692 (ctan_test_towardzero): Likewise.
79693 (ctan_test_downward): Likewise.
79694 (ctan_test_upward): Likewise.
79695 (ctanh_test_tonearest): Likewise.
79696 (ctanh_test_towardzero): Likewise.
79697 (ctanh_test_downward): Likewise.
79698 (ctanh_test_upward): Likewise.
79699 (main): Call these new functions.
79700 * sysdeps/i386/fpu/libm-test-ulps: Update.
79701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79702
79703 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79704
79705 * .gitignore: Delete /ports entry.
79706
79707 2012-07-03 Andreas Jaeger <aj@suse.de>
79708
79709 * po/bg.po: Update from translation team.
79710 * po/cs.po: Likewise.
79711 * po/de.po: Likewise.
79712 * po/hr.po: Likewise.
79713 * po/nl.pl: Likewise.
79714 * po/pl.po: Likewise.
79715 * po/vi.po: Likewise.
79716
79717 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79718
79719 * Makeconfig [!+link] (+link-before-libc): New variable.
79720 [!+link] (+link-after-libc): Likewise.
79721 [!+link] (+link-tests): Likewise.
79722 [!+link] (+link): Define in terms of $(+link-before-libc) and
79723 $(+link-after-libc).
79724 [!+link-static] (+link-static-before-libc): New variable.
79725 [!+link-static] (+link-static-after-libc): Likewise.
79726 [!+link-static] (+link-static-tests): Likewise.
79727 [!+link-static] (+link-static): Define in terms of
79728 $(+link-static-before-libc) and $(+link-static-after-libc).
79729 [build-shared] (link-libc-before-gnulib): New variable.
79730 [build-shared] (link-libc-tests): Likewise.
79731 [build-shared] (link-libc): Define in terms of
79732 $(link-libc-before-gnulib).
79733 [!build-shared] (link-libc-tests): New variable.
79734 (link-libc-static-tests): New variable.
79735 [!gnulib] (gnulib-arch): New variable.
79736 [!gnulib] (gnulib-tests): Likewise.
79737 [!gnulib] (static-gnulib-arch): Likewise.
79738 [!gnulib] (static-gnulib-tests): Likewise.
79739 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79740 Define with "=" instead of ":=".
79741 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79742 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79743 * Rules (binaries-all-notests): New variable.
79744 (binaries-all-tests): Likewise.
79745 (binaries-static-notests): Likewise.
79746 (binaries-static-tests): Likewise.
79747 (binaries-all): Define using $(binaries-all-notests) and
79748 $(binaries-all-tests).
79749 (binaries-static): Define using $(binaries-static-notests) and
79750 $(binaries-static-tests).
79751 (binaries-shared-tests): New variable.
79752 (binaries-shared-notests): Likewise.
79753 (binaries-shared): Remove variable.
79754 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79755 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79756 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79757 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79758 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79759 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79760 * elf/Makefile (sln-modules): New variable.
79761 (extra-objs): Add $(sln-modules:=.o).
79762 (ldconfig-modules): Add static-stubs.
79763 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79764 * elf/static-stubs.c: New file.
79765
79766 [BZ #14283]
79767 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79768 by 7 not 8 to examine high bit of fractional part. Use volatile
79769 variables when splitting into final array of floats if
79770 __FLT_EVAL_METHOD__ != 0.
79771 * math/libm-test.inc (cos_test): Add another test.
79772 (sin_test): Likewise.
79773 * sysdeps/i386/fpu/libm-test-ulps: Update.
79774
79775 [BZ #14273]
79776 * math/libm-test.inc (cosh_test): Add more tests.
79777
79778 * version.h (RELEASE): Set to "development".
79779 (VERSION): Set to "2.16.90".
79780
79781 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79782
79783 * NEWS: Update copyright. Remove last-updated date.
79784 Mention math library bug fixes and timezone data changes.
79785 * README: Mention GNU/Hurd, x32, and HPPA support status.
79786
79787 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79788
79789 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79790
79791 2012-06-27 Andreas Jaeger <aj@suse.de>
79792
79793 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79794
79795 2012-06-25 Andreas Jaeger <aj@suse.de>
79796
79797 * sysdeps/s390/fpu/libm-test-ulps: Update.
79798
79799 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79800 Thomas Schwinge <thomas@codesourcery.com>
79801
79802 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79803 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79805 fanotify_mark.
79806
79807 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79808
79809 * sysdeps/mach/start.c: Remove file.
79810 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79811 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79812 * sysdeps/sh/init-first.c: Likewise.
79813
79814 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79815 registers for frame unwinding purposes, add CFI directives.
79816 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79818 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79819 Likewise.
79820
79821 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79822 __fortify_fail returning.
79823 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79824
79825 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79826 sysdeps/sh/____longjmp_chk.S.
79827 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79828 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79829 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79830 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79831
79832 * sysdeps/sh/abort-instr.h: New file.
79833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79834 process in case exit returns.
79835
79836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79837 initialize the GOT register before use.
79838
79839 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79840 calculation of ARGC > 4.
79841
79842 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79843 meaningful names to some local labels.
79844
79845 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79846 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79847
79848 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79849 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79850 (__arch_compare_and_exchange_val_16_acq): Likewise.
79851 (__arch_compare_and_exchange_val_32_acq): Likewise.
79852 (atomic_exchange_and_add): Fix gUSA sequence.
79853 (atomic_add): Likewise.
79854 (atomic_add_negative): Likewise.
79855 (atomic_add_zero): Likewise.
79856 (atomic_bit_test_set): Likewise.
79857
79858 2012-06-22 Andreas Schwab <schwab@redhat.com>
79859
79860 [BZ #13579]
79861 * include/link.h (struct link_map): Add l_free_initfini.
79862 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79863 l_initfini.
79864 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79865 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79866 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79867 set.
79868
79869 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79870
79871 * configure.in: Use AC_LANG_SOURCE.
79872 * configure: Regenerate.
79873
79874 2012-06-22 Roland McGrath <roland@hack.frob.com>
79875
79876 * configure.in (libc_cv_localstatedir): New substituted variable.
79877 * configure: Regenerated.
79878 * config.make.in (localstatedir): New variable, substituted from
79879 libc_cv_localstatedir.
79880 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79881 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79882 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79883 * sysdeps/gnu/configure: Regenerated.
79884
79885 2012-06-21 Jeff Law <law@redhat.com>
79886
79887 [BZ #14277]
79888 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79889 free. Simplify list management for _LIBC case.
79890
79891 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79892
79893 [BZ #14273]
79894 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79895 Clear sign bit of 64-bit integer value before comparing against
79896 overflow value.
79897
79898 * sysdeps/mach/configure: Regenerated.
79899
79900 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79901
79902 [BZ #14278]
79903 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79904
79905 2012-06-21 Jeff Law <law@redhat.com>
79906
79907 [BZ #13882]
79908 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79909 uint16_t for elements in the "seen" array to avoid char overflows.
79910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79911 * elf/dl-open.c (dl_open_worker): Likewise.
79912
79913 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79914
79915 * scripts/list-sources.sh: Scan PORTS for translations.
79916 * po/libc.pot: Regenerated.
79917
79918 2012-06-21 Andreas Jaeger <aj@suse.de>
79919
79920 [BZ #12194]
79921 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79922 warning.
79923 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79924 * bits/byteswap-16.h (__bswap_16): Likewise.
79925 * bits/byteswap.h (__bswap_constant_16): Likewise.
79926
79927 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79928
79929 [BZ #14117]
79930 * sysdeps/i386/fpu_control.h: Removed.
79931 * sysdeps/x86_64/fpu_control.h: Moved to ...
79932 * sysdeps/x86/fpu_control.h: Here.
79933
79934 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79935 (_FPU_SETCW): Likewise.
79936
79937 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79938
79939 [BZ #14117]
79940 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79941 * sysdeps/x86/fpu/bits/mathinline.h: This.
79942 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79943
79944 [BZ #14050]
79945 [BZ #14117]
79946 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79947 functions if __x86_64__ is defined.
79948
79949 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79950
79951 * string/endian.h: Add !__ASSEMBLER__ condition for including
79952 conversion interfaces.
79953
79954 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79955
79956 [BZ #14241]
79957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79958 of ABS(x) in calculating zero to negative powers other than odd
79959 integers.
79960 * math/libm-test.inc (pow_test): Add more tests.
79961
79962 2012-06-15 Andreas Jaeger <aj@suse.de>
79963
79964 * manual/contrib.texi (Contributors): Update entry of Liubov
79965 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79966 Machado Filho.
79967
79968 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79969
79970 * string/string.h: Add __wur to GNU version of strerror_r.
79971
79972 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79973
79974 [BZ #14229]
79975 * string/Makefile (tests): Add tst-strtok_r.
79976 * string/tst-strtok_r.c: New file.
79977 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79978 RAX_LP/RDX_LP on SAVE_PTR.
79979
79980 2012-06-14 Roland McGrath <roland@hack.frob.com>
79981
79982 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79983
79984 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79985
79986 * libm_test.inc (csqrt_test): Allow more spurious underflow
79987 exceptions.
79988 (j0_test): Likewise.
79989 (j1_test): Likewise.
79990 (y0_test): Likewise.
79991 (y1_test): Likewise.
79992
79993 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79994
79995 * po/Makefile (libc.pot): Use UTF-8 charset.
79996
79997 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79998
79999 [BZ #14210]
80000 Suppress sign-conversion warning from FD_SET.
80001 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80002 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80003 not unsigned long int.
80004 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80005
80006 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80007
80008 [BZ #14050]
80009 [BZ #14117]
80010 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80011 __extern_always_inline instead of __extern_inline.
80012 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80013 (__signbit): Likewise.
80014 (__signbitl): Support C++ namespace.
80015 (lrintf): New inline function.
80016 (lrint): Likewise.
80017 (llrintf): Likewise.
80018 (llrint): Likewise.
80019 (fmaxf): Likewise.
80020 (fmax): Likewise.
80021 (fminf): Likewise.
80022 (fmin): Likewise.
80023 (rint): Likewise.
80024 (rintf): Likewise.
80025 (ceil): Likewise.
80026 (ceilf): Likewise.
80027 (floor): Likewise.
80028 (floorf): Likewise.
80029 (nearbyint): Likewise.
80030 (nearbyintf): Likewise.
80031
80032 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
80033
80034 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80035 non-default versions.
80036
80037 2012-06-11 Roland McGrath <roland@hack.frob.com>
80038
80039 [BZ #14218]
80040 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80041
80042 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
80043
80044 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80045 (FE_UPWARD, FE_DOWNWARD): Don't define.
80046 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80047 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80048
80049 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80050 reading it.
80051 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80052 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80053
80054 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80055
80056 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80058 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80059 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80060
80061 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
80062
80063 [BZ #14117]
80064 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80065 * sysdeps/i386/fpu/Implies: New file.
80066 * sysdeps/x86_64/fpu/Implies: Likewise.
80067 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80068 * sysdeps/x86/fpu/bits/fenv.h: This.
80069
80070 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80071 __SSE_MATH__.
80072
80073 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
80074
80075 [BZ #14134]
80076 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80077 character 0xffff that matches the last element of the
80078 conversion table.
80079
80080 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80081
80082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80083 fmodl commit.
80084
80085 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80086
80087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80088 values higher than 25.6283.
80089
80090 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80091
80092 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80093 subnormal exponent extraction and add some __builtin_expect.
80094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80095 Fix for subnormal mantissa calculation.
80096
80097 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80098
80099 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80100 cpu2 is -1 and errno is not ENOSYS.
80101
80102 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80103
80104 [BZ #14117]
80105 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80106 * sysdeps/x86/bits/string.h: This.
80107 * sysdeps/x86_64/bits/string.h: Removed.
80108
80109 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80110 if not compiling for x86-64, but compiling for >= i486.
80111
80112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80113 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80114
80115 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80116 New macro from Linux kernel 3.4.0.
80117 (FP_XSTATE_MAGIC2): Likewise.
80118 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80119 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80120 (struct _fpx_sw_bytes): New struct.
80121 (struct _xsave_hdr): Likewise.
80122 (struct _ymmh_state): Likewise.
80123 (struct _xstate): Likewise.
80124
80125 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80126 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80128 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80129 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80130 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80131
80132 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80133 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80134 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80135 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80136 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80137 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80138
80139 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80140
80141 [BZ #13743]
80142 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80143 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80144 (sysdep_headers): Include sys/platform/ppc.h.
80145 * sysdeps/powerpc/test-gettimebase.c: Test for
80146 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80147 * manual/Makefile (appendices): Include platform.texi.
80148 * manual/contrib.texi (Contributors): Update @node pointers.
80149 * manual/maint.texi (Maintenance): Likewise.
80150 (Platform): New node.
80151 * manual/platform.texi: New file. Document the new features.
80152
80153 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80154 Jakub Jelinek <jakub@redhat.com>
80155
80156 [BZ #14188]
80157 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80158 where __builtin_expect is unavailable.
80159
80160 2012-06-03 David S. Miller <davem@davemloft.net>
80161
80162 * stdlib/longlong.h: Updated from GCC.
80163
80164 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80165
80166 [BZ #14042]
80167 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80168 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80169 __mcount_internal.
80170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80171 (GLIBC_2.16): Likewise.
80172
80173 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80174
80175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80176
80177 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80178
80179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80180 (default-abi): New variable.
80181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80182 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80183 variable.
80184 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80185 Likewise.
80186 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80187 Likewise.
80188 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80189 Likewise.
80190
80191 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80192 definition. Document in comment.
80193
80194 2012-06-01 David S. Miller <davem@davemloft.net>
80195
80196 * stdlib/longlong.h: Updated from GCC.
80197
80198 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80199
80200 [BZ #14117]
80201 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80202 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80203 sys/debugreg.h sys/io.h here.
80204 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80205 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80206 sys/io.h.
80207 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80208 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80209 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80210 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80211 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80212 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80213
80214 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80215 Define only if __x86_64__ is defined.
80216
80217 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80218
80219 [BZ #14048]
80220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80221 Use int64_t for variable i.
80222 * math/libm-test.inc (fmod_test): Add more tests.
80223
80224 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80225 z computation is not scheduled after fetestexcept.
80226 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80227 Use math_force_eval instead of asm to ensure calculation scheduled
80228 before exception test.
80229 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80230 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80231
80232 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80233
80234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80235 computation is not scheduled after fetestexcept.
80236
80237 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80238
80239 [BZ #14117]
80240 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80241 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80242
80243 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80244
80245 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80246 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80247
80248 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80249
80250 [BZ #14117]
80251 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80252 <bits/wordsize.h>.
80253 (__WCHAR_MIN): Support __WORDSIZE == 64.
80254 (__WCHAR_MAX): Likewise.
80255
80256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80258
80259 [BZ #14183]
80260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80261 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80262
80263 [BZ #14117]
80264 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80265 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80266
80267 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80268 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80269
80270 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80271 Defined to 1 if __x86_64__ isn't defined.
80272 (_STAT_VER_LINUX_OLD): New.
80273 (st_atime): Remove duplicate.
80274 (st_mtime): Likewise.
80275 (st_ctime): Likewise.
80276
80277 2012-05-31 David S. Miller <davem@davemloft.net>
80278
80279 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80280 entries.
80281
80282 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80283
80284 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80285 gen-libm-test.pl.
80286
80287 [BZ #14132]
80288 * elf/dl-reloc.c: Include <_itoa.h>.
80289 (_dl_reloc_bad_type): Remove use of INTUSE.
80290 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80291 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80292 * stdio-common/psiginfo.c (psiginfo): Likewise.
80293 * stdio-common/psignal.c (psignal): Likewise.
80294 * string/strsignal.c (strsignal): Likewise.
80295 * include/signal.h (_sys_siglist): Declare hidden proto.
80296 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80297 INTVARDEF with libc_hidden_data_def.
80298 * stdio-common/itoa-udigits.c: Likewise.
80299 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80300 (_itoa_lower_digits_internal): Remove declaration.
80301 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80302 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80303 (_sys_sigabbrev_internal): Remove aliases.
80304 (_sys_siglist): Define hidden alias.
80305
80306 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80307
80308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80309 bits/sysctl.h.
80310
80311 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80312
80313 [BZ #14117]
80314 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80315 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80316
80317 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80318 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80319 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80320 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80321 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80322 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80323
80324 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80325 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80326 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80327
80328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80329 with __addr.
80330 (insw): Likewise.
80331 (insl): Likewise.
80332 (outsb): Likewise.
80333 (outsw): Likewise.
80334 (outsl): Likewise.
80335
80336 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80337 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80338 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80339
80340 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80341 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80343 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80344 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80345 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80346
80347 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80348 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80349
80350 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80351 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80352
80353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80354 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80356
80357 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80358 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80359 to ...
80360 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80361
80362 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80363 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80364 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80365
80366 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80367 for x86-64.
80368 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80369
80370 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80371
80372 * math/math.h (M_El): Use two more decimal places.
80373 (M_LOG2El): Likewise.
80374 (M_LOG10El): Likewise.
80375 (M_LN2l): Likewise.
80376 (M_LN10l): Likewise.
80377 (M_PIl): Likewise.
80378 (M_PI_2l): Likewise.
80379 (M_PI_4l): Likewise.
80380 (M_1_PIl): Likewise.
80381 (M_2_PIl): Likewise.
80382 (M_2_SQRTPIl): Likewise.
80383 (M_SQRT2l): Likewise.
80384 (M_SQRT1_2l): Likewise.
80385
80386 2012-05-31 David S. Miller <davem@davemloft.net>
80387
80388 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80389 values between float registers.
80390 * sysdeps/sparc/sparc64/memset.S: Likewise.
80391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80392
80393 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80394
80395 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80396 -D_FORTIFY_SOURCE=1.
80397 (CPPFLAGS-tst-longjmp_chk.c): Define.
80398 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80399 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80400 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80401 CFLAGS-tst-wchar-h.c.
80402
80403 2012-05-31 Marek Polacek <polacek@redhat.com>
80404
80405 [BZ #14132]
80406 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80407 __endmntent_internal): Remove declaration.
80408 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80409 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80410 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80411
80412 2012-05-30 David S. Miller <davem@davemloft.net>
80413
80414 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80415 (___Q_simulate_exceptions): Use real FP ops rather than writing
80416 into the %fsr.
80417 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80418 Likewise.
80419
80420 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80421
80422 [BZ #14117]
80423 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80424 * sysdeps/x86/bits/xtitypes.h: This.
80425
80426 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80427 * sysdeps/x86/bits/wordsize.h: This.
80428
80429 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80430 * sysdeps/x86/bits/huge_vall.h: This.
80431
80432 * sysdeps/i386/bits/select.h: Removed.
80433 * sysdeps/x86_64/bits/select.h: Renamed to ...
80434 * sysdeps/x86/bits/select.h: This.
80435
80436 * sysdeps/i386/bits/setjmp.h: Removed.
80437 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80438 * sysdeps/x86/bits/setjmp.h: This.
80439
80440 * sysdeps/i386/bits/mathdef.h: Removed.
80441 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80442 * sysdeps/x86/bits/mathdef.h: This.
80443
80444 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80445
80446 [BZ #14132]
80447 * include/sys/socket.h (__connect_internal)
80448 (__libc_sa_len_internal): Remove declaration.
80449 (__connect, __libc_sa_len): Declare hidden_proto.
80450 (SA_LEN): Remove use of INTUSE.
80451 * socket/connect.c: Add libc_hidden_def.
80452 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80453 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80454 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80455 alias.
80456 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80457 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80458 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80459 of adding _internal alias.
80460
80461 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80462
80463 [BZ #14117]
80464 * sysdeps/i386/bits/link.h: Removed.
80465 * sysdeps/i386/bits/linkmap.h: Likewise.
80466 * sysdeps/x86_64/bits/link.h: Renamed to ...
80467 * sysdeps/x86/bits/link.h: This.
80468 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80469 * sysdeps/x86/bits/linkmap.h: This.
80470
80471 * sysdeps/i386/bits/endian.h: Removed.
80472 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80473 * sysdeps/x86/bits/endian.h: This.
80474
80475 * sysdeps/i386/bits/byteswap.h: Removed.
80476 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80477 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80478 * sysdeps/x86/bits/byteswap.h: This.
80479 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80480 * sysdeps/x86/bits/byteswap-16.h: This.
80481 * sysdeps/i386/Implies: Add x86.
80482 * sysdeps/x86_64/Implies: Likewise.
80483
80484 2012-05-30 David S. Miller <davem@davemloft.net>
80485
80486 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80487 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80488 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80489 (FP_TRAPPING_EXCEPTIONS): Define.
80490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80491 (FP_TRAPPING_EXCEPTIONS): Define.
80492 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80493 subnormals only when inexact has been signalled or underflow
80494 exceptions are enabled.
80495 (_FP_PACK_CANONICAL): Likewise.
80496
80497 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80498
80499 [BZ #14183]
80500 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80501 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80502
80503 2012-05-30 Richard Henderson <rth@twiddle.net>
80504
80505 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80506 with #ifndef NOT_IN_libc.
80507
80508 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80509 marked to avoid plt entry.
80510
80511 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80512
80513 [BZ #14112]
80514 * Makeconfig (default-abi): New macro.
80515 (abi-includes): Likewise.
80516 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80517 $(abi-$(default-abi)-lib-soname) for soname if defined.
80518 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80519 abi-variants.
80520 * Makefile (installed-stubs): Likewise.
80521 * include/stubs-biarch.h: Removed.
80522 * scripts/lib-names.awk: Only handle one library at a time.
80523 * scripts/soversions.awk: Remove WORDSIZE support.
80524 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80525 entries.
80526 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80527 Removed.
80528 (syscall-list-default-condition): Likewise.
80529 (syscall-list-default-condition): Likewise.
80530 (syscall-list-includes): Likewise.
80531 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80532 syscall-list-* with abi-*. Handle undefined abi-variants.
80533 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80534 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80535 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80536 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80537 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80538 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80539 Removed.
80540 (syscall-list-32-options): Likewise.
80541 (syscall-list-32-condition): Likewise.
80542 (syscall-list-64-options): Likewise.
80543 (syscall-list-64-condition): Likewise.
80544 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80545 macro.
80546 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80547 Renamed to ...
80548 (abi-*): This.
80549 (abi-64-ld-soname): New macro.
80550 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80551 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80552 Renamed to ...
80553 (abi-*): This.
80554 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80555 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80556
80557 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80558
80559 * sysdeps/unix/sysv/linux/kernel-features.h
80560 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80561 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80562 include <kernel-features.h>.
80563 [!__NR_ftruncate64]: Remove conditional code.
80564 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80565 [__NR_ftruncate64]: Make code unconditional.
80566 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80567 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80568 include <kernel-features.h>.
80569 [!__NR_ftruncate64]: Remove conditional code.
80570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80571 [__NR_ftruncate64]: Make code unconditional.
80572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80574 include <kernel-features.h>.
80575 [!__NR_ftruncate64]: Remove conditional code.
80576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80577 [__NR_ftruncate64]: Make code unconditional.
80578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80580 include <kernel-features.h>.
80581 [!__NR_ftruncate64]: Remove conditional code.
80582 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80583 [__NR_ftruncate64]: Make code unconditional.
80584 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80585
80586 * configure.in (libc_cv_fpie): Weaken to a compile test using
80587 LIBC_TRY_CC_OPTION.
80588 * configure: Regenerated.
80589
80590 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80591
80592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80596 Refreshed.
80597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80603 Refreshed.
80604
80605 2012-05-27 David S. Miller <davem@davemloft.net>
80606
80607 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80608 (___Q_zero): New.
80609 (__Q_simulate_exceptions): Return void. Change to simulate
80610 exceptions by writing into the %fsr.
80611 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80612 (__Qp_handle_exceptions): Likewise.
80613 (numbers): Delete.
80614 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80615 __Qp_handle_exceptions.
80616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80617 __Qp_handle_exceptions.
80618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80619 as unused and give dummy FP_RND_NEAREST initializer.
80620 (FP_INHIBIT_RESULTS): Define.
80621 (___Q_simulate_exceptions): Update declaration.
80622 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80623 formatting.
80624 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80625 as unused and give dummy FP_RND_NEAREST initializer.
80626 (__Qp_handle_exceptions): Update declaration.
80627 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80628 formatting.
80629
80630 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80631
80632 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80633 the temporary FPU control word.
80634 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80635 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80636 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80637 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80638 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80639 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80640 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80641 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80642 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80643 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80645
80646 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80647
80648 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80649 fields.
80650
80651 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80652
80653 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80654 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80655 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80656 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80657 Likewise.
80658 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80659 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80660 Likewise.
80661
80662 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80663
80664 * po/h.po: Update from translation team.
80665
80666 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80667
80668 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80669
80670 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80671 handling of denormals.
80672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80673 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80674 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80675 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80679 Likewise.
80680
80681 2012-05-26 Marek Polacek <polacek@redhat.com>
80682
80683 [BZ #14152]
80684 * math/libm-test.inc (fma_test): Don't always expect underflow
80685 exception.
80686
80687 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80688
80689 [BZ #12416]
80690 * elf/tst-execstack.c: Include stackinfo.h.
80691 (do_test): Adjust test case to ensure that pthread_getattr_np
80692 behaviour remains the same after marking stack executable.
80693
80694 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80695
80696 * sysdeps/unix/sysv/linux/kernel-features.h
80697 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80698 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80699 kernel-features.h.
80700 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80701 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80702 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80703 kernel-features.h.
80704 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80705 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80706
80707 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80708
80709 * configure.in: Define the default includes to being none.
80710 * configure: Regenerated.
80711
80712 2012-05-25 Roland McGrath <roland@hack.frob.com>
80713
80714 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80715 * sysdeps/x86_64/setjmp.S: Likewise.
80716 * sysdeps/i386/bsd-setjmp.S: Likewise.
80717 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80718 * sysdeps/i386/setjmp.S: Likewise.
80719 * sysdeps/i386/__longjmp.S: Likewise.
80720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80721 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80722
80723 * include/stap-probe.h: New file.
80724 * configure.in: Handle --enable-systemtap.
80725 * configure: Regenerated.
80726 * config.h.in (USE_STAP_PROBE): New #undef.
80727 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80728 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80729 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80730
80731 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80732
80733 [BZ #13717]
80734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80735 to 2.4.0 where earlier.
80736 * sysdeps/unix/sysv/linux/configure: Regenerated.
80737 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80738 <kernel-features.h>.
80739 [__ASSUME_32BITUIDS]: Make code unconditional.
80740 [!__ASSUME_32BITUIDS]: Remove conditional code.
80741 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80742 <kernel-features.h>.
80743 [__ASSUME_32BITUIDS]: Make code unconditional.
80744 [!__ASSUME_32BITUIDS]: Remove conditional code.
80745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80746 [__ASSUME_32BITUIDS]: Make code unconditional.
80747 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80748 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80749 <kernel-features.h>.
80750 [__ASSUME_32BITUIDS]: Make code unconditional.
80751 [!__ASSUME_32BITUIDS]: Remove conditional code.
80752 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80753 <kernel-features.h>.
80754 [__ASSUME_32BITUIDS]: Make code unconditional.
80755 [!__ASSUME_32BITUIDS]: Remove conditional code.
80756 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80757 <kernel-features.h>.
80758 [__ASSUME_32BITUIDS]: Make code unconditional.
80759 [!__ASSUME_32BITUIDS]: Remove conditional code.
80760 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80761 <kernel-features.h>.
80762 [__ASSUME_32BITUIDS]: Make code unconditional.
80763 [!__ASSUME_32BITUIDS]: Remove conditional code.
80764 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80765 <kernel-features.h>.
80766 [__ASSUME_32BITUIDS]: Make code unconditional.
80767 [!__ASSUME_32BITUIDS]: Remove conditional code.
80768 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80769 <kernel-features.h>.
80770 [__ASSUME_32BITUIDS]: Make code unconditional.
80771 [!__ASSUME_32BITUIDS]: Remove conditional code.
80772 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80773 <kernel-features.h>.
80774 [__ASSUME_32BITUIDS]: Make code unconditional.
80775 [!__ASSUME_32BITUIDS]: Remove conditional code.
80776 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80777 <kernel-features.h>.
80778 [__ASSUME_32BITUIDS]: Make code unconditional.
80779 [!__ASSUME_32BITUIDS]: Remove conditional code.
80780 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80781 <kernel-features.h>.
80782 [__ASSUME_32BITUIDS]: Make code unconditional.
80783 [!__ASSUME_32BITUIDS]: Remove conditional code.
80784 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80785 <kernel-features.h>.
80786 [__ASSUME_32BITUIDS]: Make code unconditional.
80787 [!__ASSUME_32BITUIDS]: Remove conditional code.
80788 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80789 <kernel-features.h>.
80790 [__NR_setresgid] (__setresgid): Do not declare.
80791 [__ASSUME_32BITUIDS]: Make code unconditional.
80792 [!__ASSUME_32BITUIDS]: Remove conditional code.
80793 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80794 <kernel-features.h>.
80795 [__NR_setresuid] (__setresuid): Do not declare.
80796 [__ASSUME_32BITUIDS]: Make code unconditional.
80797 [!__ASSUME_32BITUIDS]: Remove conditional code.
80798 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80799 <kernel-features.h>.
80800 [__ASSUME_32BITUIDS]: Make code unconditional.
80801 [!__ASSUME_32BITUIDS]: Remove conditional code.
80802 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80803 <kernel-features.h>.
80804 [__ASSUME_32BITUIDS]: Make code unconditional.
80805 [!__ASSUME_32BITUIDS]: Remove conditional code.
80806 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80807 <kernel-features.h>.
80808 [__ASSUME_32BITUIDS]: Make code unconditional.
80809 [!__ASSUME_32BITUIDS]: Remove conditional code.
80810 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80811 <kernel-features.h>.
80812 [__ASSUME_32BITUIDS]: Make code unconditional.
80813 [!__ASSUME_32BITUIDS]: Remove conditional code.
80814 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80815 <kernel-features.h>.
80816 [__ASSUME_32BITUIDS]: Make code unconditional.
80817 [!__ASSUME_32BITUIDS]: Remove conditional code.
80818 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80819 <kernel-features.h>.
80820 [__ASSUME_32BITUIDS]: Make code unconditional.
80821 [!__ASSUME_32BITUIDS]: Remove conditional code.
80822 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80823 <kernel-features.h>.
80824 [__ASSUME_32BITUIDS]: Make code unconditional.
80825 [!__ASSUME_32BITUIDS]: Remove conditional code.
80826 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80827 <kernel-features.h>.
80828 [__ASSUME_32BITUIDS]: Make code unconditional.
80829 [!__ASSUME_32BITUIDS]: Remove conditional code.
80830 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80831 <kernel-features.h>.
80832 [__ASSUME_32BITUIDS]: Make code unconditional.
80833 [!__ASSUME_32BITUIDS]: Remove conditional code.
80834 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80835 <kernel-features.h>.
80836 [__ASSUME_32BITUIDS]: Make code unconditional.
80837 [!__ASSUME_32BITUIDS]: Remove conditional code.
80838 * sysdeps/unix/sysv/linux/kernel-features.h
80839 (__ASSUME_SETRESUID_SYSCALL): Remove.
80840 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80841 (__ASSUME_32BITUIDS): Likewise.
80842 (__ASSUME_LDT_WORKS): Likewise.
80843 (__ASSUME_O_DIRECTORY): Likewise.
80844 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80845 architecture but not kernel version.
80846 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80847 (__ASSUME_MMAP2_SYSCALL): Likewise.
80848 (__ASSUME_STAT64_SYSCALL): Likewise.
80849 (__ASSUME_IPC64): Likewise.
80850 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80851 <kernel-features.h>.
80852 [__ASSUME_32BITUIDS]: Make code unconditional.
80853 [!__ASSUME_32BITUIDS]: Remove conditional code.
80854 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80855 <kernel-features.h>.
80856 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80857 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80858 132096]: Remove conditional code.
80859 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80860 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80861 <kernel-features.h>.
80862 [__ASSUME_32BITUIDS]: Make code unconditional.
80863 [!__ASSUME_32BITUIDS]: Remove conditional code.
80864 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80865 <kernel-features.h>.
80866 [__ASSUME_32BITUIDS]: Make code unconditional.
80867 [!__ASSUME_32BITUIDS]: Remove conditional code.
80868 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80869 <kernel-features.h>.
80870 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80871 unconditional.
80872 (__setresgid): Do not declare.
80873 [__ASSUME_32BITUIDS]: Make code unconditional.
80874 [!__ASSUME_32BITUIDS]: Remove conditional code.
80875 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80876 <kernel-features.h>.
80877 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80878 unconditional.
80879 (__setresuid): Do not declare.
80880 [__ASSUME_32BITUIDS]: Make code unconditional.
80881 [!__ASSUME_32BITUIDS]: Remove conditional code.
80882 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80883 <kernel-features.h>.
80884 [__ASSUME_32BITUIDS]: Make code unconditional.
80885 [!__ASSUME_32BITUIDS]: Remove conditional code.
80886 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80887 <kernel-features.h>.
80888 [__ASSUME_32BITUIDS]: Make code unconditional.
80889 [!__ASSUME_32BITUIDS]: Remove conditional code.
80890
80891 2012-05-25 Richard Henderson <rth@twiddle.net>
80892
80893 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80894 dl_hwcap to ifunc resolver.
80895 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80896 elf_ifunc_invoke.
80897 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80898 dl_hwcap to ifunc resolver.
80899 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80900
80901 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80902
80903 [BZ #14153]
80904 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80905 for |x| <= 2**-26, not 2**-57.
80906 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80907 exception.
80908
80909 2012-05-24 Jeff Law <law@redhat.com>
80910
80911 * stdio-common/Makefile (tests): Add bug25.
80912 * stdio-common/bug25.c: New test.
80913
80914 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80915
80916 [BZ #13576]
80917 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80918 multiple of MALLOC_ALIGNMENT in size.
80919 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80920
80921 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80922
80923 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80924 Require >= 256.
80925 (FILENAME_MAX): Use macro-int-constant.
80926 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80927 (_IOFBF): Use macro-int-constant.
80928 (_IOLBF): Likewise.
80929 (_IONBF): Likewise.
80930 (SEEK_CUR): Likewise.
80931 (SEEK_END): Likewise.
80932 (SEEK_SET): Likewise.
80933 (TMP_MAX): Likewise.
80934 (EOF): Use macro-int-constant. Require < 0.
80935 (NULL): Use macro-constant. Require == 0.
80936 (stdin): Require type to be FILE *.
80937 (stdout): Likewise.
80938 (stderr): Likewise.
80939 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80940 macro-int-constant.
80941 (EXIT_SUCCESS): Likewise.
80942 (NULL): Use macro-constant. Require == 0.
80943 (RAND_MAX): Use macro-int-constant.
80944 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80945 [C99-based standards] (strtof): Require function.
80946 [C99-based standards] (strtold): Likewise.
80947 [C99-based standards] (strtoll): Likewise.
80948 [C99-based standards] (strtoull): Likewise.
80949 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80950 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80951 [ISO || ISO99 || ISO11] (math.h): Likewise.
80952 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80953 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80955
80956 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80957
80958 [BZ #14132]
80959 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80960 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80961 * intl/dgettext.c (DCGETTEXT): Likewise.
80962 * intl/gettext.c (DCGETTEXT): Likewise.
80963 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80964 * posix/regex_internal.h (gettext): Likewise.
80965 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80966 Remove declaration.
80967 * include/argz.h (__argz_count_internal)
80968 (__argz_stringify_internal): Remove declaration.
80969 (__argz_count, __argz_stringify): Declare hidden proto.
80970 * intl/dcgettext.c: Remove use of INTDEF.
80971 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80972 * string/argz-stringify.c: Likewise.
80973 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80974 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80975 Declare hidden proto.
80976 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80977 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80978 Declare hidden proto.
80979 * include/stdio.h (__asprintf_internal): Don't declare.
80980 (__asprintf): Don't define as macro. Declare hidden proto.
80981 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80982 (__fsetlocking): Declare hidden proto.
80983 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80984 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80985 hidden proto.
80986 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80987 (_IO_setlinebuf): Remove use of INTUSE.
80988 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80989 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80990 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80991 Remove declaration.
80992 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80993 (_IO_do_flush): Remove use of INTUSE.
80994 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80995 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80996 (_IO_adjust_column, _IO_least_wmarker)
80997 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80998 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80999 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81000 (_IO_default_doallocate, _IO_wdefault_doallocate)
81001 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81002 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81003 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81004 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81005 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81006 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81007 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81008 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81009 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81010 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81011 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81012 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81013 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81014 proto.
81015 (_IO_flush_all_internal, _IO_adjust_column_internal)
81016 (_IO_default_uflow_internal, _IO_default_finish_internal)
81017 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81018 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81019 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81020 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81021 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81022 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81023 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81024 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81025 (_IO_file_close_internal, _IO_file_close_it_internal)
81026 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81027 (_IO_file_init_internal, _IO_file_attach_internal)
81028 (_IO_file_fopen_internal, _IO_file_read_internal)
81029 (_IO_file_sync_internal, _IO_file_seek_internal)
81030 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81031 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81032 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81033 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81034 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81035 (_IO_list_all_internal, _IO_link_in_internal)
81036 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81037 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81038 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81039 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81040 (_IO_do_write_internal, _IO_padn_internal)
81041 (_IO_getline_info_internal, _IO_getline_internal)
81042 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81043 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81044 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81045 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81046 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81047 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81048 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81049 with libc_hidden_ver, remove use of INTUSE.
81050 * libio/genops.c: Likewise.
81051 * libio/freopen.c: Likewise.
81052 * libio/freopen64.c: Likewise.
81053 * libio/iofclose.c: Likewise.
81054 * libio/iofdopen.c: Likewise.
81055 * libio/iofflush.c: Likewise.
81056 * libio/iofflush_u.c: Likewise.
81057 * libio/iofgets.c: Likewise.
81058 * libio/iofgets_u.c: Likewise.
81059 * libio/iofopen.c: Likewise.
81060 * libio/iofopncook.c: Likewise.
81061 * libio/iofread.c: Likewise.
81062 * libio/iofread_u.c: Likewise.
81063 * libio/ioftell.c: Likewise.
81064 * libio/iofwrite.c: Likewise.
81065 * libio/iogetline.c: Likewise.
81066 * libio/iogets.c: Likewise.
81067 * libio/iogetwline.c: Likewise.
81068 * libio/iopadn.c: Likewise.
81069 * libio/iopopen.c: Likewise.
81070 * libio/ioseekoff.c: Likewise.
81071 * libio/ioseekpos.c: Likewise.
81072 * libio/iosetbuffer.c: Likewise.
81073 * libio/iosetvbuf.c: Likewise.
81074 * libio/ioungetc.c: Likewise.
81075 * libio/ioungetwc.c: Likewise.
81076 * libio/iovdprintf.c: Likewise.
81077 * libio/iovsprintf.c: Likewise.
81078 * libio/iovsscanf.c: Likewise.
81079 * libio/memstream.c: Likewise.
81080 * libio/obprintf.c: Likewise.
81081 * libio/oldfileops.c: Likewise.
81082 * libio/oldiofclose.c: Likewise.
81083 * libio/oldiofdopen.c: Likewise.
81084 * libio/oldiofopen.c: Likewise.
81085 * libio/oldiopopen.c: Likewise.
81086 * libio/oldstdfiles.c: Likewise.
81087 * libio/putc.c: Likewise.
81088 * libio/setbuf.c: Likewise.
81089 * libio/setlinebuf.c: Likewise.
81090 * libio/stdfiles.c: Likewise.
81091 * libio/strops.c: Likewise.
81092 * libio/vasprintf.c: Likewise.
81093 * libio/vscanf.c: Likewise.
81094 * libio/vsnprintf.c: Likewise.
81095 * libio/vswprintf.c: Likewise.
81096 * libio/wfiledoalloc.c: Likewise.
81097 * libio/wfileops.c: Likewise.
81098 * libio/wgenops.c: Likewise.
81099 * libio/wmemstream.c: Likewise.
81100 * libio/wstrops.c: Likewise.
81101 * libio/__fpurge.c: Likewise.
81102 * libio/__fsetlocking.c: Likewise.
81103 * assert/assert.c: Likewise.
81104 * debug/fgets_chk.c: Likewise.
81105 * debug/fgets_u_chk.c: Likewise.
81106 * debug/fread_chk.c: Likewise.
81107 * debug/fread_u_chk.c: Likewise.
81108 * debug/gets_chk.c: Likewise.
81109 * debug/obprintf_chk.c: Likewise.
81110 * debug/vasprintf_chk.c: Likewise.
81111 * debug/vdprintf_chk.c: Likewise.
81112 * debug/vsnprintf_chk.c: Likewise.
81113 * debug/vsprintf_chk.c: Likewise.
81114 * malloc/mtrace.c: Likewise.
81115 * misc/error.c: Likewise.
81116 * misc/syslog.c: Likewise.
81117 * stdio-common/asprintf.c: Likewise.
81118 * stdio-common/fxprintf.c: Likewise.
81119 * stdio-common/getw.c: Likewise.
81120 * stdio-common/isoc99_fscanf.c: Likewise.
81121 * stdio-common/isoc99_scanf.c: Likewise.
81122 * stdio-common/isoc99_vfscanf.c: Likewise.
81123 * stdio-common/isoc99_vscanf.c: Likewise.
81124 * stdio-common/isoc99_vsscanf.c: Likewise.
81125 * stdio-common/printf-prs.c: Likewise.
81126 * stdio-common/printf_fp.c: Likewise.
81127 * stdio-common/printf_fphex.c: Likewise.
81128 * stdio-common/printf_size.c: Likewise.
81129 * stdio-common/putw.c: Likewise.
81130 * stdio-common/scanf.c: Likewise.
81131 * stdio-common/sprintf.c: Likewise.
81132 * stdio-common/tmpfile.c: Likewise.
81133 * stdio-common/vfprintf.c: Likewise.
81134 * stdio-common/vfscanf.c: Likewise.
81135 * stdlib/strfmon_l.c: Likewise.
81136 * sunrpc/openchild.c: Likewise.
81137 * sunrpc/xdr_stdio.c: Likewise.
81138 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81139 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81140
81141 2012-05-24 Roland McGrath <roland@hack.frob.com>
81142
81143 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81144
81145 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81146 in the third column, to generate for the shared library an IFUNC
81147 that uses _dl_vdso_vsym.
81148 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81149 * Makeconfig (object-suffixes-noshared): New variable.
81150
81151 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81152 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81153 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81154 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81155
81156 [BZ #14132]
81157 * include/sys/time.h (__gettimeofday): Remove macro.
81158 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81159 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81160 Remove INTDEF.
81161 (__gettimeofday): Add libc_hidden_def.
81162 (gettimeofday): Add libc_hidden_weak.
81163 * sysdeps/mach/gettimeofday.c: Likewise.
81164 * sysdeps/posix/gettimeofday.c: Likewise.
81165 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81166 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81168 (__gettimeofday_internal): Remove strong_alias.
81169 (__gettimeofday): Add libc_hidden_def.
81170 (gettimeofday): Add libc_hidden_weak.
81171 * sysdeps/unix/syscalls.list (gettimeofday):
81172 Remove __gettimeofday_internal alias.
81173
81174 2012-05-24 Daniel Jacobowitz <drow@false.org>
81175 H.J. Lu <hongjiu.lu@intel.com>
81176
81177 [BZ #12495]
81178 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81179 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81180 (largebin_index_32_big): New.
81181 (largebin_index): Use it for 16-byte alignment.
81182 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81183 correction with front_misalign.
81184
81185 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81186
81187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81189 Likewise.
81190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81191 Likewise.
81192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81193 Likewise.
81194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81195 Likewise.
81196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81197 Likewise.
81198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81199 Likewise.
81200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81201 Likewise.
81202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81203 Likewise.
81204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81205 Likewise.
81206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81207 Likewise.
81208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81209 Likewise.
81210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81211 Likewise.
81212
81213 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81214 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81215
81216 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81217
81218 [BZ #10846]
81219 [BZ #14036]
81220 * math/libm-test.inc (exp_test): Add test from bug 14036.
81221 (pow_test): Add test from bug 10846.
81222
81223 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81224 and other flags.
81225 (special_function): Do not include flags in test name.
81226 (parse_args): Likewise.
81227 * sysdeps/i386/fpu/libm-test-ulps: Update.
81228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81229 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81230 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81232
81233 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81234 exceptions.
81235 * math/libm-test.inc ("Philosophy"): Update comment about
81236 exception testing.
81237 (UNDERFLOW_EXCEPTION): New macro.
81238 (UNDERFLOW_EXCEPTION_OK): Likewise.
81239 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81240 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81241 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81242 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81243 (INVALID_EXCEPTION_OK): Update value.
81244 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81245 (OVERFLOW_EXCEPTION_OK): Likewise.
81246 (IGNORE_ZERO_INF_SIGN): Likewise.
81247 (test_exceptions): Handle underflow exceptions.
81248 (acos_test): Update for underflow exception expectations.
81249 (cexp_test): Likewise.
81250 (clog_test): Likewise.
81251 (clog10_test): Likewise.
81252 (csqrt_test): Likewise.
81253 (ctan_test): Likewise.
81254 (ctanh_test): Likewise.
81255 (exp_test): Likewise.
81256 (exp10_test): Likewise.
81257 (exp2_test): Likewise.
81258 (expm1_test): Likewise.
81259 (fma_test): Likewise.
81260 (j0_test): Likewise.
81261 (jn_test): Likewise.
81262 (nexttoward_test): Likewise.
81263 (pow_test): Likewise.
81264 (scalbn_test): Likewise.
81265 (scalbln_test): Likewise.
81266 (tan_test): Likewise.
81267 (y1_test): Likewise.
81268 * sysdeps/i386/fpu/libm-test-ulps: Update.
81269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81270
81271 2012-05-23 David S. Miller <davem@davemloft.net>
81272
81273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81274 (__libc_sigaction): Remove unused local variables.
81275
81276 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81277
81278 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81279
81280 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81281
81282 mktime: avoid signed integer overflow
81283 * time/mktime.c (__mktime_internal): Do not mishandle the case
81284 where diff == INT_MIN.
81285
81286 mktime: simplify computation of average
81287 * time/mktime.c (ranged_convert): Use new time_t_avg function
81288 instead of rolling our own (probably-slower) code.
81289
81290 mktime: do not assume signed right shift propagates sign bit
81291 * time/mktime.c (isdst_differ): New static function.
81292 (__mktime_internal): No need to normalize tm_isdst now.
81293 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81294 tm_isdst values.
81295
81296 mktime: merge another wrapv change from gnulib
81297 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81298 from some compilers.
81299
81300 mktime: remove incorrect attempt at unusual arithmetics
81301 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81302 The code didn't really work on such machines anyway.
81303 (TYPE_MINIMUM): Assume two's complement.
81304 (twos_complement_arithmetic): Verify that long_int and time_t
81305 are two's complement (or unsigned, in the latter case).
81306
81307 mktime: check signed shifts on long_int and time_t, too
81308 * time/mktime.c (SHR): Check that shifts work as desired
81309 on the types long_int and time_t too, as SHR is used on
81310 such types.
81311
81312 mktime: do not assume 'long' is wide enough
81313 * time/mktime.c (verify): Move decl up.
81314 (long_int): New type.
81315 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81316 to remove assumption in the code that 'long' is wide enough to
81317 store year values. This assumption is not true on x32 and on
81318 some non-glibc platforms.
81319
81320 mktime: merge wrapv change from gnulib
81321 * time/mktime.c (WRAPV): New macro.
81322 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81323 (guess_time_tm, __mktime_internal): Do not assume that signed
81324 integer overflow wraps around; modern compilers generate code
81325 where this assumption is no longer valid.
81326
81327 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81328
81329 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81330 Replace "jmp L(pseudo_end)" with "ret".
81331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81332 Likewise.
81333
81334 2012-05-23 Andreas Jaeger <aj@suse.de>
81335
81336 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81337 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81338
81339 2012-05-23 Andreas Jaeger <aj@suse.de>
81340 Maximilian Attems <max@stro.at>
81341
81342 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81343 New macros.
81344
81345 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81346
81347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81348 code so that pseudo_end is just ret and the stack pointer is
81349 correct also for static library in error case.
81350
81351 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81352
81353 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81354 move to syscalls.list.
81355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81359
81360 * manual/install.texi (Running make install): Do not mention Linux
81361 kernel version for which pt_chown is not needed.
81362 (Linux): Do not mention problems with nscd with 2.0 kernels.
81363 * INSTALL: Regenerated.
81364
81365 2012-05-23 Andreas Jaeger <aj@suse.de>
81366
81367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81368 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81369 macro.
81370 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81372 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81374 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81380 * sysdeps/unix/sysv/linux/bits/in.h
81381 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81382
81383 2012-05-22 Roland McGrath <roland@hack.frob.com>
81384
81385 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81386 (PREPARE_VERSION): Just use assert instead, it will be elided
81387 under [NDEBUG] anyway.
81388
81389 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81390
81391 * sysdeps/unix/sysv/linux/Makefile: Include
81392 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81393 (sysdep_routines): Remove sysctl.
81394 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81395 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81396 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81397 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81398 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81399
81400 2012-05-22 Andreas Jaeger <aj@suse.de>
81401
81402 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81403 that pseudo_end is just ret and the stack pointer is correct also
81404 for static library in error case.
81405
81406 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81407
81408 [BZ #14122]
81409 * nss/nsswitch.c (defconfig_entries): New variable.
81410 (__nss_database_lookup): Don't leak defconfig entries.
81411 (nss_parse_service_list): Don't leak on error paths.
81412 (free_database_entries): New function.
81413 (free_defconfig): New function.
81414 (free_mem): Move common code to free_database_entries.
81415
81416 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81417
81418 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81419 Add arch_prctl.
81420 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81421
81422 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81423 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81425 New macro.
81426 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81427 (INTERNAL_SYSCALL_TYPES): Likewise.
81428 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81429 (LOAD_REGS_TYPES_[1-6]): Likewise.
81430 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81431 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81432
81433 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81434
81435 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81436 copysignl for GLIBC_2_0.
81437 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81438 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81440 logbl for GLIBC_2_0.
81441 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81442 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81443
81444 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81445
81446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81447 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81448
81449 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81450 Use "neg %eax".
81451
81452 * time/mktime.c: Update copyright years.
81453
81454 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81455
81456 mktime: merge comment-quoting-style change from gnulib
81457 * time/mktime.c: Quote 'like this' in comments.
81458 The GNU coding standards suggest that we no longer quote `like this',
81459 as "`" and "'" are typically rendered asymmetrically nowadays.
81460 The typical gnulib style is to quote 'like this' when quoting
81461 code, and "like this" when quoting English.
81462
81463 * time/mktime.c (compile-command): Add "-I.".
81464
81465 mktime: merge mktime-internal.h change from gnulib
81466 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81467
81468 mktime: merge time_r change from gnulib
81469 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81470
81471 mktime: merge DEBUG change from gnulib
81472 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81473 case system <time.h> has a #define.
81474
81475 mktime: merge <sys/types.h> change from gnulib
81476 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81477 since <time.t> is now guaranteed to define time_t.
81478
81479 mktime: merge HAVE_CONFIG_H change from gnulib
81480 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81481
81482 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81483
81484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81485 Use "neg %eax".
81486
81487 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81488 __rlim_t cast.
81489 (struct rusage): Use anonymous union to pad each field to
81490 __syscall_slong_t.
81491
81492 2012-05-21 David S. Miller <davem@davemloft.net>
81493
81494 * Makefules (o-iterator): Remove .s cases.
81495 (compile-command.s): Delete.
81496 (COMPILE.s): Delete.
81497 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81498
81499 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81500
81501 * configure.in (libc_cv_predef_stack_protector): Only consider
81502 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81503 * configure: Regenerated.
81504
81505 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81506
81507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81508 New macro. Use R*LP on int and pointer.
81509 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81510 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81511 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81512 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81513
81514 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81515 [__WORDSIZE_TIME64_COMPAT32] instead of
81516 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81517 (struct utmp): Likewise.
81518 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81519 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81520 Renamed to ...
81521 (__WORDSIZE_TIME64_COMPAT32): This.
81522 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81523 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81524 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81525 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81526 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81527 (__WORDSIZE_TIME64_COMPAT32): New macro.
81528
81529 2012-05-21 Andreas Jaeger <aj@suse.de>
81530
81531 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81532 only if [SHARED]. Add prototype for __wcschr_ia32.
81533
81534 2012-05-21 Roland McGrath <roland@hack.frob.com>
81535
81536 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81537 of %rbp unmolested in the jmp_buf while mangling the low bits.
81538 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81539 unmolested high bits of %rbp while demangling the low bits.
81540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81541
81542 2012-05-21 Andreas Jaeger <aj@suse.de>
81543
81544 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81545 * sunrpc/svc_simple.c: Use it for registerrpc.
81546 * sunrpc/xcrypt.c: Use it for passwd2des.
81547
81548 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81549
81550 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81551
81552 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81553 Don't define if [__SYSCALL_WORDSIZE != 32].
81554 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81555 New macro.
81556
81557 2012-05-21 Bruno Haible <bruno@clisp.org>
81558 Andreas Jaeger <aj@suse.de>
81559
81560 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81561 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81562 inptr and inend for must_buffer_ch.
81563 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81564 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81565 * stdio-common/Makefile (tests): Remove bug15.
81566 (bug15-ENV): Remove macro.
81567 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81568 anymore.
81569
81570 2012-05-19 Andreas Jaeger <aj@suse.de>
81571 Roland McGrath <roland@hack.frob.com>
81572
81573 * manual/contrib.texi: Completely rewritten. It contains now an
81574 alphabetical list of contributors and their contributions.
81575
81576 2012-05-21 Richard Henderson <rth@twiddle.net>
81577
81578 * misc/getauxval.c (__getauxval): Use unsigned long int.
81579 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81580 (getauxval): Use unsigned long int.
81581
81582 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81583
81584 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81585
81586 2012-05-21 Roland McGrath <roland@hack.frob.com>
81587
81588 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81589 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81590 __alignof__ (long double).
81591
81592 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81593
81594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81595
81596 2012-05-20 Richard Henderson <rth@twiddle.net>
81597
81598 * misc/getauxval.c: New file.
81599 * misc/sys/auxv.h: New file.
81600 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81601 (routines): Add getauxval.
81602 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81603 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81604 * elf/dl-sysdep.c (_dl_auxv): Remove.
81605 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81606 * elf/dl-support.c (_dl_auxv): New variable.
81607 (_dl_aux_init): Initialize it.
81608 * manual/startup.texi (Auxiliary Vector): New node.
81609 * sysdeps/generic/bits/hwcap.h: New file.
81610 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81611 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81612 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81613 * sysdeps/sparc/sysdep.h: ... here. Include it.
81614 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81617 Update.
81618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81626
81627 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81628
81629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81630
81631 2012-05-19 David S. Miller <davem@davemloft.net>
81632
81633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81634
81635 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81636
81637 [BZ #14123]
81638 * math/s_ccosh.c: Include <float.h>
81639 (__ccosh): Avoid internal overflow calculating sinh and cosh
81640 values before multiplying by sin and cos values.
81641 * math/s_ccoshf.c: Likewise.
81642 * math/s_ccoshl.c: Likewise.
81643 * math/s_csin.c: Likewise.
81644 * math/s_csinf.c: Likewise.
81645 * math/s_csinl.c: Likewise.
81646 * math/s_csinh.c: Likewise.
81647 * math/s_csinhf.c: Likewise.
81648 * math/s_csinhl.c: Likewise.
81649 * math/libm-test.inc (ccos_test): Add more tests.
81650 (ccosh_test): Likewise.
81651 (csin_test): Likewise.
81652 (csinh_test): Likewise.
81653 * sysdeps/i386/fpu/libm-test-ulps: Update.
81654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81655
81656 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81657
81658 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81659 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81660
81661 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81662
81663 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81664
81665 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81666 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81667 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81668 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81669 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81670 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81671 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81672 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81673 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81674 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81675 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81676 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81677 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81678 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81679 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81680 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81681 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81682 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81683 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81684 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81685 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81686 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81687 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81688 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81689 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81690 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81691 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81692 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81693 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81694 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81695 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81696
81697 2012-05-18 Andreas Jaeger <aj@suse.de>
81698
81699 * csu/.gitignore: Delete.
81700
81701 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81702
81703 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81704 (timex): Use __syscall_slong_t.
81705
81706 2012-05-18 Andreas Jaeger <aj@suse.de>
81707 Carlos O'Donell <carlos_odonell@mentor.com>
81708
81709 * manual/install.texi (Configuring and compiling): Update
81710 description about files modified in the source directory.
81711 * INSTALL: Regenerated.
81712
81713 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81714
81715 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81716 value. Use "or" to set return value to -1.
81717 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81718 negate return value.
81719
81720 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81721
81722 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81723 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81724 failure if the compiler has Graphite support disabled.
81725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81726 Likewise.
81727 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81728 (CFLAGS-memmove.c): Likewise.
81729 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81730 Likewise.
81731
81732 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81733
81734 * sysdeps/x86_64/x32/_itoa.h: New file.
81735
81736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81737 getdents system call only if kernel and user dirents have the
81738 same d_ino and d_off.
81739
81740 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81741 LLONG_MAX != LONG_MAX.
81742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81743 (_fitoa_word): Likewise.
81744
81745 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81746 years.
81747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81748 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81749 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81750
81751 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81752 include <bits/wordsize.h>. Check __x86_64__ instead of
81753 __WORDSIZE.
81754 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81755 if __x86_64__ is defined. Use anonymous union on fpstate.
81756
81757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81758 anonymous union.
81759
81760 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81761
81762 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81763 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81764 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81765 Refer to _rtld_local_ro instead of _rtld_global_ro.
81766 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81767 Likewise.
81768 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81769 Likewise.
81770 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81771 Likewise.
81772 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81773 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81774 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81775
81776 [BZ #10882]
81777 * sysdeps/powerpc/powerpc32/dl-machine.c
81778 (__elf_machine_runtime_setup) [PROF]: Don't reference
81779 _dl_prof_resolve.
81780
81781 2012-05-18 Andreas Jaeger <aj@suse.de>
81782
81783 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81784 function only available for GCCs before 3.4 since GCC 3.4
81785 introduced a builtin.
81786 (lrint): Likewise.
81787 (llrintf): Likewise.
81788 (llrint): Likewise.
81789 (fmaxf): Likewise.
81790 (fmax): Likewise.
81791 (fminf): Likewise.
81792 (fmin): Likewise.
81793 (rint): Likewise.
81794 (rintf): Likewise.
81795 (nearbyint): Likewise.
81796 (nearbyintf): Likewise.
81797 (ceil): Likewise.
81798 (ceilf): Likewise.
81799 (floor): Likewise.
81800 (floorf): Likewise.
81801
81802 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81803
81804 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81805 on both fields and cast pointer to __syscall_ulong_t.
81806
81807 * bits/types.h (__fsword_t): New type.
81808 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81809 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81811 (__FSWORD_T_TYPE): Likewise.
81812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81813 (__FSWORD_T_TYPE): Likewise.
81814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81815 (__FSWORD_T_TYPE): Likewise.
81816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81817 (__FSWORD_T_TYPE): Likewise.
81818 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81819 __SWORD_TYPE with __fsword_t.
81820 (statfs64): Likewise.
81821
81822 2012-05-17 David S. Miller <davem@davemloft.net>
81823
81824 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81825
81826 2012-05-17 Andreas Jaeger <aj@suse.de>
81827
81828 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81829 warning.
81830
81831 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81832
81833 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81834
81835 2012-05-17 Andreas Jaeger <aj@suse.de>
81836
81837 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81838 when it is used.
81839
81840 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81841
81842 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81843
81844 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81845
81846 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81847 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81848
81849 2012-05-17 Andreas Jaeger <aj@suse.de>
81850 Carlos O'Donell <carlos_odonell@mentor.com>
81851
81852 [BZ #14059]
81853 * sysdeps/x86_64/multiarch/init-arch.h
81854 (bit_YMM_Usable): Rename to...
81855 (bit_AVX_Usable): ... this.
81856 (bit_FMA4_Usable): New macro.
81857 (bit_XMM_state): New macro.
81858 (bit_YMM_state): New macro.
81859 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81860 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81861 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81862 (CPUID_OSXSAVE): New macro.
81863 (CPUID_AVX): New macro.
81864 (CPUID_FMA4): New macro.
81865 (index_YMM_Usable): Rename to...
81866 (index_AVX_Usable): ... this.
81867 (HAS_AVX): Use HAS_ARCH_FEATURE.
81868 (HAS_FMA4): Likewise.
81869 (HAS_YMM_USABLE): Remove.
81870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81871 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81872 are present.
81873 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81874 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81875 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81876 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81877 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81878
81879 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81880
81881 * math/libm-test.c: Support platforms without multiple rounding modes.
81882 * math/bug-nextafter.c: Support platforms without FP exceptions.
81883 * math/bug-nexttoward.c: Likewise.
81884 * math/test-fenv.c: Likewise.
81885 * math/test-misc.c: Likewise.
81886 * stdlib/bug-getcontext.c: Likewise.
81887
81888 2012-05-17 Andreas Jaeger <aj@suse.de>
81889
81890 * manual/examples/search.c (critter_cmp): Change signature to
81891 avoid warnings.
81892 * manual/string.texi (Collation Functions): Likewise.
81893
81894 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81895
81896 * bits/types.h: Fold copyright years.
81897 * bits/typesizes.h: Likewise.
81898 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81902 * time/time.h: Likewise.
81903
81904 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81905
81906 [BZ #208]
81907 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81908 in instead of returning them. Return void.
81909 (__libc_mallinfo): Accumulate over all arenas.
81910 (__malloc_stats): Adjust for change in int_mallinfo interface.
81911
81912 2012-05-16 Roland McGrath <roland@hack.frob.com>
81913
81914 [BZ #10375]
81915 * configure.in (NM): Add AC_CHECK_TOOL for it.
81916 (libc_extra_cflags): New substituted variable.
81917 Check for -fstack-protector being used implicitly.
81918 * configure: Regenerated.
81919 * config.make.in (config-extra-cflags): New variable,
81920 gets @libc_extra_cflags@.
81921 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81922
81923 [BZ #10375]
81924 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81925 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81926 * configure: Regenerated.
81927 * config.make.in (CPPUNDEFS): New substituted variable.
81928 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81929 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81930 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81931
81932 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81933
81934 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81935 (mq_attr): Use __syscall_slong_t.
81936
81937 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81938
81939 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81940 Check __x86_64__ instead of __WORDSIZE.
81941 (_STAT_VER_LINUX): Likewise.
81942 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81943 __syscall_ulong_t and __syscall_slong_t.
81944 (stat64): Likewise.
81945
81946 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81947
81948 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81949
81950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81951
81952 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81953
81954 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81955
81956 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81957 __syscall_ulong_t.
81958
81959 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81960 include <bits/wordsize.h>. Check __x86_64__ instead of
81961 __WORDSIZE.
81962 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81963 defined.
81964 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81965
81966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81967 include <bits/wordsize.h>. Check __x86_64__ instead of
81968 __WORDSIZE.
81969 (user_regs_struct): Use "__extension__ unsigned long long"
81970 instead of "unsigned long" if __x86_64__ is defined.
81971 (user): Likewise. Pad after pointer field if __ILP32__ is
81972 defined.
81973
81974 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81975
81976 * configure.in (makeinfo): Require version 4.5 or later. Allow
81977 versions 5 to 9.
81978 * configure: Regenerated.
81979 * manual/install.texi (texinfo): Increase version requirement to
81980 4.5 or later.
81981 * INSTALL: Regenerated.
81982
81983 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81984
81985 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81986
81987 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81988
81989 * sysdeps/x86_64/x32/ffs.c: New file.
81990
81991 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81992 __syscall_ulong_t.
81993 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81994 defined. Use __syscall_ulong_t.
81995 (shminfo): Use __syscall_ulong_t.
81996 (shm_info): Likewise.
81997
81998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81999 __syscall_ulong_t.
82000
82001 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82002 <bits/wordsize.h>.
82003 (msgqnum_t): Use __syscall_ulong_t.
82004 (msglen_t): Likewise.
82005 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82006 __syscall_ulong_t.
82007
82008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82009 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82010
82011 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82012
82013 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82014 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82015
82016 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82017 __syscall_slong_t.
82018
82019 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82020 include <bits/wordsize.h>. Check __x86_64__ instead of
82021 __WORDSIZE.
82022
82023 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82024 "unsigned long long int" if __x86_64__ is defined.
82025 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82026
82027 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82028 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82029 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82030
82031 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82032 <stdint.h>.
82033 (GET_PC): Cast to uintptr_t first.
82034 (GET_FRAME): Likewise.
82035 (GET_STACK): Likewise.
82036
82037 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82039 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82041 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82043 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82044 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82045 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82046 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82048 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82050 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82054 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82055 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82056 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82058 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82060 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82064 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82066
82067 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82068
82069 * Makerules (+depfiles): Also collect depfiles from .oS in
82070 $(extra-objs).
82071 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82072 .oS, $(libnldbl-routines)).
82073
82074 * Makerules (native-compile-mkdep-flags): Define.
82075 * sunrpc/Makefile (extra-objs): Add $(addprefix
82076 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82077 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82078 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82079 calling $(make-target-directory).
82080
82081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82082
82083 * bits/types.h (__snseconds_t): Removed.
82084 * time/time.h (struct timespec): Replace __snseconds_t with
82085 __syscall_slong_t.
82086 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82087 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82088 Likewise.
82089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82090 (__SNSECONDS_T_TYPE): Likewise.
82091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82092 (__SNSECONDS_T_TYPE): Likewise.
82093 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82094 (__SNSECONDS_T_TYPE): Likewise.
82095
82096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82097
82098 * sysdeps/mach/hurd/bits/typesizes.h
82099 (__SYSCALL_SLONG_TYPE): New macro.
82100 (__SYSCALL_ULONG_TYPE): Likewise.
82101
82102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82103
82104 * bits/types.h (__syscall_slong_t): New type.
82105 (__syscall_ulong_t): Likewise.
82106
82107 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82108 (__SYSCALL_ULONG_TYPE): Likewise.
82109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82110 (__SYSCALL_SLONG_TYPE): Likewise.
82111 (__SYSCALL_ULONG_TYPE): Likewise.
82112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82113 (__SYSCALL_SLONG_TYPE): Likewise.
82114 (__SYSCALL_ULONG_TYPE): Likewise.
82115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82116 (__SYSCALL_SLONG_TYPE): Likewise.
82117 (__SYSCALL_ULONG_TYPE): Likewise.
82118
82119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82120
82121 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82122 Add sigaltstack-offsets.sym.
82123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82124 <sigaltstack-offsets.h>.
82125 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82126 longjmp_msg pointer.
82127 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82128 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82129 signal stack.
82130 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82131
82132 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82133
82134 * elf/stackguard-macros.h: Remove file.
82135 * sysdeps/generic/stackguard-macros.h: New file.
82136 * sysdeps/i386/stackguard-macros.h: Likewise.
82137 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82138 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82139 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82140 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82141 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82142 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82143 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82144 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82145 <elf/stackguard-macros.h>.
82146
82147 [BZ #14109]
82148 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82149 __aligned__ in attribute.
82150 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82151 (gregset_t): Likewise.
82152
82153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82154
82155 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82156 * sysdeps/x86_64/64/Implies-after: Here. New file.
82157 * sysdeps/x86_64/x32/Implies-after: New file.
82158
82159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82160
82161 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82162 and access return value for _dl_profile_fixup. Use R10_LP to
82163 load frame size.
82164
82165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82166
82167 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82168
82169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82170
82171 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82172 * sysdeps/x86_64/x32/sysdep.h: New file.
82173
82174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82175
82176 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82177 * sysdeps/x86_64/setjmp.S: Likewise.
82178
82179 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82180
82181 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82182 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82183 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82184 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82185 remove unused global constant.
82186
82187 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82188
82189 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82190 include of <not-cancel.h>.
82191
82192 2012-05-15 Roland McGrath <roland@hack.frob.com>
82193
82194 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82195
82196 2012-05-15 Jeff Law <law@redhat.com>
82197 Andreas Jaeger <aj@suse.de>
82198
82199 [BZ #13594]
82200 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82201 out from...
82202 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82203 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82204 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82205 code changing __hst_map_handle.map.
82206
82207 2012-05-15 Roland McGrath <roland@hack.frob.com>
82208
82209 * configure.in (sysnames): Look for Implies-before and Implies-after
82210 files.
82211 * configure: Regenerated.
82212
82213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82214
82215 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82216 8-byte data alignment with LP_SIZE alignment.
82217
82218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82219
82220 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82221 into R10_LP.
82222
82223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82224
82225 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82226
82227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82228
82229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82230 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82232 Likewise.
82233 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82234
82235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82236
82237 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82238 (stackinfo_sub_sp): Likewise.
82239
82240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82241
82242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82243 RAX_LP.
82244
82245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82246
82247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82248 into R*_LP.
82249
82250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82251
82252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82253 sizes into R*_LP.
82254
82255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82256
82257 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82258
82259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82260
82261 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82262 into R11_LP and load __x86_64_shared_cache_size_half into
82263 R8_LP.
82264
82265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82266
82267 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82268 R8_LP.
82269
82270 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82271
82272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82273 logb for POWER7.
82274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82275 logbf for POWER7.
82276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82277 logbl for POWER7.
82278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82279 powerpc32/power7/fpu/s_logb.c via #include.
82280 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82281 powerpc32/power7/fpu/s_logbf.c via #include.
82282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82283 powerpc32/power7/fpu/s_logbl.c via #include.
82284
82285 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82286
82287 * README.libm: Remove file.
82288
82289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82290
82291 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82292 count for x32. Use R*_LP and omit operand-size suffix.
82293
82294 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82295
82296 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82297 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82298 * sysdeps/x86_64/x32/shlib-versions: New file.
82299
82300 2012-05-14 Roland McGrath <roland@hack.frob.com>
82301
82302 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82303 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82304 Use _dl_fatal_printf instead.
82305
82306 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82307
82308 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82309 set if not set by the user. Do not allow for being unset.
82310 * sysdeps/unix/sysv/linux/configure: Regenerated.
82311
82312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82313
82314 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82315 the `q' suffix from lea and replace .quad with ASM_ADDR.
82316
82317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82318
82319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82320 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82321 instead of $17.
82322 (PTR_DEMANGLE): Likewise.
82323
82324 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82325
82326 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82327 (LP_OP): Likewise.
82328 (ASM_ADDR): Likewise.
82329 (RAX_LP): Likewise.
82330 (RBP_LP): Likewise.
82331 (RBX_LP): Likewise.
82332 (RCX_LP): Likewise.
82333 (RDI_LP): Likewise.
82334 (RSI_LP): Likewise.
82335 (RSP_LP): Likewise.
82336 (R8_LP): Likewise.
82337 (R9_LP): Likewise.
82338 (R10_LP): Likewise.
82339 (R10_LP): Likewise.
82340 (R11_LP): Likewise.
82341 (R12_LP): Likewise.
82342 (R13_LP): Likewise.
82343 (R14_LP): Likewise.
82344 (R15_LP): Likewise.
82345
82346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82347
82348 * sysdeps/x86_64/x32/dl-machine.h: New file.
82349
82350 2012-05-14 Andreas Jaeger <aj@suse.de>
82351
82352 * manual/Makefile (subdir): Remove export of subdir.
82353 (all): Remove target.
82354 (.PHONY): Remove all from list.
82355 (mkinstalldirs): Remove.
82356 (.PHONY): Remove installdirs from list.
82357 ($(inst_infodir)/libc.info): Use make-target-directory.
82358 (installdirs): Remove.
82359 (subdir_%): Remove.
82360 (glibc-targets): Remove.
82361 (lib): Remove.
82362 (stubs): Remove.
82363 ($(objpfx)stubs ../po/manual.pot): Remove.
82364 ($(objpfx)stamp%): Remove.
82365 (make-target-directory): Remove.
82366 (subdir_install): Remove.
82367 (routines): Remove.
82368 (aux): Remove.
82369 (sources): Remove.
82370 (objects): Remove.
82371 (headers): Remove.
82372
82373 [BZ #13750]
82374 * manual/.gitignore: Remove, it's not needed anymore.
82375 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82376 all files in it.
82377 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82378 directory.
82379 (texis): Renamed to $(objpfx)texis.
82380 (texis-path): New, contains path to generated files.
82381 (chapters.%): Use texis-path for complete path, add extra argument
82382 libc-texinfo.sh.
82383 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82384 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82385 (summary,texi, stamp-summary): Use complete path of
82386 files. Generate files in build dir.
82387 (dir-add.texi): Build in build dir.
82388 (libm-err.texi,stamp-libm-err): Likewise.
82389 (version.texi, stamp-version): Likewise.
82390 (.%c.texi): Likewise.
82391 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82392 (mostlyclean): Remove target.
82393 (realclean): Remove target.
82394 (generated): Add new variable with contents from mostlyclean and
82395 realclean, remove entries duplicated in common-mostlyclean, add
82396 stamp-libm-err and stamp-version.
82397 (generated-dirs): Add libc directory.
82398 ($(inst_infodir)/libc.info): Install files from build dir.
82399
82400 * manual/install.texi (Configuring and compiling): Adjust since
82401 the info files are not part of the tar ball anymore.
82402
82403 2012-05-14 Andreas Jaeger <aj@suse.de>
82404
82405 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82406 variable.
82407
82408 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82409
82410 [BZ #13717]
82411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82412 to 2.2.0 where earlier.
82413 * sysdeps/unix/sysv/linux/configure: Regenerated.
82414 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82415 Remove conditional code.
82416 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82417 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82418 Remove conditional code.
82419 [!__NR_lchown]: Likewise.
82420 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82421 [__NR_lchown]: Likewise.
82422 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82423 comment referencing __ASSUME_LCHOWN_SYSCALL.
82424 * sysdeps/unix/sysv/linux/i386/sigaction.c
82425 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82426 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82427 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82428 Remove conditional code.
82429 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82430 (__protocol_available): Remove #if 0 code.
82431 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82432 conditional code.
82433 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82434 * sysdeps/unix/sysv/linux/kernel-features.h
82435 (__ASSUME_GETCWD_SYSCALL): Don't define.
82436 (__ASSUME_REALTIME_SIGNALS): Likewise.
82437 (__ASSUME_PREAD_SYSCALL): Likewise.
82438 (__ASSUME_PWRITE_SYSCALL): Likewise.
82439 (__ASSUME_POLL_SYSCALL): Likewise.
82440 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82441 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82442 non-SPARC.
82443 (__ASSUME_SIOCGIFNAME): Don't define.
82444 (__ASSUME_MSG_NOSIGNAL): Likewise.
82445 (__ASSUME_SENDFILE): Define unconditionally.
82446 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82447 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82448 conditional code.
82449 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82450 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82451 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82452 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82453 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82454 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82455 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82457 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82460 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82463 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82469 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82480 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82481 Remove conditional code.
82482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82483 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82484 Remove conditional code.
82485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82486 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82487 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82488 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82489 Remove conditional code.
82490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82491 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82492 Remove conditional code.
82493 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82494 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82495 Remove conditional code.
82496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82497 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82498 Remove conditional code.
82499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82500 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82501 Remove conditional code.
82502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82503 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82506 * sysdeps/unix/sysv/linux/sigaction.c
82507 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82508 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82509 * sysdeps/unix/sysv/linux/sigpending.c
82510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82512 * sysdeps/unix/sysv/linux/sigprocmask.c
82513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82515 * sysdeps/unix/sysv/linux/sigsuspend.c
82516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82519 (__libc_missing_rt_sigs): Remove.
82520 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82521 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82522 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82523 Remove conditional code.
82524 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82525 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82526 return 1.
82527 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82528 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82529 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82530 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82531
82532 2012-05-14 Andreas Jaeger <aj@suse.de>
82533
82534 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82535 it's not used in glibc.
82536 (__coshm1): Likewise.
82537 (__acosh1p): Likewise.
82538 (__sgn): Likewise.
82539
82540 * manual/string.texi (Copying and Concatenation): Add missing
82541 variable in concat example.
82542 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82543
82544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82545
82546 [BZ #14103]
82547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82548 __builtin_clzl with __builtin_clzll.
82549
82550 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82551
82552 [BZ #14104]
82553 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82554 libc_freeres_ptr.
82555
82556 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82557
82558 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82559 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82560 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82561 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82562
82563 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82564
82565 * NEWS: Update ia64 info.
82566
82567 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82568
82569 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82570 used as bcopy.
82571
82572 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82573
82574 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82575 * sysdeps/unix/syscalls.list (dup3): Likewise.
82576 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82577 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82578
82579 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82580
82581 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82582 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82583
82584 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82585
82586 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82587 thread pointer.
82588 (TLS_IE): Use mov/add instead of movq/addq to load thread
82589 pointer.
82590 (TLS_GD_PREFIX): New.
82591 (TLS_GD): Use it.
82592
82593 2012-05-11 David S. Miller <davem@davemloft.net>
82594
82595 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82596 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82597 (_FPU_SETCW): Likewise.
82598
82599 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82600
82601 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82602 is 32-byte aligned.
82603
82604 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82605
82606 [BZ #11837]
82607 * iconvdata/gb18030.c: Update tables.
82608 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82609 characters specially.
82610 (BODY for TO_LOOP): Add encoding of missing ranges.
82611
82612 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82613
82614 [BZ #13673]
82615 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82616 * sysdeps/mach/hurd/dup3.c: Likewise.
82617 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82618 * sysdeps/powerpc/memmove.c:: Likewise.
82619
82620 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82621
82622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82623 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82624
82625 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82626
82627 * elf/elf.h (R_X86_64_RELATIVE64): New.
82628 (R_X86_64_NUM): Updated.
82629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82630 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82631 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82632 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82633 tst-quad1pie tst-quad2pie
82634 (modules-names): Add tst-quadmod1 tst-quadmod2.
82635 ($(objpfx)tst-quad1): New dependency.
82636 ($(objpfx)tst-quad2): Likewise.
82637 ($(objpfx)tst-quad1pie): Likewise.
82638 ($(objpfx)tst-quad2pie): Likewise.
82639 * sysdeps/x86_64/tst-quad1.c: New file.
82640 * sysdeps/x86_64/tst-quad1pie.c: New file.
82641 * sysdeps/x86_64/tst-quad2.c: Likewise.
82642 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82643 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82644 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82645 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82646 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82647
82648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82649
82650 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82651 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82652 * streams/stropts.h (t_scalar_t): Define type.
82653
82654 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82655 (_PATH_PRESERVE): Set to "/var/lib".
82656 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82657
82658 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82659 instead of int.
82660
82661 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82662 if __dir_mkfile succeeded.
82663
82664 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82665 checking for _hurd_dtablesize. Unlock it right after having
82666 finished _hurd_dtable allocation.
82667
82668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82669
82670 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82671 * sysdeps/mach/hurd/configure: Regenerated.
82672 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82673 special-casing to...
82674 * sysdeps/gnu/configure.in: ... this new file.
82675 * sysdeps/unix/sysv/linux/configure: Regenerated.
82676 * sysdeps/gnu/configure: New generated file.
82677
82678 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82679 for Linux: use nsec instead of usec, as well as:
82680 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82681 members of type struct timespec.
82682 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82683 New macros.
82684 (struct stat64): Likewise.
82685 (_STATBUF_ST_NSEC): New macro.
82686 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82687
82688 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82689 __strtoul_internal rather than strtoul.
82690
82691 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82692
82693 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82694 and reject them.
82695
82696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82697
82698 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82699 which preserves existing values.
82700 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82701
82702 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82703
82704 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82705 TIMEOUT values. Return EINVAL for NFDS values either negative or
82706 greater than FD_SETSIZE.
82707
82708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82709
82710 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82711 allocated, call __vm_protect to finish enabling the existing space, and
82712 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82713 allocate the remainder.
82714
82715 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82716
82717 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82718 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82719
82720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82721
82722 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82723 sysdeps/mach/hurd/readlink.c.
82724
82725 * posix/tst-sysconf.c (posix_options): Only use
82726 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82727 _POSIX_SYNCHRONIZED_IO when they are defined
82728 * sysdeps/mach/hurd/bits/posix_opt.h:
82729 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82730 (_XOPEN_REALTIME): Undefine macro.
82731 (_XOPEN_REALTIME_THREADS): Undefine macro.
82732 (_XOPEN_SHM): Undefine macro.
82733 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82734 macro to -1.
82735 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82736 macro to -1.
82737 (_POSIX_ASYNC_IO): Undefine macro.
82738 (_POSIX_PRIORITIZED_IO): Undefine macro.
82739 (_POSIX_SPIN_LOCKS): Define macro to -1.
82740
82741 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82742 SA_NODEFER, SA_RESETHAND.
82743 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82744 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82745 F_DUPFD_CLOEXEC.
82746
82747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82748
82749 * elf/Makefile (pldd-modules): Define unconditionally.
82750
82751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82752
82753 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82754
82755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82756
82757 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82758 Return ENOENT when name is empty.
82759 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82760
82761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82762
82763 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82764
82765 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82766
82767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82768
82769 Fix mlock in all cases except non-readable pages.
82770 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82771 instead of VM_PROT_ALL as parameter to __vm_wire function.
82772
82773 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82774 (__mkdir): When path is `/', just fail with EEXIST.
82775 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82776
82777 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82778
82779 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82780 <sys/uio.h> (for writev).
82781 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82782 and <sys/param.h> (for MIN).
82783
82784 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82785
82786 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82787 REQUESTED_TIME. Properly set the remaining time and return EINTR
82788 if interrupted.
82789
82790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82791
82792 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82793 Depend on against $(link-rpcuserlibs).
82794
82795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82796
82797 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82798 (__libc_stack_end): Do not use attribute_relro.
82799 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82800 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82801 to libthread-provided value.
82802 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82803 attribute_relro.
82804
82805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82806
82807 [BZ #3748]
82808 * bits/libc-lock.h (__libc_once_get): New macro.
82809 * sysdeps/mach/bits/libc-lock.h: Likewise.
82810 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82812 instead of using implementation details.
82813
82814 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82815 * libio/freopen.c: Likewise.
82816 * libio/freopen64.c: Likewise.
82817 * misc/syslog.c: Likewise.
82818 * nscd/connections.c: Likewise.
82819 * nscd/netgroupcache.c: Likewise.
82820 * sysdeps/posix/getcwd.c: Likewise.
82821
82822 2012-05-10 Roland McGrath <roland@hack.frob.com>
82823
82824 * math/w_ilogbf.c: Add #include <limits.h>.
82825
82826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82827
82828 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82829 path instead of returning without unlocking.
82830
82831 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82832 immediate-write ioctls.
82833 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82834
82835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82836
82837 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82838 __builtin_frame_address instead of making assumptions about the
82839 location of the return address relative to DATA. Force early load of
82840 the return address.
82841 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82842 __builtin_frame_address.
82843
82844 dup3 for GNU Hurd.
82845 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82846 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82847 implement dup3 and do some further code clean-ups.
82848 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82849 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82850
82851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82852
82853 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82854
82855 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82856 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82857 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82858 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82859 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82860 d->port.lock.
82861
82862 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82863 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82864 when handler == SIG_ERR, not when handler != SIG_ERR.
82865
82866 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82867
82868 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82869 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82870 definitions.
82871
82872 accept4 for GNU Hurd.
82873 * include/sys/socket.h (__libc_accept4): New prototype.
82874 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82875 to implement __libc_accept4.
82876 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82877 __libc_accept4.
82878 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82879
82880 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82881 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82882 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82883 signal-defines.sym.
82884
82885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82886
82887 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82888
82889 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82890
82891 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82892 assertion on O_CLOEXEC flag.
82893 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82894 * hurd/intern-fd.c: Likewise.
82895 * hurd/port2fd.c: Likewise.
82896
82897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82898
82899 [BZ #3906]
82900 * bits/in.h (IPV6_PKTINFO): Define new macro.
82901 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82902
82903 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82904
82905 [BZ #13954]
82906 [BZ #13955]
82907 [BZ #13956]
82908 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82910 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82911 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82913 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82914 * math/libm-test.inc (logb_test) : Additional logb tests.
82915
82916 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82917 Andreas Jaeger <aj@suse.de>
82918
82919 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82920 * configure: Regenerated.
82921 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82922 * config.make.in (link-obsolete-rpc): New substituted variable.
82923 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82924 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82925 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82926 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82927 so that libc.a contains the symbols.
82928 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82929 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82930 * sunrpc/auth_none.c: Likewise.
82931 * sunrpc/auth_unix.c: Likewise.
82932 * sunrpc/authdes_prot.c: Likewise.
82933 * sunrpc/authuxprot.c: Likewise.
82934 * sunrpc/clnt_gen.c: Likewise.
82935 * sunrpc/clnt_perr.c: Likewise.
82936 * sunrpc/clnt_raw.c: Likewise.
82937 * sunrpc/clnt_simp.c: Likewise.
82938 * sunrpc/clnt_tcp.c: Likewise.
82939 * sunrpc/clnt_udp.c: Likewise.
82940 * sunrpc/clnt_unix.c: Likewise.
82941 * sunrpc/des_crypt.c: Likewise.
82942 * sunrpc/des_soft.c: Likewise.
82943 * sunrpc/get_myaddr.c: Likewise.
82944 * sunrpc/key_call.c: Likewise.
82945 * sunrpc/key_prot.c: Likewise.
82946 * sunrpc/netname.c: Likewise.
82947 * sunrpc/pm_getmaps.c: Likewise.
82948 * sunrpc/pm_getport.c: Likewise.
82949 * sunrpc/pmap_clnt.c: Likewise.
82950 * sunrpc/pmap_prot.c: Likewise.
82951 * sunrpc/pmap_prot2.c: Likewise.
82952 * sunrpc/pmap_rmt.c: Likewise.
82953 * sunrpc/publickey.c: Likewise.
82954 * sunrpc/rpc_cmsg.c: Likewise.
82955 * sunrpc/rpc_common.c: Likewise.
82956 * sunrpc/rpc_dtable.c: Likewise.
82957 * sunrpc/rpc_prot.c: Likewise.
82958 * sunrpc/rpc_thread.c: Likewise.
82959 * sunrpc/rtime.c: Likewise.
82960 * sunrpc/svc.c: Likewise.
82961 * sunrpc/svc_auth.c: Likewise.
82962 * sunrpc/svc_raw.c: Likewise.
82963 * sunrpc/svc_run.c: Likewise.
82964 * sunrpc/svc_tcp.c: Likewise.
82965 * sunrpc/svc_udp.c: Likewise.
82966 * sunrpc/svc_unix.c: Likewise.
82967 * sunrpc/svcauth_des.c: Likewise.
82968 * sunrpc/xcrypt.c: Likewise.
82969 * sunrpc/xdr.c: Likewise.
82970 * sunrpc/xdr_array.c: Likewise.
82971 * sunrpc/xdr_float.c: Likewise.
82972 * sunrpc/xdr_intXX_t.c: Likewise.
82973 * sunrpc/xdr_mem.c: Likewise.
82974 * sunrpc/xdr_rec.c: Likewise.
82975 * sunrpc/xdr_ref.c: Likewise.
82976 * sunrpc/xdr_sizeof.c: Likewise.
82977 * sunrpc/xdr_stdio.c: Likewise.
82978
82979 2012-05-10 Roland McGrath <roland@hack.frob.com>
82980
82981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82982 change. Update copyright years.
82983
82984 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82985
82986 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82987
82988 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82989 Joseph Myers <joseph@codesourcery.com>
82990 Paul Pluzhnikov <ppluzhnikov@google.com>
82991
82992 [BZ #14012]
82993 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82994 requiring rpcgen.
82995 [cross-compiling] (extra-libs): Likewise.
82996 [cross-compiling] (extra-libs-others): Likewise.
82997 [cross-compiling] (librpcsvc-routines): Likewise.
82998 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82999 [cross-compiling] (omit-deps): Likewise.
83000 (sunrpc-CPPFLAGS): New variable.
83001 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83002 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83003 (cross-rpcgen-objs): New variable.
83004 (extra-objs): Append $(cross-rpcgen-objs).
83005 ($(cross-rpcgen-objs)): New rule.
83006 ($(objpfx)cross-rpcgen): Likewise.
83007 (rpcgen-cmd): Define to use $(built-program-file). Expand
83008 comment.
83009 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83010 ($(objpfx)x%.stmp): Likewise.
83011 * sunrpc/proto.h [IS_IN_build] (_): Define.
83012 [IS_IN_build] (_libc_intl_domainname): Likewise.
83013
83014 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83015
83016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83017 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83018 and R_X86_64_TPOFF64.
83019
83020 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83021
83022 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83023 sysdeps/unix/sysv/syscalls.list.
83024 (stime): Likewise.
83025 (utime): Likewise.
83026 * sysdeps/unix/sysv/syscalls.list: Remove file.
83027
83028 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83029
83030 [BZ #3440]
83031 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83032 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83033 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83034 (__LC_IDENTIFICATION): Make these macros useful in #if
83035 expressions, as required by C99.
83036
83037 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83038
83039 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83040 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83041 after this.
83042
83043 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83044
83045 * stdlib/longlong.h: Updated from GCC.
83046
83047 2012-05-09 Andreas Jaeger <aj@suse.de>
83048
83049 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83050 default is first entry.
83051 (run_mode): Set type.
83052 (main): Remove informal message about syslog.
83053 (options): Fix typo.
83054
83055 [BZ #14053]
83056 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83057 to asm.
83058 (lrint): Likewise.
83059 (llrintf): Likewise.
83060 (llrint): Likewise.
83061 (rint): Likewise.
83062 (rintf): Likewise.
83063 (nearbyint): Likewise.
83064 (nearbyintf): Likewise.
83065
83066 2012-05-09 Andreas Jaeger <aj@suse.de>
83067 Pedro Alves <palves@redhat.com>
83068
83069 * nscd/nscd.c (run_mode): Use enum.
83070 (main): Cleanup coding style issue.
83071
83072 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
83073 Andreas Jaeger <aj@suse.de>
83074
83075 * nscd/nscd.c (go_background): Replaced with...
83076 (run_mode): ... this.
83077 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83078 (options): Add -F --foreground.
83079 (main): Implement it.
83080 (parse_opt): Parse it.
83081
83082 2012-05-09 Andreas Jaeger <aj@suse.de>
83083
83084 [BZ #14083]
83085 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83086 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83087 -Wconversion warning.
83088 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83089 Likewise.
83090
83091 2012-05-09 Joseph Myers <joseph@codesourcery.com>
83092
83093 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83094 == 0.
83095 (LC_ALL): Use macro-int-constant.
83096 (LC_COLLATE): Likewise.
83097 (LC_CTYPE): Likewise.
83098 (LC_MESSAGES): Likewise.
83099 (LC_MONETARY): Likewise.
83100 (LC_NUMERIC): Likewise.
83101 (LC_TIME): Likewise.
83102 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83103 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83105 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83106 Specify type.
83107 [C99-based standards] (float_t): Expect type.
83108 [C99-based standards] (double_t): Expect type.
83109 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83110 type.
83111 [C99-based standards] (HUGE_VALL): Likewise.
83112 [C99-based standards] (INFINITY): Likewise.
83113 [C99-based standards] (NAN): Likewise.
83114 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83115 [C99-based standards] (FP_NAN): Likewise.
83116 [C99-based standards] (FP_NORMAL): Likewise.
83117 [C99-based standards] (FP_SUBNORMAL): Likewise.
83118 [C99-based standards] (FP_ZERO): Likewise.
83119 [C99-based standards] (FP_FAST_FMA): Use
83120 optional-macro-int-constant. Specify type. Require == 1.
83121 [C99-based standards] (FP_FAST_FMAF): Likewise.
83122 [C99-based standards] (FP_FAST_FMAL): Likewise.
83123 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83124 [C99-based standards] (FP_ILOGBNAN): Likewise.
83125 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83126 Specify type.
83127 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83128 [C99-based standards] (math_errhandling): Specify type.
83129 [ISO99 || ISO11] (signgam): Do not allow.
83130 [non-C99-based standards] (copysignf): Do not allow.
83131 [non-C99-based standards] (exp2f): Likewise.
83132 [non-C99-based standards] (log2f): Likewise.
83133 [non-C99-based standards] (modff): Allow.
83134 [non-C99-based standards] (erff): Do not allow.
83135 [non-C99-based standards] (erfcf): Likewise.
83136 [non-C99-based standards] (gammaf): Likewise.
83137 [non-C99-based standards] (hypotf): Likewise.
83138 [non-C99-based standards] (j0f): Likewise.
83139 [non-C99-based standards] (j1f): Likewise.
83140 [non-C99-based standards] (jnf): Likewise.
83141 [non-C99-based standards] (lgammaf): Likewise.
83142 [non-C99-based standards] (tgammaf): Likewise.
83143 [non-C99-based standards] (y0f): Likewise.
83144 [non-C99-based standards] (y1f): Likewise.
83145 [non-C99-based standards] (ynf): Likewise.
83146 [non-C99-based standards] (isnanf): Likewise.
83147 [non-C99-based standards] (acoshf): Likewise.
83148 [non-C99-based standards] (asinhf): Likewise.
83149 [non-C99-based standards] (atanhf): Likewise.
83150 [non-C99-based standards] (cbrtf): Likewise.
83151 [non-C99-based standards] (expm1f): Likewise.
83152 [non-C99-based standards] (ilogbf): Likewise.
83153 [non-C99-based standards] (log1pf): Likewise.
83154 [non-C99-based standards] (logbf): Likewise.
83155 [non-C99-based standards] (nextafterf): Likewise.
83156 [non-C99-based standards] (remainderf): Likewise.
83157 [non-C99-based standards] (rintf): Likewise.
83158 [non-C99-based standards] (scalbf): Likewise.
83159 [non-C99-based standards] (copysignl): Likewise.
83160 [non-C99-based standards] (exp2l): Likewise.
83161 [non-C99-based standards] (log2l): Likewise.
83162 [non-C99-based standards] (modfl): Allow.
83163 [non-C99-based standards] (erfl): Do not allow.
83164 [non-C99-based standards] (erfcl): Likewise.
83165 [non-C99-based standards] (gammal): Likewise.
83166 [non-C99-based standards] (hypotl): Likewise.
83167 [non-C99-based standards] (j0l): Likewise.
83168 [non-C99-based standards] (j1l): Likewise.
83169 [non-C99-based standards] (jnl): Likewise.
83170 [non-C99-based standards] (lgammal): Likewise.
83171 [non-C99-based standards] (tgammal): Likewise.
83172 [non-C99-based standards] (y0l): Likewise.
83173 [non-C99-based standards] (y1l): Likewise.
83174 [non-C99-based standards] (ynl): Likewise.
83175 [non-C99-based standards] (isnanl): Likewise.
83176 [non-C99-based standards] (acoshl): Likewise.
83177 [non-C99-based standards] (asinhl): Likewise.
83178 [non-C99-based standards] (atanhl): Likewise.
83179 [non-C99-based standards] (cbrtl): Likewise.
83180 [non-C99-based standards] (expm1l): Likewise.
83181 [non-C99-based standards] (ilogbl): Likewise.
83182 [non-C99-based standards] (log1pl): Likewise.
83183 [non-C99-based standards] (logbl): Likewise.
83184 [non-C99-based standards] (nextafterl): Likewise.
83185 [non-C99-based standards] (remainderl): Likewise.
83186 [non-C99-based standards] (rintl): Likewise.
83187 [non-C99-based standards] (scalbl): Likewise.
83188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83189 [non-C99-based standards] (FP_*): Do not allow.
83190 [C99-based standards] (FP_*): Change to
83191 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83192 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83193 allow.
83194 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83195 (SIG_ERR): Likewise.
83196 [X/Open-based standards] (SIG_HOLD): Likewise.
83197 (SIG_IGN): Likewise.
83198 (SIGABRT): Use macro-int-constant. Specify type. Require
83199 positive value.
83200 (SIGFPE): Likewise.
83201 (SIGILL): Likewise.
83202 (SIGINT): Likewise.
83203 (SIGSEGV): Likewise.
83204 (SIGTER): Likewise.
83205 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83206 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83207 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83208 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83209 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83210 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83211 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83212 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83213 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83214 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83215 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83216 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83217 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83218 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83219 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83220 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83221 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83222 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83223 [X/Open-based standards] (SIGTRAP): Likewise.
83224 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83225 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83226 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83227 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83228 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83229 allow.
83230
83231 2012-05-08 Ian Wienand <ianw@vmware.com>
83232
83233 [BZ #14080]
83234 * time/tzset.c (__tzset_parse_tz): Update default rules for
83235 daylight time changes in the Energy Policy Act of 2005.
83236
83237 2012-05-09 Andreas Jaeger <aj@suse.de>
83238
83239 [BZ #13983]
83240 * elf/ldconfig.c (parse_conf): Change string to make clear that
83241 ldconfig only issued a warning if ld.so.conf does not exist.
83242
83243 2012-05-08 David S. Miller <davem@davemloft.net>
83244
83245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83246 movxtod instead of popping the value on the stack.
83247
83248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83249
83250 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83251
83252 * config.h.in: Add HAVE_ARM_PCS_VFP.
83253
83254 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83255
83256 [BZ #13979]
83257 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83258 checking but the checks are disabled for any reason.
83259
83260 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83261
83262 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83263 and ELF64_R_TYPE with ELFW(R_TYPE).
83264
83265 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83266
83267 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83268 (ulimit): Likewise.
83269
83270 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83271 (settimeofday): Likewise.
83272
83273 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83274
83275 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83276 a struct th_u2 inside the union, and move tu_block/tu_code into
83277 a new th_u3 union of tu_block/tu_code inside of that. Move
83278 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83279 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83280 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83281 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83282 (th_stuff): Change to th_u1.tu_stuff.
83283 (th_data): Define.
83284 (th_msg): Change to th_u1.th_u2.tu_data.
83285
83286 2012-05-07 David S. Miller <davem@davemloft.net>
83287
83288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83289
83290 [BZ #14074]
83291 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83292 (SETUP_PIC_REG): Use it.
83293 (SETUP_PIC_REG_LEAF): Use it.
83294
83295 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83296
83297 [BZ #13885]
83298 [BZ #13923]
83299 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83300 USE_AS_EXPM1L.
83301 (EXPL_FINITE): Likewise.
83302 (FLDLOG): Likewise.
83303 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83304 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83305 e_expl.S.
83306 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83307 USE_AS_EXPM1L.
83308 (EXPL_FINITE): Likewise.
83309 (FLDLOG): Likewise.
83310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83311 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83312 e_expl.S.
83313 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83314 test of -max_value argument for long double.
83315 * sysdeps/i386/fpu/libm-test-ulps: Update.
83316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83317
83318 2012-05-06 David S. Miller <davem@davemloft.net>
83319
83320 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83321 quad soft-float symbols whose references which are compiler
83322 generated.
83323 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83324
83325 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83326
83327 [BZ #13884]
83328 [BZ #13914]
83329 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83330 USE_AS_EXP10L.
83331 (EXPL_FINITE): Likewise.
83332 (FLDLOG): Likewise.
83333 (c0): Likewise.
83334 (c1): Likewise.
83335 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83336 Adjust comments for base varying.
83337 (__expl_finite): Change alias to EXPL_FINITE.
83338 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83339 e_expl.S.
83340 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83341 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83342 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83343 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83344 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83345 USE_AS_EXP10L.
83346 (EXPL_FINITE): Likewise.
83347 (FLDLOG): Likewise.
83348 (c0): Likewise.
83349 (c1): Likewise.
83350 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83351 Adjust comments for base varying.
83352 (__expl_finite): Change alias to EXPL_FINITE.
83353 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83354 tests for bugs.
83355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83356
83357 [BZ #14064]
83358 * math/libm-test.inc (check_float_internal): Correct ulp
83359 calculation for subnormal expected results.
83360
83361 2012-05-06 Andreas Jaeger <aj@suse.de>
83362
83363 * Makeconfig (+math-flags): New, set to -frounding-math.
83364 (+cflags): Add +math-flags so that all of glibc gets compiled with
83365 it.
83366
83367 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83368
83369 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83370
83371 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83372 Disable one test.
83373
83374 [BZ #13787]
83375 [BZ #13922]
83376 [BZ #14036]
83377 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83378 (__ieee754_expl): Allow for and saturate large arguments.
83379 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83380 (u_threshold): Likewise.
83381 (__exp): Call __ieee754_exp before checking for overflow and
83382 underflow.
83383 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83384 (u_threshold): Likewise.
83385 (__expf): Call __ieee754_expf before checking for overflow and
83386 underflow.
83387 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83388 (u_threshold): Likewise.
83389 (__expl): Call __ieee754_expl before checking for overflow and
83390 underflow.
83391 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83392 (__ieee754_expl): Allow for and saturate large arguments.
83393 * math/libm-test.inc (exp_test): Add another test. Do not allow
83394 missing overflow exception on overflow.
83395 (expm1_test): Do not allow missing overflow exception on overflow.
83396
83397 * sysdeps/i386/fpu/e_expl.c: Move to ...
83398 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83399 rather than using inline asm.
83400 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83401 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83402 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83403
83404 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83405 (nice): Likewise.
83406 (poll): Likewise.
83407 (signal): Likewise.
83408 (time): Likewise.
83409 (times): Likewise.
83410
83411 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83412
83413 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83414 sysdeps/unix/common/syscalls.list.
83415 (fchmod): Likewise.
83416 (fchown): Likewise.
83417 (ftruncate): Likewise.
83418 (getrusage): Likewise.
83419 (gettimeofday): Likewise.
83420 (setpgid): Likewise.
83421 (setregid): Likewise.
83422 (setreuid): Likewise.
83423 (sigaction): Likewise.
83424 (truncate): Likewise.
83425 (vhangup): Likewise.
83426 * sysdeps/unix/common/syscalls.list: Remove file.
83427 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83428 * sysdeps/unix/sysv/linux/Implies: Likewise.
83429
83430 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83431
83432 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83434 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83435 Moved to ...
83436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83437 Here.
83438 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83439 to ...
83440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83441 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83442 to ...
83443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83444 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83445 to ...
83446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83447 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83448 to ...
83449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83450 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83451 to ...
83452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83453 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83454 to ...
83455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83456 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83457 to ...
83458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83459 Here.
83460 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83461 to ...
83462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83463 Here.
83464 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83465 to ...
83466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83467 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83468 Moved to ...
83469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83470 Here.
83471 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83472 to ...
83473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83474
83475 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83476
83477 * sysdeps/unix/common/bits/dirent.h: Remove file.
83478 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83479
83480 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83481 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83482 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83483 * sysdeps/unix/bsd/isatty.c: Likewise.
83484 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83485 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83486 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83487
83488 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83489
83490 [BZ #13563]
83491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83492 long double comparison inaccuracies.
83493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83495
83496 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83497
83498 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83500
83501 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83502
83503 [BZ #14049]
83504 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83505 nonzero digits before rounding a hex value.
83506 * stdlib/tst-strtod.c (tests): Add another test.
83507
83508 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83509
83510 * sysdeps/s390/fpu/libm-test-ulps: Update.
83511
83512 2012-05-03 Andreas Jaeger <aj@suse.de>
83513
83514 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83515 does not get optimized out.
83516 (malloc_opt_barrier): New.
83517
83518 2012-05-03 Andreas Jaeger <aj@suse.de>
83519 Roland McGrath <roland@hack.frob.com>
83520
83521 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83522 intermediate file deletion.
83523 (generated): Add .symlist files.
83524
83525 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83526
83527 [BZ #13775]
83528 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83529 Redirect under this condition.
83530 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83531 [__USE_GNU] (__dprintf_chk): Not under this condition.
83532 [__USE_GNU] (__vdprintf_chk): Likewise.
83533 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83534 under this condition.
83535 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83536 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83537 [__USE_XOPEN2K8] (vdprintf): Likewise.
83538 [__USE_GNU] (__dprintf_chk): Not under this condition.
83539 [__USE_GNU] (__vdprintf_chk): Likewise.
83540 [__USE_GNU] (dprintf): Likewise.
83541 [__USE_GNU] (vdprintf): Likewise.
83542
83543 2012-05-03 Roland McGrath <roland@hack.frob.com>
83544
83545 * elf/Makefile (common-generated): Set this instead of generated for
83546 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83547 $(all-built-dso)-derived lists.
83548
83549 2012-05-03 Andreas Jaeger <aj@suse.de>
83550
83551 * sysdeps/i386/fpu/libm-test-ulps: Update.
83552
83553 * FAQ: Removed.
83554 * FAQ.in: Likewise.
83555 * scripts/gen-FAQ.pl: Likewise.
83556 * manual/install.texi (Installation): Point to online location of
83557 FAQ.
83558 * Makefile (files-for-dist): Remove FAQ.
83559 (FAQ): Remove.
83560
83561 2012-05-02 Allan McRae <allan@archlinux.org>
83562
83563 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83564 (LDFLAGS-reldepmod5.so): Likewise.
83565 (LDFLAGS-reldep6mod1.so): Likewise.
83566 (LDFLAGS-reldep6mod4.so): Likewise.
83567 (LDFLAGS-reldep8mod3.so): Likewise.
83568 (LDFLAGS-unload4mod1.so): Likewise.
83569 (LDFLAGS-unload4mod2.so): Likewise.
83570 (LDFLAGS-tst-initorder): Likewise.
83571 (LDFLAGS-tst-initordera2.so): Likewise.
83572 (LDFLAGS-tst-initordera3.so): Likewise.
83573 (LDFLAGS-tst-initordera4.so): Likewise.
83574 (LDFLAGS-tst-initorderb2.so): Likewise.
83575 (LDFLAGS-noload): Likewise.
83576 (LDFLAGS-next): Likewise.
83577 (LDFLAGS-order2mod1.so): Likewise.
83578 (LDFLAGS-order2mod2.so): Likewise.
83579 (LDFLAGS-tst-initorder2): Likewise.
83580 (LDFLAGS-tst-initorder2a.so): Likewise.
83581 (LDFLAGS-tst-initorder2b.so): Likewise.
83582 (LDFLAGS-tst-initorder2c.so): Likewise.
83583 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83584
83585 2012-05-02 David S. Miller <davem@davemloft.net>
83586
83587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83588
83589 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83590
83591 [BZ #14055]
83592 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83593
83594 2012-05-02 Andreas Jaeger <aj@suse.de>
83595
83596 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83597 since we manipulate rounding mode.
83598 (CPPFLAGS-test-idouble.c): Likewise.
83599 (CPPFLAGS-test-ifloat.c): Likewise.
83600 (CFLAGS-test-ldouble.c): Likewise.
83601 (CFLAGS-test-double.c): Likewise.
83602 (CFLAGS-test-float.c): Likewise.
83603 (CFLAGS-test-misc.c): Likewise.
83604 (CFLAGS-test-test-fenv.c): Likewise.
83605
83606 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83607
83608 [BZ #2550]
83609 [BZ #2570]
83610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83611 comparisons to determine direction to adjust input.
83612
83613 2012-05-01 Roland McGrath <roland@hack.frob.com>
83614
83615 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83616 output to the target.
83617
83618 * scripts/localplt.awk: New file.
83619 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83620 (check-localplt-CFLAGS): Variable removed.
83621 ($(all-built-dso:=.jmprel)): New static pattern rule.
83622 (generated): Add those targets.
83623 (localplt-built-dso): New variable.
83624 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83625
83626 * elf/check-localplt.c: File removed.
83627
83628 * scripts/check-execstack.awk: New file.
83629 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83630 (check-execstack-CFLAGS): Variable removed.
83631 ($(objpfx)check-execstack.h): Target removed.
83632 ($(objpfx)execstack-default): New target.
83633 (generated): Add that instead of check-execstack.h.
83634 ($(all-built-dso:=.phdr)): New static pattern rule.
83635 (generated): Add those targets.
83636 * elf/check-execstack.c: File removed.
83637
83638 * scripts/check-textrel.awk: New file.
83639 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83640 (check-textrel-CFLAGS): Variable removed.
83641 (all-built-dso): Use := to define.o
83642 ($(all-built-dso:=.dyn)): New static pattern rule.
83643 (generated): Add those targets.
83644 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83645 * config.make.in (READELF): New substituted variable.
83646 * elf/check-textrel.c: File removed.
83647
83648 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83649
83650 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83651 allow.
83652 * conform/data/ctype.h-data [C99-based standards] (isblank):
83653 Expect function.
83654 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83655 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83657 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83658 Specify type. Require positive value.
83659 (EILSEQ): Likewise.
83660 (ERANGE): Likewise.
83661 [ISO || POSIX] (EILSEQ): Do not expect.
83662 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83663 Specify type. Require positive value.
83664 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83665 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83666 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83667 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83668 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83669 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83670 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83671 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83672 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83673 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83674 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83675 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83676 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83677 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83678 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83679 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83680 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83681 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83682 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83683 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83684 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83685 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83686 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83687 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83688 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83689 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83690 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83691 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83692 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83693 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83694 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83695 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83696 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83697 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83698 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83699 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83700 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83701 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83702 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83703 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83704 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83705 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83706 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83707 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83708 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83709 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83710 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83711 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83712 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83713 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83714 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83715 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83716 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83717 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83718 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83719 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83720 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83721 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83722 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83723 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83724 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83725 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83726 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83727 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83728 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83729 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83730 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83731 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83732 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83733 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83734 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83735 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83736 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83737 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83738 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83739 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83740 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83741 Require >= 2.
83742 (FLT_ROUNDS): Expect as macro, not constant.
83743 (FLT_MANT_DIG): Use macro-int-constant.
83744 (DBL_MANT_DIG): Likewise.
83745 (LDBL_MANT_DIG): Likewise.
83746 (FLT_DIG): Likewise.
83747 (DBL_DIG): Likewise.
83748 (LDBL_DIG): Likewise.
83749 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83750 (DBL_MIN_EXP): Likewise.
83751 (LDBL_MIN_EXP): Likewise.
83752 (FLT_MAX_EXP): Use macro-int-constant.
83753 (DBL_MAX_EXP): Likewise.
83754 (LDBL_MAX_EXP): Likewise.
83755 (FLT_MAX_10_EXP): Likewise.
83756 (DBL_MAX_10_EXP): Likewise.
83757 (LDBL_MAX_10_EXP): Likewise.
83758 (FLT_MAX): Use macro-constant.
83759 (DBL_MAX): Likewise.
83760 (LDBL_MAX): Likewise.
83761 (FLT_EPSILON): Use macro-constant. Give upper bound.
83762 (DBL_EPSILON): Likewise.
83763 (LDBL_EPSILON): Likewise.
83764 (FLT_MIN): Likewise.
83765 (DBL_MIN): Likewise.
83766 (LDBL_MIN): Likewise.
83767 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83768 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83769 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83770 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83771 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83772 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83773 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83774 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83775 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83776 [ISO11] (FLT_TRUE_MIN): Likewise.
83777 [ISO11] (LDBL_TRUE_MIN): Likewise.
83778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83779 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83780 (SCHAR_MIN): Use macro-int-constant. Specify type.
83781 (SCHAR_MAX): Likewise.
83782 (UCHAR_MAX): Likewise.
83783 (CHAR_MIN): Likewise.
83784 (CHAR_MAX): Likewise.
83785 (MB_LEN_MAX): Use macro-int-constant.
83786 (SHRT_MIN): Use macro-int-constant. Specify type.
83787 (SHRT_MAX): Likewise.
83788 (USHRT_MAX): Likewise.
83789 (INT_MAX): Likewise.
83790 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83791 bound negative.
83792 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83793 bound with "U".
83794 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83795 bound with "L".
83796 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83797 bound negative. Suffix upper bound with "L".
83798 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83799 bound with "UL".
83800 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83801 Specify type.
83802 [C99-based standards] (LLONG_MAX): Likewise.
83803 [C99-based standards] (ULLONG_MAX): Likewise.
83804 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83805 == 0.
83806 [ISO11] (max_align_t): Require type.
83807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83808
83809 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83810 from $CFLAGS, without defining away __attribute__ calls.
83811 (checknamespace): Use $CFLAGS_namespace.
83812
83813 * conform/conformtest.pl (@keywords): Only include C99 keywords
83814 for standards based on C99 or C11.
83815
83816 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83817 Disable tests.
83818 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83819 UNIX98]: Likewise.
83820
83821 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83822 usability of symbols in #if.
83823
83824 * conform/conformtest.pl: If macro or constant types start
83825 "promoted:", expect the symbol to be of the following type
83826 promoted by the integer promotions.
83827
83828 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83829 in one place. Also handle "macro-constant".
83830
83831 * conform/conformtest.pl: Only accept expected macro values with
83832 "==". Parse all "macro" lines in one place.
83833 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83834
83835 * conform/conformtest.pl: Handle braced types on "constant" lines
83836 instead of handling "typed-constant".
83837 * conform/data/signal.h-data: Use "constant" instead of
83838 "typed-constant".
83839
83840 * conform/conformtest.pl: Handle "optional-" at start of lines in
83841 one place rather than duplicating several cases. Handle each
83842 format of "macro" line with initial "optional-".
83843
83844 * conform/conformtest.pl: Only accept expected constant or
83845 optional-constant values with "==". Parse all "constant" lines in
83846 one place. Parse all "optional-constant" lines in one place.
83847 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83848 * conform/data/fmtmsg.h-data: Likewise.
83849 * conform/data/netinet/in.h-data: Likewise.
83850 * conform/data/tar.h-data: Likewise.
83851 * conform/data/limits.h-data: Use "==" form on "constant" and
83852 "optional-constant" lines.
83853
83854 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83855 Use -std=c99 for XOPEN2K.
83856 (@knownproblems): Remove.
83857 (newtoken): Don't check %isknown.
83858
83859 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83860 Do not expect macro.
83861 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83862 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83863 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83864 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83865 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83866 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83867 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83868 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83869 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83870 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83871 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83872 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83873 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83874 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83875 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83876 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83877 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83878 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83879 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83880 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83881 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83882 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83883 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83885 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83886 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83887 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83888 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83889 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83890 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83891 [XPG3] (acosh): Likewise.
83892 [XPG3] (asinh): Likewise.
83893 [XPG3] (atanh): Likewise.
83894 [XPG3] (cbrt): Likewise.
83895 [XPG3] (expm1): Likewise.
83896 [XPG3] (ilogb): Likewise.
83897 [XPG3] (log1p): Likewise.
83898 [XPG3] (logb): Likewise.
83899 [XPG3] (nextafter): Likewise.
83900 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83901 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83902 [XPG3] (remainder): Likewise.
83903 [XPG3] (rint): Likewise.
83904 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83905 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83906 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83907 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83908 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83909 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83910 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83911 [UNIX98 || XOPEN2K] (scalb): Expect.
83912 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83913 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83914 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83915 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83916 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83917 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83918 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83919 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83920 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83921 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83922 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83923 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83924 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83925 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83926 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83927 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83928 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83929 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83930 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83931 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83932 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83933 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83934 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83935 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83936 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83937 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83938 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83939 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83940 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83941 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83942 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83943 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83944 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83945 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83946 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83947 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83948 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83949 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83950 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83951 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83952 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83953 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83954 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83955 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83956 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83957 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83958 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83959 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83960 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83961 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83962 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83963 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83964 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83965 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83966 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83967 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83968 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83969 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83970 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83971 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83972 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83973 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83974 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83975 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83976 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83977 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83978 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83979 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83980 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83981 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83982 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83983 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83984 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83985 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83986 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83987 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83988 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83989 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83990 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83991 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83992 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83993 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83994 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83995 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83996 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83997 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83998 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83999 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84000 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84001 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84002 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84003 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84004 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84005 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84006 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84007 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84008 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84009 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84010 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84011 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84012 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84013 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84014 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84015 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84016 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84017 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84018 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84019 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84020 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84021 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84022 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84023 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84024 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84025 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84026 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84027 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84028 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84029 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84030 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84031 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84032 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84033 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84034 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84035 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84036 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84037 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84038 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84039 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84040 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84041 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84042 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84043 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84044 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84045 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84046 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84047 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84048 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84049
84050 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84051 _XOPEN_SOURCE_EXTENDED for XPG4.
84052
84053 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84054
84055 * Makeconfig (localtime): Remove variable.
84056 (inst_localtime-file): Likewise.
84057
84058 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84059
84060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84061 Update.
84062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84063 Update.
84064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84065 Update.
84066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84067 Update.
84068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84069 Update.
84070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84071 Update.
84072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84073 Update.
84074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84075 Update.
84076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84077 Update.
84078
84079 2012-05-01 Joseph Myers <joseph@codesourcery.com>
84080
84081 [BZ #2550]
84082 [BZ #2570]
84083 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84084 comparisons to determine direction to adjust input.
84085 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84086 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84087 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84088 Likewise.
84089 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84090 Likewise.
84091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84092 Likewise.
84093 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84094 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84095 Likewise.
84096 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84097 Likewise.
84098 * math/libm-test.inc (nexttoward_test): Add more tests.
84099
84100 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84101
84102 [BZ #14040]
84103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84104 in version GLIBC_2.1, not GLIBC_2.0.
84105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84106 Likewise.
84107
84108 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84109
84110 [BZ #13942]
84111 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84112 (1 - x) * (1 + x).
84113 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84114 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84115 * math/libm-test.inc (acos_test): Add more tests.
84116 (asin_test): Likewise.
84117 * sysdeps/i386/fpu/libm-test-ulps: Update.
84118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84119
84120 [BZ #14034]
84121 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84122 of square root.
84123 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84124 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84125 * math/libm-test.inc (acos_test_tonearest): New function.
84126 (acos_test_towardzero): Likewise.
84127 (acos_test_downward): Likewise.
84128 (acos_test_upward): Likewise.
84129 (asin_test_tonearest): Likewise.
84130 (asin_test_towardzero): Likewise.
84131 (asin_test_downward): Likewise.
84132 (asin_test_upward): Likewise.
84133 (main): Call the new functions.
84134 * sysdeps/i386/fpu/libm-test-ulps: Update.
84135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84136
84137 [BZ #13884]
84138 [BZ #13924]
84139 * math/e_exp10.c: Include <float.h>.
84140 (__ieee754_exp10): Handle underflow here rather than multiplying
84141 large negative argument by M_LN10.
84142 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84143 of __ieee754_expf.
84144 * math/e_exp10l.c: Include <float.h>.
84145 (__ieee754_exp10l): Handle underflow here rather than multiplying
84146 large negative argument by M_LN10l.
84147 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84148 spurious overflow exception on underflow.
84149
84150 2012-04-29 Marek Polacek <polacek@redhat.com>
84151
84152 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84153 (__fortify_function): New macro.
84154 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84155 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84156 __extern_always_inline.
84157 * libio/bits/stdio2.h: Likewise.
84158 * libio/bits/stdio.h: Likewise.
84159 * string/string.h: Likewise.
84160 * string/bits/string3.h: Likewise.
84161 * include/stdio.h: Likewise.
84162 * stdlib/bits/stdlib.h: Likewise.
84163 * stdlib/stdlib.h: Likewise.
84164 * rt/bits/mqueue2.h: Likewise.
84165 * rt/mqueue.h: Likewise.
84166 * posix/bits/unistd.h: Likewise.
84167 * posix/unistd.h: Likewise.
84168 * io/bits/poll2.h: Likewise.
84169 * io/bits/fcntl2.h: Likewise.
84170 * io/fcntl.h: Likewise.
84171 * io/sys/poll.h: Likewise.
84172 * misc/bits/syslog.h: Likewise.
84173 * misc/bits/syslog-ldbl.h: Likewise.
84174 * misc/sys/syslog.h: Likewise.
84175 * socket/bits/socket2.h: Likewise.
84176 * socket/sys/socket.h: Likewise.
84177 * debug/tst-chk1.c: Likewise.
84178 * wcsmbs/bits/wchar2.h: Likewise.
84179 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84180 * wcsmbs/wchar.h: Likewise.
84181
84182 2012-04-29 Andreas Jaeger <aj@suse.de>
84183
84184 * Makerules (tests): Remove enable-check-abi protection.
84185 (check-abi-warn): Remove.
84186 (check-abi-%): Remove check-abi-warn usage.
84187
84188 * configure.in: Remove check-abi configure option.
84189 * configure: Regenerated.
84190 * config.make.in (enable-check-abi): Remove.
84191
84192 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84193
84194 [BZ #14033]
84195 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84196 double functions to double *_finite functions.
84197
84198 [BZ #13941]
84199 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84200 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84201 LDBL_MIN_EXP.
84202 * stdio-common/Makefile (tests): Add tst-sprintf3.
84203 * stdio-common/tst-sprintf3.c: New file.
84204
84205 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84206 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84207
84208 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84209
84210 * conform/conformtest.pl: Remove duplicate typed-constant
84211 handling.
84212
84213 2012-04-28 David S. Miller <davem@davemloft.net>
84214
84215 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84216 (check-abi-%): Remove AWK script prerequisite and explicit
84217 abilist directory.
84218 (check-abi): Rewrite to just diff the symlist with the abilist.
84219 (config-tls, config-abi-config): Delete, no longer used.
84220 (update-abi-%): Remove AWK script and explicit abilist directory.
84221 (update-abi): Rewrite to simply compare and conditionally copy the
84222 symlist and the sysdep abilist file. Remove update-abi-config
84223 checks.
84224 * abilist/ld.abilist: Remove.
84225 * abilist/libBrokenLocale.abilist: Remove.
84226 * abilist/libanl.abilist: Remove.
84227 * abilist/libcrypt.abilist: Remove.
84228 * abilist/libdl.abilist: Remove.
84229 * abilist/librt.abilist: Remove.
84230 * abilist/libthread_db.abilist: Remove.
84231 * abilist/libutil.abilist: Remove.
84232 * scripts/extract-abilist.awk: Remove.
84233 * scripts/merge-abilist.awk: Remove.
84234 * sysdeps/generic/libcidn.abilist: New file.
84235 * sysdeps/generic/libnss_compat.abilist: New file.
84236 * sysdeps/generic/libnss_db.abilist: New file.
84237 * sysdeps/generic/libnss_dns.abilist: New file.
84238 * sysdeps/generic/libnss_files.abilist: New file.
84239 * sysdeps/generic/libnss_hesiod.abilist: New file.
84240 * sysdeps/generic/libnss_nis.abilist: New file.
84241 * sysdeps/generic/libnss_nisplus.abilist: New file.
84242 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84243 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84244 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84245 file.
84246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84247 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84248 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84249 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84250 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84251 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84252 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84253 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84254 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84255 file.
84256 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84257 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84258 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84259 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84260 file.
84261 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84262 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84263 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84264 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84265 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84266 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84267 file.
84268 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84269 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84270 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84271 file.
84272 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84274 New file.
84275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84276 New file.
84277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84278 New file.
84279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84280 New file.
84281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84282 New file.
84283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84284 New file.
84285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84286 New file.
84287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84288 New file.
84289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84290 New file.
84291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84292 New file.
84293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84294 New file.
84295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84296 New file.
84297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84298 New file.
84299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84300 file.
84301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84302 New file.
84303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84304 New file.
84305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84306 file.
84307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84308 New file.
84309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84310 New file.
84311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84312 file.
84313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84314 New file.
84315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84316 New file.
84317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84318 New file.
84319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84320 New file.
84321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84322 New file.
84323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84324 New file.
84325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84327 file.
84328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84329 New file.
84330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84331 file.
84332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84333 file.
84334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84335 file.
84336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84337 file.
84338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84339 file.
84340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84341 New file.
84342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84343 file.
84344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84345 file.
84346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84347 New file.
84348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84349 file.
84350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84352 file.
84353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84354 New file.
84355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84356 file.
84357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84358 file.
84359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84360 file.
84361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84362 file.
84363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84364 file.
84365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84366 New file.
84367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84368 file.
84369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84370 file.
84371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84372 New file.
84373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84374 file.
84375 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84376 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84377 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84378 file.
84379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84380 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84381 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84382 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84383 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84384 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84385 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84386 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84387 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84388 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84391 file.
84392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84393 New file.
84394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84395 file.
84396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84397 file.
84398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84399 file.
84400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84401 file.
84402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84403 file.
84404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84405 New file.
84406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84407 New file.
84408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84409 file.
84410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84411 New file.
84412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84413 file.
84414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84416 file.
84417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84418 New file.
84419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84420 file.
84421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84422 file.
84423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84424 file.
84425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84426 file.
84427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84428 file.
84429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84430 New file.
84431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84432 New file.
84433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84434 file.
84435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84436 New file.
84437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84438 file.
84439
84440 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84441
84442 * conform/conformtest.pl: Fix typo in handling typed-constant from
84443 allow-header.
84444
84445 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84446
84447 * README: Cut down references to pre-2.6 Linux kernels and
84448 Linuxthreads. Update lists of configurations in libc and ports
84449 and sort alphabetically. Say "or newer" with Linux kernel version
84450 requirements.
84451
84452 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84453
84454 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84455
84456 [BZ #887]
84457 * math/libm-test.inc (logb_test_downward): New test to expose
84458 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84459 rounding mode.
84460
84461 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84462
84463 [BZ #14027]
84464 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84465 to be done.
84466 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84467 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84468
84469 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84470
84471 * sysdeps/unix/i386/brk.S: Remove file.
84472 * sysdeps/unix/i386/dl-brk.S: Likewise.
84473 * sysdeps/unix/i386/pipe.S: Likewise.
84474 * sysdeps/unix/i386/sigreturn.S: Likewise.
84475 * sysdeps/unix/i386/syscall.S: Likewise.
84476 * sysdeps/unix/i386/vfork.S: Likewise.
84477 * sysdeps/unix/i386/wait.S: Likewise.
84478
84479 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84480 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84481
84482 * configure.in (arm*-none*): Do not allow without
84483 --enable-hacker-mode.
84484 (netbsd*): Remove case setting base_os.
84485 (386bsd*): Likewise.
84486 (freebsd*): Likewise.
84487 (bsdi*): Likewise.
84488 (osf*): Likewise.
84489 (sunos*): Likewise.
84490 (ultrix*): Likewise.
84491 (newsos*): Likewise.
84492 (dynix*): Likewise.
84493 (*bsd*): Likewise.
84494 (sysv*): Likewise.
84495 (isc*): Likewise.
84496 (esix*): Likewise.
84497 (sco*): Likewise.
84498 (minix*): Likewise.
84499 (irix4*): Likewise.
84500 (irix6*): Likewise.
84501 (solaris[2-9]*): Likewise.
84502 (none): Likewise.
84503 * configure: Regenerated.
84504
84505 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84506
84507 [BZ #11521]
84508 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84509 overflow or cancellation in calculating denominator.
84510 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84512 down expression to avoid unexpected rounding in newer GCCs.
84513 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84514
84515 2012-04-26 David S. Miller <davem@davemloft.net>
84516
84517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84518 long-double compat symbols.
84519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84532
84533 2012-04-25 David S. Miller <davem@davemloft.net>
84534
84535 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84536 HWCAP_* values only after the memory barriers have been defined.
84537 (atomic_full_barrier): Define.
84538 (atomic_read_barrier): Define.
84539 (atomic_write_barrier): Define.
84540
84541 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84542
84543 * shlib-versions: Add libgcc_s version information.
84544 * sysdeps/generic/libgcc_s.h: Remove.
84545 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84546 libgcc_s.h.
84547 * sysdeps/gnu/unwind-resume.c: Likewise.
84548 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84549
84550 2012-04-25 David S. Miller <davem@davemloft.net>
84551
84552 * sysdeps/unix/sparc/brk.S: Delete.
84553 * sysdeps/unix/sparc/dl-brk.S: Delete.
84554 * sysdeps/unix/sparc/pipe.S: Delete.
84555 * sysdeps/unix/sparc/sysdep.S: Delete.
84556 * sysdeps/unix/sparc/sysdep.h: Delete.
84557 * sysdeps/unix/sparc/vfork.S: Delete.
84558 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84559 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84560 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84561 (ret_ERRVAL, r0, r1, MOVE): Define.
84562 (JUMPTARGET): Remove.
84563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84564 sysdeps/unix/sparc/sysdep.h
84565 (ENTRY, END): Remove.
84566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84567
84568 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84569
84570 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84571 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84572 -DIS_IN_build.
84573
84574 * timezone/README: Update upstream location and email address for
84575 tzcode and tzdata.
84576 * timezone/zdump.c: Update from tzcode 2012b.
84577 * timezone/zic.c: Likewise.
84578
84579 * configure.in (libc_cv_as_needed): Remove test.
84580 * configure: Regenerated.
84581 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84582 conditional definition.
84583 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84584 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84585 * config.make.in (have-as-needed): Remove variable.
84586
84587 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84588 Paul Pluzhnikov <ppluzhnikov@google.com>
84589
84590 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84591 strings correctly.
84592
84593 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84594
84595 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84596 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84597 * sysdeps/sh/strlen.S: Likewise.
84598
84599 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84600
84601 * sysdeps/unix/fork.S: Remove file.
84602 * sysdeps/unix/i386/fork.S: Likewise.
84603 * sysdeps/unix/sparc/fork.S: Likewise.
84604
84605 * sysdeps/unix/system.c: Remove file.
84606 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84607
84608 * sysdeps/unix/getegid.S: Remove file.
84609 * sysdeps/unix/geteuid.S: Likewise.
84610
84611 2012-04-24 Roland McGrath <roland@hack.frob.com>
84612
84613 * scripts/check-localplt.awk: New file.
84614 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84615 of diff.
84616 * scripts/data/localplt-generic.data: Add a comment.
84617
84618 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84619 NODE when __dir_mkfile failed.
84620 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84621 Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84622
84623 2012-04-24 Andreas Jaeger <aj@suse.de>
84624
84625 * Makerules (common-clean): Also remove gen-as-const-headers
84626 files.
84627
84628 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84629
84630 * Makerules (native-compile): Do not change working directory for
84631 build. Use $(OUTPUT_OPTION) in command.
84632 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84633
84634 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84635
84636 [BZ #13886]
84637 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84638 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84639 * math/libm-test.inc (floor_test): Add more tests.
84640 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84641
84642 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84643
84644 * sysdeps/unix/getdents.c: Remove file.
84645 * sysdeps/unix/sysv/getdents.c: Likewise.
84646 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84647
84648 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84649 sysdeps/unix/mman/syscalls.list.
84650 (mmap): Likewise.
84651 (mprotect): Likewise.
84652 (msync): Likewise.
84653 (munmap): Likewise.
84654 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84655 * sysdeps/unix/mman/syscalls.list: Remove.
84656 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84657
84658 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84659 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84660 * configure: Regenerated.
84661 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84662 $(libgcc_s_suffix).
84663 * config.make.in (libgcc_s_suffix): Remove variable.
84664
84665 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84666
84667 * sysdeps/unix/sysv/gethostname.c: Move to ...
84668 * sysdeps/posix/gethostname.c: ... here.
84669
84670 * sysdeps/unix/execve.S: Remove file.
84671
84672 * sysdeps/unix/_exit.S: Remove file.
84673
84674 2012-04-23 Andreas Jaeger <aj@suse.de>
84675
84676 [BZ #13739]
84677 * manual/Makefile: Remove make dist support, there's no
84678 need for a stand-alone documentation tar ball.
84679 (TEXI2DVI): Define always, it's not in Makeconfig.
84680 (dist): Removed.
84681 (tar-it): Removed.
84682 (edition): Removed.
84683 (glibc-doc-$(edition).tar): Removed
84684 (%.Z): Removed.
84685 (%.gz): Removed.
84686 (%.uu): Removed.
84687 (ETAGS): Remove, it's in Makeconfig.
84688 (move-if-change): Remove, it's in Makeconfig.
84689
84690 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84691
84692 [BZ #13970]
84693 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84694 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84695 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84696 (strtod_l, strtof_l, strtold_l): Remove __wur.
84697 It is not necessarily an error to ignore strtol's return value.
84698 One can reliably look at the stored endptr to decide whether
84699 the number had valid syntax.
84700
84701 2012-04-21 Andreas Jaeger <aj@suse.de>
84702
84703 [BZ #13739]
84704 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84705
84706 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84707
84708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84709 * sysdeps/unix/sysv/Versions: Remove file.
84710
84711 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84712
84713 [BZ #13927]
84714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84715
84716 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84717
84718 [BZ #7064]
84719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84720 version from __vm86.
84721
84722 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84723
84724 * sysdeps/unix/common/lxstat.c: Remove file.
84725 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84726
84727 * sysdeps/unix/sysv/Makefile: Remove file.
84728
84729 * sysdeps/unix/sysv/direct.h: Remove file.
84730
84731 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84732 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84733 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84734 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84735 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84736 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84737 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84738
84739 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84740
84741 * sysdeps/unix/xmknod.c: Remove file.
84742 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84743
84744 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84745
84746 * sysdeps/unix/sysv/i386/time.S: Remove file.
84747
84748 * sysdeps/unix/fxstat.c: Remove file.
84749 * sysdeps/unix/xstat.c: Likewise.
84750 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84751
84752 * sysdeps/unix/sysv/sigaction.c: Remove file.
84753
84754 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84755 (sysdep_headers): Remove variable.
84756 [termio.h not in sysdep_headers] (generated): Likewise.
84757 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84758 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84759 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84760 * sysdeps/unix/sysv/tcflow.c: Likewise.
84761 * sysdeps/unix/sysv/tcflush.c: Likewise.
84762 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84763 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84764 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84765 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84766 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84767
84768 * sysdeps/unix/siglist.c: Remove file.
84769
84770 * sysdeps/unix/getppid.S: Remove file.
84771
84772 * sysdeps/unix/mkdir.c: Remove file.
84773 * sysdeps/unix/rmdir.c: Likewise.
84774
84775 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84776
84777 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84778 ERR_MAX value.
84779 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84780 errlist-compat value.
84781
84782 2012-04-18 David S. Miller <davem@davemloft.net>
84783
84784 * sysdeps/generic/memcopy.h (reg_char): Delete.
84785 * debug/strcat_chk.c: Use char, not reg_char.
84786 * debug/strcpy_chk.c: Likewise.
84787 * debug/strncat_chk.c: Likewise.
84788 * debug/strncpy_chk.c: Likewise.
84789 * string/memchr.c: Likewise.
84790 * string/memrchr.c: Likewise.
84791 * string/rawmemchr.c: Likewise.
84792 * string/strcat.c: Likewise.
84793 * string/strchr.c: Likewise.
84794 * string/strchrnul.c: Likewise.
84795 * string/strcmp.c: Likewise.
84796 * string/strcpy.c: Likewise.
84797 * string/strncat.c: Likewise.
84798 * string/strncmp.c: Likewise.
84799 * string/strncpy.c: Likewise.
84800
84801 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84802
84803 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84804 __builtin_memcopy is called when src and dest ranges are known to not
84805 overlap.
84806
84807 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84808
84809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84810 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84811 fwd_align_merge macro call.
84812 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84813 bwd_align_merge macro call.
84814 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84815
84816 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84817
84818 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84819 bwd_align_merge macros.
84820 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84821 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84823
84824 2012-04-18 David S. Miller <davem@davemloft.net>
84825
84826 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84827
84828 2012-04-18 Andreas Jaeger <aj@suse.de>
84829
84830 [BZ #6794]
84831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84832 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84833 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84834
84835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84836 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84837 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84838
84839 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84840 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84841 Adjust for changed ldbl-128 files.
84842
84843 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84844 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84845 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84846
84847 2012-04-17 David S. Miller <davem@davemloft.net>
84848
84849 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84850
84851 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84852
84853 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84854 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84855 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84856 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84857 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84858 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84859
84860 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84861
84862 [BZ #6794]
84863 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84864 * math/libm-test.inc: Add ilogb errno and exception tests.
84865 * math/w_ilogb.c: New file: ilogb wrapper.
84866 * math/w_ilogbf.c: New file: ilogbf wrapper.
84867 * math/w_ilogbl.c: New file: ilogbl wrapper.
84868 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84869 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84870 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84871 exception being thrown with 0.0 as argument.
84872 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84873 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84874 exception being thrown with 0.0 as argument.
84875 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84876 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84877 exception being thrown with 0.0 as argument.
84878 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84879 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84880 exception being thrown with 0.0 as argument.
84881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84882 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84884 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84885 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84886 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84887 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84888 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84889 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84890
84891 2012-04-17 Petr Baudis <pasky@ucw.cz>
84892
84893 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84894 with altivec.
84895
84896 2012-04-16 Marek Polacek <polacek@redhat.com>
84897
84898 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84899
84900 2012-04-16 Marek Polacek <polacek@redhat.com>
84901
84902 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84903 operands of fdivp instruction.
84904
84905 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84906
84907 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84908 * elf/tst-auditmod3b.c: Likewise.
84909 * elf/tst-auditmod4b.c: Likewise.
84910 * elf/tst-auditmod5b.c: Likewise.
84911 * elf/tst-auditmod6b.c: Likewise.
84912 * elf/tst-auditmod6c.c: Likewise.
84913 * elf/tst-auditmod7b.c: Likewise.
84914 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84915 * sysdeps/x86_64/preconfigure.in: Likewise.
84916 * sysdeps/x86_64/preconfigure: Regenerated.
84917
84918 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84919
84920 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84921 __ILP32__.
84922
84923 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84924
84925 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84926 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84927
84928 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84929
84930 [BZ #13973]
84931 * locale/iso-639.def: Fix gl language name. Spotted by
84932 Yaron Shahrabani.
84933
84934 2012-04-12 Roland McGrath <roland@hack.frob.com>
84935
84936 [BZ #2074]
84937 * libio/libio.h (__io_write_fn): Update comment.
84938
84939 2012-04-12 Petr Baudis <pasky@ucw.cz>
84940
84941 [BZ #2074]
84942 * stdio.texi (Hook Functions): The user provided writer function
84943 is not allowed to return -1.
84944
84945 2012-04-11 David S. Miller <davem@davemloft.net>
84946
84947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84948
84949 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84950
84951 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84952 Add a leading slash to rtkaio.
84953
84954 2012-04-11 Jim Meyering <meyering@redhat.com>
84955
84956 [BZ #11959]
84957 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84958 It is not necessarily an error to ignore fwrite's return
84959 value. One can reliably use ferror to test for errors after
84960 the fact.
84961
84962 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84963
84964 * bits/types.h (__snseconds_t): New type.
84965 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84966
84967 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84969 (__SNSECONDS_T_TYPE): Likewise.
84970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84971 (__SNSECONDS_T_TYPE): Likewise.
84972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84973 (__SNSECONDS_T_TYPE): Likewise.
84974
84975 2012-04-10 Andreas Jaeger <aj@suse.de>
84976
84977 [BZ #2636]
84978 * manual/time.texi (Processor Time): Return type of times is
84979 elapsed real time since an arbitrary point in the past.
84980 (CPU Time): Move CLK_TCK from here...
84981 (Processor Time): ...to here. Correct description.
84982 * manual/conf.texi (Constants for Sysconf): Correct description of
84983 _SC_CLK_TCK.
84984
84985 2012-04-10 David S. Miller <davem@davemloft.net>
84986
84987 [BZ #13967]
84988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84989 where the is a gap between DT_REL(A) and DT_JMPREL.
84990
84991 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84992
84993 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84994 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84995 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84996
84997 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84998
84999 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85000 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85001 (dl_main): Handle --inhibit-cache.
85002 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85003 _dl_inhibit_cache.
85004 * elf/dl-load.c (_dl_map_object): Use it.
85005 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85006
85007 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85008
85009 [BZ #13872]
85010 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85011 (__ieee754_powl): Saturate large exponents rather than testing for
85012 overflow of y*log2(x).
85013 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85014 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85015 exceptions.
85016
85017 [BZ #11521]
85018 * math/s_ctan.c: Include <float.h>.
85019 (__ctan): Avoid internal overflow or cancellation in calculating
85020 denominator.
85021 * math/s_ctanf.c: Likewise.
85022 * math/s_ctanl.c: Likewise.
85023 * math/s_ctanh.c: Likewise.
85024 * math/s_ctanhf.c: Likewise.
85025 * math/s_ctanhl.c: Likewise.
85026 * math/libm-test.inc (ctan_test): Add more tests.
85027 (ctanh_test): Likewise.
85028 * sysdeps/i386/fpu/libm-test-ulps: Update.
85029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85030
85031 2012-04-09 Andreas Jaeger <aj@suse.de>
85032
85033 [BZ #6894]
85034 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85035 is an optional BSD extension.
85036
85037 [BZ #10254]
85038 * manual/stdio.texi (Opening Streams): Document additional fopen
85039 parameters.
85040
85041 2012-04-09 Roland McGrath <roland@hack.frob.com>
85042
85043 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85044 %eax without telling the compiler.
85045
85046 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
85047
85048 [BZ # 13963]
85049 * manual/install.texi: Use sourceware.org.
85050
85051 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85052
85053 [BZ #13873]
85054 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85055 (__ieee754_pow): Generate overflow and underflow using huge*huge
85056 and tiny*tiny rather than just returning constant infinity or zero
85057 for large exponents.
85058 * math/libm-test.inc (pow_test): Require overflow exceptions for
85059 applicable cases of large exponents.
85060
85061 [BZ #706]
85062 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85063 (__ieee754_pow): Use iterative multiplication algorithm only for
85064 integer exponents with absolute value below 1024. Check for odd
85065 integer exponents when using algorithm for real exponents.
85066 * math/libm-test.inc (pow_test): Add more tests.
85067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85068
85069 2012-04-08 Joseph Myers <joseph@codesourcery.com>
85070
85071 [BZ #13705]
85072 * math/libm-test.inc (exp_test): Do not allow overflow exception
85073 on underflow test.
85074
85075 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
85076
85077 [BZ #13705]
85078 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85079 instead of __kernel_standard_f.
85080
85081 2012-04-08 Mike Frysinger <vapier@gentoo.org>
85082
85083 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85084 * sysdeps/x86_64/memset_chk.S: Likewise.
85085
85086 2012-04-08 Andreas Jaeger <aj@suse.de>
85087
85088 [BZ #10153]
85089 * manual/startup.texi (Environment Access): Describe return value
85090 for putenv and setenv.
85091
85092 [BZ #6895]
85093 * manual/filesys.texi (Directory Entries): Add description for
85094 DT_LNK.
85095
85096 [BZ #6890]
85097 * manual/filesys.texi (Directory Entries): Clarify that it's file
85098 system not operating system in the description of DT_UNKNOWN.
85099
85100 [BZ #6578]
85101 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85102
85103 2012-04-08 Stephen Compall <s11@member.fsf.org>
85104
85105 [BZ #6649]
85106 * manual/llio.texi (Opening and Closing Files): Add cross
85107 reference to explain mode argument.
85108
85109 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85110
85111 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85112 * sysdeps/x86_64/memset_chk.S: Likewise.
85113
85114 2012-04-07 David S. Miller <davem@davemloft.net>
85115
85116 * elf/elf.h (R_SPARC_WDISP10): Define.
85117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85118 R_SPARC_SIZE32.
85119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85120 R_SPARC_SIZE64 and R_SPARC_H34.
85121
85122 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85123
85124 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85125 conditions and remove no longer applicable assertion.
85126
85127 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85128
85129 * bits/byteswap.h: Include <features.h>.
85130 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85131 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85132
85133 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85134
85135 * bits/byteswap.h (__bswap_16): Removed.
85136 Include <bits/byteswap-16.h> to get __bswap_16.
85137 * sysdeps/i386/bits/byteswap.h: Likewise.
85138 * sysdeps/s390/bits/byteswap.h: Likewise.
85139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85140 * bits/byteswap-16.h: New file.
85141 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85142 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85143 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85144 * string/Makefile (headers): Add bits/byteswap-16.h.
85145
85146 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85147
85148 [BZ #13895]
85149 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85150 extra indirection.
85151 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85152 * nss/tst-nss-static.c: New.
85153
85154 2012-04-06 Robert Millan <rmh@gnu.org>
85155
85156 [BZ #6486]
85157 * manual/llio.texi (File Position Primitive): lseek
85158 refers to WHENCE when it really means OFFSET.
85159
85160 2012-04-06 Andreas Jaeger <aj@suse.de>
85161
85162 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85163 strncmp declarations.
85164
85165 * abilist/libc.abilist: Add __poll and __ppoll.
85166
85167 2012-04-05 David S. Miller <davem@davemloft.net>
85168
85169 * scripts/check-local-headers.sh: Accept a host triplet in the
85170 path matched by the exclude regexp.
85171
85172 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85173 definition.
85174 * sysdeps/powerpc/powerpc32/dl-machine.h
85175 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85176 * sysdeps/s390/s390-32/dl-machine.h
85177 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85178 * sysdeps/sparc/sparc32/dl-machine.h
85179 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85180 * sysdeps/sparc/sparc64/dl-machine.h
85181 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85182
85183 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85184 lazy binding.
85185 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85186 undefined symbol errors.
85187
85188 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85189 DT_NEEDED entries.
85190
85191 2012-04-05 Michael Matz <matz@suse.de>
85192
85193 [BZ #13592]
85194 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85195
85196 2012-04-05 Andreas Jaeger <aj@suse.de>
85197
85198 [BZ #13908]
85199 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85200 comment.
85201
85202 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85203
85204 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85205 which ROUND is no valid rounding mode.
85206
85207 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85208
85209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85210 read again.
85211 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85212
85213 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85214
85215 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85216 an exception using FPU order intentionally.
85217
85218 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85219
85220 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85221 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85222 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85223 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85224
85225 2012-04-05 Simon Josefsson <simon@josefsson.org>
85226
85227 [BZ #12340]
85228 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85229 EINVAL when BUFLEN is too smal.
85230
85231 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85232
85233 [BZ #13553]
85234 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85235 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85236
85237 2012-04-03 Andreas Jaeger <aj@suse.de>
85238
85239 [BZ #13938]
85240 * manual/setjmp.texi (System V contexts): Fix sentence.
85241
85242 [BZ #13926]
85243 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85244 New macro for this case.
85245 [!__GNUC__] (__bswap_64): New inline function for this case.
85246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85247 * bits/byteswap.h: Likewise.
85248 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85249 ull, guard with __GLIBC_HAVE_LONG_LONG.
85250
85251 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85252 __GLIBC_HAVE_LONG_LONG.
85253
85254 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85255 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85256
85257 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85258
85259 [BZ #13691]
85260 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85261 inptr and inend, rather than using last_ch.
85262
85263 2012-04-02 David S. Miller <davem@davemloft.net>
85264
85265 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85266 * stdio-common/printf-parse.h (read_int): Change return type to
85267 'int', return -1 on INT_MAX overflow.
85268 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85269 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85270 overflows INT_MAX. Check for overflow of in-format-string precision
85271 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85272 SIZE_MAX not INT_MAX for integer overflow test.
85273 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85274 skip the construct in the format string but do not record anything.
85275 * stdio-common/bug22.c: Adjust to test both width/prevision
85276 INT_MAX overflow as well as total length INT_MAX overflow. Check
85277 explicitly for proper errno values.
85278
85279 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85280
85281 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85282 CHAR_MAX.
85283 * string/test-strcmp.c [! WIDE]: Likewise.
85284 * time/tst-mktime2.c: Likewise for INT_MAX.
85285 * string/test-string.h: #include <sys/param.h> for MIN.
85286
85287 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85288 * sysdeps/i386/init-first.c (init): Likewise.
85289 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85290 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85291 * sysdeps/sh/init-first.c (init): Likewise.
85292
85293 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85294
85295 * po/ru.po: Update from translation team.
85296 * po/vi.po: Likewise.
85297
85298 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85299
85300 * resolv/nss_dns/dns-host.c: Merge copyright years.
85301
85302 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85303
85304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85305 Optimize memcpy with prefetch if
85306 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85307 src, dst pointers have unequal 16 byte alignments.
85308
85309 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85310
85311 [BZ #13928]
85312 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85313 from a CNAME entry and return the minimum ttl for the query.
85314 (gaih_getanswer_slice): Likewise.
85315
85316 2012-03-30 Jeff Law <law@redhat.com>
85317
85318 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85319 due to long keys.
85320 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85321 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85322
85323 * resolv/nss_dns/dns-host.c: Update copyright year.
85324
85325 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85326
85327 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85328 requests to save a system call. Fix check that all bytes are sent.
85329
85330 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85331 comments for sendmmsg.
85332
85333 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85334
85335 [BZ #13691]
85336 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85337 with only 1 character between 0x0041 and 0x01b0.
85338 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85339 * wcsmbs/tst-mbsnrtowcs.c: New file.
85340
85341 2012-03-29 David S. Miller <davem@davemloft.net>
85342
85343 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85344 small copies by hand.
85345
85346 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85347
85348 [BZ #13761]
85349 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85350 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85351 group memberships.
85352
85353 2012-03-28 David S. Miller <davem@davemloft.net>
85354
85355 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85356 that branches into memcpy.
85357 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85358 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85360 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85362 bits.
85363 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85364 implementation too.
85365 * sysdeps/sparc/mempcpy.S: New file.
85366
85367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85368 the IFUNC routine in the libc case.
85369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85370
85371 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85372 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85373 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85374 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85375 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85376 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85377 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85378 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85379
85380 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85381 loop to 256 bytes instead of 64 bytes and fix test signedness.
85382
85383 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85384 * sysdeps/sparc/sparc32/Makefile: rather than here...
85385 * sysdeps/sparc/sparc64/Makefile: and here.
85386
85387 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85388
85389 * malloc/mallocbug.c: Avoid warnings about unused variables.
85390
85391 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85392
85393 [BZ #13760]
85394 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85395 in the right place. Discard and retry query if response is
85396 larger than input buffer size.
85397
85398 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85399
85400 [BZ #369]
85401 [BZ #2678]
85402 [BZ #3866]
85403 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85404 x for large integer exponent.
85405 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85406 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85407 sign of result as needed afterwards.
85408 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85409 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85410 result for underflowing pow the same as for overflow.
85411 (__kernel_standard_l): Handle powl overflow and underflow here
85412 rather than calling __kernel_standard.
85413 * math/libm-test.inc (pow_test): Add more tests.
85414
85415 [BZ #3868]
85416 [BZ #13879]
85417 [BZ #13910]
85418 [BZ #13911]
85419 [BZ #13912]
85420 [BZ #13913]
85421 [BZ #13915]
85422 [BZ #13916]
85423 [BZ #13917]
85424 [BZ #13918]
85425 [BZ #13919]
85426 [BZ #13920]
85427 [BZ #13921]
85428 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85429 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85430 (__kernel_standard_l): New function.
85431 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85432 __kernel_standard.
85433 * math/w_acosl.c (__acosl): Likewise.
85434 * math/w_asinl.c (__asinl): Likewise.
85435 * math/w_atan2l.c (__atan2l): Likewise.
85436 * math/w_atanhl.c (__atanhl): Likewise.
85437 * math/w_coshl.c (__coshl): Likewise.
85438 * math/w_exp10l.c (__exp10l): Likewise.
85439 * math/w_exp2l.c (__exp2l): Likewise.
85440 * math/w_fmodl.c (__fmodl): Likewise.
85441 * math/w_hypotl.c (__hypotl): Likewise.
85442 * math/w_j0l.c (__j0l, __y0l): Likewise.
85443 * math/w_j1l.c (__j1l, __y1l): Likewise.
85444 * math/w_jnl.c (__jnl, __ynl): Likewise.
85445 * math/w_lgammal.c (__lgammal): Likewise.
85446 * math/w_log10l.c (__log10l): Likewise.
85447 * math/w_log2l.c (__log2l): Likewise.
85448 * math/w_logl.c (__logl): Likewise.
85449 * math/w_powl.c (__powl): Likewise.
85450 * math/w_remainderl.c (__remainderl): Likewise.
85451 * math/w_scalbl.c (sysv_scalbl): Likewise.
85452 * math/w_sinhl.c (__sinhl): Likewise.
85453 * math/w_sqrtl.c (__sqrtl): Likewise.
85454 * math/w_tgammal.c (__tgammal): Likewise.
85455 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85456 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85457 * math/libm-test.inc (acos_test): Add more tests.
85458 (acosh_test): Likewise.
85459 (asin_test): Likewise.
85460 (atanh_test): Likewise.
85461 (exp_test): Likewise.
85462 (exp10_test): Likewise.
85463 (exp2_test): Likewise.
85464 (expm1_test): Likewise.
85465 (lgamma_test): Likewise.
85466 (log_test): Likewise.
85467 (log10_test): Likewise.
85468 (log1p_test): Likewise.
85469 (log2_test): Likewise.
85470 (pow_test): Do not allow some spurious overflow exceptions.
85471 (sqrt_test): Add more tests.
85472 (tgamma_test): Likewise.
85473 (y0_test): Likewise.
85474 (y1_test): Likewise.
85475 (yn_test): Likewise.
85476
85477 2012-03-27 Anton Blanchard <anton@samba.org>
85478
85479 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85480 MAP_HUGETLB.
85481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85484
85485 2012-03-27 David S. Miller <davem@davemloft.net>
85486
85487 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85488
85489 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85490 have-as-vis3 check.
85491
85492 2012-03-27 Andreas Jaeger <aj@suse.de>
85493
85494 * sysdeps/x86_64/elf/configure.in: Moved to ...
85495 * sysdeps/x86_64/configure.in: ... here.
85496 * sysdeps/x86_64/elf/start.S: Moved to ...
85497 * sysdeps/x86_64/start.S: ... here.
85498 * sysdeps/x86_64/elf/configure: Delete.
85499
85500 * sysdeps/x86_64/configure.in: Merge contents from
85501 sysdeps/i386/configure.in (without i686 check).
85502
85503 * sysdeps/i386/elf/Versions: Merge into ...
85504 * sysdeps/i386/Versions: ... this.
85505 * sysdeps/i386/elf/Versions: Delete file.
85506 * sysdeps/i386/elf/start.S: Moved to ...
85507 * sysdeps/i386/start.S: ...here.
85508 * sysdeps/i386/elf/configure.in: Merge into...
85509 * sysdeps/i386/configure.in: ...here.
85510 * sysdeps/i386/elf/configure.in: Delete file.
85511 * sysdeps/i386/elf/configure: Delete file.
85512
85513 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85514 * debug/backtracesyms.c: ... here.
85515 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85516 * debug/backtracesymsfd.c: ... here.
85517 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85518 * sysdeps/generic/ifunc-sel.h: ... here.
85519
85520 * sysdeps/unix/i386/start.c: Delete file.
85521 * sysdeps/unix/sparc/start.c: Delete file.
85522 * sysdeps/unix/start.c: Delete file.
85523
85524 * sysdeps/sh/elf/configure.in: Moved to ...
85525 * sysdeps/sh/configure.in: ... here.
85526 * sysdeps/sh/elf/start.S: Moved to ...
85527 * sysdeps/sh/start.S: ... here.
85528 * sysdeps/sh/elf/configure: Delete file.
85529
85530 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85531 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85532 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85533 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85534 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85535 * sysdeps/powerpc/powerpc64/start.S: here.
85536 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85537 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85538 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85539 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85540 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85541
85542 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85543 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85544 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85545 * sysdeps/powerpc/powerpc32/start.S: ... here.
85546 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85547 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85548 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85549
85550 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85551 * sysdeps/powerpc/ifunc-sel.h: ... here.
85552 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85553 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85554
85555 * sysdeps/sparc/elf/configure.in: Moved to ...
85556 * sysdeps/sparc/configure.in: ... here.
85557 * sysdeps/sparc/elf/configure: Delete file.
85558 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85559 * sysdeps/sparc/sparc32/start.S: ... here.
85560 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85561 * sysdeps/sparc/sparc64/start.S: ... here.
85562 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85563 * sysdeps/sparc/sparc32/Makefile: ... this.
85564 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85565 * sysdeps/sparc/sparc64/Makefile: ... this.
85566
85567 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85568 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85569 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85570 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85571 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85572 * sysdeps/s390/s390-32/setjmp.S: ... here.
85573 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85574 * sysdeps/s390/s390-32/configure.in: ... here.
85575 * sysdeps/s390/s390-32/elf/configure: Delete file.
85576 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85577 * sysdeps/s390/s390-32/start.S: ... here.
85578
85579 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85580 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85581 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85582 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85583 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85584 * sysdeps/s390/s390-64/setjmp.S: ... here.
85585 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85586 * sysdeps/s390/s390-64/configure.in: ... here
85587 * sysdeps/s390/s390-64/elf/configure: Delete file.
85588 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85589 * sysdeps/s390/s390-64/start.S: ... here.
85590 * sysdeps/s390/s390-64/elf/configure: Delete.
85591
85592 * configure.in: Remove support for elf directories in sysdeps.
85593
85594 * configure: Regenerated.
85595 * sysdeps/i386/configure: Regenerated.
85596 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85597 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85598 * sysdeps/s390/s390-32/configure: Regenerated.
85599 * sysdeps/s390/s390-64/configure: Regenerated.
85600 * sysdeps/sh/configure: Regenerated.
85601 * sysdeps/sparc/configure: Regenerated.
85602 * sysdeps/x86_64/configure: Regenerated.
85603
85604 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85605
85606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85607
85608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85609 denormal result into account.
85610
85611 2012-03-25 Roland McGrath <roland@hack.frob.com>
85612
85613 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85614 Reported by Allan McRae <allan@archlinux.org>.
85615
85616 2012-03-23 Jeff Law <law@redhat.com>
85617
85618 * nss/getnssent.c (__nss_getent): Fix typo.
85619
85620 2012-03-23 David S. Miller <davem@davemloft.net>
85621
85622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85623
85624 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85625
85626 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85627 to pad to uint64_t for each field.
85628 (dl_tls_index): Replace unsigned long with uint64_t.
85629
85630 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85631 Paul Pluzhnikov <ppluzhnikov@google.com>
85632
85633 [BZ #6528]
85634 * grp/Makefile (otherlibs): Don't set it.
85635 * inet/Makefile (otherlibs): Likewise.
85636 * login/Makefile (otherlibs): Likewise.
85637 * nscd/Makefile (otherlibs): Likewise.
85638 * posix/Makefile (otherlibs): Likewise.
85639 * pwd/Makefile (otherlibs): Likewise.
85640 * rt/Makefile (otherlibs): Likewise.
85641 * sunrpc/Makefile (otherlibs): Likewise.
85642 * nss/Makefile (otherlibs): Likewise.
85643 Add libnss_files to routines and static-only-routines.
85644 ($(objpfx)getent): Remove rule.
85645 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85646 static-only-routines.
85647
85648 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85649
85650 [BZ #13892]
85651 * math/s_cexp.c: Include <float.h>.
85652 (__cexp): Handle exp result overflowing not necessarily
85653 overflowing both real and imaginary parts of result.
85654 * math/s_cexpf.c: Likewise.
85655 * math/s_cexpl.c: Likewise.
85656 * math/libm-test.inc (cexp_test): Add more tests.
85657 * sysdeps/i386/fpu/libm-test-ulps: Update.
85658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85659
85660 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85661
85662 * include/link.h (ELFW): New macro.
85663 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85664 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85665
85666 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85667
85668 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85669 with uint64_t.
85670
85671 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85672
85673 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85674 declaration.
85675 (struct La_x32_retval): Likewise.
85676
85677 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85678
85679 * sysdeps/x86_64/preconfigure.in: New file.
85680 * sysdeps/x86_64/preconfigure: New generated file.
85681
85682 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85683
85684 [BZ #13824]
85685 * math/e_exp2l.c: Include <float.h>.
85686 (__ieee754_exp2l): Handle overflow and underflow cases
85687 separately. Only pass fractional part of argument to
85688 __ieee754_expl.
85689 * math/libm-test.inc (exp2_test): Add more tests.
85690
85691 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85692 negating x to take absolute value.
85693 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85694 Likewise.
85695 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85696 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85697 Likewise.
85698 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85699 computing low part if x was negated.
85700 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85701
85702 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85703
85704 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85705 la_x32_gnu_pltexit.
85706 (pltexit): Cast int_retval to ptrdiff_t.
85707 * elf/tst-auditmod3b.c: Likewise.
85708 * elf/tst-auditmod4b.c: Likewise.
85709 * elf/tst-auditmod5b.c: Likewise.
85710 * elf/tst-auditmod6b.c: Likewise.
85711 * elf/tst-auditmod6c.c: Likewise.
85712 * elf/tst-auditmod7b.c: Likewise.
85713
85714 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85715 and x32_gnu_pltexit.
85716
85717 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85718 __ELF_NATIVE_CLASS.
85719 (La_x32_regs): New macro.
85720 (La_x32_retval): Likewise.
85721 (la_x32_gnu_pltenter): New function prototype.
85722 (la_x32_gnu_pltexit): Likewise.
85723
85724 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85725
85726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85727 exponent.
85728
85729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85730
85731 * configure.in (libc_cv_cc_nofma): Check for option to disable
85732 generation of FMA instructions.
85733 * configure: Regenerate.
85734 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85735 * sysdeps/ieee754/dbl-64/Makefile: New file.
85736 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85737 Remove brandred-fma4.
85738 (CFLAGS-brandred-fma4.c): Remove.
85739 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85740 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85741 define.
85742 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85743 define.
85744
85745 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85746
85747 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85748 LLONG_MAX != LONG_MAX.
85749 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85750 (_fitoa_word): Likewise.
85751 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85752 LLONG_MAX != LONG_MAX.
85753 * stdio-common/_itowa.h: Include <_itoa.h>.
85754 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85755 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85756 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85757 only if not defined.
85758 (_ITOA_WORD_TYPE): Likewise.
85759 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85760 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85761
85762 2012-03-21 David S. Miller <davem@davemloft.net>
85763
85764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85765
85766 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85767
85768 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85769 of x86_64 when setting libc_cv_slibdir, libdir and
85770 libc_cv_localedir.
85771 * sysdeps/unix/sysv/linux/configure: Regenerated.
85772
85773 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85774
85775 * manual/lang.texi (Old Varargs): Remove section.
85776 (How Variadic): Update menu.
85777 (va_start): Do not mention varargs.h.
85778
85779 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85780 Joseph Myers <joseph@codesourcery.com>
85781
85782 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85783 link test.
85784 * configure: Regenerated.
85785
85786 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85787
85788 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85789 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85790 conformtest.pl
85791
85792 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85793
85794 * NOTES: Remove.
85795 * Makefile (files-for-dist): Remove NOTES.
85796 (NOTES): Remove rule.
85797 * README: Don't refer to NOTES.
85798 * manual/creature.texi: Don't include macros.texi.
85799 * manual/intro.texi (creature.texi): Remove comment referring to
85800 NOTES.
85801
85802 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85803 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85804 * configure: Regenerated.
85805 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85806 LIBC_TRY_CC_OPTION.
85807 (libc_cv_as_i686): Likewise.
85808 (libc_cv_cc_avx): Likewise.
85809 (libc_cv_cc_sse2avx): Likewise.
85810 (libc_cv_cc_fma4): Likewise.
85811 (libc_cv_cc_novzeroupper): Likewise.
85812 * sysdeps/i386/configure: Regenerated.
85813
85814 [BZ #13883]
85815 * sysdeps/i386/fpu/s_cexp.S: Remove.
85816 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85817 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85818 * math/libm-test.inc (cexp_test): Add more tests.
85819 * sysdeps/i386/fpu/libm-test-ulps: Update.
85820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85821
85822 2012-03-21 Allan McRae <allan@archlinux.org>
85823
85824 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85825
85826 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85827
85828 [BZ #13871]
85829 * math/w_exp2.c: Do not include <float.h>.
85830 (o_threshold, u_threshold): Remove.
85831 (__exp2): Calculate result before checking finiteness and calling
85832 __kernel_standard.
85833 * math/w_exp2f.c: Likewise.
85834 * math/w_exp2l.c: Likewise.
85835 * math/libm-test.inc (exp2_test): Require overflow exception for
85836 1e6 input.
85837
85838 [BZ #3866]
85839 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85840 range of signed 64-bit integers before using fistpll. Remove
85841 checks for whether integers fit in mantissa bits.
85842 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85843 the range of signed 32-bit integers before using fistpl. Remove
85844 checks for whether integers fit in mantissa bits.
85845 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85846 (__ieee754_powl): Test for y outside the range of signed 64-bit
85847 integers before using fistpll. Reduce 64-bit values to 63-bit
85848 ones as needed.
85849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85850 divide-by-zero is raised for zero to large negative powers.
85851 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85852 (__ieee754_powl): Test for y outside the range of signed 64-bit
85853 integers before using fistpll. Reduce 64-bit values to 63-bit
85854 ones as needed.
85855 * math/libm-test.inc (pow_test): Add more tests.
85856
85857 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85858
85859 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85860 <stdio-common/_itoa.h>.
85861 * debug/segfault.c: Likewise.
85862 * elf/dl-cache.c: Likewise.
85863 * elf/dl-minimal.c: Likewise.
85864 * elf/dl-misc.c: Likewise.
85865 * elf/dl-sysdep.c: Likewise.
85866 * elf/dl-version.c: Likewise.
85867 * elf/rtld.c: Likewise.
85868 * hurd/hurdsock.c: Likewise.
85869 * hurd/lookup-retry.c: Likewise.
85870 * malloc/malloc.c: Likewise.
85871 * malloc/mtrace.c: Likewise.
85872 * nscd/nscd_getgr_r.c: Likewise.
85873 * nscd/nscd_getpw_r.c: Likewise.
85874 * nscd/nscd_getserv_r.c: Likewise.
85875 * posix/getopt_init.c: Likewise.
85876 * posix/wordexp.c: Likewise.
85877 * stdio-common/_itoa.c: Likewise.
85878 * stdio-common/printf_fphex.c: Likewise.
85879 * stdio-common/vfprintf.c: Likewise.
85880 * string/_strerror.c: Likewise.
85881 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85882 * sysdeps/i386/i686/hp-timing.h: Likewise.
85883 * sysdeps/mach/_strerror.c: Likewise.
85884 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85885 * sysdeps/mach/hurd/sethostid.c: Likewise.
85886 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85887 * sysdeps/mach/xpg-strerror.c: Likewise.
85888 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85889 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85890 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85891 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85892 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85893 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85894 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85895 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85896 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85897 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85898 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85899 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85900 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85901 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85902 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85903 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85904 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85905 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85906 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85907 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85908 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85909
85910 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85911
85912 * stdio-common/_itoa.h: Moved to ...
85913 * sysdeps/generic/_itoa.h: Here.
85914
85915 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85916
85917 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85918 instead of "_itoa.h" and "_itowa.h".
85919 * stdio-common/vfprintf.: Likewise.
85920
85921 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85922
85923 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85924 <bits/wordsize.h>.
85925 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85926 (__signbit): Likewise.
85927 (llrintf): Likewise.
85928 (llrint): Likewise.
85929
85930 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85931
85932 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85933 __WORDSIZE != 64.
85934
85935 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85936
85937 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85938 OVERFLOW_EXCEPTION_OK.
85939 * math/libm-test.inc ("Philosophy"): Update comment about
85940 exception testing.
85941 (OVERFLOW_EXCEPTION): Define.
85942 (OVERFLOW_EXCEPTION_OK): Likewise.
85943 (INVALID_EXCEPTION_OK): Renumber.
85944 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85945 (IGNORE_ZERO_INF_SIGN): Likewise.
85946 (test_exceptions): Handle FE_OVERFLOW.
85947 (exp10_test): Expect overflow exceptions.
85948 (exp2_test): Likewise.
85949 (expm1_test): Likewise.
85950 (nextafter_test): Likewise.
85951 (pow_test): Likewise.
85952 (scalbn_test): Likewise.
85953 (scalbln_test): Likewise.
85954
85955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85956
85957 * sysdeps/x86_64/bits/atomic.h
85958 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85959 64bit integer.
85960 (atomic_exchange_acq): Likewise.
85961 (__arch_exchange_and_add_body): Likewise.
85962 (__arch_add_body): Likewise.
85963 (atomic_add_negative): Likewise.
85964 (atomic_add_zero): Likewise.
85965
85966 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85967
85968 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85969 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85970
85971 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85972
85973 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85974 Check __x86_64__ instead of __WORDSIZE.
85975
85976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85977
85978 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85979
85980 2012-03-19 David S. Miller <davem@davemloft.net>
85981
85982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85983
85984 * sysdeps/sparc/fpu/fenv_private.h: New file.
85985 * sysdeps/sparc/fpu/math_private.h: Use it.
85986 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85987 Remove.
85988 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85989 (libc_feholdexcept_setroundl): Remove.
85990 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85991 Remove.
85992 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85993 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85994
85995 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85996
85997 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85998 int64_t instead of long int.
85999 (INSERT_WORDS64): Likewise.
86000
86001 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86002
86003 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86004 _Unwind_GetCFA return to _Unwind_Ptr first.
86005
86006 2012-03-19 Joseph Myers <joseph@codesourcery.com>
86007
86008 [BZ #13629]
86009 * math/s_clog.c: Include <float.h>.
86010 (__clog): Scale large or subnormal inputs.
86011 * math/s_clogf.c: Likewise.
86012 * math/s_clogl.c: Likewise.
86013 * math/s_clog10.c: Include <float.h>.
86014 (M_LOG10_2): Define.
86015 (__clog10): Scale large or subnormal inputs.
86016 * math/s_clog10f.c: Likewise.
86017 * math/s_clog10l.c: Likewise.
86018 * math/libm-test.inc (clog_test): Add more tests.
86019 (clog10_test): Likewise.
86020 * sysdeps/i386/fpu/libm-test-ulps: Update.
86021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86022
86023 [BZ #11451]
86024 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86025 x and y.
86026 * math/libm-test.inc (atan2_test): Add another test.
86027
86028 * Makerules (common-objdir-compile): Remove.
86029 * sysdeps/unix/Makefile (config-generated): Do not add
86030 $(unix-generated) to variable.
86031 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86032 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86033 Remove rule.
86034 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86035 Likewise.
86036 [generic bits/local_lim.h] (before-compile): Do not append to
86037 variable.
86038 [generic bits/local_lim.h] (common-generated): Likewise.
86039 [generic sys/param.h] (before-compile): Do not append to variable.
86040 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86041 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86042 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86043 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86044 include.
86045 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86046 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86047 [generic sys/param.h] ($(addprefix
86048 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86049 [generic sys/param.h] (common-generated): Do not append to
86050 variable.
86051 [generic sys/param.h] (sysdep_headers): Likewise.
86052 [generic bits/errno.h] (before-compile): Do not append to
86053 variable.
86054 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86055 rule.
86056 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86057 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86058 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86059 [generic bits/errno.h] (common-generated): Do not append to
86060 variable.
86061 [generic bits/ioctls.h] (before-compile): Do not append to
86062 variable.
86063 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86064 rule.
86065 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86066 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86067 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86068 rule.
86069 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86070 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86071 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86072 [generic bits/ioctls.h] (common-generated): Do not append to
86073 variable.
86074 [generic sys/syscall.h] (syscall.h): Remove variable.
86075 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86076 rule.
86077 [generic sys/syscall.h] (before-compile): Do not append to
86078 variable.
86079 [generic sys/syscall.h] (common-generated): Likewise.
86080 * sysdeps/unix/errnos-tmpl.c: Remove file.
86081 * sysdeps/unix/errnos.awk: Likewise.
86082 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86083 * sysdeps/unix/ioctls.awk: Likewise.
86084 * sysdeps/unix/mk-local_lim.c: Likewise.
86085 * sysdeps/unix/snarf-ioctls: Likewise.
86086
86087 2012-03-19 Richard Henderson <rth@twiddle.net>
86088
86089 * sysdeps/i386/fpu/fenv_private.h: New file.
86090 * sysdeps/i386/fpu/math_private.h: Use it.
86091 (math_opt_barrier, math_force_eval): Remove.
86092 (libc_feholdexcept_setround_53bit): Remove.
86093 (libc_feupdateenv_53bit): Remove.
86094 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86095 (math_opt_barrier, math_force_eval): Remove.
86096 (libc_feholdexcept): Remove.
86097 (libc_feholdexcept_setround): Remove.
86098 (libc_fetestexcept, libc_fesetenv): Remove.
86099 (libc_feupdateenv_test): Remove.
86100 (libc_feupdateenv, libc_feholdsetround): Remove.
86101 (libc_feresetround): Remove.
86102
86103 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86104 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86105
86106 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86107 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86108 (libc_feupdateenv_testl): New.
86109 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86110 (libc_feupdateenv_testf): New.
86111 (libc_feupdateenv): Use libc_feupdateenv_test.
86112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86113 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86114
86115 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86116 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86117 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86118 (libc_feresetround_noex): New.
86119 (libc_feresetround_noexf): New.
86120 (libc_feresetround_noexl): New.
86121 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86122 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86123 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86124 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86125 SET_RESTORE_ROUND.
86126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86128 (__cos): Likewise.
86129 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86130 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86131 SET_RESTORE_ROUND_NOEX.
86132 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86133 SET_RESTORE_ROUND_NOEXF.
86134 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86135 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86136 (libc_feholdsetroundf): New.
86137 (libc_feresetround, libc_feresetroundf): New.
86138
86139 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86140 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86141 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86142
86143 * sysdeps/generic/math_private.h: Include <fenv.h>.
86144 (default_libc_feholdexcept): New.
86145 (default_libc_feholdexcept_setround): New.
86146 (default_libc_fesetenv, default_libc_feupdateenv): New.
86147 (libc_feholdexcept): Only define if undefined.
86148 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86149 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86150 (libc_feholdexcept_setroundl): Likewise.
86151 (libc_feholdexcept_setround_53bit): Likewise.
86152 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86153 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86154 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86155 (libc_feupdateenv_53bit): Likewise.
86156 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86157 (libc_feholdexcept): Convert from macro to inline function.
86158 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86159 (libc_fesetenv, libc_feupdateenv): Likewise.
86160
86161 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86162 not previously defined.
86163 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86164 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86165 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86166 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86167 * sysdeps/ieee754/flt-32/math_private.h: New file.
86168 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86169 math_private.h below SET_FLOAT_WORD.
86170 (__isnan, __isinf_ns, __finite): Remove.
86171 (__isnanf, __isinf_nsf, __finitef): Remove.
86172
86173 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86174
86175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86176
86177 2012-03-17 David S. Miller <davem@davemloft.net>
86178
86179 [BZ #6471]
86180 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86181 for 2.16.
86182
86183 2012-03-16 David S. Miller <davem@davemloft.net>
86184
86185 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86186 warnings.
86187
86188 [BZ #6471]
86189 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86190 properly.
86191 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86192 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86193 sysdep_routines when subdir is sysvipc.
86194 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86195 __getshmlba helper.
86196
86197 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86198
86199 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86200
86201 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86202 [__LP64__].
86203
86204 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86205
86206 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86207 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86208 (__lround): Renamed to ...
86209 (__llround): This. Replace long int with long long int.
86210 Define lround functions as aliases of llround functions.
86211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86212
86213 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86214
86215 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86216 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86217 adresses to uintptr_t. Replace "long int" and "unsigned long
86218 int" with "greg_t" on va_arg.
86219
86220 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86221
86222 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86223 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86224
86225 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86226 Move e_machine check before EI_CLASS check. Handle x32
86227 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86228 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86229 SKIP_EM_IA_64 and include
86230 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86231
86232 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86233 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86234 (add_system_dir): New macro.
86235
86236 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86237 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86238
86239 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86240
86241 [BZ #2551]
86242 [BZ #2552]
86243 [BZ #2553]
86244 [BZ #2554]
86245 [BZ #2562]
86246 [BZ #2563]
86247 [BZ #2565]
86248 [BZ #2566]
86249 [BZ #2576]
86250 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86251 (y0): Likewise.
86252 * math/w_j0f.c (j0f): Likewise.
86253 (y0f): Likewise.
86254 * math/w_j0l.c (__j0l): Likewise.
86255 (__y0l): Likewise.
86256 * math/w_j1.c (j1): Likewise.
86257 (y1): Likewise.
86258 * math/w_j1f.c (j1f): Likewise.
86259 (y1f): Likewise.
86260 * math/w_j1l.c (__j1l): Likewise.
86261 (__y1l): Likewise.
86262 * math/w_jn.c (jn): Likewise.
86263 (yn): Likewise.
86264 * math/w_jnf.c (jnf): Likewise.
86265 (ynf): Likewise.
86266 * math/w_jnl.c (__jnl): Likewise.
86267 (__ynl): Likewise.
86268 * math/libm-test.inc (j0_test): Add more tests.
86269 (j1_test): Likewise.
86270 (jn_test): Likewise. Add trailing semicolon to existing test.
86271 (y0_test): Likewise.
86272 (y1_test): Likewise.
86273 * sysdeps/i386/fpu/libm-test-ulps: Update.
86274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86275
86276 [BZ #13851]
86277 [BZ #13854]
86278 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86279 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86280 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86281 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86282 (__tanl): Set errno for infinite argument.
86283 * sysdeps/i386/fpu/mptan.c: Remove.
86284 * sysdeps/i386/fpu/s_tan.S: Likewise.
86285 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86286 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86287 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86288 * math/libm-test.inc (tan_test): Add more tests and enable more
86289 tests for double and long double.
86290 * sysdeps/i386/fpu/libm-test-ulps: Update.
86291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86292
86293 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86294
86295 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86296 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86297
86298 2012-03-16 Roland McGrath <roland@hack.frob.com>
86299
86300 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86301 * configure.in: Use it for both main tree and add-ons.
86302 * configure: Regenerated.
86303
86304 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86305
86306 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86307
86308 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86309
86310 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86311 in comment.
86312
86313 [BZ #13851]
86314 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86315 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86316 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86317 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86318 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86319 infinite argument.
86320 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86322 != 0 for prec == 2.
86323 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86324 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86325 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86326 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86327 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86328 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86329 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86330 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86331 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86332 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86333 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86334 * math/libm-test.inc (cos_test): Add more tests and enable more
86335 tests for long double.
86336 (sin_test): Likewise.
86337 (sincos_test): Likewise.
86338 * sysdeps/i386/fpu/libm-test-ulps: Update.
86339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86340
86341 2012-03-16 David S. Miller <davem@davemloft.net>
86342
86343 * sysdeps/sparc/fpu/math_private.h: New file.
86344
86345 2012-03-15 David S. Miller <davem@davemloft.net>
86346
86347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86348 file.
86349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86351 file.
86352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86358 sysdep routines.
86359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86360
86361 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86362 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86363
86364 * sysdeps/sparc/sparc-ifunc.h: New file.
86365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86366 sparc-ifunc.h
86367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86369 Likewise.
86370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86371 Likewise.
86372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86376 Likewise.
86377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86382 Likewise.
86383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86384 Likewise.
86385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86409
86410 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86411
86412 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86413 scaling.
86414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86415
86416 2012-03-15 Andreas Jaeger <aj@suse.de>
86417
86418 [BZ #13852]
86419 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86420 ieee754/flt-32 implementation for sin, cos and sincos.
86421 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86422 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86423 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86424 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86425 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86426 ieee754/flt-32 implementation for tan.
86427
86428 * math/libm-test.inc (cos_test): Enable some large input tests for
86429 float as well
86430 (sin_test): Likewise.
86431 (sincos_test): Likewise.
86432 (tan_test): Add tests for large input.
86433
86434 * sysdeps/i386/fpu/libm-test-ulps: Update.
86435
86436 2012-03-15 Andreas Jaeger <aj@suse.de>
86437
86438 [BZ #13658]
86439 * math/libm-test.inc (cos_test): Add more test cases.
86440 (sin_test): Likewise.
86441 (sincos_test): Likewise.
86442
86443 2012-03-15 Andreas Jaeger <aj@suse.de>
86444
86445 [BZ #13837]
86446 * math/libm-test.inc (cos_test): Add a test case for large input
86447 value.
86448 (sin_test): Likewise.
86449 (sincos_test): Likewise.
86450
86451 2012-03-15 Andreas Jaeger <aj@suse.de>
86452 Joseph Myers <joseph@codesourcery.com>
86453
86454 [BZ #13658]
86455 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86456 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86457 * sysdeps/i386/fpu/branred.c: Likewise.
86458 * sysdeps/i386/fpu/dosincos.c: Likewise.
86459 * sysdeps/i386/fpu/mpa.c: Likewise.
86460 * sysdeps/i386/fpu/s_cos.S: Likewise.
86461 * sysdeps/i386/fpu/s_sin.S: Likewise.
86462 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86463 * sysdeps/i386/fpu/sincos32.c: Likewise.
86464
86465 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86466 Define.
86467 (libc_feupdateenv_53bit): Define.
86468 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86469 Define.
86470 (libc_feupdateenv_53bit): Define.
86471
86472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86473 53 bit (without extend i386 double precision).
86474
86475 * math/libm-test.inc (sincos_test): Add tests for large input.
86476 (sin): Likewise.
86477 (cos): Likewise.
86478
86479 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86480
86481 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86482
86483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86484
86485 2012-03-15 David S. Miller <davem@davemloft.net>
86486
86487 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86488 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86489 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86490 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86503 file.
86504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86506 file.
86507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86509 file.
86510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86512 file.
86513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86515 fmin/fmax sysdep routines.
86516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86517
86518 2012-03-14 David S. Miller <davem@davemloft.net>
86519
86520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86549 routines.
86550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86551 file.
86552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86554 file.
86555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86557 file.
86558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86560 file.
86561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86563 file.
86564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86566 file.
86567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86568 file.
86569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86570 file.
86571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86572 file.
86573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86574 New file.
86575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86576 file.
86577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86578 file.
86579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86581 file.
86582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86584 file.
86585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86587 file.
86588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86590 VIS3 routines.
86591
86592 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86593 New file.
86594
86595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86596
86597 * sysdeps/sparc/configure.in: New file.
86598 * sysdeps/sparc/configure: Generate.
86599 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86600 * configure: Regenerate.
86601 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86602 * config.make.in (have-as-vis3): New.
86603 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86604 available use -Av9d instead of -Av9a.
86605 * sysdeps/sparc/sparc64/Makefile: Likewise.
86606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86608 New file.
86609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86610 file.
86611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86612 New file.
86613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86614 file.
86615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86620
86621 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86622 fzeros/fnegs to load 0x80000000 into a float register instead of
86623 using the stack.
86624 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86625
86626 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86627
86628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86629 bits/syscall.h.
86630 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86631 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86632 ($(inst_includedir)/bits/syscall.h): Remove rule.
86633 ($(objpfx)bits/syscall.d): Include instead of
86634 $(objpfx)syscall-list.d.
86635 (generated): Change syscall-list.h and syscall-list.d to
86636 bits/syscall.h and bits/syscall.d.
86637
86638 2012-03-14 Roland McGrath <roland@hack.frob.com>
86639
86640 [BZ #13846]
86641 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86642
86643 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86644
86645 [BZ #13841]
86646 * math/s_csqrt.c: Include <float.h>.
86647 (__csqrt): Scale large or subnormal inputs.
86648 * math/s_csqrtf.c: Likewise.
86649 * math/s_csqrtl.c: Likewise.
86650 * math/libm-test.inc (csqrt_test): Add more tests.
86651 * sysdeps/i386/fpu/libm-test-ulps: Update.
86652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86653
86654 [BZ #13840]
86655 * math/libm-test.inc (hypot_test): Add more tests.
86656
86657 2012-03-13 David S. Miller <davem@davemloft.net>
86658
86659 [BZ #13840]
86660 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86661 double-precision for the calculation instead of scaling.
86662
86663 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86664
86665 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86666 manipulate bits before adding and subtracting TWO52[sx].
86667 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86669 Likewise.
86670 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86671
86672 2012-03-13 David S. Miller <davem@davemloft.net>
86673
86674 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86675 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86677 rtld-global-offsets.h
86678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86679
86680 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86681 large parameters.
86682
86683 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86684
86685 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86686 'err' in the ifdef scope in which it is actually used.
86687
86688 * nss/nss_db/db-init.c: Include string.h
86689
86690 2012-03-12 David S. Miller <davem@davemloft.net>
86691
86692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86693 masking out of the most significant byte of random value used.
86694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86695 Fix coding style in previous change.
86696
86697 * sysdeps/unix/sysv/linux/kernel-features.h
86698 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86699 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86700 expression.
86701 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86702 later.
86703
86704 2012-03-11 David S. Miller <davem@davemloft.net>
86705
86706 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86707 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86709 for 'resultvar' otherwise things get truncated on 64-bit.
86710
86711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86712 Fix masking out of the most significant byte of random value used.
86713
86714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86715
86716 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86717
86718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86719
86720 2012-03-09 David S. Miller <davem@davemloft.net>
86721
86722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86723 variables with appropriate CPP guards.
86724 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86725 from the frame pointer, not the stack pointer. Correct layout
86726 comments. Fix test on resulting framesize and the management of
86727 the outregs buffer for pltexit. Preserve floating point return
86728 values across _dl_call_pltexit call.
86729 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86730 framesize and the management of the outregs buffer for pltexit.
86731 Preserve floating point return values across _dl_call_pltexit
86732 call.
86733 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86734 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86735 (la_sparc64_gnu_pltexit): New functions.
86736 (print_exit): Fix format string for return register value.
86737
86738 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86739
86740 * sunrpc/Makefile (others): Add rpcgen.
86741 ($(objpfx)rpcgen): Remove special build rule and dependency on
86742 libc.
86743 * sunrpc/rpcgen.c: New file.
86744
86745 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86746
86747 [BZ #13673]
86748 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86749 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86750 * sysdeps/i386/crti.S: Likewise.
86751 * sysdeps/i386/crtn.S: Likewise.
86752 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86753 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86754 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86755 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86756 * sysdeps/sh/crti.S: Likewise.
86757 * sysdeps/sh/crtn.S: Likewise.
86758 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86759
86760 [BZ #13673]
86761 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86762 with URL.
86763 * locale/programs/locfile-kw.gperf: Likewise.
86764 * locale/programs/charmap-kw.h: Regenerated.
86765 * locale/programs/locfile-kw.h: Likewise.
86766
86767 [BZ #13673]
86768 * intl/plural.y: Replace FSF snail mail address with URL.
86769 * intl/plural.c: Regenerated.
86770
86771 2012-03-09 Richard Henderson <rth@twiddle.net>
86772
86773 * include/math_private.h: Remove file.
86774 * math/math_private.h: Move file ...
86775 * sysdeps/generic/math_private.h: ... here.
86776
86777 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86778 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86779 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86780
86781 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86782 and <math_private.h>.
86783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86788 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86789 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86795 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86797 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86798 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86802 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86804 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86805 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86808 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86809 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86813 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86814 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86815 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86816 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86820 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86821 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86823 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86824 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86825 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86826 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86827 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86829 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86830 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86833 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86834 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86835 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86836 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86837 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86838 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86839 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86840 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86842 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86844 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86847 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86848 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86849 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86850 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86851 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86857 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86862 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86863 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86864 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86865 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86867 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86870 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86871 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86872 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86873 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86874 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86876 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86877 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86878 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86879 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86880 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86881 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86882 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86883 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86884 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86885 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86886 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86887 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86888 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86889 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86890 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86895 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86896 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86897 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86899 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86900 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86901 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86902 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86903 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86904 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86905 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86906 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86907 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86908 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86910 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86911 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86912 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86913 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86914 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86915 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86916 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86917 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86918 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86919 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86920 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86921 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86922 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86924 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86925 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86926 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86927 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86928 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86929 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86930 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86931 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86932 * sysdeps/ieee754/k_standard.c: Likewise.
86933 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86934 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86935 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86936 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86937 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86938 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86939 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86940 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86942 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86945 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86946 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86947 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86948 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86949 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86950 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86951 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86952 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86953 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86954 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86955 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86956 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86957 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86958 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86959 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86960 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86961 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86964 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86966 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86967 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86968 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86969 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86970 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86971 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86972 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86973 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86974 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86975 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86976 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86977 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86978 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86979 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86985 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86986 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86987 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86988 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86989 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86990 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86991 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86992 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86993 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86994 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86995 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86997 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86998 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86999 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87005 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87006 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87007 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87010 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87012 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87015 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87018 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87019 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87020 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87023 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87024 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87025 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87026 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87027 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87029 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87030 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87031 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87032 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87034 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87036 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87037 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87040 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87041 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87042 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87043 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87044 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87045 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87046 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87047 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87049 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87050 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87051 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87052 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87054 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87055 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87056 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87057 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87058 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87059 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87060 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87061 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87062 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87063 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87064 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87065 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87066 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87067 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87069 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87070 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87071 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87072 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87073 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87074 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87075 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87076 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87077 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87078 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87079 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87082 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87083 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87084 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87085 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87086 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87087 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87088 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87092 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87093 * sysdeps/ieee754/s_lib_version.c: Likewise.
87094 * sysdeps/ieee754/s_matherr.c: Likewise.
87095 * sysdeps/ieee754/s_signgam.c: Likewise.
87096 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87097 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87098 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87099 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87100 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87101 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87102 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87103 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87104 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87105 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87106 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87107 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87108 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87109 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87110 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87111 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87112 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87113 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87117
87118 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87119
87120 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87121 * sunrpc/rpc_main.c: Likewise.
87122 * sunrpc/rpc_svcout.c: Likewise.
87123
87124 2012-03-09 David S. Miller <davem@davemloft.net>
87125
87126 * include/math_private.h: New file.
87127
87128 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87129
87130 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87131 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87132 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87133 from <bits/socket_type.h>.
87134 (enum __socket_type): Don't define here.
87135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87137 bits/socket_type.h.
87138
87139 [BZ #13566]
87140 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87141 checking __USE_GNU.
87142
87143 * Makerules ($(inst_includedir)/%.h): New rule.
87144 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87145 (install-others): Remove variable setting.
87146 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87147
87148 2012-03-08 Richard Henderson <rth@twiddle.net>
87149
87150 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87151 from macro to inline function; merge with the
87152 !__LIBC_INTERNAL_MATH_INLINES version.
87153 (__ieee754_sqrtf): Likewise.
87154
87155 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87156 to inline function.
87157 (__rintf, __floor, __floorf): Likewise.
87158
87159 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87160 macro to inline function.
87161 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87162
87163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87164 not <math/math_private.h>.
87165
87166 2012-03-08 David S. Miller <davem@davemloft.net>
87167
87168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87169 copyright year.
87170 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87171
87172 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87173
87174 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87175 normalization.
87176 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87177 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87178
87179 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87180
87181 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87182 be defined individually, they must be defined as a block. Define
87183 S for printing a string instead of hidint the different by using a
87184 macro for adding the 'l'.
87185 * stdio-common/tst-fphex-wide.c: Adjust.
87186
87187 2012-03-07 Marek Polacek <polacek@redhat.com>
87188
87189 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87190
87191 2012-03-08 Marek Polacek <polacek@redhat.com>
87192
87193 [BZ #13806]
87194 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87195 * stdio-common/tst-fphex.c: Define a few macros to make the
87196 test reusable. Use them.
87197 * stdio-common/tst-fphex-wide.c: New file.
87198
87199 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87200
87201 [BZ #6911]
87202 * manual/macros.texi (gnusystems): New macro.
87203 (nongnusystems): Likewise.
87204 (gnulinuxhurdsystems): Likewise.
87205 (gnuhurdsystems): Likewise..
87206 (gnulinuxsystems): Likewise.
87207 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87208 variants of the GNU system, not "GNU system".
87209 * manual/conf.texi: Likewise.
87210 * manual/errno.texi: Likewise. Update example of errno macro
87211 expansion.
87212 * manual/filesys.texi: Likewise.
87213 (getumask): Document as specific to GNU/Hurd.
87214 * manual/install.texi: Likewise. Reword some references to
87215 GNU/Linux.
87216 * manual/intro.texi: Likewise.
87217 * manual/io.texi: Likewise.
87218 (File Name Portability): Detail which constraints are inapplicable
87219 to all GNU systems and which are only inapplicable to GNU/Hurd.
87220 * manual/job.texi: Likewise.
87221 * manual/llio.texi: Likewise.
87222 (O_NOCTTY): Document as present on GNU/Linux.
87223 * manual/maint.texi: Likewise.
87224 * manual/memory.texi: Likewise.
87225 * manual/pattern.texi: Likewise.
87226 * manual/pipe.texi: Likewise.
87227 * manual/process.texi: Likewise.
87228 * manual/resource.texi: Likewise.
87229 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87230 child on GNU/Hurd.
87231 * manual/setjmp.texi: Likewise.
87232 * manual/signal.texi: Likewise.
87233 * manual/startup.texi: Likewise.
87234 * manual/stdio.texi: Likewise.
87235 * manual/terminal.texi: Likewise.
87236 (ONLCR): Document as POSIX.
87237 (OXTABS): Document availability on GNU/Linux as XTABS.
87238 (ONOEOT): Document availability separately from other bits.
87239 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87240 * manual/time.texi: Likewise.
87241 * manual/users.texi: Likewise.
87242 * INSTALL: Regenerated.
87243 * sysdeps/gnu/errlist.c: Regenerated.
87244
87245 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87246 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87247 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87248 puts.
87249 * configure: Regenerated.
87250
87251 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87252
87253 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87254 default includes instead of AC_HEADER_CHECK.
87255 * sysdeps/i386/configure: Regenerated.
87256
87257 [BZ #10716]
87258 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87259 * math/s_cacoshf.c (__cacoshf): Likewise.
87260 * math/s_cacoshl.c (__cacoshl): Likewise.
87261 * math/s_casinh.c (__casinh): Set signs of result from argument.
87262 * math/s_casinhf.c (__casinhf): Likewise.
87263 * math/s_casinhl.c (__casinhl): Likewise.
87264 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87265 (casinh_test): Add more tests.
87266 * sysdeps/i386/fpu/libm-test-ulps: Update.
87267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87268
87269 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87270
87271 * po/zh_TW.po: Update from translation team.
87272
87273 * login/Makefile (distribute): Remove variable.
87274 * catgets/Makefile: Likewise.
87275 * mach/Makefile: Likewise.
87276 * malloc/Makefile: Likewise.
87277 * misc/Makefile: Likewise.
87278 * iconv/Makefile: Likewise.
87279 * nscd/Makefile: Likewise.
87280 * hurd/Makefile: Likewise.
87281 * manual/Makefile: Likewise.
87282 * locale/Makefile: Likewise.
87283 * intl/Makefile: Likewise.
87284 * conform/Makefile: Likewise.
87285 * nss/Makefile: Likewise.
87286 * time/Makefile: Likewise.
87287 * soft-fp/Makefile: Likewise.
87288 * dirent/Makefile: Likewise.
87289 * gmon/Makefile: Likewise.
87290 * po/Makefile: Likewise.
87291 * rt/Makefile: Likewise.
87292 * socket/Makefile: Likewise.
87293 * math/Makefile: Likewise.
87294 * signal/Makefile: Likewise.
87295 * debug/Makefile: Likewise.
87296 * elf/Makefile: Likewise.
87297 * timezone/Makefile: Likewise.
87298 * stdlib/Makefile: Likewise.
87299 * iconvdata/Makefile: Likewise.
87300 * sunrpc/Makefile: Likewise.
87301 * io/Makefile: Likewise.
87302 * argp/Makefile: Likewise.
87303 * inet/Makefile: Likewise.
87304 * hesiod/Makefile: Likewise.
87305 * grp/Makefile: Likewise.
87306 * csu/Makefile: Likewise.
87307 * wctype/Makefile: Likewise.
87308 * crypt/Makefile: Likewise.
87309 * libio/Makefile: Likewise.
87310 * string/Makefile: Likewise.
87311 * nis/Makefile: Likewise.
87312 * resolv/Makefile: Likewise.
87313 * stdio-common/Makefile: Likewise.
87314 * wcsmbs/Makefile: Likewise.
87315 * dlfcn/Makefile: Likewise.
87316 * posix/Makefile: Likewise.
87317
87318 [BZ #6959]
87319 * timezone/Makefile: Don't install timezone files, just the programs
87320 and scripts.
87321
87322 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87323
87324 * nss/databases.def: Add missing gshadow entry.
87325
87326 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87327
87328 2012-03-06 Marek Polacek <polacek@redhat.com>
87329
87330 [BZ #13726]
87331 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87332 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87333 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87334 * stdio-common/tst-long-dbl-fphex.c: New file.
87335
87336 2012-03-06 David S. Miller <davem@davemloft.net>
87337
87338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87339 (set_obp_int): New function.
87340 (get_obp_int): New function.
87341 (__get_clockfreq_via_dev_openprom): Likewise.
87342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87343 Avoid unused variable warnings on 'val' and use builtin_expect.
87344 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87345 __builtin_expect.
87346 (INLINE_CLONE_SYSCALL): Likewise.
87347
87348 2012-03-05 David S. Miller <davem@davemloft.net>
87349
87350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87351
87352 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87353
87354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87355
87356 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87357 only for |x| >= 40.
87358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87359
87360 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87361
87362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87363 Replace gettimeofday with __vdso_gettimeofday.
87364
87365 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87366 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87367 __vdso_clock_gettime and __vdso_getcpu.
87368
87369 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87370 time with __vdso_time.
87371
87372 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87373
87374 * manual/lang.texi (size_t): Note types to which size_t may be
87375 equivalent with the GNU C Library, but do not describe when
87376 differences between them are significant.
87377
87378 2012-03-05 Andreas Jaeger <aj@suse.de>
87379
87380 * sysdeps/i386/fpu/libm-test-ulps: Update.
87381
87382 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87383
87384 [BZ #3976]
87385 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87386 (__ieee754_pow): Save and restore rounding mode and use
87387 round-to-nearest for main computations.
87388 * math/libm-test.inc (pow_test_tonearest): New function.
87389 (pow_test_towardzero): Likewise.
87390 (pow_test_downward): Likewise.
87391 (pow_test_upward): Likewise.
87392 (main): Call the new functions.
87393 * sysdeps/i386/fpu/libm-test-ulps: Update.
87394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87395
87396 [BZ #3976]
87397 * math/libm-test.inc (cosh_test_tonearest): New function.
87398 (cosh_test_towardzero): Likewise.
87399 (cosh_test_downward): Likewise.
87400 (cosh_test_upward): Likewise.
87401 (sinh_test_tonearest): Likewise.
87402 (sinh_test_towardzero): Likewise.
87403 (sinh_test_downward): Likewise.
87404 (sinh_test_upward): Likewise.
87405 (main): Call the new functions.
87406 * sysdeps/i386/fpu/libm-test-ulps: Update.
87407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87408
87409 2012-03-05 Tom de Vries <tom@codesourcery.com>
87410
87411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87412 default stack guard is set in last bytes.
87413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87414
87415 2012-03-05 Kees Cook <keescook@chromium.org>
87416
87417 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87418
87419 [BZ #13656]
87420 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87421 possibly allocate from heap instead of stack.
87422 * stdio-common/bug-vfprintf-nargs.c: New file.
87423 * stdio-common/Makefile (tests): Add nargs overflow test.
87424
87425 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87426
87427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87428
87429 2012-03-03 Marek Polacek <polacek@redhat.com>
87430
87431 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87432 * math/math_private.h: Likewise.
87433 * stdlib/tst-strtod.c: Likewise.
87434 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87435 * sysdeps/x86_64/bits/atomic.h: Likewise.
87436
87437 2012-03-02 David S. Miller <davem@davemloft.net>
87438
87439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87443 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87444 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87445 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87446 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87447
87448 2012-03-02 Roland McGrath <roland@hack.frob.com>
87449
87450 [BZ #13792]
87451 * manual/examples/README: New file, says the example source files
87452 can be used under GPL>=2.
87453 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87454 line containing just "*/".
87455 * manual/examples/add.c: Add copyright header (GPL>=2).
87456 * manual/examples/argp-ex1.c: Likewise.
87457 * manual/examples/argp-ex2.c: Likewise.
87458 * manual/examples/argp-ex3.c: Likewise.
87459 * manual/examples/argp-ex4.c: Likewise.
87460 * manual/examples/atexit.c: Likewise.
87461 * manual/examples/db.c: Likewise.
87462 * manual/examples/dir.c: Likewise.
87463 * manual/examples/dir2.c: Likewise.
87464 * manual/examples/execinfo.c: Likewise.
87465 * manual/examples/filecli.c: Likewise.
87466 * manual/examples/filesrv.c: Likewise.
87467 * manual/examples/fmtmsgexpl.c: Likewise.
87468 * manual/examples/genpass.c: Likewise.
87469 * manual/examples/inetcli.c: Likewise.
87470 * manual/examples/inetsrv.c: Likewise.
87471 * manual/examples/isockad.c: Likewise.
87472 * manual/examples/longopt.c: Likewise.
87473 * manual/examples/memopen.c: Likewise.
87474 * manual/examples/memstrm.c: Likewise.
87475 * manual/examples/mkfsock.c: Likewise.
87476 * manual/examples/mkisock.c: Likewise.
87477 * manual/examples/mygetpass.c: Likewise.
87478 * manual/examples/pipe.c: Likewise.
87479 * manual/examples/popen.c: Likewise.
87480 * manual/examples/rprintf.c: Likewise.
87481 * manual/examples/search.c: Likewise.
87482 * manual/examples/select.c: Likewise.
87483 * manual/examples/setjmp.c: Likewise.
87484 * manual/examples/sigh1.c: Likewise.
87485 * manual/examples/sigusr.c: Likewise.
87486 * manual/examples/stpcpy.c: Likewise.
87487 * manual/examples/strdupa.c: Likewise.
87488 * manual/examples/strftim.c: Likewise.
87489 * manual/examples/strncat.c: Likewise.
87490 * manual/examples/subopt.c: Likewise.
87491 * manual/examples/swapcontext.c: Likewise.
87492 * manual/examples/termios.c: Likewise.
87493 * manual/examples/testopt.c: Likewise.
87494 * manual/examples/testpass.c: Likewise.
87495 * manual/examples/timeval_subtract.c: Likewise.
87496
87497 [BZ #13792]
87498 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87499 function to ...
87500 * manual/timeval_subtract.c.texi: ... here, new file.
87501
87502 2012-03-02 David S. Miller <davem@davemloft.net>
87503
87504 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87505
87506 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87507
87508 [BZ #3976]
87509 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87510 (__sin): Save and restore rounding mode and use round-to-nearest
87511 for all computations.
87512 (__cos): Save and restore rounding mode and use round-to-nearest
87513 for all computations.
87514 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87515 <fenv.h>.
87516 (tan): Save and restore rounding mode and use round-to-nearest for
87517 all computations.
87518 * math/libm-test.inc (cos_test_tonearest): New function.
87519 (cos_test_towardzero): Likewise.
87520 (cos_test_downward): Likewise.
87521 (cos_test_upward): Likewise.
87522 (sin_test_tonearest): Likewise.
87523 (sin_test_towardzero): Likewise.
87524 (sin_test_downward): Likewise.
87525 (sin_test_upward): Likewise.
87526 (tan_test_tonearest): Likewise.
87527 (tan_test_towardzero): Likewise.
87528 (tan_test_downward): Likewise.
87529 (tan_test_upward): Likewise.
87530 (main): Call the new functions.
87531 * sysdeps/i386/fpu/libm-test-ulps: Update.
87532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87533
87534 [BZ #10135]
87535 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87536 small n, then large n, before computing and testing k+n.
87537 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87539 Likewise.
87540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87541 Likewise.
87542 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87543 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87546 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87547 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87548 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87549 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87550 * math/libm-test.inc (scalbn_test): Add more tests.
87551 (scalbln_test): Likewise.
87552
87553 * manual/filesys.texi (mode_t): Describe constraints on size and
87554 signedness, not exact equivalence to a particular type.
87555 (ino_t): Likewise.
87556 (ino64_t): Likewise.
87557 (dev_t): Likewise.
87558 (nlink_t): Likewise.
87559 (blkcnt_t): Likewise.
87560 (blkcnt64_t): Likewise.
87561 * manual/llio.texi (off_t): Likewise.
87562
87563 [BZ #3976]
87564 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87565 (__ieee754_exp): Save and restore rounding mode and use
87566 round-to-nearest for all computations.
87567 * math/libm-test.inc (exp_test_tonearest): New function.
87568 (exp_test_towardzero): Likewise.
87569 (exp_test_downward): Likewise.
87570 (exp_test_upward): Likewise.
87571 (main): Call the new functions.
87572 * sysdeps/i386/fpu/libm-test-ulps: Update.
87573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87574
87575 2012-03-01 Chris Demetriou <cgd@google.com>
87576
87577 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87578 have predictable order.
87579
87580 2012-03-01 David S. Miller <davem@davemloft.net>
87581
87582 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87583
87584 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87585 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87586 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87587 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87588
87589 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87590 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87591 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87593 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87594 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87595 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87596 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87597 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87598
87599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87600
87601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87602 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87604
87605 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87607 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87608 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87609 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87612 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87614 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87615 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87618 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87619 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87621 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87622 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87623 * sysdeps/sparc/elf/configure: Regenerated.
87624
87625 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87626
87627 * configure.in (AS, LD): Require binutils 2.20 or later.
87628 * configure: Regenerated.
87629 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87630 as required minimum version.
87631 * INSTALL: Regenerated.
87632
87633 [BZ #2541]
87634 [BZ #4108]
87635 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87636 before squaring exponent.
87637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87638 bottom long double and 27 bits of top long double before squaring
87639 exponent.
87640 * math/libm-test.inc (erfc_test): Add more tests.
87641 * sysdeps/i386/fpu/libm-test-ulps: Update.
87642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87644
87645 2012-03-01 Kai Tietz <ktietz@redhat.com>
87646
87647 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87648 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87649 containing bit-fields.
87650 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87651 * soft-fp/single.h (_FP_UNION_S): Likewise.
87652 * soft-fp/double.h (_FP_UNION_D): Likewise.
87653
87654 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87655
87656 [BZ #13786]
87657 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87658 not include ../strcmp.S.
87659 [USE_AS_STRNCASECMP_L]: Likewise.
87660 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87661 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87662 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87663 (__strncasecmp_l_ia32): Define as alias to
87664 __strncasecmp_l_nonascii.
87665
87666 [BZ #5794]
87667 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87668 * sysdeps/i386/fpu/libm-test-ulps: Update.
87669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87670
87671 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87673
87674 2012-02-29 Jeff Law <law@redhat.com>
87675
87676 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87677 out of bounds read.
87678
87679 2012-02-29 Marek Polacek <polacek@redhat.com>
87680
87681 [BZ #13706]
87682 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87683 * elf/Makefile: Add rules to run tst-unused-dep.out.
87684
87685 2012-02-28 David S. Miller <davem@davemloft.net>
87686
87687 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87688 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87691 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87692 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87693
87694 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87695
87696 * math/libm-test.inc (llround_test): Move one test from
87697 lround_test. Use TEST_f_L in moved test.
87698 (lround_test): Move misplaced test to llround_test. Add testcase
87699 from bug 2561.
87700
87701 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87702
87703 * sysdeps/x86_64/fpu/e_expf.S: New file.
87704 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87705
87706 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87707
87708 [BZ #13637]
87709 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87710 of remain_len that may cause incomplete multi-byte character and
87711 false match.
87712 * posix/bug-regex33.c: New file.
87713 * posix/Makefile (tests): Add bug-regex33.
87714
87715 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87716
87717 * manual/macros.texi: New file.
87718 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87719 * manual/libc.texinfo: Include macros.texi.
87720 * manual/creatute.texi: Likewise.
87721 * manual/install.texi: Likewise.
87722 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87723 @glibcadj{} in references to the GNU C Library.
87724 * manual/charset.texi: Likewise.
87725 * manual/conf.texi: Likewise.
87726 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87727 when not using those macros.
87728 * manual/creature.texi: Likewise.
87729 * manual/crypt.texi: Likewise.
87730 * manual/errno.texi: Likewise.
87731 * manual/filesys.texi: Likewise.
87732 * manual/header.texi: Likewise.
87733 * manual/install.texi: Likewise.
87734 * manual/intro.texi: Likewise.
87735 * manual/io.texi: Likewise.
87736 * manual/job.texi: Likewise.
87737 * manual/lang.texi: Likewise.
87738 * manual/libc.texiinfo: Likewise.
87739 * manual/llio.texi: Likewise.
87740 * manual/locale.texi: Likewise.
87741 * manual/maint.texi: Likewise.
87742 * manual/math.texi: Likewise.
87743 * manual/memory.texi: Likewise.
87744 * manual/message.texi: Likewise.
87745 * manual/nss.texi: Likewise.
87746 * manual/pattern.texi: Likewise.
87747 * manual/process.texi: Likewise.
87748 * manual/resource.texi: Likewise.
87749 * manual/search.texi: Likewise.
87750 * manual/setjmp.texi: Likewise.
87751 * manual/signal.texi: Likewise.
87752 * manual/socket.texi: Likewise.
87753 * manual/startup.texi: Likewise.
87754 * manual/stdio.texi: Likewise.
87755 * manual/string.texi: Likewise.
87756 * manual/sysinfo.texi: Likewise.
87757 * manual/syslog.texi: Likewise.
87758 * manual/terminal.texi: Likewise.
87759 * manual/time.texi: Likewise.
87760 * manual/users.texi: Likewise.
87761 * INSTALL: Regenerated.
87762 * NOTES: Regenerated.
87763 * sysdeps/gnu/errlist.c: Regenerated.
87764
87765 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87766
87767 * include/dirent.h: Include <dirstream.h> before
87768 <dirent/dirent.h>.
87769
87770 2012-02-28 David S. Miller <davem@davemloft.net>
87771
87772 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87773 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87774 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87775 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87776
87777 2012-02-27 David S. Miller <davem@davemloft.net>
87778
87779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87781 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87782 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87783
87784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87785 frame pointer instead of stack pointer relative arg slot.
87786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87787 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87788 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87789
87790 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87791
87792 [BZ #3992]
87793 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87794
87795 2012-02-27 David S. Miller <davem@davemloft.net>
87796
87797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87801 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87802 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87803 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87804 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87805
87806 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87807
87808 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87809 later. Allow versions 5-9.
87810 * configure: Regenerated.
87811 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87812 required minimum version and 4.6 as recommended version. Do not
87813 mention bugs in GCC 2.7 and 2.8.
87814 * INSTALL: Regenerated.
87815
87816 2012-02-27 David S. Miller <davem@davemloft.net>
87817
87818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87822 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87823 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87824 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87825 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87826
87827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87828 manipulate bits before adding and subtracting TWO112[sx].
87829 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87830
87831 2012-02-27 Roland McGrath <roland@hack.frob.com>
87832
87833 [BZ #13775]
87834 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87835 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87836 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87837 being in POSIX, because they are in 1003.1-2008.
87838
87839 * rt/tst-aio.c: Include <fcntl.h>.
87840 * rt/tst-aio7.c: Likewise.
87841 * rt/tst-aio64.c: Likewise.
87842
87843 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87844
87845 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87846
87847 * manual/install.texi (--with-headers): Describe headers as
87848 interface headers, not private headers.
87849 (Specific advice for GNU/Linux systems): Describe use of headers
87850 from "make headers_install", not private headers from older
87851 kernels.
87852 * INSTALL: Regenerated.
87853 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87854 Change to 2.6.19.
87855 * sysdeps/unix/sysv/linux/configure: Regenerated.
87856
87857 * manual/llio.texi (fclean): Remove documentation.
87858
87859 * manual/Makefile (libc-texi-generated): New variable. Include
87860 version.texi.
87861 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87862 $(libc-texi-generated), not duplicated list of files.
87863 (version.texi, stamp-version): New rules.
87864 (realclean): Remove $(libc-texi-generated), not individual files
87865 from that list. Do not remove dir-add.texinfo.
87866 * manual/libc.texinfo: Comment out uses of edition numbers and
87867 references to printed manual. Remove last-updated dates.
87868 (EDITION): Comment out.
87869 (ISBN): Likewise.
87870 (VERSION, UPDATED): Remove.
87871 (version.texi): Include.
87872
87873 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87874
87875 * sysdeps/posix/spawni.c: Include <signal.h>.
87876 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87877 * sysdeps/pthread/aio_fsync.c: Likewise.
87878
87879 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87880
87881 * conform/Makefile (tests): Run only when not cross-compiling and
87882 when fast-check is not defined.
87883
87884 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87885 * conform/data/limits.h-data: Fixes for POSIX2008.
87886 * conform/run-conformtest.sh: Run all tests.
87887 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87888 headers.
87889 * include/bits/dlfcn.h: Likewise.
87890 * include/langinfo.h: Likewise.
87891 * include/monetary.h: Likewise.
87892 * include/sys/poll.h: Likewise.
87893
87894 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87895 for __USE_GNU.
87896 * posix/spawn.h: Define __need_sigset_t.
87897 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87898 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87899 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87900 to get sigevent_t only.
87901 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87902 only for __USE_GNU.
87903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87904 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87905 process_vm_writev only for __USE_GNU.
87906 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87907
87908 * conform/Makefile: For now ignore errors from run-conformtest.
87909 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87910 POSIX to avoid namespace pollution. Don't prepend headers.
87911 * conform/data/aio.h-data: Fixes for POSIX testing.
87912 * conform/data/fcntl.h-data: Likewise.
87913 * conform/data/glob.h-data: Likewise.
87914 * conform/data/grp.h-data: Likewise.
87915 * conform/data/pthread.h-data: Likewise.
87916 * conform/data/pwd.h-data: Likewise.
87917 * conform/data/signal.h-data: Likewise.
87918 * conform/data/spawn.h-data: Likewise.
87919 * conform/data/stdio.h-data: Likewise.
87920 * conform/data/stdlib.h-data: Likewise.
87921 * conform/data/stropts.h-data: Likewise.
87922 * conform/data/sys/mman.h-data: Likewise.
87923 * conform/data/sys/stat.h-data: Likewise.
87924 * conform/data/sys/types.h-data: Likewise.
87925 * conform/data/sys/wait.h-data: Likewise.
87926 * conform/data/time.h-data: Likewise.
87927 * conform/data/unistd.h-data: Likewise.
87928 * conform/data/utime.h-data: Likewise.
87929
87930 * io/sys/stat.h: fchmod was always in POSIX.
87931 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87932 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87933 * rt/aio.h: Define __need_timespec before including <time.h>.
87934 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87935 struct. Add forward declaration of pthread_attr_t and use it in
87936 sigevent.
87937 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87938 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87939 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87940 always remove CLK_TCK definition.
87941
87942 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87943
87944 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87945
87946 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87947
87948 * conform/run-conformtest.sh: New file.
87949 * conform/Makefile: Run run-conformtest for tests.
87950 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87951 support.
87952
87953 * conform/data/uchar.h-data: New file.
87954 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87955 * conform/data/arpa/inet.h-data: Likewise.
87956 * conform/data/assert.h-data: Likewise.
87957 * conform/data/complex.h-data: Likewise.
87958 * conform/data/cpio.h-data: Likewise.
87959 * conform/data/ctype.h-data: Likewise.
87960 * conform/data/dirent.h-data: Likewise.
87961 * conform/data/dlfcn.h-data: Likewise.
87962 * conform/data/errno.h-data: Likewise.
87963 * conform/data/fcntl.h-data: Likewise.
87964 * conform/data/float.h-data: Likewise.
87965 * conform/data/fmtmsg.h-data: Likewise.
87966 * conform/data/fnmatch.h-data: Likewise.
87967 * conform/data/ftw.h-data: Likewise.
87968 * conform/data/glob.h-data: Likewise.
87969 * conform/data/grp.h-data: Likewise.
87970 * conform/data/iconv.h-data: Likewise.
87971 * conform/data/inttypes.h-data: Likewise.
87972 * conform/data/langinfo.h-data: Likewise.
87973 * conform/data/libgen.h-data: Likewise.
87974 * conform/data/limits.h-data: Likewise.
87975 * conform/data/locale.h-data: Likewise.
87976 * conform/data/math.h-data: Likewise.
87977 * conform/data/monetary.h-data: Likewise.
87978 * conform/data/mqueue.h-data: Likewise.
87979 * conform/data/ndbm.h-data: Likewise.
87980 * conform/data/net/if.h-data: Likewise.
87981 * conform/data/netdb.h-data: Likewise.
87982 * conform/data/netinet/in.h-data: Likewise.
87983 * conform/data/nl_types.h-data: Likewise.
87984 * conform/data/poll.h-data: Likewise.
87985 * conform/data/pthread.h-data: Likewise.
87986 * conform/data/pwd.h-data: Likewise.
87987 * conform/data/regex.h-data: Likewise.
87988 * conform/data/sched.h-data: Likewise.
87989 * conform/data/search.h-data: Likewise.
87990 * conform/data/semaphore.h-data: Likewise.
87991 * conform/data/setjmp.h-data: Likewise.
87992 * conform/data/signal.h-data: Likewise.
87993 * conform/data/spawn.h-data: Likewise.
87994 * conform/data/stdarg.h-data: Likewise.
87995 * conform/data/stdio.h-data: Likewise.
87996 * conform/data/stdlib.h-data: Likewise.
87997 * conform/data/string.h-data: Likewise.
87998 * conform/data/strings.h-data: Likewise.
87999 * conform/data/stropts.h-data: Likewise.
88000 * conform/data/sys/ipc.h-data: Likewise.
88001 * conform/data/sys/mman.h-data: Likewise.
88002 * conform/data/sys/msg.h-data: Likewise.
88003 * conform/data/sys/resource.h-data: Likewise.
88004 * conform/data/sys/select.h-data: Likewise.
88005 * conform/data/sys/sem.h-data: Likewise.
88006 * conform/data/sys/shm.h-data: Likewise.
88007 * conform/data/sys/socket.h-data: Likewise.
88008 * conform/data/sys/stat.h-data: Likewise.
88009 * conform/data/sys/statvfs.h-data: Likewise.
88010 * conform/data/sys/time.h-data: Likewise.
88011 * conform/data/sys/timeb.h-data: Likewise.
88012 * conform/data/sys/times.h-data: Likewise.
88013 * conform/data/sys/types.h-data: Likewise.
88014 * conform/data/sys/uio.h-data: Likewise.
88015 * conform/data/sys/un.h-data: Likewise.
88016 * conform/data/sys/utsname.h-data: Likewise.
88017 * conform/data/sys/wait.h-data: Likewise.
88018 * conform/data/syslog.h-data: Likewise.
88019 * conform/data/tar.h-data: Likewise.
88020 * conform/data/termios.h-data: Likewise.
88021 * conform/data/utime.h-data: Likewise.
88022 * conform/data/utmpx.h-data: Likewise.
88023 * conform/data/varargs.h-data: Likewise.
88024 * conform/data/wchar.h-data: Likewise.
88025 * conform/data/wctype.h-data: Likewise.
88026 * conform/data/wordexp.h-data: Likewise.
88027
88028 * include/stropts.h: New file.
88029 * include/uchar.h: New file.
88030 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88031 * include/assert.h: Likewise.
88032 * include/ctype.h: Likewise.
88033 * include/dirent.h: Likewise.
88034 * include/dlfcn.h: Likewise.
88035 * include/fcntl.h: Likewise.
88036 * include/fnmatch.h: Likewise.
88037 * include/glob.h: Likewise.
88038 * include/grp.h: Likewise.
88039 * include/libio.h: Likewise.
88040 * include/locale.h: Likewise.
88041 * include/math.h: Likewise.
88042 * include/net/if.h: Likewise.
88043 * include/netdb.h: Likewise.
88044 * include/netinet/in.h: Likewise.
88045 * include/pthread.h: Likewise.
88046 * include/pwd.h: Likewise.
88047 * include/regex.h: Likewise.
88048 * include/sched.h: Likewise.
88049 * include/search.h: Likewise.
88050 * include/setjmp.h: Likewise.
88051 * include/signal.h: Likewise.
88052 * include/stdio.h: Likewise.
88053 * include/stdlib.h: Likewise.
88054 * include/string.h: Likewise.
88055 * include/sys/cdefs.h: Likewise.
88056 * include/sys/mman.h: Likewise.
88057 * include/sys/msg.h: Likewise.
88058 * include/sys/resource.h: Likewise.
88059 * include/sys/select.h: Likewise.
88060 * include/sys/socket.h: Likewise.
88061 * include/sys/stat.h: Likewise.
88062 * include/sys/statvfs.h: Likewise.
88063 * include/sys/time.h: Likewise.
88064 * include/sys/times.h: Likewise.
88065 * include/sys/uio.h: Likewise.
88066 * include/sys/utsname.h: Likewise.
88067 * include/sys/wait.h: Likewise.
88068 * include/termios.h: Likewise.
88069 * include/time.h: Likewise.
88070 * include/ulimit.h: Likewise.
88071 * include/unistd.h: Likewise.
88072 * include/utime.h: Likewise.
88073 * include/wchar.h: Likewise.
88074 * include/wctype.h: Likewise.
88075 * include/wordexp.h: Likewise.
88076
88077 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88078
88079 * time/time.h: TIME_UTC must be a macro.
88080 Make timespec_get available for ISO C11 only as well.
88081
88082 2012-02-24 Ulrich Drepper <drepper@gmail.com>
88083
88084 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88085 Reported by Peng Haitao <penght@cn.fujitsu.com>.
88086
88087 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88088
88089 * configure.in: Use -o not -a in test for unsupported multi-arch.
88090
88091 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88092
88093 * manual/texinfo.tex: Update to version 2012-01-19.16.
88094
88095 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88096
88097 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88098
88099 2012-02-24 Roland McGrath <roland@hack.frob.com>
88100
88101 [BZ #13738]
88102 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88103 * manual/fdl-1.3.texi: New file.
88104 * manual/fdl-1.1.texi: File removed.
88105
88106 [BZ #13738]
88107 * manual/libc.texinfo (FDL_VERSION): New @set.
88108 Use it for mention of FDL in cover text.
88109 (Documentation License): Use it in @include file name.
88110
88111 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88112 Roland McGrath <roland@hack.frob.com>
88113
88114 [BZ #5461]
88115 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88116 (not LONG_LONG_MAX and LONG_LONG_MIN.
88117 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88118 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88119 name.
88120 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88121
88122 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88123
88124 [BZ #2547]
88125 [BZ #11365]
88126 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88127 manipulate bits before adding and subtracting TWO23[sx].
88128 * math/libm-test.inc (nearbyint_test): Add more tests.
88129
88130 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88131
88132 [BZ #2548]
88133 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88134 bits before adding and subtracting TWO23[sx].
88135 * math/libm-test.inc (rint_test): Add more tests.
88136 (rint_test_tonearest): Likewise.
88137 (rint_test_towardzero): Likewise.
88138 (rint_test_downward): Likewise.
88139 (rint_test_upward: Likewise.
88140
88141 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88142
88143 [BZ #10110]
88144 * include/stdc-predef.h: New file. Extracted from features.h.
88145 * include/features.h: Include stdc-predef.h.
88146 * Makefile (headers): Add stdc-predef.h.
88147 * CONFORMANCE (Compiler limitations): Update.
88148
88149 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88150
88151 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88152
88153 2012-02-21 David S. Miller <davem@davemloft.net>
88154
88155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88157
88158 2012-02-20 David S. Miller <davem@davemloft.net>
88159
88160 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88161 using a normal save/restore sequence, rather than allocating a
88162 dummy stack frame just to store a frame pointer and restore.
88163 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88164
88165 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88166
88167 * manual/install.texi: Fix stray word in line-wrapped comment.
88168
88169 2012-02-20 David S. Miller <davem@davemloft.net>
88170
88171 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88172 both binutils and gcc support GOTDATA.
88173
88174 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88175 "rd %pc" in the PIC register setup sequences.
88176
88177 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88178 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88179 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88180 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88183 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88186 (SYSCALL_ERROR_HANDLER): Likewise.
88187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88190 (SYSCALL_ERROR_HANDLER): Likewise.
88191
88192 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88193 (HAVE_GCC_GOTDATA): New.
88194 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88195 relocation support in both binutils and gcc.
88196 * sysdeps/sparc/elf/configure: Regenerate.
88197
88198 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88199 * sysdeps/sparc/sparc32/elf/configure: Delete.
88200 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88201 * sysdeps/sparc/sparc64/elf/configure: Delete.
88202 * sysdeps/sparc/elf/configure.in: New file.
88203 * sysdeps/sparc/elf/configure: Generate.
88204
88205 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88206 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88207 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88208 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88209 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88210
88211 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88212
88213 * manual/install.texi: Do not mention specific glibc version
88214 numbers.
88215 * manual/libc.texinfo (VERSION, UPDATED): Update.
88216 (@copying): Use @copyright{} and range of years.
88217
88218 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88219
88220 [BZ #13695]
88221 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88222 [crti.S not in sysdirs] (generated): Do not append.
88223 [crti.S not in sysdirs] (omit-deps): Likewise.
88224 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88225 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88226 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88227 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88228 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88229 Likewise.
88230 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88231 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88232 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88233 * csu/defs.awk: Remove file.
88234 * sysdeps/generic/initfini.c: Likewise.
88235 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88236 variable.
88237 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88238 Likewise.
88239
88240 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88241
88242 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88243 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88244 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88245 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88247 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88248 <bits/epoll.h>.
88249 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88250 (__EPOLL_PACKED): Define to empty if not defined by
88251 <bits/epoll.h>.
88252 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88254 bits/epoll.h.
88255
88256 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88257
88258 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88259 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88260 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88261 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88262 <bits/timerfd.h>.
88263 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88265 bits/timerfd.h.
88266
88267 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88268
88269 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88270 in C locale.
88271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88275
88276 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88277
88278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88279 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88280
88281 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88282
88283 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88284 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88285 defined.
88286 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88287 Likewise.
88288 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88289 entry for 2.16.
88290
88291 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88292
88293 * math/w_acos.c: Use non-signaling floating-point comparisons.
88294 * math/w_acosf.c: Likewise.
88295 * math/w_acosh.c: Likewise.
88296 * math/w_acoshf.c: Likewise.
88297 * math/w_acoshl.c: Likewise.
88298 * math/w_acosl.c: Likewise.
88299 * math/w_asin.c: Likewise.
88300 * math/w_asinf.c: Likewise.
88301 * math/w_asinl.c: Likewise.
88302 * math/w_atanh.c: Likewise.
88303 * math/w_atanhf.c: Likewise.
88304 * math/w_atanhl.c: Likewise.
88305 * math/w_exp2.c: Likewise.
88306 * math/w_exp2f.c: Likewise.
88307 * math/w_exp2l.c: Likewise.
88308 * math/w_j0.c: Likewise.
88309 * math/w_j0f.c: Likewise.
88310 * math/w_j0l.c: Likewise.
88311 * math/w_j1.c: Likewise.
88312 * math/w_j1f.c: Likewise.
88313 * math/w_j1l.c: Likewise.
88314 * math/w_jn.c: Likewise.
88315 * math/w_jnf.c: Likewise.
88316 * math/w_log.c: Likewise.
88317 * math/w_log10.c: Likewise.
88318 * math/w_log10f.c: Likewise.
88319 * math/w_log10l.c: Likewise.
88320 * math/w_log2.c: Likewise.
88321 * math/w_log2f.c: Likewise.
88322 * math/w_log2l.c: Likewise.
88323 * math/w_logf.c: Likewise.
88324 * math/w_logl.c: Likewise.
88325 * math/w_sqrt.c: Likewise.
88326 * math/w_sqrtf.c: Likewise.
88327 * math/w_sqrtl.c: Likewise.
88328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88329 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88330 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88331 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88332 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88333
88334 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88335
88336 [BZ #9739]
88337 * manual/string.texi (strnlen): Use correct parameter name in
88338 equivalent expression.
88339
88340 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88341
88342 [BZ #11174]
88343 * manual/users.texi (seteuid): Consistently use neweuid for
88344 argument name.
88345
88346 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88347
88348 [BZ #13704]
88349 * manual/nss.texi (Services in the NSS configuration): Correct
88350 list of services in example configuration file.
88351
88352 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88353
88354 [BZ #11322]
88355 * manual/arith.texi: Remove statements about negative zero
88356 behaving identically to zero.
88357
88358 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88359
88360 [BZ #5993]
88361 * manual/install.texi: Do not document upgrading from libc5.
88362
88363 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88364
88365 [BZ #4596]
88366 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88367
88368 2012-02-18 David S. Miller <davem@davemloft.net>
88369
88370 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88371 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88372 %o7 across the call.
88373 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88374 instead.
88375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88376 SETUP_PIC_REG_LEAF.
88377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88378 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88379 * sysdeps/sparc/crtn.S: Likewise.
88380
88381 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88382
88383 * aout/Makefile: Remove.
88384
88385 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88386
88387 [BZ #13058]
88388 * manual/examples/argp-ex1.c (main): Format definition in GNU
88389 style.
88390 * manual/examples/argp-ex2.c (main): Likewise.
88391 * manual/examples/argp-ex3.c (main): Likewise.
88392 * manual/examples/argp-ex4.c (main): Likewise.
88393 * manual/examples/longopt.c (main): Use new-style prototype
88394 definition.
88395 * manual/examples/strncat.c (main): Specify return type and use
88396 (void) for arguments.
88397 * manual/examples/subopt.c (main): Use char **argv argument.
88398
88399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88400
88401 [BZ #5077]
88402 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88403 rounding modes.
88404
88405 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88406
88407 [BZ #6907]
88408 * manual/string.texi (strchr): Change when strchrnul is
88409 recommended.
88410
88411 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88412
88413 [BZ #174]
88414 * manual/locale.texi (setlocale): Document LOCPATH.
88415
88416 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88417
88418 [BZ #10210]
88419 * manual/process.texi (execle): Move @dots{} before last argument.
88420
88421 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88422
88423 [BZ #12047]
88424 * manual/charset.texi (Generic Charset Conversion): Fix typo
88425 (LC_TYPE -> LC_CTYPE).
88426
88427 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88428
88429 [BZ #5805]
88430 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88431 (scalbnf): Likewise.
88432 (scalbnl): Likewise.
88433 (scalbln): Likewise.
88434 (scalblnf): Likewise.
88435 (scalblnl): Likewise.
88436 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88437 (vwarnx): Likewise.
88438 (verr): Likewise.
88439 (verrx): Likewise.
88440 * manual/filesys.texi (telldir): Use braces around return type.
88441 * manual/llio.texi (mmap): Add space after comma.
88442 (mmap64): Likewise.
88443 * manual/math.texi (jn): Use @var{} on parameter names.
88444 (jnf): Likewise.
88445 (jnl): Likewise.
88446 (yn): Likewise.
88447 (ynf): Likewise.
88448 (ynl): Likewise.
88449 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88450 line.
88451 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88452 "...".
88453 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88454 (sched_get_priority_max): Likewise.
88455 * manual/signal.texi (sigvec): Add space after comma.
88456 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88457 names.
88458 (if_indextoname): Likewise.
88459 (if_freenameindex): Likewise.
88460 (sendto): Use ',' instead of '.' in prototype.
88461 * manual/startup.texi (syscall): Use @dots{} instead of literal
88462 "...".
88463 * manual/stdio.texi (__fpending): Separate initial words of
88464 paragraph from @deftypefun line.
88465 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88466 "...".
88467 (vsyslog): Use @var{} on parameter names.
88468 * manual/terminal.texi (stty): Use @var{} on parameter names.
88469 * manual/users.texi (getutmp): Use @var{} on parameter names.
88470 (getutmpx): Likewise.
88471
88472 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88473
88474 [BZ #6884]
88475 * manual/stdio.texi (fopen): Fix typos in description of
88476 ",ccs=STRING".
88477
88478 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88479
88480 [BZ #4026]
88481 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88482 get clock_id definition.
88483
88484 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88485
88486 [BZ #4822]
88487 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88488 (madvise): Cast every argument to void on its own.
88489
88490 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88491
88492 [BZ #9902]
88493 * manual/startup.texi (Exit Status): Fix typo.
88494
88495 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88496
88497 [BZ #10140]
88498 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88499 * manual/examples/argp-ex2.c: Likewise.
88500 * manual/examples/argp-ex3.c: Likewise.
88501
88502 2012-02-16 Richard Henderson <rth@redhat.com>
88503
88504 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88505 * sysdeps/s390/s390-32/initfini.c: Remove.
88506 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88507 * sysdeps/s390/s390-64/initfini.c: Remove.
88508
88509 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88510
88511 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88512 compiler output for sysdeps/generic/initfini.c.
88513 * sysdeps/sh/elf/initfini.c: Remove file.
88514
88515 2012-02-16 David S. Miller <davem@davemloft.net>
88516
88517 [BZ #11494]
88518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88519
88520 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88521 * sysdeps/sparc/crti.S: New file.
88522 * sysdeps/sparc/crtn.S: New file.
88523 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88524 * sysdeps/sparc/sparc64/Makefile: Likewise.
88525
88526 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88527
88528 [BZ #3335]
88529 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88530
88531 2012-02-15 Roland McGrath <roland@hack.frob.com>
88532
88533 [BZ #4822]
88534 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88535
88536 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88537 (write, read, close): Likewise.
88538 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88539
88540 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88541
88542 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88543 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88544 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88545 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88546 <bits/signalfd.h>.
88547 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88549 bits/signalfd.h.
88550
88551 2012-02-14 Marek Polacek <polacek@redhat.com>
88552
88553 * sysdeps/x86_64/crti.S: New file.
88554 * sysdeps/x86_64/crtn.S: New file.
88555 * sysdeps/x86_64/elf/initfini.c: Remove file.
88556
88557 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88558
88559 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88560 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88561 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88562 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88563 <bits/inotify.h>.
88564 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88566 bits/inotify.h.
88567
88568 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88569
88570 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88571 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88572 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88573 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88574 <bits/eventfd.h>.
88575 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88577 bits/eventfd.h.
88578
88579 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88580
88581 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88582 __feraiseexcept instead of feraiseexcept.
88583
88584 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88585 nanosleep invocations.
88586 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88587 strings, and add error checking for a nanosleep invocations.
88588
88589 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88590
88591 Replace FSF snail mail address with URLs, as per GNU coding standards.
88592 Most of the snail mail addresses were wrong anyway, and omitting
88593 them makes the source code easier to maintain. Almost all of the
88594 changes are to license notices and to locale LC_IDENTIFICATION
88595 addresses, except for this one:
88596 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88597 not its snail mail address.
88598
88599 2012-02-09 Richard Henderson <rth@twiddle.net>
88600
88601 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88602 of kernel-features.h.
88603
88604 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88605
88606 2012-02-08 Marek Polacek <polacek@redhat.com>
88607
88608 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88609 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88610 * sysdeps/gnu/_G_config.h: Likewise.
88611 * sysdeps/generic/_G_config.h: Likewise.
88612
88613 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88614
88615 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88616 tests.
88617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88618
88619 * sysdeps/powerpc/powerpc32/crti.S: New file.
88620 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88621 * sysdeps/powerpc/powerpc64/crti.S: New file.
88622 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88623
88624 * Makeconfig (have-initfini): Don't set.
88625 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88626 * configure.in (nopic_initfini): Don't substitute.
88627 * config.h.in (HAVE_INITFINI): Don't #undef.
88628 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88629 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88630
88631 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88632
88633 Support crti.S and crtn.S provided directly by architectures.
88634 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88635 [crti.S in sysdirs] (omit-deps): Likewise.
88636 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88637 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88638 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88639 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88640 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88641 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88642 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88643 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88644 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88645 compiler output for sysdeps/generic/initfini.c.
88646 * sysdeps/i386/elf/Makefile: Remove file.
88647 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88648
88649 2012-02-07 Marek Polacek <polacek@redhat.com>
88650
88651 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88652 * sysdeps/gnu/_G_config.h: Likewise.
88653 * sysdeps/mach/hurd/_G_config.h: Likewise.
88654
88655 2012-02-07 Marek Polacek <polacek@redhat.com>
88656
88657 * math/Makefile (tests): Add tst-CMPLX2.
88658 * math/tst-CMPLX2.c: New file.
88659
88660 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88661
88662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88663
88664 * math/libm-test.inc (jn_test): Add missing L suffix.
88665
88666 2012-02-06 Marek Polacek <polacek@redhat.com>
88667
88668 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88669 * sysdeps/i386/fpu/e_powf.S: Likewise.
88670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88671 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88672 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88673 * sysdeps/i386/fpu/e_pow.S: Likewise.
88674 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88675 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88676 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88677 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88678 * sysdeps/i386/fpu/e_log2.S: Likewise.
88679 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88681 * sysdeps/i386/fpu/e_powl.S: Likewise.
88682 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88683 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88684 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88685 * sysdeps/i386/fpu/e_logl.S: Likewise.
88686 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88687 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88688 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88689 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88691 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88692 * sysdeps/i386/fpu/e_log.S: Likewise.
88693 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88694 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88695 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88696 * sysdeps/i386/fpu/e_logf.S: Likewise.
88697 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88698 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88699 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88700 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88701 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88702 * sysdeps/i386/fpu/e_log10.S: Likewise.
88703 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88704 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88705 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88706 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88707 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88708 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88709 * sysdeps/i386/asm-syntax.h: Likewise.
88710 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88712 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88713 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88714 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88715 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88716 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88717 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88718 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88719 * sysdeps/powerpc/sysdep.h: Likewise.
88720 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88722
88723 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88724
88725 [BZ #411]
88726 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88727
88728 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88729
88730 * sysdeps/i386/sysdep.h: Include <features.h>.
88731 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88732 version.
88733
88734 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88735
88736 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88737 Define.
88738 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88739 LOAD_PIC_REG_STR.
88740
88741 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88742
88743 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88744 (SETUP_PIC_REG): Use GET_PC_THUNK.
88745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88746 macro.
88747
88748 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88749
88750 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88751 for non-PIC compilation.
88752 (SETUP_PIC_REG): Add .p2align directive.
88753 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88754 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88755 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88756 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88757 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88758 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88759 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88761 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88762 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88763 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88764 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88765 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88766 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88767 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88768 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88769 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88770 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88771 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88772 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88773 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88775 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88776 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88777 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88781 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88782 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88783 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88784 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88785 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88786 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88787 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88788 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88789 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88790 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88791 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88792 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88793 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88794
88795 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88796
88797 * math/tst-CMPLX.c: Include <stdio.h>.
88798
88799 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88800
88801 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88802 float.
88803 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88804 * sysdeps/sparc/bits/mathdef.h: Likewise.
88805
88806 2012-01-31 Marek Polacek <polacek@redhat.com>
88807
88808 * libio/libio.h: Don't define _PARAMS.
88809 * locale/programs/config.h: Don't define PARAMS.
88810 * stdlib/strtol_l.c: Likewise.
88811 (__strtol_l): Remove PARAMS from the prototype.
88812
88813 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88814
88815 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88816 names. Just use the correct names. Remove unnecessary wrapper
88817 functions.
88818 * malloc/arena.c: Likewise.
88819 * malloc/hooks.c: Likewise.
88820
88821 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88822 ARENA_TEST says not to. Simplify test for creation of a new arena.
88823 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88824
88825 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88826
88827 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88828 into tail calls.
88829 (update_get_addr): New function.
88830 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88831 GET_ADDR_MODULE parameter.
88832
88833 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88834
88835 * crypt/cert.c: Remove __STDC__ conditionals.
88836 * crypt/crypt-entry.c: Likewise.
88837 * crypt/crypt_util.c: Likewise.
88838 * libio/filedoalloc.c: Likewise.
88839 * libio/fileops.c: Likewise.
88840 * libio/genops.c: Likewise.
88841 * libio/iofclose.c: Likewise.
88842 * libio/iofdopen.c: Likewise.
88843 * libio/iofopen.c: Likewise.
88844 * libio/iofopen64.c: Likewise.
88845 * libio/iogetdelim.c: Likewise.
88846 * libio/iopopen.c: Likewise.
88847 * libio/obprintf.c: Likewise.
88848 * libio/oldfileops.c: Likewise.
88849 * libio/oldiofclose.c: Likewise.
88850 * libio/oldiofdopen.c: Likewise.
88851 * libio/oldiofopen.c: Likewise.
88852 * libio/oldiopopen.c: Likewise.
88853 * libio/wfiledoalloc.c: Likewise.
88854 * libio/wgenops.c: Likewise.
88855 * locale/programs/xmalloc.c: Likewise.
88856 * misc/syslog.c: Likewise.
88857 * stdio-common/xbug.c: Likewise.
88858 * string/memchr.c: Likewise.
88859 * string/memcmp.c: Likewise.
88860 * string/memrchr.c: Likewise.
88861 * string/rawmemchr.c: Likewise.
88862 * sysdeps/posix/getcwd.c: Likewise.
88863 * time/strftime_l.c: Likewise.
88864
88865 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88866
88867 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88868 * config.make.in (config-cflags-sse2avx): Define.
88869 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88870 Fix typo.
88871
88872 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88873
88874 * scripts/config.guess: Update from upstream config git repository.
88875 * scripts/config.sub: Likewise.
88876
88877 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88878
88879 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88880 (EM_NUM): Update.
88881 (R_TILEPRO_*, R_TILEGX_*): New macros.
88882
88883 * scripts/firstversions.awk: Fix bug in version range handling.
88884
88885 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88886
88887 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88888
88889 * include/sys/epoll.h: New file.
88890 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88891 libc_hidden_def.
88892
88893 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88894
88895 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88896 Avoid unnecessary __WORDSIZE == 64 test.
88897 (fmaxf): Use VEX format if possible.
88898 (fmax): Likewise.
88899 (fminf): Likewise.
88900 (fmin): Likewise.
88901
88902 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88903 * math/math_private.h: Remove libc_fegetround* and
88904 libc_fesetround*.
88905 * sysdeps/i386/configure.in: Check for -msse2avx.
88906 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88907 also if SSE2AVX is defined.
88908 Remove libc_fegetround* and libc_fesetround*.
88909 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88910 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88912 of HAS_YMM_USABLE.
88913 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88914 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88915 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88916 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88917 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88918
88919 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88920
88921 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88922
88923 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88924 size is not set.
88925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88926
88927 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88928
88929 [BZ #13618]
88930 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88931 relocation.
88932 * Makeconfig (libm): Define.
88933 * elf/Makefile: Add rules to build and run tst-relsort1.
88934 * elf/tst-relsort1.c: New file.
88935 * elf/tst-relsort1mod1.c: New file.
88936 * elf/tst-relsort1mod2.c: New file.
88937
88938 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88939
88940 * math/s_ldexp.c: Remove __STDC__ conditionals.
88941 * math/s_ldexpf.c: Likewise.
88942 * math/s_ldexpl.c: Likewise.
88943 * math/s_nextafter.c: Likewise.
88944 * math/s_nexttowardf.c: Likewise.
88945 * math/s_significand.c: Likewise.
88946 * math/s_significandf.c: Likewise.
88947 * math/s_significandl.c: Likewise.
88948 * math/w_jnl.c: Likewise.
88949 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88950 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88951 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88952 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88953 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88955 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88961 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88962 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88963 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88964 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88965 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88966 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88971 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88972 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88973 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88974 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88975 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88977 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88980 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88981 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88982 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88983 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88984 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88986 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88987 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88988 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88989 * sysdeps/ieee754/k_standard.c: Likewise.
88990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88992 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88993 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88994 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88995 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88997 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88998 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88999 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89002 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89003 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89004 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89005 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89006 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89007 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89009 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89012 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89013 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89014 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89015 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89019 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89020 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89021 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89022 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89023 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89026 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89027 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89029 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89030 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89032 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89033 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89034 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89035 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89039 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89040 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89046 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89048 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89050 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89051 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89052 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89054 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89055 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89056 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89057 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89059 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89060 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89065 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89066 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89067 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89068 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89069 * sysdeps/ieee754/s_matherr.c: Likewise.
89070 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89071 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89074
89075 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89076
89077 * crypt/md5.h: Remove __STDC__ conditionals.
89078 * libio/libioP.h: Likewise.
89079 * locale/programs/config.h: Likewise.
89080 * sysdeps/generic/sysdep.h: Likewise.
89081 * sysdeps/i386/asm-syntax.h: Likewise.
89082 * sysdeps/s390/asm-syntax.h: Likewise.
89083 * sysdeps/unix/sysdep.h: Likewise.
89084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89086
89087 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89088
89089 * libio/libio.h: Remove __STDC__ conditionals.
89090 * malloc/obstack.h: Likewise.
89091 * math/complex.h: Likewise.
89092 * math/math.h: Likewise.
89093 * sysdeps/generic/_G_config.h: Likewise.
89094 * sysdeps/gnu/_G_config.h: Likewise.
89095 * sysdeps/mach/hurd/_G_config.h: Likewise.
89096 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89097 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89098 * sysdeps/sparc/bits/mathdef.h: Likewise.
89099
89100 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89101
89102 [BZ #13583]
89103 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89104 Clean up HAS_* macros.
89105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89106 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89107 possible.
89108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89109 HAS_AVX.
89110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89115
89116 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89117
89118 * elf/tst-unique3.cc (gets): Remove declaration.
89119 * elf/tst-unique3lib.cc (gets): Likewise.
89120 * elf/tst-unique3lib2.cc (gets): Likewise.
89121 * elf/tst-unique4.cc (gets): Likewise.
89122
89123 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89124
89125 * include/stdio.h: Add C++ protection. Add gets declarations and
89126 definitions.
89127 * debug/tst-chk1.c: Don't declare gets here.
89128 * stdio-common/tst-gets.c: Likewise.
89129
89130 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89131
89132 * posix/glob: Remove directory.
89133
89134 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89135
89136 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89137
89138 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89139
89140 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89141 of the non-standard EPFNOSUPPORT.
89142
89143 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89144
89145 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89146 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89147 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89148
89149 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89150
89151 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89152
89153 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89154
89155 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89156 transient errors.
89157 * nscd/grpcache.c (cache_addgr): Likewise.
89158 * nscd/hstcache.c (cache_addhst): Likewise.
89159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89160 * nscd/pwdcache.c (cache_addpw): Likewise.
89161 * nscd/servicescache.c (cache_addserv): Likewise.
89162
89163 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89164
89165 * malloc/malloc.c: Various cleanups.
89166 * malloc/hooks.c: Likewise.
89167
89168 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89169 * stdlib/bug-fmtmsg1.c: New file.
89170
89171 * stdlib/fmtmsg.c (init): Add missing unlock.
89172 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89173
89174 2012-01-12 Marek Polacek <polacek@redhat.com>
89175
89176 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89177 and _GNU_SOURCE.
89178
89179 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89180
89181 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89182 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89183 macro to ensure uniqueness of label name.
89184 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89185 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89186
89187 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89188
89189 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89190
89191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89192 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89195
89196 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89197
89198 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89199
89200 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89201 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89202 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89203
89204 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89205
89206 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89207 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89210
89211 * math/bits/math-finite.h: Add ldexp support.
89212
89213 2012-01-10 Marek Polacek <polacek@redhat.com>
89214
89215 * locale/programs/localedef.h (show_archive_content): Add noreturn
89216 attribute.
89217
89218 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89219
89220 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89221
89222 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89223
89224 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89225
89226 * io/Makefile (headers): Add bits/poll2.h.
89227
89228 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89229
89230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89231 typo #include statement.
89232
89233 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89234
89235 * include/sys/cdefs.h: Define __attribute_alloc_size.
89236 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89237 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89238 * elf/pldd.c: Likewise.
89239 * iconv/iconv_charmap.c: Likewise.
89240 * iconv/iconvconfig.c: Likewise.
89241 * iconv/strtab.c: Likewise.
89242 * locale/programs/locale.c: Likewise.
89243 * locale/programs/localedef.h: Likewise.
89244 * locale/programs/simple-hash.c: Likewise.
89245 * nscd/nscd.h: Likewise.
89246 * nss/makedb.c: Likewise.
89247 * sysdeps/generic/ldconfig.h: Likewise.
89248 * locale/programs/localedef.c: Remove xmalloc prototype.
89249 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89250
89251 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89252
89253 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89254 appropriate.
89255
89256 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89257
89258 * math/Makefile (tests): Add tst-CMPLX.
89259 * math/tst-CMPLX.c: New file.
89260
89261 * math/complex.h (CMPLXL): Fix typo.
89262
89263 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89264 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89265 GLIBC_2.16.
89266 * debug/tst-chk1.c: Add poll and ppoll tests.
89267 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89268 * include/sys/poll.h: Add hidden proto for ppoll.
89269 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89270 * sysdeps/mach/hurd/ppoll.c: Likewise.
89271 * io/ppoll.c: Likewise.
89272 * debug/poll_chk.c: New file.
89273 * debug/ppoll_chk.c: New file.
89274 * include/bits/poll2.h: New file.
89275 * io/bits/poll2.h: New file.
89276
89277 [BZ #1350]
89278 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89279
89280 * configure.in: static is always set to yes. Remove.
89281 * config.make.in: Don't set build-static.
89282 * Makeconfig: Remove use of build-static.
89283 * dlfcn/Makefile: Likewise.
89284 * elf/Makefile: Likewise.
89285 * math/Makefile: Likewise.
89286 * misc/Makefile: Likewise.
89287 * nptl/Makefile: Likewise.
89288 * sysdeps/mach/hurd/Makefile: Likewise.
89289
89290 * configure.in: PWD_P is not used anymore.
89291 * config.make.in: Remove PWD_P entry.
89292
89293 * configure.in: Remove last remnants of RANLIB.
89294 No need to check for signed size_t anymore.
89295 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89296 and IA-64.
89297 Remove __builtin_expect test because we require at least gcc 3.4.
89298 * aclocal.m4: Likewise.
89299
89300 * wcsmbs/mbrtoc16.c: Implement using towc function.
89301 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89302 * wcsmbs/wcsmbsload.c: Likewise.
89303 * iconv/gconv_simple.c: Likewise.
89304 * iconv/gconv_int.h: Likewise.
89305 * iconv/gconv_builtin.h: Likewise.
89306 * iconv/iconv_prog.c: Remove CHAR16 handling.
89307
89308 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89309
89310 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89311
89312 * configure.in: Remove --with-elf and --enable-bounded options.
89313 Dont set base_machine for ia64. More non-ELF conditions removed.
89314 Remove testing and setting of leading underscore information.
89315 * config.make.in (build-bounded): Set to no.
89316 * config.h.in: Remove NO_UNDERSCORES entry.
89317 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89318 them.
89319 * csu/start.c: Remove !NO_UNDERSCORE code.
89320 * locale/localeinfo.h: Likewise.
89321 * sysdeps/generic/machine-gmon.h: Likewise.
89322 * sysdeps/generic/sysdep.h: Likewise.
89323 * sysdeps/i386/sysdep.h: Likewise.
89324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89325 * sysdeps/mach/sysdep.h: Likewise.
89326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89328 * sysdeps/sh/sysdep.h: Likewise.
89329 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89330 * sysdeps/unix/i386/sysdep.S: Likewise.
89331 * sysdeps/unix/sparc/start.c: Likewise.
89332 * sysdeps/unix/sparc/sysdep.S: Likewise.
89333 * sysdeps/unix/sparc/sysdep.h: Likewise.
89334 * sysdeps/unix/start.c: Likewise.
89335 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89336 * sysdeps/x86_64/sysdep.h: Likewise.
89337
89338 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89339
89340 [BZ #13553]
89341 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89342 for non-gcc.
89343 * argp/argp-fmtstream.h: Use const instead __const.
89344 * argp/argp.h: Likewise.
89345 * assert/assert.h: Likewise.
89346 * bits/fenv.h: Likewise.
89347 * bits/sched.h: Likewise.
89348 * bits/sigset.h: Likewise.
89349 * bits/sigthread.h: Likewise.
89350 * catgets/nl_types.h: Likewise.
89351 * conform/data/pthread.h-data: Likewise.
89352 * crypt/crypt-private.h: Likewise.
89353 * crypt/crypt.h: Likewise.
89354 * crypt/crypt_util.c: Likewise.
89355 * ctype/ctype.h: Likewise.
89356 * debug/execinfo.h: Likewise.
89357 * debug/mbsnrtowcs_chk.c: Likewise.
89358 * debug/mbsrtowcs_chk.c: Likewise.
89359 * debug/wcsnrtombs_chk.c: Likewise.
89360 * debug/wcsrtombs_chk.c: Likewise.
89361 * debug/wcstombs_chk.c: Likewise.
89362 * dirent/dirent.h: Likewise.
89363 * dlfcn/dlfcn.h: Likewise.
89364 * elf/neededtest4.c: Likewise.
89365 * grp/grp.h: Likewise.
89366 * gshadow/gshadow.h: Likewise.
89367 * iconv/gconv.h: Likewise.
89368 * iconv/gconv_int.h: Likewise.
89369 * iconv/gconv_simple.c: Likewise.
89370 * iconv/iconv.h: Likewise.
89371 * iconv/loop.c: Likewise.
89372 * iconv/skeleton.c: Likewise.
89373 * include/aio.h: Likewise.
89374 * include/aliases.h: Likewise.
89375 * include/argz.h: Likewise.
89376 * include/arpa/inet.h: Likewise.
89377 * include/assert.h: Likewise.
89378 * include/dirent.h: Likewise.
89379 * include/dlfcn.h: Likewise.
89380 * include/execinfo.h: Likewise.
89381 * include/fcntl.h: Likewise.
89382 * include/fenv.h: Likewise.
89383 * include/glob.h: Likewise.
89384 * include/grp.h: Likewise.
89385 * include/libintl.h: Likewise.
89386 * include/mntent.h: Likewise.
89387 * include/netdb.h: Likewise.
89388 * include/pwd.h: Likewise.
89389 * include/rpc/netdb.h: Likewise.
89390 * include/sched.h: Likewise.
89391 * include/search.h: Likewise.
89392 * include/shadow.h: Likewise.
89393 * include/signal.h: Likewise.
89394 * include/stdio.h: Likewise.
89395 * include/stdlib.h: Likewise.
89396 * include/string.h: Likewise.
89397 * include/sys/socket.h: Likewise.
89398 * include/sys/stat.h: Likewise.
89399 * include/sys/statfs.h: Likewise.
89400 * include/sys/statvfs.h: Likewise.
89401 * include/sys/syslog.h: Likewise.
89402 * include/sys/time.h: Likewise.
89403 * include/sys/uio.h: Likewise.
89404 * include/time.h: Likewise.
89405 * include/unistd.h: Likewise.
89406 * include/utmp.h: Likewise.
89407 * include/wchar.h: Likewise.
89408 * include/wctype.h: Likewise.
89409 * inet/aliases.h: Likewise.
89410 * inet/arpa/inet.h: Likewise.
89411 * inet/netinet/ether.h: Likewise.
89412 * inet/netinet/in.h: Likewise.
89413 * intl/libintl.h: Likewise.
89414 * io/bits/fcntl2.h: Likewise.
89415 * io/fcntl.h: Likewise.
89416 * io/ftw.h: Likewise.
89417 * io/sys/poll.h: Likewise.
89418 * io/sys/stat.h: Likewise.
89419 * io/sys/statfs.h: Likewise.
89420 * io/sys/statvfs.h: Likewise.
89421 * io/utime.h: Likewise.
89422 * libio/bits/stdio.h: Likewise.
89423 * libio/bits/stdio2.h: Likewise.
89424 * libio/libio.h: Likewise.
89425 * libio/libioP.h: Likewise.
89426 * libio/stdio.h: Likewise.
89427 * locale/lc-ctype.c: Likewise.
89428 * locale/locale.h: Likewise.
89429 * login/utmp.h: Likewise.
89430 * malloc/arena.c: Likewise.
89431 * malloc/malloc.c: Likewise.
89432 * malloc/malloc.h: Likewise.
89433 * malloc/mcheck.c: Likewise.
89434 * malloc/mtrace.c: Likewise.
89435 * math/bits/mathcalls.h: Likewise.
89436 * math/fenv.h: Likewise.
89437 * math/math_private.h: Likewise.
89438 * misc/bits/error.h: Likewise.
89439 * misc/bits/syslog.h: Likewise.
89440 * misc/err.h: Likewise.
89441 * misc/error.h: Likewise.
89442 * misc/fstab.h: Likewise.
89443 * misc/mntent.h: Likewise.
89444 * misc/regexp.h: Likewise.
89445 * misc/search.h: Likewise.
89446 * misc/sgtty.h: Likewise.
89447 * misc/sys/mman.h: Likewise.
89448 * misc/sys/syslog.h: Likewise.
89449 * misc/sys/uio.h: Likewise.
89450 * misc/sys/xattr.h: Likewise.
89451 * misc/ttyent.h: Likewise.
89452 * nis/rpcsvc/ypclnt.h: Likewise.
89453 * nss/nss.h: Likewise.
89454 * posix/bits/unistd.h: Likewise.
89455 * posix/fnmatch.h: Likewise.
89456 * posix/glob.h: Likewise.
89457 * posix/sched.h: Likewise.
89458 * posix/spawn.h: Likewise.
89459 * posix/sys/wait.h: Likewise.
89460 * posix/unistd.h: Likewise.
89461 * posix/wordexp.h: Likewise.
89462 * pwd/pwd.h: Likewise.
89463 * resolv/netdb.h: Likewise.
89464 * resource/sys/resource.h: Likewise.
89465 * rt/aio.h: Likewise.
89466 * rt/bits/mqueue2.h: Likewise.
89467 * rt/mqueue.h: Likewise.
89468 * shadow/shadow.h: Likewise.
89469 * signal/signal.h: Likewise.
89470 * socket/send.c: Likewise.
89471 * socket/sendto.c: Likewise.
89472 * socket/sys/socket.h: Likewise.
89473 * stdio-common/printf.h: Likewise.
89474 * stdlib/bits/stdlib.h: Likewise.
89475 * stdlib/fmtmsg.h: Likewise.
89476 * stdlib/monetary.h: Likewise.
89477 * stdlib/stdlib.h: Likewise.
89478 * stdlib/ucontext.h: Likewise.
89479 * streams/stropts.h: Likewise.
89480 * string/argz.h: Likewise.
89481 * string/bits/string2.h: Likewise.
89482 * string/string.h: Likewise.
89483 * string/strings.h: Likewise.
89484 * sunrpc/rpc/auth.h: Likewise.
89485 * sunrpc/rpc/auth_des.h: Likewise.
89486 * sunrpc/rpc/clnt.h: Likewise.
89487 * sunrpc/rpc/netdb.h: Likewise.
89488 * sunrpc/rpc/pmap_clnt.h: Likewise.
89489 * sunrpc/rpc/xdr.h: Likewise.
89490 * sysdeps/generic/inttypes.h: Likewise.
89491 * sysdeps/generic/net/if.h: Likewise.
89492 * sysdeps/generic/sys/swap.h: Likewise.
89493 * sysdeps/gnu/net/if.h: Likewise.
89494 * sysdeps/gnu/utmpx.h: Likewise.
89495 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89496 * sysdeps/i386/i486/bits/string.h: Likewise.
89497 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89498 * sysdeps/s390/bits/string.h: Likewise.
89499 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89500 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89501 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89502 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89503 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89504 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89505 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89506 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89507 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89508 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89509 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89510 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89511 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89512 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89513 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89514 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89515 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89517 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89520 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89521 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89522 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89523 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89524 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89525 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89526 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89527 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89528 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89529 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89530 * sysvipc/sys/ipc.h: Likewise.
89531 * sysvipc/sys/msg.h: Likewise.
89532 * sysvipc/sys/sem.h: Likewise.
89533 * sysvipc/sys/shm.h: Likewise.
89534 * termios/termios.h: Likewise.
89535 * time/sys/time.h: Likewise.
89536 * time/time.h: Likewise.
89537 * wcsmbs/bits/wchar2.h: Likewise.
89538 * wcsmbs/uchar.h: Likewise.
89539 * wcsmbs/wchar.h: Likewise.
89540 * wctype/wctype.h: Likewise.
89541
89542 [BZ #13551]
89543 * Makeconfig: Remove all but ELF support including AIX support.
89544 * Makerules: Likewise.
89545 * config.h.in: Likewise.
89546 * config.make.in: Likewise.
89547 * configure: Likewise.
89548 * configure.in: Likewise.
89549 * csu/Makefile: Likewise.
89550 * csu/version.c: Likewise.
89551 * debug/Makefile: Likewise.
89552 * dlfcn/Makefile: Likewise.
89553 * elf/Makefile: Likewise.
89554 * extra-lib.mk: Likewise.
89555 * iconv/Makefile: Likewise.
89556 * include/libc-symbols.h: Likewise.
89557 * include/shlib-compat.h: Likewise.
89558 * resolv/Makefile: Likewise.
89559 * resolv/res_libc.c: Likewise.
89560 * rt/Makefile: Likewise.
89561 * sysdeps/i386/asm-syntax.h: Likewise.
89562 * sysdeps/i386/sysdep.h: Likewise.
89563 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89564 * sysdeps/mach/sysdep.h: Likewise.
89565 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89566 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89567 * sysdeps/s390/asm-syntax.h: Likewise.
89568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89570 * sysdeps/sh/sysdep.h: Likewise.
89571 * sysdeps/unix/sparc/sysdep.h: Likewise.
89572 * sysdeps/wordsize-32/divdi3.c: Likewise.
89573 * sysdeps/x86_64/sysdep.h: Likewise.
89574
89575 * argp/Versions: Remove _argp_unlock_xxx.
89576
89577 [BZ #13559]
89578 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89579 * abilist/libBrokenLocale.abilist: Likewise.
89580 * abilist/libanl.abilist: Likewise.
89581 * abilist/libc.abilist: Likewise.
89582 * abilist/libcrypt.abilist: Likewise.
89583 * abilist/libdl.abilist: Likewise.
89584 * abilist/libm.abilist: Likewise.
89585 * abilist/libnsl.abilist: Likewise.
89586 * abilist/libpthread.abilist: Likewise.
89587 * abilist/libresolv.abilist: Likewise.
89588 * abilist/librt.abilist: Likewise.
89589 * abilist/libthread_db.abilist: Likewise.
89590 * abilist/libutil.abilist: Likewise.
89591 * abilist/libnss_db.abilist: New file.
89592
89593 * scripts/abilist.awk: Add support for indirect functions.
89594
89595 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89596
89597 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89598
89599 * shlib-versions: Remove entries for ports architectures.
89600
89601 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89602 files in ports.
89603 * elf/stackguard-macros.h: Remove support for IA-64.
89604 * elf/tst-auditmod1.c: Likewise.
89605 * sysdeps/generic/ldsodefs.h: Likewise.
89606
89607 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89608 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89609 configure files.
89610
89611 [BZ #13552]
89612 * configure.in: Remove --enable-omitfp support.
89613 * FAQ.in: Adjust.
89614 * config.make.in: Likewise.
89615 * Makeconfig: Likewise.
89616 * manual/install.texi: Likewise.
89617
89618 In case anyone cares, the IA-64 architecture could move to ports.
89619 * sysdeps/ia64/*: Removed.
89620 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89621 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89622
89623 [BZ #13555]
89624 * configure.in: Remove entries for unsupported architectures.
89625
89626 [BZ #13533]
89627 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89628 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89629 routines.
89630 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89631 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89632 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89633 fall back to using wcrtomb.
89634 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89635 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89636 renaming.
89637 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89638 * wcsmbs/tst-c16c32-1.c: New file.
89639
89640 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89641 local variable.
89642
89643 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89644
89645 * elf/tst-unique3.cc: Add explicit declaration of gets.
89646 * elf/tst-unique3lib.cc: Likewise.
89647 * elf/tst-unique3lib2.cc: Likewise.
89648 * elf/tst-unique4.cc: Likewise.
89649
89650 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89651
89652 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89653
89654 [BZ #13566]
89655 * assert/assert.h (static_assert): Don't define for C++.
89656 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89657 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89658
89659 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89660
89661 * iconv/loop.c (single loop): Fix assertion in storing of
89662 remaining bytes.
89663
89664 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89665
89666 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89667
89668 * posix/getconf.c: Update copyright year.
89669 * nss/getent.c: Likewise.
89670 * nss/makedb.c: Likewise.
89671 * iconv/iconvconfig.c: Likewise.
89672 * iconv/iconv_prog.c: Likewise.
89673 * elf/ldconfig.c: Likewise.
89674 * elf/pldd.c: Likewise.
89675 * elf/sotruss.ksh: Likewise.
89676 * catgets/gencat.c: Likewise.
89677 * csu/version.c: Likewise.
89678 * elf/ldd.bash.in: Likewise.
89679 * elf/sprof.c (print_version): Likewise.
89680 * locale/programs/locale.c: Likewise.
89681 * locale/programs/localedef.c: Likewise.
89682 * login/programs/pt_chown.c: Likewise.
89683 * nscd/nscd.c (print_version): Likewise.
89684 * debug/xtrace.sh: Likewise.
89685 * malloc/memusage.sh: Likewise.
89686 * malloc/mtrace.pl: Likewise.
89687 * debug/catchsegv.sh: Likewise.
89688
89689 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89690
89691 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89692 pure attribute.
89693
89694 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89695
89696 [BZ #13533]
89697 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89698 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89699 transformations.
89700 * iconv/gconv_int.h: Likewise.
89701 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89702 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89703 from libc for GLIBC_2.16.
89704 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89705 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89706 * wcsmbs/uchar.h: Really define mbstate_t.
89707 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89708 * wcsmbs/c16rtomb.c: New file.
89709 * wcsmbs/mbrtoc16.c: New file.
89710 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89711 for C/POSIX locale.
89712 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89713 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89714
89715 * wcsmbs/wchar.h: Add missing __restrict.
89716
89717 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89718
89719 [BZ #13532]
89720 * time/Makefile (routines): Add timespec_get.
89721 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89722 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89723 timespec for ISO C11.
89724 * time/timespec_get.c: New file.
89725 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89726 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89727
89728 [BZ #13531]
89729 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89730 * stdlib/stdlib.h: Declare aligned_alloc.
89731 * Versions.def: Add GLIBC_2.16 for libc.
89732 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89733
89734 [BZ 13527]
89735 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89736 ISO C11.
89737
89738 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89739 code.
89740
89741 [BZ #13528]
89742 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89743
89744 [BZ #13529]
89745 * assert/assert.h (static_assert): Define.
89746
89747 * version.h: Update for 2.16 development version.
89748
89749 [BZ #13526]
89750 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89751 _ISOC11_SOURCE.
89752
89753 * version.h (RELEASE): Bump for 2.15 release.
89754 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89755
89756 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89757 Patch by Marek Polacek <mpolacek@redhat.com>.
89758
89759 * bits/byteswap.h: Protect long long constants with __extension__.
89760 * sysdeps/i386/bits/byteswap.h: Likewise.
89761 * sysdeps/ia64/bits/byteswap.h: Likewise.
89762 * sysdeps/s390/bits/byteswap.h: Likewise.
89763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89764
89765 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89766
89767 [BZ #13540]
89768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89769 destination buffer.
89770 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89771
89772 2011-12-23 Marek Polacek <polacek@redhat.com>
89773
89774 * elf/dl-addr.c (determine_info): Add inline keyword.
89775 * elf/tst-auditmod4b.c (check_avx): Likewise.
89776 * elf/tst-auditmod6b.c (check_avx): Likewise.
89777 * elf/tst-auditmod6c.c (check_avx): Likewise.
89778 * elf/tst-auditmod7b.c (check_avx): Likewise.
89779
89780 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89781
89782 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89783 !__SSE_MATH__.
89784
89785 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89786
89787 [BZ #13540]
89788 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89789 processing for last bytes.
89790
89791 2011-08-06 Bruno Haible <bruno@clisp.org>
89792
89793 [BZ #13061]
89794 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89795 U+0385, not to U+1FEE.
89796
89797 [BZ #13062]
89798 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89799 entry for U+00A5 U+0301.
89800
89801 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89802
89803 [BZ #13166]
89804 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89805 buffer for the output is too small.
89806
89807 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89808 optimization.
89809
89810 [BZ #13185]
89811 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89812 SSE flags if possible.
89813
89814 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89815
89816 [BZ #13540]
89817 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89818 processing for last bytes.
89819
89820 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89821
89822 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89823 (syscall-list-default-options, syscall-list-default-condition)
89824 (syscall-list-includes): Define.
89825 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89826 list of ABIs and options and #if conditions for each ABI. Do not
89827 handle common syscalls between ABIs specially.
89828 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89829 Remove.
89830 (syscall-list-variants, syscall-list-32bit-options)
89831 (syscall-list-32bit-condition, syscall-list-64bit-options)
89832 (syscall-list-64bit-condition): Define.
89833 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89834 (syscall-list-variants, syscall-list-32bit-options)
89835 (syscall-list-32bit-condition, syscall-list-64bit-options)
89836 (syscall-list-64bit-condition): Define.
89837 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89838 Remove.
89839 (syscall-list-variants, syscall-list-32bit-options)
89840 (syscall-list-32bit-condition, syscall-list-64bit-options)
89841 (syscall-list-64bit-condition): Define.
89842 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89843 Remove.
89844 (syscall-list-variants, syscall-list-32bit-options)
89845 (syscall-list-32bit-condition, syscall-list-64bit-options)
89846 (syscall-list-64bit-condition): Define.
89847
89848 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89849
89850 * locale/iso-639.def: Add brx entry.
89851
89852 [BZ #13328]
89853 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89854 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89855
89856 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89857 __feraiseexcept_renamed.
89858
89859 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89860
89861 [BZ #13538]
89862 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89863 EPOLLET with unsigned values.
89864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89866
89867 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89868 to large cancellation.
89869 * math/s_cacoshf.c: Likewise.
89870 * math/s_cacoshl.c: Likewise.
89871
89872 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89873
89874 [BZ #13305]
89875 [BZ #12786]
89876 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89877 * math/s_cacoshf.c: Likewise.
89878 * math/s_cacoshl.c: Likewise.
89879
89880 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89881
89882 [BZ #13439]
89883 * iconv/gconv.h: Define __GCONV_SWAP.
89884 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89885 * iconvdata/utf-16.c: Likewise.
89886 * iconvdata/utf-32.c: Likewise.
89887
89888 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89889
89890 [BZ #13524]
89891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89892 numerator after shifting it by one limb.
89893
89894 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89895
89896 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89897 under [__USE_EXTERN_INLINES].
89898
89899 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89900
89901 [BZ #13446]
89902 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89903
89904 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89905
89906 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89907 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89908 optimized code.
89909 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89910 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89911 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89912 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89913 for strncasecmp/strncasecmp_l compilation.
89914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89915 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89916
89917 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89918
89919 [BZ #13484]
89920 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89921 of __asm__.
89922
89923 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89924
89925 [BZ #13506]
89926 * time/tzfile.c (__tzfile_read): Check values from file header.
89927
89928 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89929
89930 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89931 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89932 * powerpc/powerpc32/dl-start.S: Likewise.
89933 * powerpc/powerpc32/elf/start.S: Likewise.
89934 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89935 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89936 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89937 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89938 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89939 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89940 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89941 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89942 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89943 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89944 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89945 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89946 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89947 * powerpc/powerpc32/memset.S: Likewise.
89948 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89949 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89950 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89951 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89952 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89953 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89954 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89955 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89956 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89957 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89958 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89959 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89960 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89961
89962 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89963
89964 * math/libm-test.inc: Added more nearbyint tests.
89965 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89969
89970 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89971
89972 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89973 FD_CLOEXEC.
89974
89975 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89976
89977 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89978 Add wcscpy-ssse3 wcscpy-c.
89979 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89980 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89981 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89982 * sysdeps/x86_64/wcschr.S: New file.
89983 * sysdeps/x86_64/wcsrchr.S: New file.
89984 * string/test-strcmp.c: Remove checking of wcscmp function for
89985 wrong alignments.
89986 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89987 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89988 wcsrchr-sse2 wcsrchr-c.
89989 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89990 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89991 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89992 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89993 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89994 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89995 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89996 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89997 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89998 * wcsmbc/wcschr.c (WCSCHR): New macro.
89999
90000 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90001
90002 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90003 * wcsmbs/test-wcsrchr.c: New file.
90004 * string/test-strrchr.c: Add wcsrchr support.
90005 (WIDE): New macro.
90006 * wcsmbs/test-wcscpy.c: New file.
90007 * string/test-strcpy.c: Add wcscpy support.
90008 (WIDE): New macro.
90009
90010 2011-12-10 Ulrich Drepper <drepper@gmail.com>
90011
90012 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90013 the inner loop.
90014
90015 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90016
90017 [BZ #13472]
90018 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90019
90020 2011-12-04 Ulrich Drepper <drepper@gmail.com>
90021
90022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90023 Minor optimizations.
90024
90025 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90026 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90027 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90028
90029 2011-12-03 Ulrich Drepper <drepper@gmail.com>
90030
90031 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90032 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90033 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90034 for gcc to avoid warnings.
90035 * inet/Makefile (tests): Add tst-checks.
90036 * inet/tst-checks.c: New file.
90037
90038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90039 warning.
90040
90041 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90042 __wmemcmp_sse2.
90043
90044 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90045 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90046
90047 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90048
90049 2011-12-02 Ulrich Drepper <drepper@gmail.com>
90050
90051 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90052 problem.
90053
90054 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90055
90056 2011-11-29 Joseph Myers <joseph@codesourcery.com>
90057
90058 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90059 conditional on GCC version.
90060 (__arch_compare_and_exchange_val_8_acq)
90061 (__arch_compare_and_exchange_val_16_acq)
90062 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90063 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90064 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90065
90066 2011-12-02 Joseph Myers <joseph@codesourcery.com>
90067
90068 * sysdeps/sh/backtrace.c: New file.
90069
90070 2011-12-02 Andreas Schwab <schwab@redhat.com>
90071
90072 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90073 parenthesis.
90074
90075 2011-12-01 Andreas Schwab <schwab@redhat.com>
90076
90077 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90078 falling back to utime.
90079
90080 2011-11-30 Andreas Schwab <schwab@redhat.com>
90081
90082 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90083 expectations for float.
90084
90085 2011-11-29 Andreas Schwab <schwab@redhat.com>
90086
90087 * locale/weight.h (findidx): Add parameter len.
90088 * locale/weightwc.h (findidx): Likewise.
90089 * posix/fnmatch_loop.c (FCT): Adjust caller.
90090 * posix/regcomp.c (build_equiv_class): Likewise.
90091 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90092 * posix/regexec.c (check_node_accept_bytes): Likewise.
90093 * string/strcoll_l.c (STRCOLL): Likewise.
90094 * string/strxfrm_l.c (STRXFRM): Likewise.
90095
90096 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90097
90098 * Makefile.in: Remove CVSOPT handling.
90099 * configure.in: Remove use of AC_REVISION.
90100 * iconvdata/Makefile (distribute): No need to filter out CVS.
90101 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90102 handling.
90103
90104 2011-11-16 Andreas Schwab <schwab@redhat.com>
90105
90106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90107 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90108 [USE_AS_STRNCASECMP_L]: Likewise.
90109 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90110 NO_TLS_DIRECT_SEG_REFS.
90111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90112 Fix argument offsets for non-PIC.
90113 [USE_AS_STRNCASECMP_L]: Likewise.
90114 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90115 NO_TLS_DIRECT_SEG_REFS.
90116
90117 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90118
90119 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90120 O_CLOEXEC.
90121 * locale/loadlocale.c (_nl_load_locale): Likewise.
90122
90123 2011-11-15 Andreas Schwab <schwab@redhat.com>
90124
90125 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90126 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90128 (SYSCALL_GETTIME): Set errno on error.
90129
90130 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90131 count references to noai6ai_cached.
90132
90133 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90134
90135 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90136
90137 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90138 FD_CLOEXEC for /proc/self/maps.
90139
90140 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90141 FD_CLOEXEC for /proc/meminfo.
90142
90143 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90144 gai.conf.
90145
90146 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90147 FD_CLOEXEC for given file.
90148
90149 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90150
90151 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90152 FD_CLOEXEC for /etc/hosts.
90153 (_gethtent): Likewise.
90154
90155 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90156
90157 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90158 cancellation and set FD_CLOEXEC for /etc/netgroup.
90159
90160 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90161 reading /etc/publickey.
90162
90163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90164 allow cancellation when reading /etc/group.
90165
90166 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90167 cancellation.
90168 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90169
90170 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90171 when using data file.
90172
90173 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90174
90175 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90176 (write_nis_obj): Use "c" and "e" in fopen.
90177
90178 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90179
90180 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90181
90182 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90183
90184 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90185
90186 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90187 locale.alias.
90188
90189 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90190
90191 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90192
90193 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90194
90195 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90196 file parsing and set FD_CLOEXEC.
90197
90198 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90199
90200 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90201
90202 2011-11-14 Andreas Schwab <schwab@redhat.com>
90203
90204 * malloc/arena.c (arena_get2): Don't call reused_arena when
90205 _int_new_arena failed.
90206
90207 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90208
90209 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90210 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90211 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90213 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90215 to compile strcasecmp and strncasecmp.
90216 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90217 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90218
90219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90220
90221 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90222
90223 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90224 locale-defines.sym to gen-as-const-headers.
90225 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90226 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90228 to compile strcasecmp and strncasecmp.
90229 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90230 strcasecmp_l and strncasecmp_l.
90231 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90232 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90233 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90234 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90235 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90236 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90237 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90238 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90239 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90240 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90241 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90242
90243 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90244
90245 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90246 result of SYSDEP_GETTIME_CPU to retval.
90247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90248 parameter list to macro. Remove trailing semicolon. Adjust users.
90249
90250 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90251 variable.
90252
90253 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90254 mantissa words.
90255 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90256
90257 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90258 from unused variable.
90259
90260 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90261 DWARF definitions.
90262 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90263 for assembling.
90264
90265 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90266 over namespaces.
90267
90268 * sunrpc/rpc_prot.c (rejected): Fix case value.
90269
90270 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90271 unsigned long long int to avoid warnings in shift.
90272
90273 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90274 of use of trans.
90275 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90276 variable tmp.
90277
90278 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90279 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90280 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90281
90282 * nis/nis_table.c (nis_list): Use variable of correct type for
90283 result of __follow_path call.
90284
90285 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90286
90287 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90288 of math functions ceil, trunc, floor, round, and sqrt, when
90289 avaliable on the platform.
90290 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90291 name clash.
90292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90293 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90294 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90295
90296 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90297
90298 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90300
90301 2011-11-11 Roland McGrath <roland@hack.frob.com>
90302
90303 * include/unistd.h: Fix __readlink return type.
90304 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90305
90306 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90307
90308 * stdlib/ucontext.h: Undo last change for makecontext.
90309
90310 2011-11-11 Andreas Schwab <schwab@redhat.com>
90311
90312 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90313
90314 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90315 * setjmp/setjmp.h: Mark functions as non-leaf.
90316 * setjmp/bits/setjmp2.h: Likewise.
90317 * stdlib/ucontext.h: Likewise.
90318
90319 2011-11-10 Andreas Schwab <schwab@redhat.com>
90320
90321 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90322 (reused_arena): Don't check arena limit.
90323 (arena_get2): Atomically check arena limit.
90324
90325 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90326
90327 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90328 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90329
90330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90331 instructions.
90332
90333 2011-11-07 Andreas Schwab <schwab@redhat.com>
90334
90335 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90336 handler when locking.
90337
90338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90339 Fix size of allocated buffer.
90340
90341 2011-11-04 Andreas Schwab <schwab@redhat.com>
90342
90343 [BZ #10103]
90344 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90345 declarations for long double functions.
90346 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90347
90348 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90349
90350 2011-11-03 Andreas Schwab <schwab@redhat.com>
90351
90352 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90353 installed.
90354
90355 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90356 is disabled.
90357
90358 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90359
90360 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90361
90362 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90363
90364 * include/alloca.h (stackinfo_alloca_round): Define.
90365 (extend_alloca): Use it.
90366 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90367 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90368 here.
90369
90370 * scripts/check-local-headers.sh: Ignore libaudit.h.
90371
90372 * nscd/Makefile (extra-objs): Make recursively expanded.
90373
90374 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90375
90376 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90378
90379 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90380 * posix/tst-rfc3484-2.c: Likewise.
90381 * posix/tst-rfc3484-3.c: Likewise.
90382
90383 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90384 process_vm_writev.
90385 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90386 process_vm_writev.
90387 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90388 process_vm_writev from libc using GLIBC_2.15 version.
90389
90390 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90391
90392 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90393
90394 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90395 stack usage.
90396
90397 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90398
90399 [BZ #13367]
90400 * nss/getent.c (initgroups_keys): Show error message in case no group
90401 names are given.
90402
90403 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90404 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90405 __bump_nl_timestamp.
90406 * nscd/connections (nscd_init): When host database is served open
90407 netlink socket and request notification about configuration changes.
90408 (main_loop_poll): Track netlink file descriptor and bump timestamp
90409 in case data becomes available.
90410 (main_loop_epoll): Likewise.
90411 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90412 (database_pers_head): Add extra_data fileds.
90413 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90415 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90416 Adjust caller.
90417 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90418 in6ai data, call __free_in6ai.
90419 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90420 Add -DHAVE_NETLINK.
90421 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90422 interface information. Reuse previous data if netlink timestamp
90423 is not changed.
90424 (__bump_nl_timestamp): New function.
90425 (__free_in6ai): New function.
90426
90427 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90428
90429 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90430 close_not_cancel_no_status here.
90431 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90432
90433 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90434
90435 [BZ #13276]
90436 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90437 return value.
90438
90439 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90440 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90441 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90442
90443 2011-07-03 Andreas Jaeger <aj@suse.de>
90444
90445 [BZ #10709]
90446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90447 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90448 * math/libm-test.inc (sin_test): Add test case.
90449
90450 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90451
90452 [BZ #13337]
90453 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90454 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90455
90456 * elf/chroot_canon.c (chroot_canon): Cleanups.
90457
90458 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90459
90460 [BZ #13335]
90461 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90462 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90463
90464 * string/test-strchr.c: Make usable for strchrnul testing.
90465 * string/test-strchrnul.c: New file.
90466 * string/Makefile (strop-tests): Add strchrnul.
90467
90468 * po/it.po: Update from translation team.
90469 * po/es.po: Likewise.
90470
90471 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90472
90473 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90474 the three constants needed as parameters. Drop the others.
90475 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90476 __m128i_strloadu_tolower.
90477 Create and initialize variable zero and use it in all the places
90478 where _mm_setzero_si128 was used.
90479
90480 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90481 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90482 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90483 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90484 anymore.
90485 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90486 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90487 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90488 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90489 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90490 __mpranred, __mptan.
90491 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90492 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90493 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90494 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90495 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90496 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90498 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90499 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90500
90501 2011-10-28 Andreas Schwab <schwab@redhat.com>
90502
90503 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90504 redefine if SHARED.
90505 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90506
90507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90508 wide char related routines to wcsmbs subdir.
90509
90510 2011-10-27 Andreas Schwab <schwab@redhat.com>
90511
90512 [BZ #13344]
90513 * misc/sys/cdefs.h (__THROWNL): Define.
90514 * posix/unistd.h: Use __THREADNL instead of __THREAD
90515 for memory synchronization functions.
90516
90517 2011-10-26 Roland McGrath <roland@hack.frob.com>
90518
90519 [BZ #13349]
90520 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90521 doesn't exist.
90522 * manual/stdio.texi (Obstack Streams): Node removed.
90523
90524 2011-10-26 Andreas Schwab <schwab@redhat.com>
90525
90526 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90527 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90528 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90529
90530 * math/math_private.h (math_force_eval): Allow non-addressable
90531 arguments.
90532 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90533
90534 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90535
90536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90537 file is not needed.
90538
90539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90541 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90542 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90543 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90544 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90546 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90547 Add AVX variants.
90548 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90549 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90550 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90551 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90552 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90553 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90554 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90555 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90556 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90557 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90558 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90559 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90561 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90562 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90563 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90564 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90565 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90566 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90567
90568 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90569 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90570
90571 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90572 place. Use VEX encoding when compiling for AVX.
90573
90574 2011-10-25 Andreas Schwab <schwab@redhat.com>
90575
90576 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90577 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90578
90579 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90580
90581 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90582
90583 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90584 useless if() expression.
90585 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90590 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90591 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90593 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90596 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90597 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90598 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90599 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90600 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90604
90605 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90606
90607 2011-10-25 Andreas Schwab <schwab@redhat.com>
90608
90609 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90610 condition.
90611 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90612
90613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90614
90615 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90616 .text section. Avoid duplicate constants.
90617 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90619 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90626 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90627 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90628 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90629 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90630 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90631 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90632 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90633 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90637 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90638 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90639 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90641 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90642 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90643 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90644 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90645 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90646 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90647 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90648 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90649 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90650 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90651 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90652 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90653 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90655 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90656 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90657 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90658 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90659 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90660 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90661 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90662
90663 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90664
90665 * sysdeps/x86_64/dla.h: Move to ...
90666 * sysdeps/x86_64/fpu/dla.h: ...here.
90667 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90668 situations. Use __builtin_fma only for gcc 4.6 and up.
90669
90670 * config.make.in: Add have-mfma4 entry.
90671 * configure.in: Substitute libc_cv_cc_fma4.
90672 * math/Makefile (dbl-only-routines): Add sincostab.
90673 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90674 Use __sincostab not sincos.
90675 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90676 name is a macro.
90677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90681 using __copysign.
90682 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90683 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90684 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90685 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90686 and __inv.
90687 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90688 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90689 __copysign.
90690 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90691 define aliases when function name is a macro.
90692 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90693 sysdeps/ieee754/dbl-64/sincos.tbl.
90694 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90695 fma4-enabled routines.
90696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90701 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90702 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90703 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90704 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90705 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90706 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90707 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90708 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90711 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90712 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90713 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90714 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90716 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90717 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90719 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90721 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90723 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90725 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90726
90727 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90728 rename.
90729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90734 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90735 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90737
90738 2011-10-24 Andreas Schwab <schwab@redhat.com>
90739
90740 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90741
90742 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90743
90744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90745
90746 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90747 prediction.
90748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90749
90750 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90751 Remove unused variable magic_bits.
90752 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90753
90754 * string/strnlen.c: Define and use STRNLEN macro.
90755 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90756 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90758 * wcsmbs/wcslen.c: Define and use WCSLEN.
90759 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90760 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90761 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90762 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90763 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90764 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90765 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90766
90767 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90768
90769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90770 strnlen-sse2-no-bsf.
90771 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90773 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90774 Add strnlen support.
90775 (USE_AS_STRNLEN): New macro.
90776 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90777 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90778 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90779 * sysdeps/x86_64/wcslen.S: New file.
90780
90781 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90782
90783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90784 XMM-moves are used for copying on small sizes.
90785
90786 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90787
90788 * wcsmbs/Makefile (strop-tests): Add wcschr.
90789 * wcsmbs/test-wcschr.c: New file.
90790 * string/test-strchr.c: Update.
90791 Add wcschr support.
90792 (WIDE): New macro.
90793
90794 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90795
90796 * wcsmbs/Makefile (strop-tests): Add wcslen.
90797 * wcsmbs/test-wcslen.c: New file.
90798 * string/test-strlen.c: Update.
90799 Add wcslen support.
90800 (WIDE): New macro.
90801
90802 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90803
90804 * po/it.po: Update from translation team.
90805
90806 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90807
90808 * sysdeps/x86_64/wcscmp.S: Update.
90809 Fix wrong comparison semantics.
90810 wcscmp shall use signed comparison not unsigned.
90811 Don't use substraction to avoid overflow bug.
90812 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90813 * wcsmbc/wcscmp.c: Likewise.
90814 * string/test-strcmp.c: Likewise.
90815 Add new tests to check cases with negative values.
90816
90817 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90818
90819 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90820 * sysdeps/x86_64/dla.h: ...here. New file.
90821 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90825 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90830
90831 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90832
90833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90834 __ynl_finite aliases.
90835
90836 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90837
90838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90839
90840 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90841 define DLA_FMA.
90842 [DLA_FMA] (EMULV): Use DLA_FMA.
90843 [DLA_FMA] (MUL12): Use EMULV.
90844 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90845 that are not needed.
90846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90853
90854 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90855
90856 * math/s_nan.c: Undef __nan.
90857 * math/s_nanf.c: Undef __nanf.
90858 * math/s_nanl.c: Undef __nanl.
90859 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90860 "math_private.h".
90861
90862 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90863
90864 * math/s_catan.c: Add branch predictions.
90865 * math/s_catanf.c: Likewise.
90866 * math/s_catanh.c: Likewise.
90867 * math/s_catanhf.c: Likewise.
90868 * math/s_catanhl.c: Likewise.
90869 * math/s_catanl.c: Likewise.
90870 * math/s_cexp.c: Likewise.
90871 * math/s_cexpf.c: Likewise.
90872 * math/s_cexpl.c: Likewise.
90873 * math/s_clog.c: Likewise.
90874 * math/s_clog10.c: Likewise.
90875 * math/s_clog10f.c: Likewise.
90876 * math/s_clog10l.c: Likewise.
90877 * math/s_clogf.c: Likewise.
90878 * math/s_clogl.c: Likewise.
90879 * math/s_csqrt.c: Likewise.
90880 * math/s_csqrtf.c: Likewise.
90881 * math/s_csqrtl.c: Likewise.
90882 * math/s_ctanf.c: Likewise.
90883 * math/s_ctanh.c: Likewise.
90884 * math/s_ctanhf.c: Likewise.
90885 * math/s_ctanhl.c: Likewise.
90886 * math/s_ctanl.c: Likewise.
90887
90888 * math/math_private.h: Define __nan, __nanf, __nanl.
90889 * math/s_cacosh.c: Include <math_private.h>.
90890 * math/s_cacoshl.c: Likewise.
90891 * math/s_casinh.c: Likewise.
90892 * math/s_casinhf.c: Likewise.
90893 * math/s_casinhl.c: Likewise.
90894 * math/s_ccos.c: Rely entire on ccosh.
90895 * math/s_ccosf.c: Rely entire on ccoshf.
90896 * math/s_ccosl.c: Rely entirely on ccoshl.
90897 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90898 Remove tests for FE_INVALID.
90899 * math/s_ccoshf.c: Likewise.
90900 * math/s_ccoshl.c: Likewise.
90901 * math/s_csin.c: Likewise.
90902 * math/s_csinf.c: Likewise.
90903 * math/s_csinh.c Likewise.
90904 * math/s_csinhf.c: Likewise.
90905 * math/s_csinhl.c: Likewise.
90906 * math/s_csinl.c: Likewise.
90907 * math/s_ctan.c: Likewise.
90908 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90909 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90910 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90911
90912 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90913
90914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90915 compilation problems.
90916
90917 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90918 __builtin_expect.
90919
90920 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90921
90922 * sysdeps/i386/configure.in: Test for -mfma4 option.
90923 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90924 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90925 COMMON_CPUID_INDEX_80000001.
90926 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90927 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90928 use it if FMA3 is not supported.
90929 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90930
90931 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90932 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90933
90934 2011-10-20 Andreas Schwab <schwab@redhat.com>
90935
90936 [BZ #12892]
90937 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90938 it would create a cycle with a link time dependency.
90939
90940 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90941
90942 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90943 instruction.
90944 * string/Makefile (strop-tests): Add rawmemchr.
90945 * string/test-rawmemchr.c: New file.
90946
90947 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90949 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90950 when compiling str{,n}casecmp and when AVX is available. Hook up
90951 new optimized code in initializers.
90952
90953 2011-10-19 Andreas Schwab <schwab@redhat.com>
90954
90955 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90956 __feraiseexcept instead of feraiseexcept.
90957
90958 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90959
90960 * math/math_private.h: Define defaults for libc_fetestexcept and
90961 libc_feupdateenv.
90962 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90963 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90964 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90965 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90966 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90967 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90968 libc_fetestexcept and libc_feupdateenv.
90969
90970 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90971 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90972 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90973 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90974 libc_feholdexcept_setround.
90975
90976 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90977 Add s_nearbyint-c and s_nearbyintf-c.
90978 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90979 nearbyintf inlines.
90980 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90982 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90984
90985 * math/math_private.h: Define defaults for libc_fegetround,
90986 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90987 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90988 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90989 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90990 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90991 standard functions.
90992 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90993 Remove comments and hacks for old compiler versions.
90994 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90995 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90996 libc_feholdexceptl.
90997
90998 2011-10-18 Andreas Schwab <schwab@redhat.com>
90999
91000 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91001 (__feraiseexcept_renamed): Add __NTH.
91002 (feraiseexcept): Add __NTH. Rename local variables to fix
91003 namespace violations.
91004
91005 2011-10-17 Ulrich Drepper <drepper@gmail.com>
91006
91007 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91008
91009 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91010
91011 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91012 recently added interfaces.
91013 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91014
91015 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91016 about macro parameter expansion.
91017
91018 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91019 __NO_MATH_INLINES is defined. Cleanups.
91020
91021 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91022 and __floorf is target has SSE4.1.
91023 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91024 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91025 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91026 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91027
91028 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91029 name.
91030 (floorf): Likewise.
91031
91032 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91033
91034 2011-10-17 Andreas Schwab <schwab@redhat.com>
91035
91036 * misc/sys/cdefs.h: Fix last change.
91037
91038 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91039 database lookup.
91040
91041 2011-10-16 Ulrich Drepper <drepper@gmail.com>
91042
91043 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91044
91045 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91046 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91047 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91048 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91051 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91053 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91054 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91055 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91056 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91057 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91058 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91060 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91061 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91062 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91063 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91064 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91066 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91067
91068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91069 ceil, ceilf, floor, floorf.
91070
91071 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91072 Perform IRELATIVE relocations last.
91073
91074 * elf/do-rel.h: Add another parameter nrelative, replacing the
91075 local variable with the same name. Change name of the function
91076 to end in Rel or Rela (uppercase).
91077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91078 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91079 elf_dynamic_do_##reloc function.
91080
91081 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91082
91083 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91084 is sufficient, at least on modern CPUs.
91085
91086 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91087
91088 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91090
91091 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91092 __expl_finite.
91093 * math/bits/math-finite.h: Add entries for exp.
91094 * math/e_expl.c: Add __*_finite alias.
91095 * sysdeps/i386/fpu/e_exp.S: Likewise.
91096 * sysdeps/i386/fpu/e_expf.S: Likewise.
91097 * sysdeps/i386/fpu/e_expl.c: Likewise.
91098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91099 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91102 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91103 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91104 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91105
91106 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91107 is sufficient, at least on modern CPUs.
91108
91109 * ctype/ctype-info.c (__ctype_init): Define.
91110 * include/ctype.h (__ctype_init): Declare.
91111 (__ctype_b_loc): The variable is always initialized.
91112 (__ctype_toupper_loc): Likewise.
91113 (__ctype_tolower_loc): Likewise.
91114 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91115 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91116
91117 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91118
91119 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91120
91121 * configure.in: Also look in $cxxmachine/include for C++ system
91122 headers.
91123
91124 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91125
91126 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91127 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91128 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91129 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91130 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91131 (USE_AS_WMEMCMP): New macro.
91132 Fixing indents.
91133 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91134 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91135 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91136 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91138 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91139 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91140 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91141 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91142 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91144 (USE_AS_WMEMCMP): New macro.
91145 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91146 * sysdeps/string/test-memcmp.c: Update.
91147 Fix simple_wmemcmp.
91148 Add new tests.
91149 * wcsmbs/wmemcmp.c: Update.
91150 (WMEMCMP): New macro.
91151 Fix overflow bug.
91152
91153 2011-10-12 Andreas Jaeger <aj@suse.de>
91154
91155 [BZ #13268]
91156 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91157
91158 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91159
91160 * libio/iofwide.c (do_length): Avoid warning.
91161
91162 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91163
91164 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91165
91166 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91167
91168 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91169 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91170 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91171 * sysdeps/i386/i686/fpu/e_log.S: New file.
91172 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91173 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91174
91175 * ctype/ctype.h: Add support for inlined isXXX functions when
91176 compiling C++ code.
91177
91178 2011-10-14 Andreas Schwab <schwab@redhat.com>
91179
91180 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91181
91182 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91183
91184 2011-10-13 Roland McGrath <roland@hack.frob.com>
91185
91186 [BZ #13291]
91187 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91188
91189 2011-10-13 Andreas Schwab <schwab@redhat.com>
91190
91191 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91192 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91193 feraiseexcept.
91194
91195 * sysdeps/x86_64/memrchr.S: Check for zero size.
91196
91197 * string/stratcliff.c: Add memrchr tests.
91198
91199 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91200
91201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91202 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91203 rawmemchr-sse2 rawmemchr-sse2-bsf.
91204 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91205 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91206 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91207 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91208 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91209 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91210 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91211 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91212 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91214 * string/memrchr.c (MEMRCHR): New macro.
91215
91216 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91217
91218 Add integration with gcc's -ffinite-math-only and optimize wrapper
91219 functions in libm.
91220 * Versions.def: Define GLIBC_2.15 version for libm.
91221 * math/Makefile (headers): Add bits/math-finite.h.
91222 * math/bits/math-finite.h: New file.
91223 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91224 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91225 * math/e_acoshl.c: Add __*_finite alias.
91226 * math/e_acosl.c: Likewise.
91227 * math/e_asinl.c: Likewise.
91228 * math/e_atan2l.c: Likewise.
91229 * math/e_atanhl.c: Likewise.
91230 * math/e_coshl.c: Likewise.
91231 * math/e_exp10.c: Likewise.
91232 * math/e_exp10f.c: Likewise.
91233 * math/e_exp10l.c: Likewise.
91234 * math/e_exp2l.c: Likewise.
91235 * math/e_fmodl.c: Likewise.
91236 * math/e_gammal_r.c: Likewise.
91237 * math/e_hypotl.c: Likewise.
91238 * math/e_j0l.c: Likewise.
91239 * math/e_j1l.c: Likewise.
91240 * math/e_jnl.c: Likewise.
91241 * math/e_lgammal_r.c: Likewise.
91242 * math/e_log10l.c: Likewise.
91243 * math/e_log2l.c: Likewise.
91244 * math/e_logl.c: Likewise.
91245 * math/e_powl.c: Likewise.
91246 * math/e_sinhl.c: Likewise.
91247 * math/e_sqrtl.c: Likewise.
91248 * math/e_scalb.c: Completely rewritten and optimized.
91249 * math/e_scalbf.c: Likewise.
91250 * math/e_scalbl.c: Likewise.
91251 * math/w_acos.c: Likewise.
91252 * math/w_acosf.c: Likewise.
91253 * math/w_acosl.c: Likewise.
91254 * math/w_acosh.c: Likewise.
91255 * math/w_acoshf.c: Likewise.
91256 * math/w_acoshl.c: Likewise.
91257 * math/w_asin.c: Likewise.
91258 * math/w_asinf.c: Likewise.
91259 * math/w_asinl.c: Likewise.
91260 * math/w_atan2.c: Likewise.
91261 * math/w_atan2f.c: Likewise.
91262 * math/w_atan2l.c: Likewise.
91263 * math/w_atanh.c: Likewise.
91264 * math/w_atanhf.c: Likewise.
91265 * math/w_atanhl.c: Likewise.
91266 * math/w_exp10.c: Likewise.
91267 * math/w_exp10f.c: Likewise.
91268 * math/w_exp10l.c: Likewise.
91269 * math/w_fmod.c: Likewise.
91270 * math/w_fmodf.c: Likewise.
91271 * math/w_fmodl.c: Likewise.
91272 * math/w_j0.c: Likewise.
91273 * math/w_j0f.c: Likewise.
91274 * math/w_j0l.c: Likewise.
91275 * math/w_j1.c: Likewise.
91276 * math/w_j1f.c: Likewise.
91277 * math/w_j1l.c: Likewise.
91278 * math/w_jn.c: Likewise.
91279 * math/w_jnf.c: Likewise.
91280 * math/w_log.c: Likewise.
91281 * math/w_logf.c: Likewise.
91282 * math/w_logl.c: Likewise.
91283 * math/w_log10.c: Likewise.
91284 * math/w_log10f.c: Likewise.
91285 * math/w_log10l.c: Likewise.
91286 * math/w_log2.c: Likewise.
91287 * math/w_log2f.c: Likewise.
91288 * math/w_log2l.c: Likewise.
91289 * math/w_pow.c: Likewise.
91290 * math/w_powf.c: Likewise.
91291 * math/w_powl.c: Likewise.
91292 * math/w_remainder.c: Likewise.
91293 * math/w_remainderf.c: Likewise.
91294 * math/w_remainderl.c: Likewise.
91295 * math/w_scalb.c: Likewise.
91296 * math/w_scalbf.c: Likewise.
91297 * math/w_scalbl.c: Likewise.
91298 * math/w_sqrt.c: Likewise.
91299 * math/w_sqrtf.c: Likewise.
91300 * math/w_sqrtl.c: Likewise.
91301 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91302 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91303 used.
91304 * math/math_private.h: Declare __kernel_standard_f.
91305 * math/w_cosh.c: Remove cruft and optimize a bit.
91306 * math/w_coshf.c: Likewise.
91307 * math/w_coshl.c: Likewise.
91308 * math/w_exp2.c: Likewise.
91309 * math/w_exp2f.c: Likewise.
91310 * math/w_exp2l.c: Likewise.
91311 * math/w_hypot.c: Likewise.
91312 * math/w_hypotf.c: Likewise.
91313 * math/w_hypotl.c: Likewise.
91314 * math/w_lgamma.c: Likewise.
91315 * math/w_lgamma_r.c: Likewise.
91316 * math/w_lgammaf.c: Likewise.
91317 * math/w_lgammaf_r.c: Likewise.
91318 * math/w_lgammal.c: Likewise.
91319 * math/w_lgammal_r.c: Likewise.
91320 * math/w_sinh.c: Likewise.
91321 * math/w_sinhf.c: Likewise.
91322 * math/w_sinhl.c: Likewise.
91323 * math/w_tgamma.c: Likewise.
91324 * math/w_tgammaf.c: Likewise.
91325 * math/w_tgammal.c: Likewise.
91326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91327 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91328 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91329 Minor optimizations. Pretty printing. Remove cruft.
91330 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91331 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91333 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91334 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91335 * sysdeps/i386/fpu/e_asin.S: Likewise.
91336 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91337 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91338 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91339 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91340 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91342 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91343 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91344 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91345 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91346 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91347 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91348 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91349 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91350 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91351 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91352 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91353 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91354 * sysdeps/i386/fpu/e_log.S: Likewise.
91355 * sysdeps/i386/fpu/e_log10.S: Likewise.
91356 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91357 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91358 * sysdeps/i386/fpu/e_log2.S: Likewise.
91359 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91361 * sysdeps/i386/fpu/e_logf.S: Likewise.
91362 * sysdeps/i386/fpu/e_logl.S: Likewise.
91363 * sysdeps/i386/fpu/e_pow.S: Likewise.
91364 * sysdeps/i386/fpu/e_powf.S: Likewise.
91365 * sysdeps/i386/fpu/e_powl.S: Likewise.
91366 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91367 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91368 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91369 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91370 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91371 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91372 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91373 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91374 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91375 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91376 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91378 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91379 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91380 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91381 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91382 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91383 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91384 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91385 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91386 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91388 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91389 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91392 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91396 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91399 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91400 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91401 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91402 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91403 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91404 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91406 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91407 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91408 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91409 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91410 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91411 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91412 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91413 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91414 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91415 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91416 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91417 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91418 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91420 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91421 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91422 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91423 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91424 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91425 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91426 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91427 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91429 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91430 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91431 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91432 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91433 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91434 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91435 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91439 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91442 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91443 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91444 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91446 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91447 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91449 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91452 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91453 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91454 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91455 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91456 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91457 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91460 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91463 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91464 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91466 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91467 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91468 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91470 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91471 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91472 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91473 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91474 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91475 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91476 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91477 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91478 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91481 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91482 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91483 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91484 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91485 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91486 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91487 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91488 (__isnanf): Likewise.
91489 (__isinf_ns): Likewise.
91490 (__isinf_nsf): Likewise.
91491 (__finite): Likewise.
91492 (__finitef): Likewise.
91493 (__ieee754_sqrt): Define as macro.
91494 (__ieee754_sqrtf): Define as macro.
91495 (__ieee754_sqrtl): Define as macro.
91496 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91497 inlined copy.
91498 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91499 __FINITE_MATH_ONLY__ consistent.
91500 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91501
91502 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91503
91504 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91505 of rawmemchr.
91506
91507 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91508
91509 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91510
91511 * po/ja.po: Update from translation team.
91512
91513 2011-10-08 Roland McGrath <roland@hack.frob.com>
91514
91515 * locale/programs/locarchive.c (prepare_address_space): New function.
91516 (create_archive, enlarge_archive, open_archive): Use it.
91517
91518 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91519 inside [SHARED], where it is used.
91520
91521 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91522
91523 * nss/getent.c (netgroup_keys): Remove unused variable.
91524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91525
91526 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91527
91528 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91531 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91532 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91533 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91534 * math/Makefile (libm-calls): Add s_isinf_ns.
91535 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91536 * math/multc3.c: Likewise.
91537 * math/s_casin.c: Likewise.
91538 * math/s_casinf.c: Likewise.
91539 * math/s_casinl.c: Likewise.
91540 * math/s_ccos.c: Likewise.
91541 * math/s_ccosf.c: Likewise.
91542 * math/s_ccosl.c: Likewise.
91543 * math/s_ctan.c: Likewise.
91544 * math/s_ctanf.c: Likewise.
91545 * math/s_ctanh.c: Likewise.
91546 * math/s_ctanhf.c: Likewise.
91547 * math/s_ctanhl.c: Likewise.
91548 * math/s_ctanl.c: Likewise.
91549 * math/w_fmod.c: Likewise.
91550 * math/w_fmodf.c: Likewise.
91551 * math/w_fmodl.c: Likewise.
91552 * math/w_remainder.c: Likewise.
91553 * math/w_remainderf.c: Likewise.
91554 * math/w_remainderl.c: Likewise.
91555 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91556 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91559 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91560 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91561 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91562 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91563
91564 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91565 of the number.
91566 * stdio-common/printf_fphex.c: Likewise.
91567 * stdio-common/printf_size.c: Likewise.
91568
91569 * math/e_exp10.c: Include math_private.h using <...> not "...".
91570 * math/e_exp10f.c: Likewise.
91571 * math/e_exp10l.c: Likewise.
91572 * math/e_exp2l.c: Likewise.
91573 * math/e_j0l.c: Likewise.
91574 * math/e_j1l.c: Likewise.
91575 * math/e_jnl.c: Likewise.
91576 * math/e_lgammal_r.c: Likewise.
91577 * math/e_rem_pio2l.c: Likewise.
91578 * math/e_scalb.c: Likewise.
91579 * math/e_scalbf.c: Likewise.
91580 * math/e_scalbl.c: Likewise.
91581 * math/k_cosl.c: Likewise.
91582 * math/k_sinl.c: Likewise.
91583 * math/k_tanl.c: Likewise.
91584 * math/s_cacoshf.c: Likewise.
91585 * math/s_catan.c: Likewise.
91586 * math/s_catanf.c: Likewise.
91587 * math/s_catanh.c: Likewise.
91588 * math/s_catanhf.c: Likewise.
91589 * math/s_catanhl.c: Likewise.
91590 * math/s_catanl.c: Likewise.
91591 * math/s_ccosh.c: Likewise.
91592 * math/s_ccoshf.c: Likewise.
91593 * math/s_ccoshl.c: Likewise.
91594 * math/s_cexp.c: Likewise.
91595 * math/s_cexpf.c: Likewise.
91596 * math/s_cexpl.c: Likewise.
91597 * math/s_clog.c: Likewise.
91598 * math/s_clog10.c: Likewise.
91599 * math/s_clog10f.c: Likewise.
91600 * math/s_clog10l.c: Likewise.
91601 * math/s_clogf.c: Likewise.
91602 * math/s_clogl.c: Likewise.
91603 * math/s_csin.c: Likewise.
91604 * math/s_csinf.c: Likewise.
91605 * math/s_csinh.c: Likewise.
91606 * math/s_csinhf.c: Likewise.
91607 * math/s_csinhl.c: Likewise.
91608 * math/s_csinl.c: Likewise.
91609 * math/s_csqrt.c: Likewise.
91610 * math/s_csqrtf.c: Likewise.
91611 * math/s_csqrtl.c: Likewise.
91612 * math/s_ctan.c: Likewise.
91613 * math/s_ctanf.c: Likewise.
91614 * math/s_ctanh.c: Likewise.
91615 * math/s_ctanhf.c: Likewise.
91616 * math/s_ctanhl.c: Likewise.
91617 * math/s_ctanl.c: Likewise.
91618 * math/s_ldexp.c: Likewise.
91619 * math/s_ldexpf.c: Likewise.
91620 * math/s_ldexpl.c: Likewise.
91621 * math/s_significand.c: Likewise.
91622 * math/s_significandf.c: Likewise.
91623 * math/s_significandl.c: Likewise.
91624 * math/w_acos.c: Likewise.
91625 * math/w_acosf.c: Likewise.
91626 * math/w_acosh.c: Likewise.
91627 * math/w_acoshf.c: Likewise.
91628 * math/w_acoshl.c: Likewise.
91629 * math/w_acosl.c: Likewise.
91630 * math/w_asin.c: Likewise.
91631 * math/w_asinf.c: Likewise.
91632 * math/w_asinl.c: Likewise.
91633 * math/w_atan2.c: Likewise.
91634 * math/w_atan2f.c: Likewise.
91635 * math/w_atan2l.c: Likewise.
91636 * math/w_atanh.c: Likewise.
91637 * math/w_atanhf.c: Likewise.
91638 * math/w_atanhl.c: Likewise.
91639 * math/w_cosh.c: Likewise.
91640 * math/w_coshf.c: Likewise.
91641 * math/w_coshl.c: Likewise.
91642 * math/w_dremf.c: Likewise.
91643 * math/w_exp10.c: Likewise.
91644 * math/w_exp10f.c: Likewise.
91645 * math/w_exp10l.c: Likewise.
91646 * math/w_exp2.c: Likewise.
91647 * math/w_exp2f.c: Likewise.
91648 * math/w_fmod.c: Likewise.
91649 * math/w_fmodf.c: Likewise.
91650 * math/w_fmodl.c: Likewise.
91651 * math/w_hypot.c: Likewise.
91652 * math/w_hypotf.c: Likewise.
91653 * math/w_hypotl.c: Likewise.
91654 * math/w_j0.c: Likewise.
91655 * math/w_j0f.c: Likewise.
91656 * math/w_j0l.c: Likewise.
91657 * math/w_j1.c: Likewise.
91658 * math/w_j1f.c: Likewise.
91659 * math/w_j1l.c: Likewise.
91660 * math/w_jn.c: Likewise.
91661 * math/w_jnf.c: Likewise.
91662 * math/w_jnl.c: Likewise.
91663 * math/w_lgamma.c: Likewise.
91664 * math/w_lgamma_r.c: Likewise.
91665 * math/w_lgammaf.c: Likewise.
91666 * math/w_lgammaf_r.c: Likewise.
91667 * math/w_lgammal.c: Likewise.
91668 * math/w_lgammal_r.c: Likewise.
91669 * math/w_log.c: Likewise.
91670 * math/w_log10.c: Likewise.
91671 * math/w_log10f.c: Likewise.
91672 * math/w_log10l.c: Likewise.
91673 * math/w_log2.c: Likewise.
91674 * math/w_log2f.c: Likewise.
91675 * math/w_log2l.c: Likewise.
91676 * math/w_logf.c: Likewise.
91677 * math/w_logl.c: Likewise.
91678 * math/w_pow.c: Likewise.
91679 * math/w_powf.c: Likewise.
91680 * math/w_powl.c: Likewise.
91681 * math/w_remainder.c: Likewise.
91682 * math/w_remainderf.c: Likewise.
91683 * math/w_remainderl.c: Likewise.
91684 * math/w_scalb.c: Likewise.
91685 * math/w_scalbf.c: Likewise.
91686 * math/w_scalbl.c: Likewise.
91687 * math/w_sinh.c: Likewise.
91688 * math/w_sinhf.c: Likewise.
91689 * math/w_sinhl.c: Likewise.
91690 * math/w_sqrt.c: Likewise.
91691 * math/w_sqrtf.c: Likewise.
91692 * math/w_sqrtl.c: Likewise.
91693 * math/w_tgamma.c: Likewise.
91694 * math/w_tgammaf.c: Likewise.
91695 * math/w_tgammal.c: Likewise.
91696
91697 * po/ja.po: Update from translation team.
91698
91699 2011-09-29 Andreas Jaeger <aj@suse.de>
91700
91701 [BZ #13179]
91702 * sunrpc/netname.c (netname2host): Fix logic.
91703
91704 [BZ #6779]
91705 [BZ #6783]
91706 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91707 correctly.
91708 * math/w_remainder.c (__remainder): Likewise.
91709 * math/w_remainderf.c (__remainderf): Likewise.
91710 * math/libm-test.inc (remainder_test): Add test cases.
91711
91712 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91713
91714 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91715 sdiv_qrnnd.
91716
91717 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91718
91719 * string/test-memcmp.c: Avoid unncessary #defines.
91720 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91721
91722 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91723
91724 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91725 Use new sse2 version for core i3 - i7 as it's faster
91726 than sse42 version.
91727 (bit_Prefer_PMINUB_for_stringop): New.
91728 * sysdeps/x86_64/rawmemchr.S: Update.
91729 Replace with faster SSE2 version.
91730 * sysdeps/x86_64/memrchr.S: New file.
91731 * sysdeps/x86_64/memchr.S: Update.
91732 Replace with faster SSE2 version.
91733
91734 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91735
91736 * elf/dl-load.c (lose): Add cast to avoid warning.
91737
91738 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91739
91740 * po/ca.po: Update from translation team.
91741
91742 * inet/getnetgrent_r.c: Hook up nscd.
91743 * nscd/Makefile (routines): Add nscd_netgroup.
91744 (nscd-modules): Add netgroupcache.
91745 (CFLAGS-netgroupcache.c): Define.
91746 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91747 (cache_search): Add const to second parameter.
91748 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91749 INNETGR.
91750 (dbs): Add netgrdb entry.
91751 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91752 (verify_persistent_db): Handle netgrdb.
91753 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91754 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91755 GETFDNETGR.
91756 (netgroup_response_header): Define.
91757 (innetgroup_response_header): Define.
91758 (datahead): Add netgroup_response_header and innetgroup_response_header
91759 elements.
91760 * nscd/nscd.conf: Add entries for netgroup cache.
91761 * nscd/nscd.h (dbtype): Add netgrdb.
91762 (_PATH_NSCD_NETGROUP_DB): Define.
91763 (netgroup_iov_disabled): Declare.
91764 (xmalloc, xcalloc, xrealloc): Move declarations here.
91765 (cache_search): Adjust prototype.
91766 Add netgroup-related prototypes.
91767 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91768 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91769 (__nscd_innetgr): Declare.
91770 * nscd/selinux.c (perms): Use access_vector_t as element type and
91771 add netgroup-related initializers.
91772 * nscd/netgroupcache.c: New file.
91773 * nscd/nscd_netgroup.c: New file.
91774 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91775 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91776 For four parameters use innetgr.
91777 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91778 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91779 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91780 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91781
91782 * nscd/connections.c (register_traced_file): Don't register file
91783 for disabled databases.
91784
91785 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91786
91787 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91788
91789 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91790 from tree and freeing node.
91791
91792 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91793
91794 * nss/nsswitch.c (__nss_database_lookup): Handle
91795 nss_parse_service_list out of memory case.
91796
91797 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91798
91799 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91800 out of memory case.
91801
91802 2011-10-04 Andreas Schwab <schwab@redhat.com>
91803
91804 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91805 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91806 pass it down.
91807 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91808 elf_machine_rela, elf_machine_lazy_rel.
91809 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91810 (ELF_DYNAMIC_DO_REL): Likewise.
91811 (ELF_DYNAMIC_DO_RELA): Likewise.
91812 (ELF_DYNAMIC_RELOCATE): Likewise.
91813 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91814 to ELF_DYNAMIC_DO_REL.
91815 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91816 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91817 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91818 elf_machine_rela.
91819 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91820 skip_ifunc, don't call ifunc function if non-zero.
91821 (elf_machine_rela): Likewise.
91822 (elf_machine_lazy_rel): Likewise.
91823 (elf_machine_lazy_rela): Likewise.
91824 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91825 (elf_machine_lazy_rel): Likewise.
91826 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91827 Likewise.
91828 (elf_machine_lazy_rel): Likewise.
91829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91830 Likewise.
91831 (elf_machine_lazy_rel): Likewise.
91832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91833 (elf_machine_lazy_rel): Likewise.
91834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91835 (elf_machine_lazy_rel): Likewise.
91836 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91837 (elf_machine_lazy_rel): Likewise.
91838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91839 (elf_machine_lazy_rel): Likewise.
91840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91841 (elf_machine_lazy_rel): Likewise.
91842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91843 (elf_machine_lazy_rel): Likewise.
91844
91845 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91846
91847 * nss/nss_files/files-init.c (_nss_files_init): Use static
91848 initialization for all the *_traced_file variables.
91849
91850 2011-09-28 Andreas Schwab <schwab@redhat.com>
91851
91852 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91853
91854 2011-09-27 Roland McGrath <roland@hack.frob.com>
91855
91856 [BZ #13226]
91857 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91858
91859 2011-09-27 Andreas Schwab <schwab@redhat.com>
91860
91861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91862 Reread the line before reparsing it.
91863
91864 2011-09-26 Andreas Schwab <schwab@redhat.com>
91865
91866 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91867
91868 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91869 Maxim Kuvyrkov <maxim@codesourcery.com>
91870 Joseph Myers <joseph@codesourcery.com>
91871
91872 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91873 if needed for __stack_chk_guard.
91874
91875 2011-09-19 Roland McGrath <roland@hack.frob.com>
91876
91877 * sysdeps/posix/spawni.c (script_execute): Always define it.
91878 It will be optimized away if unused.
91879 (maybe_script_execute): New function.
91880 (__spawni): Call it.
91881
91882 * Makerules: Don't include tls.make.
91883 (config-tls): Always set to thread.
91884 * tls.make.c: File removed.
91885
91886 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91887
91888 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91889 * config.make.in (CPPFLAGS-config): New substituted variable.
91890
91891 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91892
91893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91894
91895 [BZ #13192]
91896 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91897 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91898
91899 2011-09-15 Roland McGrath <roland@hack.frob.com>
91900
91901 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91902 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91904 (CALL_FAIL): Likewise.
91905 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91906 (CALL_FAIL): Macro removed.
91907 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91908
91909 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91910
91911 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91912 for __FINITE_MATH_ONLY__ == 1.
91913
91914 2011-09-15 Andreas Schwab <schwab@redhat.com>
91915
91916 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91917 __ieee754_sqrt instead of sqrt.
91918 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91919 __ieee754_sqrtf instead of sqrtf.
91920 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91921 __floorf instead of floorf.
91922 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91923 __floorf, __truncf instead of floorf, truncf.
91924
91925 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91926
91927 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91928
91929 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91930 __extern_always_inline.
91931 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91932 32-bit.
91933
91934 2011-09-14 Andreas Schwab <schwab@redhat.com>
91935
91936 * elf/rtld.c (dl_main): Also relocate in dependency order when
91937 doing symbol dependency testing.
91938
91939 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91940
91941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91942 Always define `refsym'.
91943
91944 2011-09-13 Andreas Schwab <schwab@redhat.com>
91945
91946 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91947 (__FD_ELT): Renamed from __FDELT.
91948 * misc/bits/select2.h (__FD_ELT): Likewise.
91949 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91950 __FD_MASK instead of __FDELT, __FDMASK.
91951 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91952 Likewise.
91953 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91954 Likewise.
91955
91956 * elf/Makefile (gen-ldd): Fix pattern.
91957
91958 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91959 (init_tls): Likewise.
91960
91961 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91962
91963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91964
91965 2011-09-12 Andreas Schwab <schwab@redhat.com>
91966
91967 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91968 `struct cmsghdr *' instead of `void *'.
91969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91970 Likewise.
91971
91972 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91973
91974 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91975 if non-absolute.
91976 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91977 ldd_rewrite_script.
91978
91979 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91980
91981 * configure.in: Remove --with-tls option.
91982 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91983 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91984 out in case it is missing.
91985 * sysdeps/ia64/elf/configure.in: Likewise.
91986 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91987 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91988 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91989 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91990 * sysdeps/sh/elf/configure.in: Likewise.
91991 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91992 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91993 * sysdeps/x86_64/elf/configure.in: Likewise.
91994 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91995 * sysdeps/mach/hurd/tls.h: Likewise.
91996
91997 [BZ #13067]
91998 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91999
92000 [BZ #13090]
92001 * configure.in: Fix use of AC_INIT.
92002
92003 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92004
92005 2011-09-10 Ulrich Drepper <drepper@gmail.com>
92006
92007 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92008 __set_errno.
92009 * malloc/hooks.c: Likewise.
92010
92011 [BZ #11929]
92012 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92013 variables statically.
92014 (narenas): Initialize.
92015 (list_lock): Initialize.
92016 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92017 initializtion of main_arena and list_lock. Small cleanups.
92018 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92019 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92020 Add initializers to main_arena and mp_.
92021 (malloc_state): Remove pagesize member. Change all users to use
92022 GLRO(dl_pagesize).
92023
92024 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92025 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92026 is always initialized.
92027
92028 * malloc/malloc.c: Removed unused configurations and dead code.
92029 * malloc/arena.c: Likewise.
92030 * malloc/hooks.c: Likewise.
92031 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92032
92033 * include/tls.h: Removed. USE___THREAD must always be defined.
92034 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92035 * elf/dl-libc.c: Likewise.
92036 * elf/dl-tsd.c: Likewise.
92037 * include/errno.h: Likewise.
92038 * include/netdb.h: Likewise.
92039 * include/resolv.h: Likewise.
92040 * inet/herrno-loc.c: Likewise.
92041 * inet/herrno.c: Likewise.
92042 * malloc/arena.c: Likewise.
92043 * malloc/hooks.c: Likewise.
92044 * malloc/malloc.c: Likewise.
92045 * resolv/res-state.c: Likewise.
92046 * resolv/res_libc.c: Likewise.
92047 * sysdeps/i386/dl-machine.h: Likewise.
92048 * sysdeps/ia64/dl-machine.h: Likewise.
92049 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92050 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92051 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92052 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92053 * sysdeps/sh/dl-machine.h: Likewise.
92054 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92055 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92056 * sysdeps/unix/i386/sysdep.S: Likewise.
92057 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92058 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92063 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92067 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92068 * sysdeps/x86_64/dl-machine.h: Likewise.
92069 * tls.make.c: Likewise.
92070
92071 * configure.in: Remove --with-__thread option. Make tests for
92072 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92073 tls_model attribute fail if no support is available. Remove
92074 USE_IN_LIBIO.
92075 * Makeconfig: Adjust for dropped configure option. All features are
92076 now mandatory.
92077 * Makerules: Likewise.
92078 * Versions.def: Likewise.
92079 * argp/argp-fmtstream.c: Likewise.
92080 * argp/argp-fmtstream.h: Likewise.
92081 * argp/argp-help.c: Likewise.
92082 * assert/assert.c: Likewise.
92083 * config.h.in: Likewise.
92084 * config.make.in: Likewise.
92085 * configure: Likewise.
92086 * configure.in: Likewise.
92087 * csu/Versions: Likewise.
92088 * csu/init.c: Likewise.
92089 * elf/tst-audit2.c: Likewise.
92090 * elf/tst-tls10.c: Likewise.
92091 * elf/tst-tls10.h: Likewise.
92092 * elf/tst-tls11.c: Likewise.
92093 * elf/tst-tls12.c: Likewise.
92094 * elf/tst-tls14.c: Likewise.
92095 * elf/tst-tlsmod11.c: Likewise.
92096 * elf/tst-tlsmod12.c: Likewise.
92097 * elf/tst-tlsmod13.c: Likewise.
92098 * elf/tst-tlsmod13a.c: Likewise.
92099 * elf/tst-tlsmod14a.c: Likewise.
92100 * elf/tst-tlsmod15b.c: Likewise.
92101 * elf/tst-tlsmod16a.c: Likewise.
92102 * elf/tst-tlsmod16b.c: Likewise.
92103 * elf/tst-tlsmod7.c: Likewise.
92104 * elf/tst-tlsmod8.c: Likewise.
92105 * elf/tst-tlsmod9.c: Likewise.
92106 * gmon/gmon.c: Likewise.
92107 * grp/fgetgrent_r.c: Likewise.
92108 * grp/putgrent.c: Likewise.
92109 * hurd/fopenport.c: Likewise.
92110 * include/libc-symbols.h: Likewise.
92111 * include/tls.h: Likewise.
92112 * intl/gettextP.h: Likewise.
92113 * intl/loadinfo.h: Likewise.
92114 * locale/global-locale.c: Likewise.
92115 * locale/localeinfo.h: Likewise.
92116 * mach/devstream.c: Likewise.
92117 * malloc/arena.c: Likewise.
92118 * malloc/set-freeres.c: Likewise.
92119 * misc/err.c: Likewise.
92120 * misc/getttyent.c: Likewise.
92121 * misc/mntent_r.c: Likewise.
92122 * posix/getopt.c: Likewise.
92123 * posix/wordexp.c: Likewise.
92124 * pwd/fgetpwent_r.c: Likewise.
92125 * resolv/Versions: Likewise.
92126 * resolv/res_hconf.c: Likewise.
92127 * shadow/fgetspent_r.c: Likewise.
92128 * shadow/putspent.c: Likewise.
92129 * stdio-common/printf_fphex.c: Likewise.
92130 * stdio-common/tmpfile.c: Likewise.
92131 * stdlib/abort.c: Likewise.
92132 * stdlib/fmtmsg.c: Likewise.
92133 * sunrpc/auth_unix.c: Likewise.
92134 * sunrpc/clnt_perr.c: Likewise.
92135 * sunrpc/clnt_tcp.c: Likewise.
92136 * sunrpc/clnt_udp.c: Likewise.
92137 * sunrpc/clnt_unix.c: Likewise.
92138 * sunrpc/openchild.c: Likewise.
92139 * sunrpc/svc_simple.c: Likewise.
92140 * sunrpc/svc_tcp.c: Likewise.
92141 * sunrpc/svc_udp.c: Likewise.
92142 * sunrpc/svc_unix.c: Likewise.
92143 * sunrpc/xdr.c: Likewise.
92144 * sunrpc/xdr_array.c: Likewise.
92145 * sunrpc/xdr_rec.c: Likewise.
92146 * sunrpc/xdr_ref.c: Likewise.
92147 * sunrpc/xdr_stdio.c: Likewise.
92148
92149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92150
92151 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92152
92153 2011-07-03 Andreas Jaeger <aj@suse.de>
92154
92155 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92156 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92157 regenerate with gen-libm-tests.pl.
92158
92159 2010-05-12 Petr Baudis <pasky@suse.cz>
92160
92161 [BZ #11589]
92162 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92163 around j0() zero points by switching to j1().
92164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92168
92169 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92170
92171 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92172 instead of 0.
92173 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92174 instead of 0.
92175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92176 Patch in part by Pavel Roskin <proski@gnu.org>.
92177
92178 [BZ #13138]
92179 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92180 realloc.
92181 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92182 Free memory block if necessary.
92183
92184 [BZ #12847]
92185 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92186 be NULL. Don't lock in this case.
92187
92188 2011-09-09 Roland McGrath <roland@hack.frob.com>
92189
92190 * elf/elf.h (ELFOSABI_GNU): New macro.
92191 (ELFOSABI_LINUX): Define to that.
92192
92193 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92194
92195 * string/strncat.c (strncat): Undef the symbol in case it has been
92196 defined in bits/string.h.
92197
92198 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92199
92200 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92201
92202 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92203 link map.
92204
92205 2011-08-17 Andreas Jaeger <aj@suse.de>
92206
92207 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92208
92209 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92210 Ian Lance Taylor <iant@google.com>
92211
92212 * math/libm-test.inc (lround_test): New testcase.
92213 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92214
92215 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92216
92217 * Makefile: Remove support for automatic cvs check-ins.
92218 * Makerules: Likewise.
92219 * config.make.in: Likewise.
92220 * configure.in: Likewise.
92221 * intl/Makefile: Likewise.
92222 * locale/Makefile: Likewise.
92223 * po/Makefile: Likewise.
92224 * posix/Makefile: Likewise.
92225 * sysdeps/gnu/Makefile: Likewise.
92226 * sysdeps/mach/hurd/Makefile: Likewise.
92227 * sysdeps/sparc/sparc32/Makefile: Likewise.
92228
92229 [BZ #13118]
92230 * posix/Makefile (bug-regex32-ENV): Define.
92231 Patch by John Stanley <jpsinthemix@verizon.net>.
92232
92233 * misc/Makefile (headers): Add bits/select2.h.
92234 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92235 * misc/bits/select2.h: New file.
92236 * include/bits/select2.h: New file.
92237 * debug/Makefile (routines): Add fdelt_chk.
92238 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92239 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92240 FD_ISSET.
92241 * debug/fdelt_chk.c: New file.
92242
92243 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92244 * wcsmbs/test-wmemcmp.c: Likewise.
92245 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92246 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92247
92248 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92249
92250 * string/Makefile (strop-tests): Add memcmp.
92251 * string/test-wmemcmp.c: New file.
92252 * string/test-memcmp.c: Add wmemcmp support.
92253
92254 2011-09-08 Roland McGrath <roland@hack.frob.com>
92255
92256 [BZ #13153]
92257 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92258 2011-07-19 change.
92259
92260 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92261 garbage value in a __mach_port_mod_refs call in the cases of the
92262 task-self and thread-self ports.
92263
92264 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92265
92266 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92267
92268 2011-09-08 Andreas Schwab <schwab@redhat.com>
92269
92270 * elf/dl-load.c (lose): Check for non-null L.
92271
92272 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92273
92274 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92275
92276 * elf/dl-libc.c (dlerror_run): Pass back error code from
92277 dl_catch_error.
92278
92279 [BZ #13123]
92280 * elf/dl-load.c (lose): Free l_origin if it is valid.
92281
92282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92283 names.
92284 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92285 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92288 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92289 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92290
92291 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92292
92293 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92294 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92295 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92296 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92297 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92298 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92299 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92300 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92301 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92302 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92303
92304 2011-08-15 Alan Modra <amodra@gmail.com>
92305
92306 [BZ #13092]
92307 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92308 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92309 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92310 ppc_mcount to static-only-routines.
92311 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92312 __mcount_internal.
92313 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92314 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92315
92316 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92317
92318 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92319 for finite and infinity parameters.
92320
92321 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92322
92323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92324 and add nop instructions for throughput optimization.
92325 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92326
92327 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92328
92329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92330 aligned copy for power7 with vector-scalar instructions.
92331 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92332
92333 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92334
92335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92336 AVX check.
92337
92338 2011-09-07 Andreas Schwab <schwab@redhat.com>
92339
92340 [BZ #13144]
92341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92342 last change.
92343
92344 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92345
92346 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92347 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92348 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92349 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92350 clock_gettime.
92351
92352 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92353
92354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92355 Forgot to demangle the pointer.
92356
92357 * sysdeps/i386/sysdep.h: Define atom_text_section.
92358 * sysdeps/x86_64/sysdep.h: Likewise.
92359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92360 section with atom_text_section.
92361 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92363 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92364 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92365 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92366
92367 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92368 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92369 already be defined. Change to take two parameters and don't assign
92370 result to variable. Adjust all users.
92371 Define INTERNAL_GETTIME if not already defined.
92372 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92373 call.
92374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92375 HAVE_CLOCK_GETTIME_VSYSCALL.
92376 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92377
92378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92379 gettimeofday vsyscall, just use time.
92380
92381 2011-09-06 Andreas Schwab <schwab@redhat.com>
92382
92383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92384 <errno.h>.
92385
92386 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92387
92388 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92389 syscall on x86-64.
92390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92391 syscall.
92392 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92394 syscall if possible.
92395
92396 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92397
92398 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92399 e_ident. Don't pass to find_mapsXX.
92400 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92401
92402 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92403
92404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92405 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92406 * sysdeps/x86_64/multiarch/strchr.S: Update.
92407 Check bit_slow_BSF bit.
92408 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92409 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92410 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92411
92412 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92413
92414 [BZ #13134]
92415 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92416 before glibc 2.15.
92417 (tryshell): Define.
92418 (__spawni): Change last parameter to be flag. Test
92419 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92420 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92421 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92422 * posix/spawni.c: Likewise.
92423 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92424 * posix/spawnp.c: Likewise. Change normal version to use
92425 SPAWN_XFLAGS_USE_PATH.
92426 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92427 SPAWN_XFLAGS_TRY_SHELL.
92428
92429 [BZ #13150]
92430 * posix/glob.h: Remove gcc 1.x support.
92431
92432 [BZ #13068]
92433 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92434
92435 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92436
92437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92438 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92439 strrchr-sse2-bsf
92440 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92441 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92442 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92444 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92446
92447 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92448
92449 * sysdeps/x86_64/wcscmp.S: New file.
92450
92451 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92452 wcscmp-c wcscmp-sse2
92453 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92454 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92455 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92456 * wcsmbs/wcscmp.c: Allow renaming.
92457
92458 2011-09-05 David S. Miller <davem@davemloft.net>
92459
92460 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92461 stack slot, rather than the struct return pointer slot.
92462 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92463 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92465 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92466
92467 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92468
92469 * po/ja.po: Update from translation team.
92470
92471 [BZ #13144]
92472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92473 kernel in 64-bit binaries.
92474
92475 2011-09-01 David S. Miller <davem@davemloft.net>
92476
92477 * elf/elf.h (HWCAP_SPARC_*): Move to..
92478 * sysdeps/sparc/sysdep.h: this new file and add new values.
92479 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92480 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92481 _DL_HWCAP_COUNT to 24.
92482 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92483 entries.
92484 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92485 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92486 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92488 instead of magic constants.
92489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92490
92491 2011-08-31 David S. Miller <davem@davemloft.net>
92492
92493 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92495 Reimplement to do errno handling inline.
92496 (SYSCALL_ERROR_HANDLER): New macro.
92497 (__SYSCALL_STRING): Do not do errno handling in asm.
92498 (__CLONE_SYSCALL_STRING): Delete.
92499 (__INTERNAL_SYSCALL_STRING): Delete.
92500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92501 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92502 (PSEUDO): Reimplement to do errno handling inline.
92503 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92504 (SYSCALL_ERROR_HANDLER): New macro.
92505 (__SYSCALL_STRING): Do not do errno handling in asm.
92506 (__CLONE_SYSCALL_STRING): Delete.
92507 (__INTERNAL_SYSCALL_STRING): Delete.
92508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92509 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92510 i386.
92511 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92512 (inline_syscall*): Add 'err' argument.
92513 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92514 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92515 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92516 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92517
92518 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92519 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92520
92521 2011-08-30 Andreas Schwab <schwab@redhat.com>
92522
92523 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92524
92525 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92526
92527 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92528 directive.
92529
92530 2011-08-24 David S. Miller <davem@davemloft.net>
92531
92532 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92533
92534 2011-08-24 Andreas Schwab <schwab@redhat.com>
92535
92536 * elf/Makefile: Add rules to build and run unload8 test.
92537 * elf/unload8.c: New file.
92538 * elf/unload8mod1.c: New file.
92539 * elf/unload8mod1x.c: New file.
92540 * elf/unload8mod2.c: New file.
92541 * elf/unload8mod3.c: New file.
92542
92543 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92544 it wasn't used.
92545
92546 2011-08-23 David S. Miller <davem@davemloft.net>
92547
92548 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92549 subtract stack bias.
92550 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92551 %sp not %fp in calculations.
92552 (_JMPBUF_UNWINDS_ADJ): Likewise.
92553
92554 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92555 (aio_suspend): Call it to force an exception region around the
92556 AIO_MISC_WAIT() invocation.
92557
92558 2011-08-23 Andreas Schwab <schwab@redhat.com>
92559
92560 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92561 backslash.
92562
92563 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92564
92565 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92566 protection macro.
92567 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92568 and <dl-machine.h>.
92569 (Elf64_FuncDesc): Remove.
92570
92571 2011-08-22 David S. Miller <davem@davemloft.net>
92572
92573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92574 sigaltstack check, add missing cfi directives.
92575 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92576 missing cfi directives, and sigaltstack handling.
92577
92578 2011-08-16 Andreas Schwab <schwab@redhat.com>
92579
92580 [BZ #11724]
92581 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92582 object is seen twice.
92583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92584
92585 * elf/Makefile (distribute): Add tst-initorder2.c.
92586 (tests): Add tst-initorder2.
92587 (modules-names): Add tst-initorder2a tst-initorder2b
92588 tst-initorder2c tst-initorder2d. Add rules to build them.
92589 ($(objpfx)tst-initorder2.out): New rule.
92590 * elf/tst-initorder2.c: New file.
92591 * elf/tst-initorder2.exp: New file.
92592
92593 2011-08-22 Andreas Schwab <schwab@redhat.com>
92594
92595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92596
92597 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92598 dependencies back to end of function.
92599
92600 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92601 $(elfobjdir)/ld.so.
92602
92603 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92604
92605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92606 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92608 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92609 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92610 of __vdso_gettimeofday.
92611 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92612 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92613 attribute_hidden.
92614 (_libc_vdso_platform_setup): Remove initialization of
92615 __vdso_gettimeofday and __vdso_time.
92616
92617 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92618
92619 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92620 and fgetc_unlocked.
92621 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92622 getc_unlocked.
92623
92624 * elf/dl-open.c (add_to_global): Report additions to the global scope
92625 for LD_DEBUG=scopes.
92626 (dl_open_worker): Also print scope of newly loaded dependencies.
92627 (_dl_show_scope): Indicate if there is no scope.
92628
92629 [BZ #13114]
92630 * stdio-common/Makefile (tests): Add bug24.
92631 * stdio-common/bug24.c: New file.
92632
92633 2011-08-19 Andreas Jaeger <aj@suse.de>
92634
92635 [BZ #13114]
92636 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92637 non-existant file when using close-on-exec mode.
92638
92639 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92640
92641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92642 the very first instruction.
92643
92644 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92645 the CFI state in the end.
92646 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92647 inclusion of dl-trampoline.h.
92648 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92649
92650 2011-08-19 Andreas Schwab <schwab@redhat.com>
92651
92652 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92653 expectations for long double.
92654
92655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92656 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92657
92658 2011-08-14 David S. Miller <davem@davemloft.net>
92659
92660 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92661 artificual limit depends upon the system page size.
92662
92663 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92664
92665 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92666 * resolv/Makefile: Define CFLAGS-libresolv.
92667
92668 2011-08-17 Andreas Schwab <schwab@redhat.com>
92669
92670 * nss/makedb.c (compute_tables): Make variables used in nested
92671 function static.
92672
92673 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92674
92675 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92676 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92677 if buffer was too small.
92678
92679 * elf/pldd.c (main): Attach to all threads in the process.
92680 Rewrite /proc handling to use *at functions.
92681
92682 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92683
92684 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92685 specifies first scope to show.
92686 (dl_open_worker): Update callers. Move printing scope of new
92687 object to before the relocation.
92688 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92689 * sysdeps/generic/ldsodefs.h: Update declaration.
92690
92691 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92692 string for the scope number.
92693
92694 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92695
92696 * nscd/servicescache.c (cache_addserv): Make sure written is always
92697 initialized.
92698
92699 2011-08-14 Roland McGrath <roland@hack.frob.com>
92700
92701 * sysdeps/i386/i486/bits/atomic.h
92702 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92703 statement expression, so as to suppress "set but not used" warning.
92704 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92705
92706 * string/strncat.c (STRNCAT): Use prototype definition.
92707
92708 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92709 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92710 -Iprograms here.
92711 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92712 (localedef-modules): Add localedef.
92713 (locale-modules): Add locale.
92714
92715 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92716 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92717 to avoid a warning.
92718
92719 2011-08-14 David S. Miller <davem@davemloft.net>
92720
92721 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92722 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92723
92724 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92725
92726 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92727 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92728 * elf/rtld.c (dl_main): Set l_name of vDSO.
92729 Call _dl_show_scope when DL_DEBUG_SCOPES.
92730 (process_dl_debug): Recognize scopes flag and also set it for all.
92731 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92732 Declare _dl_show_scope.
92733
92734 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92735 (do_dlopen): Pass caller_dlopen to dl_open.
92736 (__libc_dlopen_mode): Initialize caller_dlopen.
92737
92738 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92739 of libc. Make tolower call locale-independent. Optimize a bit by
92740 using isdigit instead of isalnum.
92741 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92742
92743 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92744
92745 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92746 was a dependency or dynamically loaded.
92747
92748 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92749
92750 * intl/l10nflist.c: Allow architecture-specific pop function.
92751 * sysdeps/x86_64/l10nflist.c: New file.
92752
92753 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92754 classification.
92755
92756 2011-08-10 Andreas Schwab <schwab@redhat.com>
92757
92758 * include/dirent.h: Add libc_hidden_proto for scandirat and
92759 scandirat64. Don't declare __scandirat64.
92760 * dirent/scandirat.c: Add libc_hidden_def.
92761 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92762 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92763
92764 2011-08-10 David S. Miller <davem@davemloft.net>
92765
92766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92767 enum.
92768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92769 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92770 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92771
92772 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92773
92774 * Versions.def [libc]: Add GLIBC_2.15.
92775 * dirent/Makefile (routines): Add scandirat and scandirat64.
92776 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92777 GLIBC_2.15.
92778 * dirent/dirent.h: Declare scandirat and scandirat64.
92779 * dirent/scandirat.c: New file.
92780 * dirent/scandirat64.c: New file.
92781 * sysdeps/wordsize-64/scandirat.c: New file.
92782 * sysdeps/wordsize-64/scandirat64.c: New file.
92783 * dirent/opendir.c: Define opendirat.
92784 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92785 using scandirat.
92786 * dirent/scandir64.c: Adjust for scandir.c change.
92787 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92788 __scandirat64, and __scandir_cancel_handler.
92789 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92790 additional parameter and use openat instead of open (outside of ld.so).
92791 Add new __opendir as wrapper around __opendirat.
92792 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92793 here without requiring old scandirat implementation.
92794
92795 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92796
92797 * dirent/scandir.c (cancel_handler): Renamed to
92798 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92799 defined. Adjust users.
92800 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92801 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92802
92803 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92804
92805 * string/test-string.h (IMPL): Use __STRING to expand name and then
92806 stringify it.
92807
92808 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92809 of cleanups.
92810
92811 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92812
92813 * string/Makefile: Update.
92814 (strop-tests): Append strncat.
92815 * string/test-wcscmp.c: New file.
92816 New comprehensive test for wcscmp.
92817 * string/test-strcmp.c: Update.
92818 (WIDE): New define.
92819
92820 2011-07-22 Andreas Schwab <schwab@redhat.com>
92821
92822 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92823 line.
92824
92825 2011-07-26 Andreas Schwab <schwab@redhat.com>
92826
92827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92828 encoding to ACE if AI_IDN.
92829
92830 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92831
92832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92833 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92834
92835 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92836
92837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92838 Fix overflow bug in strncat.
92839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92840
92841 * string/test-strncat.c: Update.
92842 Add new tests for checking overflow bugs.
92843
92844 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92845
92846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92847 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92848 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92849 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92851 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92852 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92853 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92854 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92855
92856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92857 (USE_AS_STRCAT): Define.
92858 Add strcat and strncat support.
92859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92860
92861 2011-07-25 Andreas Schwab <schwab@redhat.com>
92862
92863 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92864 __n bigger than INT_MAX+1.
92865 (__strncmp_g): Likewise.
92866
92867 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92868
92869 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92870 * libio/stido.h: Likewise.
92871
92872 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92873 (AF_NFC): Define.
92874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92875 (AF_NFC): Define.
92876
92877 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92880 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92882
92883 [BZ #13021]
92884 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92885 installed.
92886
92887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92888 typo.
92889 (_dl_x86_64_save_sse): Likewise.
92890
92891 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92892
92893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92894 OSXSAVE.
92895 (_dl_x86_64_save_sse): Likewise.
92896
92897 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92898
92899 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92900
92901 2011-07-21 Andreas Schwab <schwab@redhat.com>
92902
92903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92904 change.
92905 (_dl_x86_64_save_sse): Use correct AVX check.
92906
92907 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92908
92909 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92910 bug in strncpy/strncat.
92911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92912
92913 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92914
92915 * string/tester.c (test_strcat): Add tests for different alignments
92916 of source and destination.
92917 (test_strncat): Likewise.
92918
92919 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92920
92921 [BZ #12852]
92922 * posix/glob.c (glob): Check passed in values before using them in
92923 expressions to avoid some overflows.
92924 (glob_in_dir): Likewise.
92925
92926 [BZ #13007]
92927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92928 check for AVX enablement so that we don't crash with old kernels and
92929 new hardware.
92930 * elf/tst-audit4.c: Add same checks here.
92931 * elf/tst-audit6.c: Likewise.
92932
92933 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92934
92935 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92936
92937 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92938
92939 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92940
92941 * po/cs.po: Update from translation team.
92942 * po/bg.po: Likewise.
92943
92944 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92945
92946 * misc/sys/cdefs.h: Add support for const attribute.
92947 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92948 to gnu_dev_{major,minor,makedev} functions.
92949
92950 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92951
92952 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92953
92954 2011-07-20 Andreas Schwab <schwab@redhat.com>
92955
92956 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92957 strlen results.
92958
92959 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92960
92961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92962 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92963 register in order to avoid conflicts with the soft frame pointer
92964 being held in r11 when necessary.
92965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92966 (INTERNAL_VSYSCALL_NCS): Likewise.
92967
92968 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92969
92970 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92971 * elf/dl-fini.c (_dl_fini): Adjust caller.
92972 * elf/dl-close.c (_dl_close_worker): Likewise.
92973 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92974
92975 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92976
92977 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92978 "aux_cache->nlibs < 0".
92979
92980 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92981 in the reload-count case.
92982
92983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92984
92985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92986 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92987 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92988 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92989 * sysdeps/x86_64/multiarch/strcat.S: New file.
92990 * sysdeps/x86_64/multiarch/strncat.S: New file.
92991 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92992 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92993 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92994 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92996 (USE_AS_STRCAT): Define.
92997 Add strcat and strncat support.
92998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93000 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93001 * string/strncat.c: Update.
93002 (USE_AS_STRNCAT): Define.
93003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93004 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93005 and i7.
93006 * sysdeps/x86_64/multiarch/init-arch.h
93007 (bit_Prefer_PMINUB_for_stringop): New.
93008 (index_Prefer_PMINUB_for_stringop): Likewise.
93009 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93010 bit_Prefer_PMINUB_for_stringop.
93011
93012 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93013
93014 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93015 buffer64.
93016 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93017 of casting of buffer.
93018 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93019 buffer32 and buffer64.
93020 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93021 writes instead of casting of buffer.
93022 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93023 buffer32.
93024 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93025 casting of buffer.
93026
93027 2011-07-19 Andreas Schwab <schwab@redhat.com>
93028
93029 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93030
93031 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93032
93033 * nscd/nscd.c (termination_handler): Don't do anything for a database
93034 if it has not yet been initialized.
93035
93036 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93037
93038 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93039
93040 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93041
93042 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93043
93044 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93045
93046 * po/nl.po: Update from translation team.
93047 * po/sv.po: Likewise.
93048
93049 2011-07-16 Roland McGrath <roland@hack.frob.com>
93050
93051 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93052 now disallowed by GCC.
93053
93054 * configure.in (use-default-link): Default to yes if a test -shared
93055 link meets our qualifications.
93056 * configure: Regenerated.
93057
93058 * config.make.in (output-format): New variable.
93059 * configure.in: Check for ld --print-output-format support.
93060 * configure: Regenerated.
93061 * Makerules ($(common-objpfx)format.lds)
93062 [$(output-format) != unknown]: Just use $(output-format),
93063 instead of the linker-script munging.
93064
93065 2011-07-14 Roland McGrath <roland@hack.frob.com>
93066
93067 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93068 of $(common-objpfx)shlib.lds.
93069 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93070
93071 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93072 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93073
93074 * configure.in (-z relro check): Adjust test code to add a large
93075 writable data section after it.
93076 * configure: Regenerated.
93077
93078 2011-07-11 Roland McGrath <roland@hack.frob.com>
93079
93080 * configure.in (-z relro check): Fix test code to make the variable
93081 truly const.
93082 * configure: Regenerated.
93083
93084 2011-07-11 Ulrich Drepper <drepper@gmail.com>
93085
93086 * nscd/nscd.h (struct traced_file): Define.
93087 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93088 elements. Add traced_files.
93089 (inotify_fd): Declare.
93090 (register_traced_file): Declare.
93091 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93092 (inotify_fd): Export.
93093 (resolv_conf_descr): Remove.
93094 (nscd_init): Move inotify descriptor creation to main.
93095 Don't register files for notification here.
93096 (register_traced_file): New function.
93097 (invalidate_cache): Don't use reset_res to determine whether to call
93098 res_init, go through the list of registered files.
93099 (main_loop_poll): The inotify descriptors are now stored in the
93100 structures for the traced files.
93101 (main_loop_epoll): Likewise.
93102 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93103 to __nss_disable_nscd.
93104 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93105 for a database anymore. Check the records for all the registered
93106 files instead.
93107 * nss/Makefile (libnss_files-routines): Add files-init.
93108 (libnss_db-routines): Add db-init.
93109 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93110 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93111 * nss/nss_db/db-init.c: New file.
93112 * nss/nss_files/files-init.c: New file.
93113 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93114 __nss_lookup_function.
93115 (__nss_lookup_function): Call nss_load_library.
93116 (nss_load_all_libraries): New function.
93117 (__nss_disable_nscd): Take parameter with callback function for files
93118 to register. Set is_nscd. Load all the DSOs for the NSS modules
93119 used for the cached services.
93120 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93121 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93122 options for features to all the files in nscd.
93123
93124 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93125
93126 2011-07-10 Roland McGrath <roland@hack.frob.com>
93127
93128 * csu/elf-init.c (__libc_csu_init): Comment typo.
93129
93130 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93131
93132 * po/pl.po: Update from translation team.
93133 * po/ja.po: Likewise.
93134 * po/ru.po: Likewise.
93135 * po/ko.po: Likewise.
93136 * po/fr.po: Likewise.
93137
93138 2011-07-09 Roland McGrath <roland@hack.frob.com>
93139
93140 * configure.in (.ctors/.dtors header and trailer check):
93141 Use an empirical test on a built program.
93142 * configure: Regenerated.
93143
93144 * configure.in (-z relro check): Use an empirical test on a built DSO.
93145 Detect, but do not require, on ia64.
93146 * configure: Regenerated.
93147
93148 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93149 Update tests that use readelf to use $READELF instead.
93150 * configure: Regenerated.
93151
93152 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93153
93154 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93155 if the result is not used.
93156
93157 2011-07-05 Andreas Jaeger <aj@suse.de>
93158
93159 [BZ #9696]
93160 * stdlib/tst-strtod.c: Add testcase.
93161
93162 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93163
93164 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93165 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93166 The latter has a higher limit. Take additional parameter to pass to
93167 the new function.
93168 (__pathconf): Pass file to __statfs_link_max.
93169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93170 __statfs_link_max.
93171 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93172 __statfs_link_max.
93173
93174 [BZ #12868]
93175 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93177 Handle Lustre.
93178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93179 (__statfs_filesize_max): Likewise.
93180 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93181
93182 2011-07-05 Andreas Jaeger <aj@suse.de>
93183
93184 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93185
93186 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93187
93188 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93189 `status' variable.
93190 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93191 Likewise.
93192
93193 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93194
93195 * Makefile (strop-tests): Add strncat.
93196 * string/test-strncat.c: New file.
93197
93198 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93199
93200 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93201
93202 2011-06-21 Andreas Jaeger <aj@suse.de>
93203
93204 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93205 Copy rule from iconvdata/Makefile.
93206
93207 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93208
93209 [BZ #12922]
93210 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93211 but no long options are defined, just return 'W'.
93212
93213 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93214
93215 [BZ #9696]
93216 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93217
93218 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93219
93220 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93221 netgroups to read.
93222 (innetgr): Likewise.
93223
93224 2011-07-05 Roland McGrath <roland@hack.frob.com>
93225
93226 * config.make.in (install_root): Default to $(DESTDIR).
93227
93228 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93229
93230 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93231
93232 2011-07-02 Roland McGrath <roland@hack.frob.com>
93233
93234 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93235
93236 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93237 containing directory rather than embedding absolute directory names.
93238
93239 * scripts/check-local-headers.sh: Rewritten using awk.
93240 Match by word, not by line. Print error messages for matches.
93241 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93242
93243 * Makerules [shlib-lds-flags empty]:
93244 ($(common-objpfx)libc_pic.opts): New target.
93245 ($(common-objpfx)libc_pic.os.clean): New target.
93246 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93247
93248 * config.make.in (OBJCOPY): New variable.
93249 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93250 * configure: Regenerated.
93251
93252 * config.make.in (use-default-link): New variable.
93253 * configure.in (use_default_link): Grok --with-default-link to set it.
93254 * configure: Regenerated.
93255 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93256 (shlib-lds, shlib-lds-flags): Define to empty.
93257
93258 * Makerules (shlib-lds): New variable.
93259 (shlib-lds-flags): New variable.
93260 (build-shlib, build-moduile, build-module-asneeded): Use it.
93261 ($(common-objpfx)libc.so): Use $(shlib-lds).
93262 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93263 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93264
93265 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93266 DT_FLAGS/DT_FLAGS_1 with zero flags.
93267
93268 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93269 linker script munging.
93270
93271 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93272
93273 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93274 as 128-bit value.
93275 * crypt/sha512.c (sha512_process_block): Perform total addition using
93276 128-bit if possible.
93277 (__sha512_finish_ctx): Likewise.
93278 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93279 as 64-bit value.
93280 * crypt/sha256.c (SWAP64): Define.
93281 (sha256_process_block): Perform total addition using 64-bit if
93282 possible.
93283 (__sha256_finish_ctx): Likewise.
93284
93285 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93286
93287 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93289 * nscd/hstcache.c (cache_addhst): Likewise.
93290 * nscd/grpcache.c (cache_addgr): Likewise.
93291 * nscd/aicache.c (addhstaiX): Likewise.
93292 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93293
93294 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93295
93296 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93298 * nscd/hstcache.c (cache_addhst): Likewise.
93299 * nscd/grpcache.c (cache_addgr): Likewise.
93300 * nscd/aicache.c (addhstaiX): Likewise.
93301
93302 2011-07-01 Andreas Schwab <schwab@redhat.com>
93303
93304 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93305 domain only when needed.
93306
93307 2011-06-30 Andreas Schwab <schwab@redhat.com>
93308
93309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93310 is always restored.
93311
93312 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93313
93314 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93315 are re-adding the entry.
93316 * nscd/servicescache.c (cache_addserv): Likewise.
93317
93318 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93319
93320 * sysdeps/generic/dl-irel.h: fix protection against multiple
93321 inclusions.
93322 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93323
93324 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93325
93326 [BZ #12935]
93327 * malloc/memusage.sh: Fix quoting in message.
93328 * debug/xtrace.sh: Likewise.
93329
93330 * configure.in: Remove support for --experimental-malloc option, make
93331 it the default.
93332 * config.make.in: Likewise.
93333 * malloc/Makefile: Likewise.
93334
93335 2011-06-27 Andreas Schwab <schwab@redhat.com>
93336
93337 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93338 two-byte characters.
93339
93340 2011-06-27 Roland McGrath <roland@hack.frob.com>
93341
93342 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93343 AC_CACHE_CHECK invocation.
93344 * configure: Regenerated.
93345
93346 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93347
93348 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93349
93350 [BZ #12350]
93351 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93352 bit from old_res_options.
93353
93354 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93355
93356 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93357 value type for setfct.
93358
93359 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93360
93361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93362 __gettimeofday instead of gettimeofday.
93363
93364 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93365
93366 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93367
93368 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93369
93370 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93371
93372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93373 info.
93374
93375 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93376
93377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93378 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93379 strcpy-sse2-unaligned strncpy-sse2-unaligned
93380 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93381 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93382 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93383 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93384 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93387 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93388 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93389 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93390 (STRCPY): Support SSE2 and SSSE3 versions.
93391
93392 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93393
93394 [BZ #12874]
93395 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93396 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93397 kernels which artificially limit size of requests.
93398
93399 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93400
93401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93402 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93403 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93404 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93405 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93406 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93407 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93408 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93411 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93412 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93413 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93414 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93415 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93417 Enable unaligned load optimization for Intel Core i3, i5 and i7
93418 processors.
93419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93420 Define.
93421 (index_Fast_Unaligned_Load): Define.
93422 (HAS_FAST_UNALIGNED_LOAD): Define.
93423
93424 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93425
93426 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93427
93428 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93429
93430 [BZ #12907]
93431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93432 until it is clear that the information is realy needed.
93433 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93434
93435 2011-06-22 Andreas Schwab <schwab@redhat.com>
93436
93437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93438
93439 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93440
93441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93442 /sys/devices/system/cpu/online if it is usable.
93443
93444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93445 reading the information from the /proc filesystem to once a second.
93446
93447 2011-06-21 Andreas Jaeger <aj@suse.de>
93448
93449 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93450 NULL after inclusion of kernel headers.
93451
93452 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93453
93454 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93455 calls to internal_setent.
93456
93457 [BZ #12885]
93458 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93459 addresses using gethostbyname4_r ignore IPv4 addresses.
93460
93461 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93462 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93463
93464 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93465
93466 2011-06-20 David S. Miller <davem@davemloft.net>
93467
93468 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93469 inclusions.
93470 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93471
93472 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93473 (elf_irel): Use it.
93474 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93475 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93476 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93477 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93478 * sysdeps/x86_64/dl-irel.h: Likewise.
93479
93480 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93481 * elf/dl-sym.c: Likewise.
93482
93483 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93484
93485 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93486 need to dereference resplen2.
93487
93488 2011-06-14 Andreas Schwab <schwab@redhat.com>
93489
93490 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93491
93492 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93493
93494 * Makeconfig: Define vardbdir and inst_vardbdir.
93495 * nss/Makefile: Add rules to install db-Makefile.
93496
93497 * nss/nss_db/db-XXX.c: Cleanup.
93498
93499 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93500 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93501 GLIBC_PRIVATE.
93502 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93503 * nss/makedb.c: Implement -g option to specify that value strings
93504 are generated and should not be added to table iterated over for
93505 get*ent calls.
93506 * nss/nss_db/db-initgroups.c: New file.
93507
93508 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93509 interface.
93510
93511 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93512 (internal_getgrouplist): Adjust to name change.
93513 Update use_initgroups_entry if this is not the first call.
93514 * nss/databases.def: Add initgroups entry.
93515
93516 * nss/makedb.c (compute_tables): Check result of multiple hash table
93517 sizes to minimize maximum chain length.
93518
93519 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93520
93521 * Versions.def: Add entry for libnss_db.
93522 * shlib-versions: Likewise.
93523 * nss/Makefile: Add rules to build libnss_db.
93524 * nss/Versions: Add libnss_db information. Organize libnss_files
93525 entries better.
93526 * nss/db-Makefile: Add gshadow support. Change rules for the new
93527 makedb progra. Some minor improvements to generate smaller files.
93528 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93529 here from...
93530 * nss/makedb.c: ...here.
93531 Improve database format to be smaller and require less memory at
93532 runtime.
93533 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93534 db anymore.
93535 * nss/nss_db/db-netgrp.c: Likewise.
93536 * nss/nss_db/db-open.c: Likewise.
93537 * nss/nss_files/flies-XXX.x: Adjust comments.
93538 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93539 * nss/nss_files/files-grp.c: Likewise.
93540 * nss/nss_files/files-hosts.c: Likewise.
93541 * nss/nss_files/files-network.c: Likewise.
93542 * nss/nss_files/files-proto.c: Likewise.
93543 * nss/nss_files/files-pwd.c: Likewise.
93544 * nss/nss_files/files-rpc.c: Likewise.
93545 * nss/nss_files/files-service.c: Likewise.
93546 * nss/nss_files/files-sgrp.c: Likewise.
93547 * nss/nss_files/files-spwd.c: Likewise.
93548 * nss/nss_db/db-alias.c: Removed.
93549 * nss/nss_db/dummy-db.h: Removed.
93550
93551 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93552
93553 * nss/makedb.c: Rewritten to not use database library.
93554 * nss/Makefile: Update to build new makedb program.
93555
93556 2011-06-14 Andreas Jaeger <aj@suse.de>
93557
93558 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93559 memset declaration.
93560
93561 2011-06-10 Andreas Schwab <schwab@redhat.com>
93562
93563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93564 tmpbuf.
93565
93566 2011-06-10 Roland McGrath <roland@hack.frob.com>
93567
93568 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93569 * elf/Makefile ($(objpfx)ld.so): Likewise.
93570
93571 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93572 Don't list ld.so twice in dependencies.
93573
93574 * posix/bug-regex31.c: Include <stdlib.h>.
93575
93576 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93577
93578 * nis/nss_compat/compat-spwd.c
93579 (getspent_next_nss_netgr): Remove unused variable.
93580 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93581
93582 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93583 nonmembers" output to use the right array.
93584
93585 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93586
93587 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93588
93589 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93590 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93591 * catgets/gencat.c (read_input_file): Likewise.
93592 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93593
93594 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93595 variable definition inside #if's controlling its use.
93596
93597 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93598
93599 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93600
93601 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93602
93603 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93604 unreachable code.
93605
93606 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93607
93608 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93609 * configure: Regenerated.
93610
93611 * Makerules: Revert last change.
93612 * elf/Makefile: Likewise.
93613
93614 2011-06-09 Roland McGrath <roland@hack.frob.com>
93615
93616 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93617 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93618 (reloc-link): Likewise.
93619
93620 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93621
93622 * elf/Makefile: Add rules to build pldd.
93623 * elf/pldd.c: New file.
93624 * elf/pldd-xx.c: New file.
93625
93626 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93627
93628 * version.h: Update for 2.15 development version.
93629
93630 2011-06-07 David S. Miller <davem@davemloft.net>
93631
93632 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93633 ifuncs.
93634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93635 elf_machine_lazy_rel): Likewise.
93636 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93638 elf_machine_lazy_rel): Likewise.
93639 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93640 dl_hwcap via passed in argument.
93641 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93642 Likewise.
93643
93644 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93645
93646 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93647
93648 2011-06-06 Roland McGrath <roland@hack.frob.com>
93649
93650 [BZ #12849]
93651 * manual/fdl-1.1.texi: New file, verbatim from:
93652 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93653 * manual/lgpl-2.1.texi: New file, verbatim from:
93654 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93655 * manual/Makefile (licenses): New variable, list those new file names.
93656 (texis): Use it.
93657 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93658
93659 * manual/fdl.texi: File removed.
93660 * manual/lesser.texi: File removed.
93661 * manual/libc.texinfo (Copying, Documentation License):
93662 Use new @include file names, put @appendix directive before @include.
93663
93664 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93665
93666 [BZ #12841]
93667 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93668 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93669 (mq_open): Add __NTH.
93670
93671 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93672
93673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93674 Assume Intel Core i3/i5/i7 processor if AVX is available.
93675
93676 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93677
93678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93679 typo.
93680
93681 2011-05-31 Andreas Schwab <schwab@redhat.com>
93682
93683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93684 memory. Use alloca_account. Fix memory leak when retrying.
93685
93686 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93687
93688 * version.h (RELEASE): Bump for 2.14 release.
93689 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93690
93691 * config.make.in (RANLIB): Remove entry.
93692
93693 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93694
93695 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93696 (libc.pot): Work around missing support for .ksh extension in xgettext.
93697
93698 [BZ #12684]
93699 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93700 if both request failed.
93701 (send_dg): In case of server errors clear resplen or *resplen2.
93702
93703 [BZ #12454]
93704 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93705 when there are multiple maps.
93706 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93707 (_dl_fini): Remove test here.
93708
93709 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93710
93711 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93712
93713 [BZ #12350]
93714 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93715 bit from old_res_options.
93716 (gaih_inet): Likewise.
93717
93718 [BZ #11099]
93719 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93720 as signed.
93721
93722 * resolv/res_init.c (res_setoptions): Make the code more compact.
93723
93724 [BZ #11558]
93725 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93726 set RES_USEVC.
93727
93728 [BZ #11634]
93729 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93730
93731 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93732
93733 [BZ #11781]
93734 * malloc/malloc.h: Declare malloc hook variables as volatile.
93735
93736 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93737 in last patch.
93738
93739 [BZ #11799]
93740 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93741 raise in the comment.
93742 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93744 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93745
93746 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93747
93748 [BZ #12811]
93749 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93750 grow the buffers more if it already has to be sufficient.
93751 (build_wcs_upper_buffer): Likewise.
93752 * posix/regexec.c (check_matching): Likewise.
93753 (clean_state_log_if_needed): Likewise.
93754 (extend_buffers): Don't enlarge buffers beyond size of the input
93755 buffer.
93756 Patches mostly by Emil Wojak <emil@wojak.eu>.
93757 * posix/bug-regex32.c: New file.
93758 * posix/Makefile (tests): Add bug-regex32.
93759
93760 * locale/findlocale.c (_nl_find_locale): Return right away if
93761 _nl_explode_name failed.
93762 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93763
93764 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93765
93766 * debug/xtrace.sh: Unify messages.
93767 * malloc/memusage.sh: Likewise.
93768
93769 [BZ #12813]
93770 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93771 time symbol from vDSO. Substitute with vsyscall if not available.
93772 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93773 __vdso_time.
93774
93775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93776 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93777 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93778 Add sendmmsg and internal_sendmmsg.
93779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93780 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93781 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93782
93783 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93784 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93785 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93786
93787 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93788
93789 [BZ #12813]
93790 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93791 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93792 available.
93793 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93794 __vdso_getcpu.
93795
93796 [BZ #12814]
93797 * iconvdata/Makefile (tests): Add bug-iconv9.
93798 * iconvdata/bug-iconv9.c: New file.
93799
93800 2011-05-27 Andreas Schwab <schwab@redhat.com>
93801
93802 [BZ #12814]
93803 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93804
93805 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93806
93807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93808 (struct user_regs_struct): Change intcs field back to cs.
93809
93810 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93811
93812 * po/ja.po: Update from translation team.
93813
93814 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93815
93816 [BZ #12795]
93817 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93818 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93819
93820 2011-05-20 Andreas Schwab <schwab@redhat.com>
93821
93822 * stdlib/longlong.h: Update from GCC.
93823
93824 2011-05-23 Andreas Schwab <schwab@redhat.com>
93825
93826 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93827 parameter name.
93828 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93829 Add parameter name.
93830 (__sysconf): Pass it down.
93831
93832 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93833
93834 [BZ #12671]
93835 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93836 some situations.
93837 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93838 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93839 add in in __libc_use_alloca calls. Adjust callers.
93840 (glob): Use malloc in some situations.
93841
93842 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93843 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93844 pltexit.
93845
93846 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93847
93848 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93849 and CLOCK_BOOTTIME_ALARM.
93850
93851 [BZ #12782]
93852 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93853 is returned.
93854
93855 * string/_strerror.c (__strerror_r): Print negative errors as signed
93856 numbers.
93857
93858 [BZ #12777]
93859 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93860 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93861 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93862
93863 * configure.in: Fix typo in redirection and correct removal of test
93864 files in two cases.
93865
93866 [BZ #12788]
93867 * locale/setlocale.c (new_composite_name): Fix test to check for
93868 identical name of all categories.
93869
93870 [BZ #12792]
93871 * libio/filedoalloc.c (local_isatty): New function.
93872 (_IO_file_doallocate): Use local_isatty.
93873 * stdio-common/perror.c (perror): In case a new stream is used
93874 forward the stream error.
93875 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93876 error flag.
93877
93878 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93879
93880 [BZ #11884]
93881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93882 alloca.
93883 * include/alloca.h (extend_alloca_account): Define.
93884
93885 [BZ #11857]
93886 * posix/regex.h: Fix comments with documentation of user-accessible
93887 fields after compilation and describe correct free'ing of pattern
93888 after re_compile_pattern.
93889 Patch by Reuben Thomas <rrt@sc3d.org>.
93890
93891 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93892
93893 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93894 and -mno-altivec to prevent the compiler from using Altivec and/or
93895 VSX instructions when the corresponding registers are not available.
93896
93897 2011-05-19 Andreas Schwab <schwab@redhat.com>
93898
93899 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93900
93901 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93902
93903 * libio/freopen.c (freopen): Use __dup2, not dup2.
93904 * libio/freopen64.c (freopen64): Likewise.
93905
93906 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93907
93908 [BZ #12775]
93909 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93910 * math/Makefile (tests): Add test-powl.
93911 (CFLAGS-test-powl.c): Define.
93912 * math/test-powl.c: New file.
93913
93914 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93915
93916 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93917
93918 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93919
93920 [BZ #11837]
93921 * iconvdata/gb18030.c: Update to GB18020-2005.
93922
93923 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93924
93925 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93926 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93927 Patch by Aharon Robbins <arnold@skeeve.com>.
93928
93929 [BZ #11892]
93930 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93931 on the stack.
93932
93933 [BZ #11895]
93934 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93935 through underflows.
93936
93937 [BZ #12766]
93938 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93939 point to strings before performing equality test for error_one_per_line
93940 mode.
93941
93942 [BZ #11697]
93943 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93944
93945 [BZ #11820]
93946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93947 (struct user_fpregs_struct): Avoid __uint*_t types.
93948
93949 [BZ #6420]
93950 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93951 symbol info. Use it instead of calling _dl_addr locally.
93952 (lock_and_info): New function.
93953 (tr_freehook): Call lock_and_info and pass symbol info as additional
93954 parameter to tr_where.
93955 (tr_mallochook): Likewise.
93956 (tr_reallochook): Likewise.
93957 (tr_memalignhook): Likewise.
93958
93959 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93960 used and couldn't be at all thread-safe.
93961
93962 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93963
93964 * libio/freopen.c (freopen): Don't close old file descriptor
93965 before the new one is opened. Instead dup the new file descriptor
93966 to the old one after the new stream is created.
93967 * libio/freopen64.c (freopen64): Likewise.
93968 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93969 * libio/fileops.c (_IO_new_file_close_it): Handle new
93970 _IO_FLAGS2_NOCLOSE flag.
93971 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93972 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93973 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93974 _IO_FLAGS2_NOCLOSE flag.
93975 * include/unistd.h: Add hidden_proto for dup3.
93976 Define __have_dup3.
93977 * io/dup3.c: Define hidden symbol.
93978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93979
93980 [BZ #7101]
93981 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93982 when an incomplete long option is used.
93983 * posix/tst-getopt_long1.c: New file.
93984 * posix/Makefile (tests): Add tst-getopt_long1.
93985
93986 [BZ #10138]
93987 * scripts/config.guess: Update from autoconf-2.68.
93988 * scripts/config.sub: Likewise.
93989
93990 [BZ #10157]
93991 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93992 tests into ...
93993 (has_cpuclock): ...this. New function.
93994 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93995 macro here based on has_cpuclock code.
93996
93997 [BZ #10149]
93998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93999 First byte (not low byte) is now always NUL.
94000 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94001
94002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94003 Use non-cancelable interfaces.
94004
94005 [BZ #9809]
94006 * locale/iso-639.def: Add entry for Sorani.
94007
94008 [BZ #11901]
94009 * include/stdlib.h: Move include protection to the right place.
94010 Define abort_msg_s. Declare __abort_msg with it.
94011 * stdlib/abort.c (__abort_msg): Adjust type.
94012 * assert/assert.c (__assert_fail_base): New function. Majority
94013 of code from __assert_fail. Allocate memory for __abort_msg with
94014 mmap.
94015 (__assert_fail): Now call __assert_fail_base.
94016 * assert/assert-perr.c: Remove bulk of implementation. Use
94017 __assert_fail_base.
94018 * include/assert.hL Declare __assert_fail_base.
94019 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94020 mmap.
94021 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94022
94023 2011-05-14 Ulrich Drepper <drepper@gmail.com>
94024
94025 [BZ #11952]
94026 [BZ #12453]
94027 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94028 until all modules are registered in the DTV.
94029 * elf/Makefile: Add rules to build and run tst-tls19.
94030 * elf/tst-tls19.c: New file.
94031 * elf/tst-tls19mod1.c: New file.
94032 * elf/tst-tls19mod2.c: New file.
94033 * elf/tst-tls19mod3.c: New file.
94034 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94035
94036 [BZ #12083]
94037 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94038 correctly.
94039
94040 [BZ #12601]
94041 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94042 two-byte sequence errors.
94043 * iconvdata/Makefile (tests): Add bug-iconv8.
94044 * iconvdata/bug-iconv8.c: New file.
94045
94046 [BZ #12626]
94047 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94048 buf2 definition.
94049
94050 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94051
94052 [BZ #12432]
94053 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94054 (dummy_getcfa): New function.
94055 (init): Get _Unwind_GetCFA address, use dummy if not found.
94056 (backtrace_helper): In recursion check, also check whether CFA changes.
94057 (__backtrace): Completely initialize arg.
94058
94059 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94060 storing incomplete byte sequence in state object. Avoid testing for
94061 guaranteed too small input if we know there is enough data available.
94062
94063 2011-05-11 Andreas Schwab <schwab@redhat.com>
94064
94065 * Makeconfig (+link-pie): Indent.
94066 * Rules (binaries-pie): Define if $(have-fpie) and
94067 $(build-shared).
94068 (binaries-shared): Also filter out $(binaries-pie).
94069 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94070 * nscd/Makefile (others-pie): Add nscd.
94071 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94072 ($(objpfx)nscd): Remove command override.
94073 * login/Makefile (others-pie): Add pt_chown.
94074 ($(objpfx)pt_chown): Remove command override.
94075 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94076 remove command overrides.
94077
94078 2011-05-13 Ulrich Drepper <drepper@gmail.com>
94079
94080 * libio/tst_putwc.c: Fix error messages.
94081
94082 [BZ #12724]
94083 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94084 currently writing and seek to current position when not.
94085 * libio/Makefile (tests): Add bug-fclose1.
94086 * libio/bug-fclose1.c: New file.
94087
94088 2011-05-12 Ulrich Drepper <drepper@gmail.com>
94089
94090 [BZ #12511]
94091 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94092 don't set DF_1_NODELETE here.
94093 (do_lookup_x): When entering new entry test for copy relocation
94094 and if necessary set DF_1_NODELETE flag.
94095 * elf/tst-unique4.cc: New file.
94096 * elf/tst-unique4.h: New file.
94097 * elf/tst-unique4lib.cc: New file.
94098 * elf/Makefile: Add rules to build and run tst-unique4.
94099 Patch by Piotr Bury <pbury@goahead.com>.
94100
94101 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94102
94103 [BZ #12052]
94104 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94105
94106 [BZ #12625]
94107 * misc/mntent_r.c (addmntent): Flush the stream after the output
94108
94109 [BZ #12393]
94110 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94111 (is_trusted_path_normalize): Skip initial colon. Append slash
94112 to empty buffer. Duplicate is_trusted_path code but allow
94113 constructed patch to be prefix.
94114 (is_dst): Allow $ORIGIN followed by /.
94115 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94116 Correct testing of result of is_trusted_path_normalize
94117 (decompose_rpath): Fix warning.
94118
94119 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94120
94121 [BZ #11257]
94122 * grp/initgroups.c (internal_getgrouplist): When we found the service
94123 list through the initgroups entry in nsswitch.conf do not always
94124 continue on a successful lookup. Don't always use the
94125 __nss_group_database value if it is set.
94126 * nss/nsswitch.conf (initgroups): Change action for successful db
94127 lookup to continue for compatibility.
94128
94129 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94130
94131 [BZ #11532]
94132 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94133 and CP774 modules.
94134 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94135 and CP774 modules.
94136 * iconvdata/tst-tables.sh: Likewise.
94137 * iconvdata/cp770.c: New file.
94138 * iconvdata/cp771.c: New file.
94139 * iconvdata/cp772.c: New file.
94140 * iconvdata/cp773.c: New file.
94141 * iconvdata/cp774.c: New file.
94142 * iconvdata/testdata/CP770: New file.
94143 * iconvdata/testdata/CP770..UTF8: New file.
94144 * iconvdata/testdata/CP771: New file.
94145 * iconvdata/testdata/CP771..UTF8: New file.
94146 * iconvdata/testdata/CP772: New file.
94147 * iconvdata/testdata/CP772..UTF8: New file.
94148 * iconvdata/testdata/CP773: New file.
94149 * iconvdata/testdata/CP773..UTF8: New file.
94150 * iconvdata/testdata/CP774: New file.
94151 * iconvdata/testdata/CP774..UTF8: New file.
94152
94153 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94154 END CHARMAP line.
94155 * iconvdata/gen-8bit-gap.sh: Likewise.
94156 * iconvdata/gen-8bit.sh: Likewise.
94157
94158 * locale/iso-639.def: Add ary entry.
94159
94160 [BZ #11258]
94161 * locale/C-translit.h.in: Add U20A1 transliteration.
94162
94163 [BZ #12178]
94164 * locale/iso-639.def: Add wae entry.
94165 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94166
94167 [BZ #12545]
94168 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94169 for n.
94170
94171 [BZ #12711]
94172 * locale/C-translit.h.in: Add entry for U20B9.
94173 Patch by pravin.d.s@gmail.com.
94174
94175 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94176
94177 [BZ #12713]
94178 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94179 ENAMETOOLONG use generic getcwd.
94180 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94181 in rtld. Use *stat64.
94182 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94183 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94184 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94185 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94186 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94187 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94188 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94189 __fstatat64 macros.
94190 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94191 * dirent/rewinddir.c: Add libc_hidden_def.
94192 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94193 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94194
94195 * include/dirent.h (__alloc_dir): Add flags parameter.
94196 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94197 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94198 __alloc_dir.
94199 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94200 from fdopendir if O_CLOEXEC is already set.
94201
94202 2011-03-15 Alan Modra <amodra@gmail.com>
94203
94204 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94205 l_tls_firstbyte_offset non-zero. Save padding offset in
94206 l_tls_firstbyte_offset for later use.
94207 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94208 freeing static tls block.
94209
94210 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94211
94212 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94213 where #ifdef was intended. The intent is to prevent ARG_MAX from
94214 being defined by the kernel headers.
94215
94216 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94217
94218 [BZ #12734]
94219 * resolv/resolv.h: Define RES_NOTLDQUERY.
94220 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94221 no-tld-query and set RES_NOTLDQUERY.
94222 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94223 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94224 modern BIND to search name as TLD unless forbidden.
94225
94226 2011-05-07 Petr Baudis <pasky@suse.cz>
94227 Ulrich Drepper <drepper@gmail.com>
94228
94229 [BZ #12393]
94230 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94231 (is_trusted_path): ...to here.
94232 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94233 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94234 using is_trusted_path_normalize() in setuid scripts.
94235
94236 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94237
94238 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94239 __BEGIN/__END_DECLS.
94240
94241 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94242
94243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94244 NSS_STATUS_NOTFOUND if no record was found.
94245
94246 2011-05-05 Andreas Schwab <schwab@redhat.com>
94247
94248 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94249 (headers-not-in-tirpc): Remove rpc/netdb.h
94250 * resolv/netdb.h: Revert last change.
94251
94252 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94253
94254 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94255 circular dependency between libgcc.a and libc.a.
94256
94257 2011-05-05 Andreas Schwab <schwab@redhat.com>
94258
94259 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94260 * nis/Makefile: Don't install rpcsvc/*.
94261 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94262 instead of <rpc/types.h>.
94263 (MAXHOSTNAMELEN): Define.
94264
94265 2011-05-03 Andreas Schwab <schwab@redhat.com>
94266
94267 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94268
94269 2011-04-28 Maciej Babinski <mbabinski@google.com>
94270
94271 [BZ #12714]
94272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94273 gethostbyname4_r when IPv6 results are possible.
94274
94275 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94276
94277 [BZ #12723]
94278 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94279 _PC_PIPE_BUF handling.
94280
94281 2011-04-30 Bruno Haible <bruno@clisp.org>
94282
94283 [BZ #12717]
94284 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94285 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94286 to 'int'.
94287 * inet/getnameinfo.c (getnameinfo): Likewise.
94288
94289 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94290
94291 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94292 to groups setting in database lookup.
94293 * nss/nsswitch.conf: Add initgroups entry.
94294
94295 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94296
94297 [BZ #12685]
94298 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94299 mode string.
94300 Patch by Eric Blake <eblake@redhat.com>.
94301
94302 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94303
94304 * sunrpc/Makefile (need-export-routines): Add svc_run.
94305 (routines): Remove svc_run.
94306 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94307 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94308 * sunrpc/svc_run.c (svc_run): Likewise.
94309 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94310
94311 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94312
94313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94314 problem in reallocation in last patch.
94315
94316 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94317
94318 * sunrpc/Makefile: Move inclusion of Rules.
94319
94320 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94321
94322 * nss/nss_files/files-initgroups.c: New file.
94323 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94324 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94325 _nss_files_initgroups_dyn.
94326
94327 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94328
94329 * elf/elf.h (R_ARM_IRELATIVE): Define.
94330
94331 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94332
94333 * po/ru.po: Update from translation team.
94334
94335 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94336
94337 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94338 dependencies.
94339
94340 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94341
94342 [BZ #12653]
94343 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94344 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94348
94349 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94350
94351 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94352 differing bytes.
94353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94354 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94355 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94356
94357 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94358
94359 [BZ #12420]
94360 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94361 storing it.
94362 * stdlib/bug-getcontext.c: New file.
94363 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94364
94365 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94366
94367 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94368 instructions into .machine "z9-109".
94369 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94370 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94371
94372 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94373
94374 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94375 between environment variables and auxiliary vector.
94376
94377 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94378
94379 * Makefile: Add rules to build linkobj/libc.so.
94380 * include/libc-symbols.h: Define libc_hidden_nolink.
94381 * include/rpc/auth.h: Mark functions which are to be hidden.
94382 * include/rpc/auth_des.h: Likewise.
94383 * include/rpc/auth_unix.h: Likewise.
94384 * include/rpc/clnt.h: Likewise.
94385 * include/rpc/des_crypt.h: Likewise.
94386 * include/rpc/key_prot.h: Likewise.
94387 * include/rpc/pmap_clnt.h: Likewise.
94388 * include/rpc/pmap_prot.h: Likewise.
94389 * include/rpc/pmap_rmt.h: Likewise.
94390 * include/rpc/rpc_msg.h: Likewise.
94391 * include/rpc/svc.h: Likewise.
94392 * include/rpc/svc_auth.h: Likewise.
94393 * include/rpc/xdr.h: Likewise.
94394 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94395 * nss/Makefile: Likewise.
94396 * sunrpc/Makefile: Don't install headers. Build library with normal
94397 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94398 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94399 for the compat linking library. Remove use of INTDEF/INTUSE.
94400 * sunrpc/auth_none.c: Likewise.
94401 * sunrpc/auth_unix.c: Likewise.
94402 * sunrpc/authdes_prot.c: Likewise.
94403 * sunrpc/authuxprot.c: Likewise.
94404 * sunrpc/clnt_gen.c: Likewise.
94405 * sunrpc/clnt_perr.c: Likewise.
94406 * sunrpc/clnt_raw.c: Likewise.
94407 * sunrpc/clnt_simp.c: Likewise.
94408 * sunrpc/clnt_tcp.c: Likewise.
94409 * sunrpc/clnt_udp.c: Likewise.
94410 * sunrpc/clnt_unix.c: Likewise.
94411 * sunrpc/des_crypt.c: Likewise.
94412 * sunrpc/des_soft.c: Likewise.
94413 * sunrpc/get_myaddr.c: Likewise.
94414 * sunrpc/key_call.c: Likewise.
94415 * sunrpc/key_prot.c: Likewise.
94416 * sunrpc/netname.c: Likewise.
94417 * sunrpc/pm_getmaps.c: Likewise.
94418 * sunrpc/pm_getport.c: Likewise.
94419 * sunrpc/pmap_clnt.c: Likewise.
94420 * sunrpc/pmap_prot.c: Likewise.
94421 * sunrpc/pmap_prot2.c: Likewise.
94422 * sunrpc/pmap_rmt.c: Likewise.
94423 * sunrpc/publickey.c: Likewise.
94424 * sunrpc/rpc_cmsg.c: Likewise.
94425 * sunrpc/rpc_common.c: Likewise.
94426 * sunrpc/rpc_dtable.c: Likewise.
94427 * sunrpc/rpc_prot.c: Likewise.
94428 * sunrpc/rpc_thread.c: Likewise.
94429 * sunrpc/rtime.c: Likewise.
94430 * sunrpc/svc.c: Likewise.
94431 * sunrpc/svc_auth.c: Likewise.
94432 * sunrpc/svc_authux.c: Likewise.
94433 * sunrpc/svc_raw.c: Likewise.
94434 * sunrpc/svc_run.c: Likewise.
94435 * sunrpc/svc_simple.c: Likewise.
94436 * sunrpc/svc_tcp.c: Likewise.
94437 * sunrpc/svc_udp.c: Likewise.
94438 * sunrpc/svc_unix.c: Likewise.
94439 * sunrpc/svcauth_des.c: Likewise.
94440 * sunrpc/xcrypt.c: Likewise.
94441 * sunrpc/xdr.c: Likewise.
94442 * sunrpc/xdr_array.c: Likewise.
94443 * sunrpc/xdr_float.c: Likewise.
94444 * sunrpc/xdr_intXX_t.c: Likewise.
94445 * sunrpc/xdr_mem.c: Likewise.
94446 * sunrpc/xdr_rec.c: Likewise.
94447 * sunrpc/xdr_ref.c: Likewise.
94448 * sunrpc/xdr_sizeof.c: Likewise.
94449 * sunrpc/xdr_stdio.c: Likewise.
94450
94451 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94452
94453 [BZ #12650]
94454 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94455 * sysdeps/ia64/dl-tls.h: Likewise.
94456 * sysdeps/powerpc/dl-tls.h: Likewise.
94457 * sysdeps/s390/dl-tls.h: Likewise.
94458 * sysdeps/sh/dl-tls.h: Likewise.
94459 * sysdeps/sparc/dl-tls.h: Likewise.
94460 * sysdeps/x86_64/dl-tls.h: Likewise.
94461 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94462
94463 2011-03-14 Andreas Schwab <schwab@redhat.com>
94464
94465 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94466 rpath element also skip the following colon.
94467 (expand_dynamic_string_token): Add is_path parameter and pass
94468 down to DL_DST_REQUIRED and _dl_dst_substitute.
94469 (decompose_rpath): Call expand_dynamic_string_token with
94470 non-zero is_path. Ignore empty rpaths.
94471 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94472 with zero is_path.
94473
94474 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94475
94476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94477 Make cancelable.
94478
94479 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94480
94481 [BZ #12655]
94482 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94483 Patch by Filipe David Manana <fdmanana@apache.org>.
94484
94485 2011-04-07 Andreas Schwab <schwab@redhat.com>
94486
94487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94488 Maintain aligned stack.
94489 (CHECK_RSP): Remove unused macro.
94490
94491 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94492
94493 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94495
94496 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94497
94498 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94499
94500 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94501
94502 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94503
94504 [BZ #12518]
94505 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94506 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94507 * sysdeps/x86_64/memmove.c: New file.
94508 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94509 (memcpy): Renamed to ...
94510 (__new_memcpy): This.
94511 (memcpy): Provide GLIBC_2_14 memcpy.
94512 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94513 (memcpy): Provide GLIBC_2_2_5 memcpy.
94514
94515 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94516
94517 [BZ #12631]
94518 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94519
94520 2011-03-30 Andreas Schwab <schwab@redhat.com>
94521
94522 * misc/syncfs.c: New file.
94523 * misc/Makefile (routines): Add syncfs.
94524 * posix/unistd.h: Declare syncfs.
94525 * sysdeps/unix/syscalls.list: Add syncfs.
94526
94527 2011-04-01 Andreas Schwab <schwab@redhat.com>
94528
94529 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94530 open_by_handle_at.
94531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94536 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94538
94539 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94540
94541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94543 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94548
94549 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94550 sync_file_range.c with -fexceptions.
94551 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94552 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94553 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94554 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94555 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94556 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94558 sync_file_range as cancellation point
94559 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94560 now a wrapper around __call_sync_file_range with cancellation handling.
94561 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94562 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94563 function name to __call_sync_file_range.
94564 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94565 Add call_sync_file_range.
94566
94567 2011-04-01 Andreas Schwab <schwab@redhat.com>
94568
94569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94570 bits/timex.h.
94571
94572 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94573
94574 * iconv/iconv.h: Fix typo in comment.
94575 * io/fcntl.h: Likewise.
94576 * libio/stdio.h: Likewise.
94577 * posix/spawn.h: Likewise.
94578 * posix/unistd.h: Likewise.
94579 * stdlib/stdlib.h: Likewise.
94580 * time/time.h: Likewise.
94581 * wcsmbs/wchar.h: Likewise.
94582
94583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94584 open_by_handle): Add.
94585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94586 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94587 Augment a few comments.
94588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94593 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94594 open_by_handle.
94595
94596 * io/fcntl.h (AT_EMPTY_PATH): Define.
94597
94598 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94599
94600 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94601 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94602 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94603 to...
94604 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94605 * Versions.def: Add GLIBC_2.14.
94606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94607 Export.
94608
94609 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94610
94611 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94612 round counter.
94613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94614
94615 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94616
94617 [BZ #12597]
94618 * string/test-strncmp.c (do_page_test): New function.
94619 (check2): Likewise.
94620 (test_main): Call check2.
94621 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94622
94623 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94624
94625 [BZ #12587]
94626 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94627 Handle cache information in CPU leaf 4.
94628 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94629
94630 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94631
94632 [BZ #12583]
94633 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94634 character representation.
94635 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94636
94637 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94638
94639 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94640 END(__isnan) to END(__isnanf) to match function entry point/label
94641 EALIGN(__isnanf,...).
94642
94643 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94644
94645 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94646
94647 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94648
94649 [BZ #12510]
94650 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94651 copy from the symbol referenced in the relocation to initialize the
94652 used variable.
94653 Patch by Piotr Bury <pbury@goahead.com>.
94654 * elf/Makefile: Add rules to build and tst-unique3.
94655 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94656 * elf/tst-unique3.cc: New file.
94657 * elf/tst-unique3.h: New file.
94658 * elf/tst-unique3lib.cc: New file.
94659 * elf/tst-unique3lib2.cc: New file.
94660
94661 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94662
94663 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94664
94665 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94666 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94667 to _start.
94668
94669 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94670
94671 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94672 to-be-loaded object along a path to loader is ld.so.
94673
94674 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94675 Ulrich Drepper <drepper@gmail.com>
94676
94677 * sysdeps/x86_64/memset.S: After aligning destination, code
94678 branches to different locations depending on the value of
94679 misalignment, when multiarch is enabled. Fix this.
94680
94681 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94682
94683 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94684 Set _x86_64_preferred_memory_instruction for AMD processsors.
94685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94686 Set bit_Prefer_SSE_for_memop for AMD processors.
94687
94688 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94689
94690 * libio/fmemopen.c (fmemopen): Optimize a bit.
94691
94692 2011-03-03 Andreas Schwab <schwab@redhat.com>
94693
94694 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94695
94696 2011-03-03 Roland McGrath <roland@redhat.com>
94697
94698 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94699
94700 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94701
94702 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94703 __bzero_ultra1 instead of __memset_ultra1.
94704
94705 2011-02-23 Andreas Schwab <schwab@redhat.com>
94706 Ulrich Drepper <drepper@gmail.com>
94707
94708 [BZ #12509]
94709 * include/link.h (struct link_map): Add l_orig_initfini.
94710 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94711 returning unsuccessfully.
94712 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94713 close of a file loaded at startup, restore the original l_initfini
94714 list.
94715 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94716 list, store the pointer.
94717 * elf/Makefile ($(objpfx)noload-mem): New rule.
94718 (noload-ENV): Define.
94719 (tests): Add $(objpfx)noload-mem.
94720 * elf/noload.c: Include <memcheck.h>.
94721 (main): Call mtrace. Close all opened handles.
94722
94723 2011-02-17 Andreas Schwab <schwab@redhat.com>
94724
94725 [BZ #12454]
94726 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94727 dependencies are missing.
94728
94729 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94730
94731 Fix __if_freereq crash: Unlike the generic version which uses free,
94732 Hurd needs munmap.
94733 * sysdeps/mach/hurd/ifreq.h: New file.
94734
94735 2011-01-27 Petr Baudis <pasky@suse.cz>
94736 Ulrich Drepper <drepper@gmail.com>
94737
94738 [BZ 12445]#
94739 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94740 to extend_alloca().
94741 * stdio-common/bug23.c: New file.
94742 * stdio-common/Makefile (tests): Add bug23.
94743
94744 2010-09-28 Andreas Schwab <schwab@redhat.com>
94745 Ulrich Drepper <drepper@gmail.com>
94746
94747 [BZ #12489]
94748 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94749 before performing relro protection. At old place add assertion
94750 to make sure nothing changed.
94751
94752 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94753 Glauber de Oliveira Costa <glommer@gmail.com>
94754
94755 * elf/elf.h: Add new ARM TLS relocs.
94756
94757 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94758
94759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94760 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94761 cast from r3.
94762 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94763 'tests' variable.
94764 * sysdeps/wordsize-64/tst-writev.c: New file.
94765
94766 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94767
94768 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94769 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94770 insns in _dl_start to prevent a TOC reference before relocs are
94771 resolved.
94772
94773 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94774
94775 [BZ #12469]
94776 * Makeconfig: Remove RANLIB definition.
94777 * Makerules: Don't use RANLIB.
94778 * aclocal.m4: Remove ranlib test.
94779 * configure.in: No need to check for ranlib.
94780 * elf/rtld-Rules: Don't use RANLIB.
94781
94782 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94783
94784 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94785 protection macro.
94786 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94787 inclusion protection macro.
94788
94789 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94790 SIGRTMIN and SIGRTMAX and print information in that case only when
94791 SIGRTMIN is defined.
94792
94793 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94794
94795 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94796 arginfo fn returning -1.
94797
94798 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94799 and thousands string is zero terminated.
94800
94801 2011-02-03 Andreas Schwab <schwab@redhat.com>
94802
94803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94804 sysdeps/unix/sysv/linux/bits/socket.h.
94805
94806 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94807
94808 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94809 (__CPU_COUNT): Remove old macros.
94810 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94811 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94812 (__CPU_ALLOC, __CPU_FREE): Add macros.
94813 (__sched_cpualloc, __sched_cpufree): Add declarations.
94814
94815 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94816
94817 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94818 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94819 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94820 (readdhstai): Return value of addhstaiX call.
94821 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94822 (addgrbyX): Return value returned by cache_addgr.
94823 (readdgrbyname): Return value returned by addgrbyX.
94824 (readdgrbygid): Likewise.
94825 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94826 (addpwbyX): Return value returned by cache_addpw.
94827 (readdpwbyname): Return value returned by addhstbyX.
94828 (readdpwbyuid): Likewise.
94829 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94830 (addservbyX): Return value returned by cache_addserv.
94831 (readdservbyname): Return value returned by addservbyX:
94832 (readdservbyport): Likewise.
94833 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94834 (addhstbyX): Return value returned by cache_addhst.
94835 (readdhstbyname): Return value returned by addhstbyX.
94836 (readdhstbyaddr): Likewise.
94837 (readdhstbynamev6): Likewise.
94838 (readdhstbyaddrv6): Likewise.
94839 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94840 (readdinitgroups): Return value returned by addinitgroupsX.
94841 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94842 (prune_cache): Keep track of timeout value of re-added entries.
94843 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94844 * nscd/nscd.h: Adjust prototypes of readd* functions.
94845
94846 2011-02-04 Roland McGrath <roland@redhat.com>
94847
94848 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94849 (nis_stats): Likewise.
94850 * nis/nis_modify.c (nis_modify): Likewise.
94851 * nis/nis_remove.c (nis_remove): Likewise.
94852 * nis/nis_add.c (nis_add): Likewise.
94853
94854 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94855
94856 * posix/fnmatch_loop.c: Add some consts.
94857
94858 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94859
94860 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94861
94862 [BZ #12460]
94863 * config.make.in (config-cflags-novzeroupper): Define.
94864 * configure.in: Substitute libc_cv_cc_novzeroupper.
94865 * elf/Makefile (AVX-CFLAGS): Define.
94866 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94867 (CFLAGS-tst-auditmod4a.c): Likewise.
94868 (CFLAGS-tst-auditmod4b.c): Likewise.
94869 (CFLAGS-tst-auditmod6b.c): Likewise.
94870 (CFLAGS-tst-auditmod6c.c): Likewise.
94871 (CFLAGS-tst-auditmod7b.c): Likewise.
94872 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94873
94874 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94875
94876 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94877 function to the callback.
94878 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94879
94880 2011-02-02 Andreas Schwab <schwab@redhat.com>
94881
94882 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94883 of errno.
94884
94885 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94886
94887 [BZ #11724]
94888 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94889 of constructors.
94890 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94891 of destructors.
94892 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94893
94894 [BZ #11724]
94895 * elf/Makefile: Add rules to build and run new test.
94896 * elf/tst-initorder.c: New file.
94897 * elf/tst-initorder.exp: New file.
94898 * elf/tst-initordera1.c: New file.
94899 * elf/tst-initordera2.c: New file.
94900 * elf/tst-initordera3.c: New file.
94901 * elf/tst-initordera4.c: New file.
94902 * elf/tst-initorderb1.c: New file.
94903 * elf/tst-initorderb2.c: New file.
94904 * elf/tst-order-a1.c: New file.
94905 * elf/tst-order-a2.c: New file.
94906 * elf/tst-order-a3.c: New file.
94907 * elf/tst-order-a4.c: New file.
94908 * elf/tst-order-b1.c: New file.
94909 * elf/tst-order-b2.c: New file.
94910 * elf/tst-order-main.c: New file.
94911 New test case by George Gensure <werkt0@gmail.com>.
94912
94913 2010-10-01 Andreas Schwab <schwab@redhat.com>
94914
94915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94916 decoding ACE if AI_CANONIDN.
94917
94918 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94919
94920 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94921
94922 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94923
94924 * version.h (RELEASE): Bump for 2.13 release.
94925 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94926
94927 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94928
94929 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94930 MADV_NOHUGEPAGE.
94931 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94936 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94937
94938 * posix/getconf.c: Update copyright year.
94939 * catgets/gencat.c: Likewise.
94940 * csu/version.c: Likewise.
94941 * debug/catchsegv.sh: Likewise.
94942 * debug/xtrace.sh: Likewise.
94943 * elf/ldconfig.c: Likewise.
94944 * elf/ldd.bash.in: Likewise.
94945 * elf/sprof.c (print_version): Likewise.
94946 * iconv/iconv_prog.c: Likewise.
94947 * iconv/iconvconfig.c: Likewise.
94948 * locale/programs/locale.c: Likewise.
94949 * locale/programs/localedef.c: Likewise.
94950 * malloc/memusage.sh: Likewise.
94951 * malloc/mtrace.pl: Likewise.
94952 * nscd/nscd.c (print_version): Likewise.
94953 * nss/getent.c: Likewise.
94954
94955 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94956 PF_CAIF, and PF_ALG.
94957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94958
94959 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94960
94961 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94962 (modules-names): Use them.
94963 (ifunc-test-modules, ifunc-pie-tests): Define.
94964 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94965 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94966 (test-extras): Likewise.
94967 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94968 $(compile-command.c).
94969 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94970 (all-built-dso): Define.
94971 (check-textrel.out, check-execstack.out): Depend on it.
94972
94973 * configure.in: Don't override --enable-multi-arch.
94974
94975 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94976
94977 [BZ #6812]
94978 * nscd/hstcache.c (tryagain): Define.
94979 (cache_addhst): Return tryagain not notfound for temporary errors.
94980 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94981 failed.
94982
94983 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94984
94985 [BZ #10563]
94986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94987 to make the syscall.
94988 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94989
94990 [BZ #12378]
94991 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94992 and fall back to matching as normal character if the string ends before
94993 the matching ']' is found. This is what POSIX requires.
94994 * posix/testfnm.c: Adjust test result.
94995 * posix/globtest.sh: Adjust test result. Add new test.
94996 * posix/tst-fnmatch.input: Likewise.
94997 * posix/tst-fnmatch2.c: Add new test.
94998
94999 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
95000
95001 * elf/Makefile (check-execstack): Revert last change. Depend on
95002 check-execstack.h.
95003 (check-execstack.h): New target.
95004 (generated): Add check-execstack.h.
95005 * elf/check-execstack.c: Include "check-execstack.h".
95006 (main): Revert last change.
95007 (handle_file): Return zero if GNU_STACK is absent and
95008 DEFAULT_STACK_PERMS doesn't include PF_X.
95009
95010 2011-01-13 Ulrich Drepper <drepper@gmail.com>
95011
95012 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95013 in child fails because the descriptor is already closed.
95014 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95015 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95016 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95017
95018 [BZ #12397]
95019 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95020 syscall.
95021
95022 [BZ #10484]
95023 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95024 temporary buffer used to handle multi lookups locally.
95025 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95026
95027 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95028
95029 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95030 loader is ld.so.
95031
95032 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95033
95034 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95035 alignment for SSE2.
95036
95037 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95038
95039 [BZ #12394]
95040 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95041 characters. When rounding increased number of integer digits recompute
95042 number of groups.
95043 * stdio-common/tst-grouping.c: New file.
95044 * stdio-common/Makefile: Add rules to build and run tst-grouping.
95045
95046 2011-01-09 Ulrich Drepper <drepper@gmail.com>
95047
95048 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95049 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
95050
95051 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95052 void.
95053 * bits/select.h: Likewise.
95054
95055 2011-01-08 Ulrich Drepper <drepper@gmail.com>
95056
95057 * po/ja.po: Update from translation team.
95058
95059 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
95060
95061 [BZ #11155]
95062 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95063 implementation just like for lxstat, fxstatat, et al.
95064
95065 2010-12-27 Jim Meyering <meyering@redhat.com>
95066
95067 [BZ #12348]
95068 * posix/regexec.c (build_trtable): Return failure indication upon
95069 calloc failure. Otherwise, re_search_internal could infloop on OOM.
95070
95071 2010-12-25 Ulrich Drepper <drepper@gmail.com>
95072
95073 [BZ #12201]
95074 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95075 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95076 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95077 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95078
95079 [BZ #12207]
95080 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95081
95082 [BZ #12204]
95083 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95084 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95085
95086 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
95087
95088 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95089 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95090 script has SORT_BY_INIT_PRIORITY.
95091 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95092 NO_CTORS_DTORS_SECTIONS is defined.
95093 * elf/soinit.c: Likewise.
95094 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95095 NO_CTORS_DTORS_SECTIONS is defined.
95096 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95097 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95098 * sysdeps/sh/init-first.c: Likewise.
95099 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95100
95101 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95102
95103 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95104 always use the slow path.
95105
95106 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95107
95108 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95109 similar rule which adds the sysdep directories to the header search in
95110 order to pick up the correct platform stackinfo.h.
95111 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95112 perform test if it is, otherwise return successfully without testing.
95113 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95114 DEFAULT_STACK_PERMS define in stackinfo.h.
95115 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95116 defined in stackinfo.h.
95117 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95118 DEFAULT_STACK_PERMS defined in stackinfo.h.
95119 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95120 * sysdeps/ia64/stackinfo.h: Likewise.
95121 * sysdeps/s390/stackinfo.h: Likewise.
95122 * sysdeps/sh/stackinfo.h: Likewise.
95123 * sysdeps/sparc/stackinfo.h: Likewise.
95124 * sysdeps/x86_64/stackinfo.h: Likewise.
95125 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95126 PF_X for powerpc64. Retain PF_X for powerpc32.
95127
95128 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95129
95130 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95131 accurately.
95132 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95133 GETDENTS_64BIT_ALIGNED.
95134
95135 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95136
95137 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95138
95139 2010-12-10 Andreas Schwab <schwab@redhat.com>
95140
95141 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95142 _GNU_SOURCE.
95143
95144 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95145 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95146 Remove __restrict.
95147 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95148 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95149
95150 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95151
95152 [BZ #11655]
95153 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95154 are initialized.
95155
95156 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95157
95158 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95159
95160 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95161
95162 * po/it.po: Update from translation team.
95163
95164 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95165
95166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95167 unused codes.
95168
95169 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95170
95171 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95172
95173 2010-11-24 Andreas Schwab <schwab@redhat.com>
95174
95175 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95176 specially.
95177 (gaih_getanswer_slice): Likewise.
95178
95179 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95180
95181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95182
95183 2010-05-31 Petr Baudis <pasky@suse.cz>
95184
95185 [BZ #11149]
95186 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95187 silently even in the chroot mode.
95188
95189 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95190
95191 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95192 last patch a bit. Pretty printing
95193
95194 2010-05-31 Petr Baudis <pasky@suse.cz>
95195
95196 [BZ #10085]
95197 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95198 initialization of skip_initgroups_dyn.
95199
95200 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95201
95202 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95204
95205 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95206
95207 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95208
95209 2010-11-11 Andreas Schwab <schwab@redhat.com>
95210
95211 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95212 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95213 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95214 ($(objpfx)tst-fnmatch-mem): New rule.
95215 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95216 * posix/tst-fnmatch.c (main): Call mtrace.
95217
95218 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95219
95220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95221 Support Intel processor model 6 and model 0x2c.
95222
95223 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95224
95225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95226 signed comparison.
95227
95228 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95229
95230 [BZ #12205]
95231 * string/test-strncasecmp.c (check_result): New function.
95232 (do_one_test): Use it.
95233 (check1): New function.
95234 (test_main): Use it.
95235 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95236 Support strcasecmp and strncasecmp.
95237
95238 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95239
95240 [BZ #12194]
95241 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95242 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95243
95244 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95245
95246 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95247 IFUNC support.
95248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95249 memset-x86-64.
95250 * sysdeps/x86_64/multiarch/bzero.S: New file.
95251 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95252 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95253 * sysdeps/x86_64/multiarch/memset.S: New file.
95254 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95256 Set bit_Prefer_SSE_for_memop for Intel processors.
95257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95258 Define.
95259 (index_Prefer_SSE_for_memop): Define.
95260 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95261
95262 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95263
95264 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95265 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95266
95267 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95268
95269 [BZ #12191]
95270 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95271 (__x86_64_raw_data_cache_size_half): Likewise.
95272 (__x86_64_raw_shared_cache_size): Likewise.
95273 (__x86_64_raw_shared_cache_size_half): Likewise.
95274
95275 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95276 (__x86_64_raw_data_cache_size_half): Likewise.
95277 (__x86_64_raw_shared_cache_size): Likewise.
95278 (__x86_64_raw_shared_cache_size_half): Likewise.
95279 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95280 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95281 and __x86_64_raw_shared_cache_size_half. Round
95282 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95283 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95284 to multiple of 256 bytes.
95285
95286 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95287
95288 [BZ #12167]
95289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95290 of inacessible symlinks. Verify result of symlink before returning it.
95291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95292 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95293
95294 2010-10-28 Erich Ritz <erichritz@gmail.com>
95295
95296 * math/math.h (isinf): Fix typo in comment.
95297
95298 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95299
95300 * po/da.po: Update from translation team.
95301
95302 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95303
95304 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95305 is added to the list.
95306
95307 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95308 Ulrich Drepper <drepper@gmail.com>
95309
95310 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95311 the global list here. Move code to...
95312 (_dl_add_to_namespace_list): ...here. New function.
95313 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95314 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95315 * elf/dl-load.c (lose): Don't remove the element from the list.
95316 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95317 (_dl_map_object): Likewise.
95318
95319 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95320
95321 [BZ #12159]
95322 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95323 into all bytes of SSE register.
95324 Patch by Richard Li <richardpku@gmail.com>.
95325
95326 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95327
95328 [BZ #12140]
95329 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95330 perturbing.
95331
95332 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95333
95334 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95335 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95339 submachine.
95340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95341
95342 2010-10-22 Andreas Schwab <schwab@redhat.com>
95343
95344 * include/dlfcn.h (__RTLD_SECURE): Define.
95345 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95346 mode & __RTLD_SECURE instead.
95347 (open_path): Rename preloaded parameter to secure.
95348 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95349 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95350 * elf/dl-deps.c (openaux): Likewise.
95351 * elf/rtld.c (struct map_args): Remove is_preloaded.
95352 (map_doit): Don't use it.
95353 (dl_main): Likewise.
95354 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95355 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95356
95357 2010-09-09 Andreas Schwab <schwab@redhat.com>
95358
95359 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95360 (sysd-rules-targets): Remove duplicates.
95361 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95362 rtld-%.$o dependency.
95363
95364 2010-10-18 Andreas Schwab <schwab@redhat.com>
95365
95366 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95367 _dl_map_object do it.
95368
95369 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95370
95371 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95372 fast fma builtins, define the macros in the C99 standard.
95373 (FP_FAST_FMAF): Likewise.
95374 (FP_FAST_FMAL): Likewise.
95375 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95376
95377 * bits/mathdef.h: Update copyright year.
95378 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95379
95380 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95381
95382 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95383 builtins, define the macros in the C99 standard.
95384 (FP_FAST_FMAF): Likewise.
95385 (FP_FAST_FMAL): Likewise.
95386 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95387 multiply/add.
95388 (FP_FAST_FMAF): Likewise.
95389
95390 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95391
95392 [BZ #3268]
95393 * math/libm-test.inc (fma_test): Some new testcases.
95394 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95396 y and infinite z. Do multiplication by C already in long double.
95397 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95399 y and infinite z. Do bitwise or of inexact bit into u.d.
95400 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95401 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95402 * sysdeps/i386/fpu/s_fma.S: Removed.
95403 * sysdeps/i386/fpu/s_fmal.S: Removed.
95404
95405 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95406
95407 [BZ #3268]
95408 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95410 computation is not scheduled after fetestexcept. Fix value
95411 of minimum denormal long double.
95412
95413 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95414
95415 [BZ #3268]
95416 * math/libm-test.inc (fma_test): Add some more tests.
95417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95418 correctly.
95419
95420 2010-10-15 Andreas Schwab <schwab@redhat.com>
95421
95422 * scripts/data/localplt-s390-linux-gnu.data: New file.
95423 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95424
95425 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95426
95427 [BZ #3268]
95428 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95429 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95430 instead of dbl-64.
95431 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95432 inlines.
95433 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95435 if one of x and y is very large and the other is subnormal.
95436 * sysdeps/s390/fpu/s_fmaf.c: New file.
95437 * sysdeps/s390/fpu/s_fma.c: New file.
95438 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95439 * sysdeps/powerpc/fpu/s_fma.S: New file.
95440 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95441 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95442 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95443
95444 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95445
95446 [BZ #3268]
95447 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95448 fma tests.
95449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95450 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95451 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95452 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95453 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95454 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95455 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95456
95457 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95458
95459 [BZ #12078]
95460 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95461 * posix/bug-regex31.input: Add test case.
95462
95463 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95464
95465 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95466 * posix/bug-regex31.input: New file.
95467
95468 [BZ #12078]
95469 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95470 (parse_sub_exp): Fix last change, use postorder.
95471
95472 * posix/bug-regex31.c: New file.
95473 * posix/Makefile: Add rules to build and run bug-regex31.
95474
95475 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95476
95477 [BZ #12078]
95478 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95479
95480 [BZ #12108]
95481 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95482 to have entries in sys_siglist.
95483
95484 [BZ #12093]
95485 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95486 be NULL.
95487
95488 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95489
95490 [BZ #3268]
95491 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95492 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95493 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95494 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95495 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95496 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95497 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95498 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95499 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95500 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95501 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95502 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95503 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95504 * math/ftestexcept.c (fetestexcept): Likewise.
95505 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95506 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95507 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95508 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95509 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95510 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95511 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95512
95513 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95514
95515 [BZ #12107]
95516 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95517 newline.
95518
95519 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95520
95521 * string/bug-strstr1.c: New file.
95522 * string/Makefile: Add rules to build and run bug-strstr1.
95523
95524 2010-10-05 Eric Blake <eblake@redhat.com>
95525
95526 [BZ #12092]
95527 * string/str-two-way.h (two_way_long_needle): Always clear memory
95528 when skipping input due to the shift table.
95529
95530 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95531
95532 [BZ #12005]
95533 * malloc/mcheck.c: Handle large requests.
95534
95535 [BZ #12077]
95536 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95537 for strncmp and strncasecmp.
95538 * string/stratcliff.c: Add tests for strcmp and strncmp.
95539 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95540
95541 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95542
95543 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95544 __set_fpscr.
95545
95546 2010-09-30 Andreas Jaeger <aj@suse.de>
95547
95548 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95549 (CGROUP_SUPER_MAGIC): Define.
95550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95551 Handle btrfs and cgroup file systems.
95552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95553 Likewise.
95554
95555 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95556
95557 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95558 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95559
95560 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95561
95562 [BZ #12067]
95563 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95564 trying to locate the ELF header.
95565
95566 2010-09-27 Andreas Schwab <schwab@redhat.com>
95567
95568 [BZ #11611]
95569 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95570 Mask out sign-bit copies when constructing f_fsid.
95571
95572 2010-09-24 Petr Baudis <pasky@suse.cz>
95573
95574 * debug/stack_chk_fail_local.c: Add missing licence exception.
95575 * debug/warning-nop.c: Likewise.
95576
95577 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95578
95579 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95580 implementing getdents64 using getdents syscall, set d_type if
95581 __ASSUME_GETDENTS32_D_TYPE.
95582
95583 2010-09-16 Andreas Schwab <schwab@redhat.com>
95584
95585 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95586 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95587
95588 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95589
95590 [BZ #12037]
95591 * posix/unistd.h: Undo change of feature selection for ftruncate from
95592 2010-01-11.
95593
95594 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95595
95596 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95597 detection.
95598
95599 2010-09-20 Andreas Schwab <schwab@redhat.com>
95600
95601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95602 fanotify_mark.
95603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95604
95605 2010-09-14 Andreas Schwab <schwab@redhat.com>
95606
95607 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95608 variables after CHECK_SP call.
95609 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95610
95611 2010-09-13 Andreas Schwab <schwab@redhat.com>
95612 Ulrich Drepper <drepper@redhat.com>
95613
95614 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95615 re-relocationg ld.so.
95616 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95617 _dl_init_paths call.
95618 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95619 here anymore.
95620
95621 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95622
95623 * resolv/res_init.c (__res_vinit): Count the default server we added.
95624
95625 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95626 Ulrich Drepper <drepper@redhat.com>
95627
95628 [BZ #11968]
95629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95630 (____longjmp_chk): Use %ebx for saving value across system call.
95631 Add unwind info.
95632
95633 2010-09-06 Andreas Schwab <schwab@redhat.com>
95634
95635 * manual/Makefile: Don't mix pattern rules with normal rules.
95636
95637 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95638
95639 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95640 operation.
95641 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95642 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95643 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95644 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95646 Likewise.
95647
95648 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95649
95650 [BZ #11979]
95651 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95652 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95653
95654 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95655
95656 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95657 * sysdeps/x86_64/addmul_1.S: Likewise.
95658 * sysdeps/x86_64/lshift.S: Likewise.
95659 * sysdeps/x86_64/mul_1.S: Likewise.
95660 * sysdeps/x86_64/rshift.S: Likewise.
95661 * sysdeps/x86_64/sub_n.S: Likewise.
95662 * sysdeps/x86_64/submul_1.S: Likewise.
95663
95664 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95665
95666 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95667 Define __sched_param instead of SCHED_* and sched_param when
95668 <bits/sched.h> is included with __need_schedparam defined.
95669 * bits/sched.h [__need_schedparam]
95670 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95671 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95672 (__defined_schedparam): Define to 1.
95673 (__sched_param): New structure, identical to sched_param.
95674 (__need_schedparam): Undefine.
95675
95676 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95677
95678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95679 (epoll_create1): Declare.
95680
95681 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95682
95683 2010-08-31 Andreas Schwab <schwab@redhat.com>
95684
95685 [BZ #7066]
95686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95687 shifting retval into place.
95688
95689 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95690
95691 * nis/rpcsvc/nis.h: Update copyright notice.
95692 * nis/rpcsvc/nis.x: Likewise.
95693 * nis/rpcsvc/nis_callback.h: Likewise.
95694 * nis/rpcsvc/nis_callback.x: Likewise.
95695 * nis/rpcsvc/nis_object.x: Likewise.
95696 * nis/rpcsvc/nis_tags.h: Likewise.
95697 * nis/rpcsvc/yp.h: Likewise.
95698 * nis/rpcsvc/yp.x: Likewise.
95699 * nis/rpcsvc/ypupd.h: Likewise.
95700 * nis/yp_xdr.c: Likewise.
95701 * nis/ypupdate_xdr.c: Likewise.
95702
95703 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95704 mainly the body of pmap_getport. Add parameters to specify timeouts.
95705 (pmap_getport): Use __libc_rpc_getport.
95706 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95707 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95708 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95709
95710 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95711
95712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95713 fanotify_mark.
95714
95715 2010-08-27 Roland McGrath <roland@redhat.com>
95716
95717 * sysdeps/i386/i686/multiarch/Makefile
95718 (CFLAGS-varshift.c): New variable.
95719
95720 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95721
95722 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95723 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95724
95725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95726
95727 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95728
95729 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95730
95731 * sysdeps/x86_64/strlen.S: Unroll the loop.
95732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95733 strlen-sse2 strlen-sse2-bsf.
95734 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95735 __strlen_no_bsf if bit_Slow_BSF is set.
95736 (__strlen_sse42): Removed.
95737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95738 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95739
95740 2010-08-25 Roland McGrath <roland@redhat.com>
95741
95742 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95743 * sysdeps/x86_64/multiarch/varshift.c: New file.
95744 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95745 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95746 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95747 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95748
95749 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95750
95751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95752 strlen-sse2 strlen-sse2-bsf.
95753 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95754 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95755 (__strlen_sse2): Removed.
95756 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95759 bit_Slow_BSF for Atom.
95760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95761 (index_Slow_BSF): Define.
95762 (HAS_SLOW_BSF): Define.
95763
95764 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95765
95766 [BZ #10851]
95767 * resolv/res_init.c (__res_vinit): When no server address at all
95768 is given default to loopback.
95769
95770 2010-08-24 Roland McGrath <roland@redhat.com>
95771
95772 * configure.in: Remove config-name.h generation.
95773 * configure: Regenerated.
95774 * config-name.in: File removed.
95775 * scripts/config-uname.sh: New file.
95776 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95777 ($(objdir)config-name.h): New target.
95778
95779 * sunrpc/rpc_parse.h: Avoid nested comment.
95780
95781 2010-08-24 Richard Henderson <rth@redhat.com>
95782 Ulrich Drepper <drepper@redhat.com>
95783 H.J. Lu <hongjiu.lu@intel.com>
95784
95785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95787 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95788 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95789 _mm_alignr_epi8 with _mm_loadu_si128.
95790 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95791 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95792 (__m128i_shift_right): Removed.
95793 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95794 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95795 * sysdeps/x86_64/multiarch/varshift.h: New file.
95796 * sysdeps/x86_64/multiarch/varshift.S: New file.
95797
95798 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95799
95800 * configure.in: Move assembler checks to before sysdep dir checking.
95801
95802 2010-08-20 Petr Baudis <pasky@suse.cz>
95803
95804 * LICENSES: Sync the sunrpc license.
95805
95806 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95807
95808 * sunrpc/auth_des.c: Update copyright notice once again.
95809 * sunrpc/auth_none.c: Likewise.
95810 * sunrpc/auth_unix.c: Likewise.
95811 * sunrpc/authdes_prot.c: Likewise.
95812 * sunrpc/authuxprot.c: Likewise.
95813 * sunrpc/bindrsvprt.c: Likewise.
95814 * sunrpc/clnt_gen.c: Likewise.
95815 * sunrpc/clnt_perr.c: Likewise.
95816 * sunrpc/clnt_raw.c: Likewise.
95817 * sunrpc/clnt_simp.c: Likewise.
95818 * sunrpc/clnt_tcp.c: Likewise.
95819 * sunrpc/clnt_udp.c: Likewise.
95820 * sunrpc/clnt_unix.c: Likewise.
95821 * sunrpc/des_crypt.c: Likewise.
95822 * sunrpc/des_soft.c: Likewise.
95823 * sunrpc/get_myaddr.c: Likewise.
95824 * sunrpc/getrpcport.c: Likewise.
95825 * sunrpc/key_call.c: Likewise.
95826 * sunrpc/key_prot.c: Likewise.
95827 * sunrpc/openchild.c: Likewise.
95828 * sunrpc/pm_getmaps.c: Likewise.
95829 * sunrpc/pm_getport.c: Likewise.
95830 * sunrpc/pmap_clnt.c: Likewise.
95831 * sunrpc/pmap_prot.c: Likewise.
95832 * sunrpc/pmap_prot2.c: Likewise.
95833 * sunrpc/pmap_rmt.c: Likewise.
95834 * sunrpc/rpc/auth.h: Likewise.
95835 * sunrpc/rpc/auth_unix.h: Likewise.
95836 * sunrpc/rpc/clnt.h: Likewise.
95837 * sunrpc/rpc/des_crypt.h: Likewise.
95838 * sunrpc/rpc/key_prot.h: Likewise.
95839 * sunrpc/rpc/netdb.h: Likewise.
95840 * sunrpc/rpc/pmap_clnt.h: Likewise.
95841 * sunrpc/rpc/pmap_prot.h: Likewise.
95842 * sunrpc/rpc/pmap_rmt.h: Likewise.
95843 * sunrpc/rpc/rpc.h: Likewise.
95844 * sunrpc/rpc/rpc_des.h: Likewise.
95845 * sunrpc/rpc/rpc_msg.h: Likewise.
95846 * sunrpc/rpc/svc.h: Likewise.
95847 * sunrpc/rpc/svc_auth.h: Likewise.
95848 * sunrpc/rpc/types.h: Likewise.
95849 * sunrpc/rpc/xdr.h: Likewise.
95850 * sunrpc/rpc_clntout.c: Likewise.
95851 * sunrpc/rpc_cmsg.c: Likewise.
95852 * sunrpc/rpc_common.c: Likewise.
95853 * sunrpc/rpc_cout.c: Likewise.
95854 * sunrpc/rpc_dtable.c: Likewise.
95855 * sunrpc/rpc_hout.c: Likewise.
95856 * sunrpc/rpc_main.c: Likewise.
95857 * sunrpc/rpc_parse.c: Likewise.
95858 * sunrpc/rpc_parse.h: Likewise.
95859 * sunrpc/rpc_prot.c: Likewise.
95860 * sunrpc/rpc_sample.c: Likewise.
95861 * sunrpc/rpc_scan.c: Likewise.
95862 * sunrpc/rpc_scan.h: Likewise.
95863 * sunrpc/rpc_svcout.c: Likewise.
95864 * sunrpc/rpc_tblout.c: Likewise.
95865 * sunrpc/rpc_util.c: Likewise.
95866 * sunrpc/rpc_util.h: Likewise.
95867 * sunrpc/rpcinfo.c: Likewise.
95868 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95869 * sunrpc/rpcsvc/key_prot.x: Likewise.
95870 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95871 * sunrpc/rpcsvc/mount.x: Likewise.
95872 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95873 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95874 * sunrpc/rpcsvc/rex.x: Likewise.
95875 * sunrpc/rpcsvc/rstat.x: Likewise.
95876 * sunrpc/rpcsvc/rusers.x: Likewise.
95877 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95878 * sunrpc/rpcsvc/spray.x: Likewise.
95879 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95880 * sunrpc/rtime.c: Likewise.
95881 * sunrpc/svc.c: Likewise.
95882 * sunrpc/svc_auth.c: Likewise.
95883 * sunrpc/svc_authux.c: Likewise.
95884 * sunrpc/svc_raw.c: Likewise.
95885 * sunrpc/svc_run.c: Likewise.
95886 * sunrpc/svc_simple.c: Likewise.
95887 * sunrpc/svc_tcp.c: Likewise.
95888 * sunrpc/svc_udp.c: Likewise.
95889 * sunrpc/svc_unix.c: Likewise.
95890 * sunrpc/svcauth_des.c: Likewise.
95891 * sunrpc/xcrypt.c: Likewise.
95892 * sunrpc/xdr.c: Likewise.
95893 * sunrpc/xdr_array.c: Likewise.
95894 * sunrpc/xdr_float.c: Likewise.
95895 * sunrpc/xdr_mem.c: Likewise.
95896 * sunrpc/xdr_rec.c: Likewise.
95897 * sunrpc/xdr_ref.c: Likewise.
95898 * sunrpc/xdr_sizeof.c: Likewise.
95899 * sunrpc/xdr_stdio.c: Likewise.
95900
95901 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95902 handling.
95903
95904 2010-08-19 Andreas Schwab <schwab@redhat.com>
95905
95906 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95907
95908 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95909
95910 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95911 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95912 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95913 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95915 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95916 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95917 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95919 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95920 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95921 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95922 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95923 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95924
95925 2010-07-26 Anton Blanchard <anton@samba.org>
95926
95927 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95928 * malloc/arena.c (heap_trim): Likewise.
95929
95930 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95931
95932 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95933 here. Not...
95934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95935 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95936
95937 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95938
95939 * sysdeps/i386/elf/Makefile: New file.
95940
95941 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95942
95943 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95944 from fanotify_init.
95945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95947
95948 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95949
95950 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95951 of strncasecmp_l.
95952 * sysdeps/multiarch/strcmp.S: Likewise.
95953
95954 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95955
95956 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95957 strncase_l-nonascii.
95958 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95959 Add strncase_l-ssse3.
95960 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95961 * sysdeps/x86_64/strcmp.S: Likewise.
95962 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95963 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95964 * sysdeps/x86_64/strncase.S: New file.
95965 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95966 * sysdeps/x86_64/strncase_l.S: New file.
95967 * string/Makefile (strop-tests): Add strncasecmp.
95968 * string/test-strncasecmp.c: New file.
95969
95970 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95971 warning.
95972
95973 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95974 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95975
95976 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95977
95978 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95979
95980 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95981
95982 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95985
95986 2010-05-01 Alan Modra <amodra@gmail.com>
95987
95988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95989 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95990 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95991 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95992 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95993 tidying. Don't tail-call __sigjmp_save for static lib.
95994 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95995 save location.
95996 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95997 (CALL_MCOUNT): Add eh info, and nop after bl.
95998 (TAIL_CALL_SYSCALL_ERROR): New macro.
95999 (PSEUDO_RET): Use it.
96000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96001 Correct save location of integer regs and cr.
96002 (_dl_profile_resolve): Correct cr save location. Delete nops
96003 after bl when SHARED. Reduce cfi size a little by better
96004 placement of cfi directives.
96005 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96006 make a stack frame. Instead use parm save area as a temp.
96007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96008 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96010 Don't make a stack frame for parent, use parm save area.
96011 Increase child stack frame to 112 bytes. Don't save unused reg,
96012 and adjust reg usage. Set up cfi on error recovery and
96013 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96015 (__makecontext): Add dummy nop after jump to exit.
96016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96017 Use correct parm save area and cr save, reduce stack frame.
96018 Correct cfi for possible PSEUDO_RET frame setup.
96019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96020 Branch to local label emitted by PSEUDO_RET rather than
96021 __syscall_error.
96022
96023 2010-08-12 Andreas Schwab <schwab@redhat.com>
96024
96025 [BZ #11904]
96026 * locale/programs/locale.c (print_assignment): New function.
96027 (show_locale_vars): Use it.
96028
96029 2010-08-11 Ulrich Drepper <drepper@redhat.com>
96030
96031 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96032 field.
96033 (struct statfs64): Likewise.
96034 (_STATFS_F_FLAGS): Define.
96035 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96037 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96038 (ST_VALID): Define locally.
96039 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96040 __statvfs_getflags, use the provided value.
96041 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96042 __ASSUME_STATFS_F_FLAGS.
96043
96044 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96045
96046 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96047 Add sys/fanotify.h.
96048 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96049 fanotify_mask for GLIBC_2.13.
96050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96051 fanotify_init and fanotify_mark.
96052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96053 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96054
96055 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96056 Add prlimit.
96057 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96058 prlimit64 for GLIBC_2.13.
96059 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96060 prlimit64.
96061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96062 syscall.
96063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96065 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96068 add prlimit alias.
96069 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96070
96071 [BZ #11903]
96072 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96073 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96074
96075 * nss/Makefile: Add rules to build and run tst-nss-test1.
96076 * shlib-versions: Add entry for libnss_test1.
96077 * nss/nss_test1.c: New file.
96078 * nss/tst-nss-test1.c: New file.
96079
96080 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96081 (__nss_configure_lookup): Set appropriate entry in
96082 __nss_configure_lookup to true.
96083 * nss/nsswitch.h: Define enum with indeces of databases in
96084 databases and __nss_database_custom arrays. Declare
96085 __nss_database_custom.
96086 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96087 to avoid using nscd when custom rules are installed.
96088 * nss/getXXbyYY_r.c: Likewise.
96089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96090
96091 * nss/nss_files/files-parse.c: Whitespace fixes.
96092
96093 2010-08-09 Ulrich Drepper <drepper@redhat.com>
96094
96095 [BZ #11883]
96096 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96097 * posix/fnmatch_loop.c: Likewise.
96098
96099 2010-07-17 Andi Kleen <ak@linux.intel.com>
96100
96101 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96102 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96103 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96104 * Versions.def [GLIBC_2.13]: Add.
96105
96106 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96107
96108 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96109 Also fail if tpwd after pwuid call is NULL.
96110
96111 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96112
96113 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96114 when converting to ms.
96115
96116 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96117
96118 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96119 EOPNOTSUPP errors with ENOTTY.
96120 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96121 EOPNOTSUPP errors with ENOTTY.
96122
96123 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96124
96125 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96126 Add strcasecmp_l-ssse3.
96127 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96128 strcasecmp.
96129 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96130 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96132
96133 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96134
96135 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96136
96137 * string/Makefile (strop-tests): Add strcasecmp.
96138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96139 strcasecmp_l-nonascii.
96140 (gen-as-const-headers): Add locale-defines.sym.
96141 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96142 * sysdeps/x86_64/strcasecmp.S: New file.
96143 * sysdeps/x86_64/strcasecmp_l.S: New file.
96144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96145 * sysdeps/x86_64/locale-defines.sym: New file.
96146 * string/test-strcasecmp.c: New file.
96147
96148 * string/test-strcasestr.c: Test both ends of the range of characters.
96149 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96150
96151 2010-07-29 Roland McGrath <roland@redhat.com>
96152
96153 [BZ #11856]
96154 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96155
96156 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96157
96158 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96159 for ld.so.
96160
96161 2010-07-27 Andreas Schwab <schwab@redhat.com>
96162
96163 * manual/memory.texi (Malloc Tunable Parameters): Document
96164 M_PERTURB.
96165
96166 2010-07-26 Roland McGrath <roland@redhat.com>
96167
96168 [BZ #11840]
96169 * configure.in (-fgnu89-inline check): Set and substitute
96170 gnu89_inline, not libc_cv_gnu89_inline.
96171 * configure: Regenerated.
96172 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96173
96174 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96175
96176 * string/test-strnlen.c: New file.
96177 * string/Makefile (strop-tests): Add strnlen.
96178 * string/tester.c (test_strnlen): Add a few more test cases.
96179 * string/tst-strlen.c: Better error reporting.
96180
96181 * sysdeps/x86_64/strnlen.S: New file.
96182
96183 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96184
96185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96186 lower-latency instructions.
96187
96188 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96189
96190 * string/test-strcasestr.c: New file.
96191 * string/test-strstr.c: New file.
96192 * string/Makefile (strop-tests): Add strstr and strcasestr.
96193 * string/str-two-way.h: Don't undefine MAX.
96194 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96195
96196 2010-07-21 Andreas Schwab <schwab@redhat.com>
96197
96198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96199 strcasestr-nonascii.
96200 (CFLAGS-strcasestr-nonascii.c): Define.
96201 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96202 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96203 Remove unused attribute.
96204
96205 2010-07-20 Roland McGrath <roland@redhat.com>
96206
96207 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96208 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96209 ld.so.cache was broken. With it, there is no way to disable dsocaps
96210 like LD_HWCAP_MASK can disable hwcaps.
96211
96212 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96213
96214 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96215
96216 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96217
96218 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96219 call in strcasestr.
96220 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96221 __strcasestr_sse42_nonascii.
96222 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96223 strcasestr-nonascii.c.
96224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96225
96226 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96227
96228 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96230 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96232
96233 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96234
96235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96236 fcntl.
96237
96238 2010-07-06 Andreas Schwab <schwab@redhat.com>
96239
96240 [BZ #11577]
96241 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96242 dl_signal_cerror.
96243
96244 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96245
96246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96247 _PC_PIPE_BUF using F_GETPIPE_SZ.
96248
96249 2010-07-05 Roland McGrath <roland@redhat.com>
96250
96251 * manual/arith.texi (Rounding Functions): Fix rint description
96252 implicit in round description.
96253
96254 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96255
96256 * elf/Makefile: Fix linking for a few tests to make recent linker
96257 happy.
96258
96259 2010-06-30 Andreas Schwab <schwab@redhat.com>
96260
96261 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96262 $(common-objpfx)libc_nonshared.a.
96263
96264 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96265
96266 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96267 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96268 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96269 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96270 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96271 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96272 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96273 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96288 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96289 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96290 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96291 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96292 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96293 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96294 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96295 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96296 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96297 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96298 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96299 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96314
96315 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96316
96317 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96318 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96319 * string/memmove.c (memmove): Renamed to ...
96320 (MEMMOVE): ...this. Default to memmove.
96321 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96322 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96323 (END_CHK): Define.
96324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96325 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96326 mempcpy-ssse3-back memmove-ssse3-back.
96327 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96328 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96330 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96331 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96332 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96333 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96334 * sysdeps/x86_64/multiarch/memmove.c: New file.
96335 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96336 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96337 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96338 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96339 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96341 Define.
96342 (index_Fast_Copy_Backward): Define.
96343 (HAS_ARCH_FEATURE): Define.
96344 (HAS_FAST_REP_STRING): Define.
96345 (HAS_FAST_COPY_BACKWARD): Define.
96346
96347 2010-06-21 Andreas Schwab <schwab@redhat.com>
96348
96349 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96350 Restore proper fallback handling.
96351
96352 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96353
96354 [BZ #11701]
96355 * posix/group_member.c (__group_member): Correct checking loop.
96356
96357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96358 OOM in getpwuid_r correctly. Return error number when the caller
96359 should return, otherwise -1.
96360 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96361 call returning > 0 value.
96362 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96363
96364 2010-06-07 Andreas Schwab <schwab@redhat.com>
96365
96366 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96367 libc_nonshared.a from targets in modules-names.
96368
96369 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96370
96371 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96372 requires it.
96373
96374 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96375
96376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96377 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96380
96381 2010-06-02 Andreas Schwab <schwab@redhat.com>
96382
96383 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96384
96385 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96386
96387 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96388 and F_GETPIPE_SZ.
96389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96394 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96395
96396 2010-06-14 Roland McGrath <roland@redhat.com>
96397
96398 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96399
96400 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96401
96402 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96403 __REDIRECT followed by __THROW.
96404 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96405 * posix/getopt.h (getopt): Likewise.
96406
96407 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96408
96409 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96410 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96411 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96412 in AT_FLAGS.
96413 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96414 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96415
96416 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96417
96418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96419
96420 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96421
96422 [BZ #11640]
96423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96424 Properly check family and model.
96425
96426 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96427
96428 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96429
96430 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96431
96432 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96433
96434 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96435
96436 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96437 symbol reference.
96438
96439 2010-05-19 Andreas Schwab <schwab@redhat.com>
96440
96441 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96442 symbol reference.
96443
96444 2010-05-21 Andreas Schwab <schwab@redhat.com>
96445
96446 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96447 and internal_recvmmsg.
96448 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96449 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96450 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96451 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96452
96453 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96454 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96455 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96456
96457 2010-05-20 Andreas Schwab <schwab@redhat.com>
96458
96459 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96460
96461 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96462
96463 POWER7 optimizations.
96464 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96465 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96466
96467 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96468
96469 * version.h: Update for 2.13 development version.
96470
96471 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96472
96473 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96474 exceptions. Return 0.
96475
96476 2010-05-07 Roland McGrath <roland@redhat.com>
96477
96478 * elf/ldconfig.c (main): Add a const.
96479
96480 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96481
96482 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96483 (args_options): Add no-idn option.
96484 (ahosts_keys_int): Add idn_flags to ai_flags.
96485 (parse_option): Handle 'i' option to clear idn_flags.
96486
96487 * malloc/malloc.c (_int_free): Possible race in the most recently
96488 added check. Only act on the data if no current modification
96489 happened.
96490
96491 See ChangeLog.17 for earlier changes.
This page took 5.037888 seconds and 4 git commands to generate.